:root {
            --primary-dark: #0c0c14;
            --secondary-dark: #1a1a2e;
            --accent-gold: #c8a165;
            --accent-red: #8b0000;
            --accent-silver: #d3d3d3;
            --text-primary: #f0f0f0;
            --text-secondary: #b0b0b0;
            --font-serif: Georgia, 'Times New Roman', serif;
            --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: var(--font-serif);
            line-height: 1.8;
            color: var(--text-primary);
            background: linear-gradient(to bottom, var(--primary-dark), var(--secondary-dark));
            background-attachment: fixed;
            min-height: 100vh;
        }
        a {
            color: var(--accent-gold);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        a:hover {
            color: #fff;
            text-shadow: 0 0 5px var(--accent-gold);
        }
        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background-color: rgba(12, 12, 20, 0.95);
            border-bottom: 3px solid var(--accent-gold);
            padding: 1.5rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
        }
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-family: var(--font-serif);
            font-size: 2.2rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: var(--accent-gold);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        }
        .my-logo a {
            color: inherit;
        }
        .my-logo a:hover {
            text-shadow: 0 0 10px var(--accent-gold);
        }
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--accent-gold);
            font-size: 1.8rem;
            cursor: pointer;
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .main-nav a {
            font-family: var(--font-sans);
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            border: 1px solid transparent;
        }
        .main-nav a:hover,
        .main-nav a.active {
            border-color: var(--accent-gold);
            background: rgba(200, 161, 101, 0.1);
        }
        .breadcrumb {
            padding: 1rem 0;
            font-family: var(--font-sans);
            font-size: 0.9rem;
            color: var(--text-secondary);
        }
        .breadcrumb a {
            color: var(--text-secondary);
        }
        .breadcrumb a:hover {
            color: var(--accent-gold);
        }
        .breadcrumb span {
            margin: 0 0.5rem;
        }
        .search-section {
            background: rgba(26, 26, 46, 0.7);
            padding: 2rem;
            border-radius: 10px;
            margin: 2rem 0;
            text-align: center;
            border: 1px solid var(--accent-gold);
        }
        .search-form {
            display: flex;
            max-width: 600px;
            margin: 1rem auto 0;
        }
        .search-form input {
            flex: 1;
            padding: 0.9rem 1.2rem;
            border: 2px solid var(--accent-gold);
            border-radius: 5px 0 0 5px;
            background: rgba(255,255,255,0.05);
            color: var(--text-primary);
            font-size: 1rem;
        }
        .search-form button {
            background: var(--accent-gold);
            color: var(--primary-dark);
            border: none;
            padding: 0 1.8rem;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s;
        }
        .search-form button:hover {
            background: #e0b870;
        }
        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            margin: 2rem 0;
        }
        @media (max-width: 992px) {
            .content-wrapper {
                grid-template-columns: 1fr;
            }
        }
        .main-article {
            background: rgba(26, 26, 46, 0.8);
            border-radius: 15px;
            padding: 2.5rem;
            border: 1px solid rgba(200, 161, 101, 0.3);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .article-header {
            margin-bottom: 3rem;
            text-align: center;
            border-bottom: 2px solid var(--accent-gold);
            padding-bottom: 1.5rem;
        }
        .article-header h1 {
            font-size: 3.2rem;
            margin-bottom: 1rem;
            color: var(--accent-gold);
            text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
        }
        .meta-info {
            display: flex;
            justify-content: center;
            gap: 2rem;
            font-family: var(--font-sans);
            color: var(--text-secondary);
            font-size: 0.95rem;
        }
        .update-time {
            color: var(--accent-silver);
        }
        h2 {
            font-size: 2.5rem;
            color: var(--accent-gold);
            margin: 3rem 0 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid rgba(200, 161, 101, 0.5);
        }
        h3 {
            font-size: 1.8rem;
            color: var(--accent-silver);
            margin: 2.5rem 0 1rem;
        }
        h4 {
            font-size: 1.4rem;
            color: #c0c0c0;
            margin: 2rem 0 1rem;
        }
        p {
            margin-bottom: 1.8rem;
            font-size: 1.15rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.4rem;
            font-weight: bold;
            color: var(--accent-silver);
            background: rgba(200, 161, 101, 0.05);
            padding: 1.5rem;
            border-left: 4px solid var(--accent-gold);
            border-radius: 0 5px 5px 0;
        }
        .highlight {
            background: linear-gradient(120deg, rgba(200,161,101,0.2) 0%, rgba(200,161,101,0) 100%);
            padding: 2rem;
            border-radius: 10px;
            margin: 2rem 0;
            border: 1px solid rgba(200,161,101,0.3);
        }
        .character-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        .character-card {
            background: rgba(40, 40, 60, 0.7);
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.4s, box-shadow 0.4s;
            border: 1px solid rgba(200,161,101,0.2);
        }
        .character-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(200, 161, 101, 0.2);
            border-color: var(--accent-gold);
        }
        .character-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-bottom: 2px solid var(--accent-gold);
        }
        .character-info {
            padding: 1.5rem;
        }
        .character-info h4 {
            margin-top: 0;
            color: var(--accent-gold);
        }
        .house-badge {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            background: var(--accent-red);
            color: white;
            border-radius: 20px;
            font-size: 0.8rem;
            margin: 0.5rem 0;
            font-family: var(--font-sans);
        }
        .stark { background: #1a472a; }
        .lannister { background: #8b0000; }
        .targaryen { background: #000000; }
        .baratheon { background: #ffd700; color: #000; }
        .greyjoy { background: #000000; }
        .martell { background: #ff7f50; color: #000; }
        .tyrell { background: #32cd32; color: #000; }
        .sidebar {
            background: rgba(26, 26, 46, 0.8);
            border-radius: 15px;
            padding: 2rem;
            border: 1px solid rgba(200, 161, 101, 0.3);
            align-self: start;
            position: sticky;
            top: 140px;
        }
        .sidebar h3 {
            font-size: 1.5rem;
            margin-top: 0;
            color: var(--accent-gold);
            border-bottom: 1px solid;
            padding-bottom: 0.5rem;
        }
        .quick-nav ul {
            list-style: none;
            margin: 1.5rem 0;
        }
        .quick-nav li {
            margin-bottom: 0.8rem;
        }
        .quick-nav a {
            display: block;
            padding: 0.8rem;
            background: rgba(255,255,255,0.05);
            border-radius: 5px;
            border-left: 3px solid transparent;
            transition: all 0.3s;
        }
        .quick-nav a:hover {
            background: rgba(200, 161, 101, 0.1);
            border-left-color: var(--accent-gold);
            padding-left: 1.2rem;
        }
        .user-interaction {
            background: rgba(26, 26, 46, 0.9);
            border-radius: 15px;
            padding: 2.5rem;
            margin: 3rem 0;
            border: 1px solid var(--accent-gold);
        }
        .rating-section, .comment-section {
            margin-bottom: 3rem;
        }
        .star-rating {
            display: flex;
            gap: 0.5rem;
            margin: 1rem 0;
            font-size: 2rem;
            color: var(--accent-gold);
        }
        .star-rating i {
            cursor: pointer;
            transition: transform 0.2s;
        }
        .star-rating i:hover {
            transform: scale(1.3);
        }
        .comment-form textarea,
        .comment-form input {
            width: 100%;
            padding: 1rem;
            margin: 0.8rem 0;
            background: rgba(255,255,255,0.05);
            border: 1px solid var(--accent-silver);
            border-radius: 5px;
            color: var(--text-primary);
            font-family: var(--font-sans);
        }
        .comment-form button,
        .rating-form button {
            background: var(--accent-gold);
            color: var(--primary-dark);
            border: none;
            padding: 0.9rem 2rem;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s;
            font-size: 1rem;
        }
        .comment-form button:hover,
        .rating-form button:hover {
            background: #e0b870;
        }
        .site-footer {
            background: rgba(12, 12, 20, 0.98);
            border-top: 3px solid var(--accent-gold);
            padding: 3rem 0 2rem;
            margin-top: 4rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 2rem;
        }
        .footer-section h4 {
            color: var(--accent-gold);
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
        }
        friend-link {
            display: block;
            margin: 1rem 0;
            padding: 0.8rem;
            background: rgba(200,161,101,0.05);
            border-radius: 5px;
            border: 1px solid rgba(200,161,101,0.2);
        }
        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: var(--text-secondary);
            font-family: var(--font-sans);
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .header-content {
                flex-wrap: wrap;
            }
            .nav-toggle {
                display: block;
            }
            .main-nav {
                width: 100%;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.5s ease;
            }
            .main-nav.active {
                max-height: 500px;
                margin-top: 1.5rem;
            }
            .main-nav ul {
                flex-direction: column;
                gap: 1rem;
            }
            .article-header h1 {
                font-size: 2.5rem;
            }
            h2 {
                font-size: 2rem;
            }
            .content-wrapper {
                gap: 2rem;
            }
            .sidebar {
                position: static;
            }
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .main-article, .sidebar, .user-interaction {
            animation: fadeIn 0.8s ease-out;
        }
        .pulse {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(200, 161, 101, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(200, 161, 101, 0); }
            100% { box-shadow: 0 0 0 0 rgba(200, 161, 101, 0); }
        }
