:root {
            --primary-dark: #0a1a2a;
            --secondary-gold: #d4af37;
            --accent-gryffindor: #740001;
            --accent-slytherin: #1a472a;
            --accent-ravenclaw: #0e1a40;
            --accent-hufflepuff: #ffdb00;
            --text-light: #f0f8ff;
            --text-dim: #b0c4de;
            --card-bg: rgba(10, 26, 42, 0.85);
            --border-radius: 12px;
            --transition-speed: 0.3s;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        body {
            background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2b3c 100%);
            color: var(--text-light);
            line-height: 1.8;
            min-height: 100vh;
            position: relative;
        }
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%23d4af37" opacity="0.03" d="M50,0 L100,50 L50,100 L0,50 Z"/></svg>');
            background-size: 120px;
            z-index: -1;
            opacity: 0.4;
        }
        a {
            color: var(--secondary-gold);
            text-decoration: none;
            transition: color var(--transition-speed);
        }
        a:hover {
            color: #fff;
            text-shadow: 0 0 8px var(--secondary-gold);
        }
        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background-color: rgba(10, 26, 42, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 2px solid var(--secondary-gold);
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 15px 0;
        }
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 2.4rem;
            font-weight: 900;
            background: linear-gradient(to right, var(--secondary-gold), #fff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-family: 'Georgia', serif;
        }
        .my-logo a {
            background: none;
            -webkit-text-fill-color: unset;
        }
        .my-logo:hover {
            transform: scale(1.02);
        }
        .desktop-nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        .desktop-nav a {
            font-weight: 600;
            font-size: 1.1rem;
            padding: 8px 16px;
            border-radius: var(--border-radius);
            position: relative;
        }
        .desktop-nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: var(--secondary-gold);
            transition: width var(--transition-speed);
        }
        .desktop-nav a:hover::after {
            width: 80%;
        }
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.8rem;
            cursor: pointer;
        }
        .mobile-nav {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: var(--primary-dark);
            border-top: 1px solid var(--secondary-gold);
            padding: 20px;
            flex-direction: column;
            gap: 15px;
        }
        .mobile-nav.active {
            display: flex;
        }
        .breadcrumb {
            padding: 15px 0;
            font-size: 0.95rem;
            color: var(--text-dim);
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
            margin-bottom: 30px;
        }
        .breadcrumb a {
            color: var(--text-dim);
        }
        .breadcrumb a:hover {
            color: var(--secondary-gold);
        }
        .search-section {
            background: var(--card-bg);
            padding: 30px;
            border-radius: var(--border-radius);
            margin: 40px 0;
            border: 1px solid rgba(212, 175, 55, 0.3);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        }
        .search-form {
            display: flex;
            max-width: 700px;
            margin: 0 auto;
        }
        .search-input {
            flex-grow: 1;
            padding: 18px 25px;
            border: 2px solid var(--secondary-gold);
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-light);
            font-size: 1.1rem;
            outline: none;
        }
        .search-input:focus {
            background: rgba(255, 255, 255, 0.12);
        }
        .search-btn {
            background: linear-gradient(to right, var(--secondary-gold), #b8941f);
            color: var(--primary-dark);
            border: none;
            padding: 0 35px;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all var(--transition-speed);
        }
        .search-btn:hover {
            background: linear-gradient(to right, #e6c158, var(--secondary-gold));
            transform: translateY(-2px);
        }
        main {
            padding: 30px 0 60px;
        }
        .article-header {
            text-align: center;
            margin-bottom: 50px;
            padding-bottom: 30px;
            border-bottom: 3px double var(--secondary-gold);
        }
        h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: var(--secondary-gold);
            text-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
            font-family: 'Georgia', serif;
            line-height: 1.2;
        }
        .last-updated {
            font-style: italic;
            color: var(--text-dim);
            font-size: 1rem;
            margin-top: 15px;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
        }
        .article-content {
            background: var(--card-bg);
            padding: 40px;
            border-radius: var(--border-radius);
            border: 1px solid rgba(212, 175, 55, 0.2);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        }
        h2 {
            font-size: 2.5rem;
            color: var(--accent-gryffindor);
            margin-top: 50px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--accent-gryffindor);
            font-family: 'Georgia', serif;
        }
        h3 {
            font-size: 1.9rem;
            color: var(--accent-slytherin);
            margin-top: 40px;
            margin-bottom: 15px;
            font-family: 'Georgia', serif;
        }
        h4 {
            font-size: 1.5rem;
            color: var(--accent-ravenclaw);
            margin-top: 30px;
            margin-bottom: 12px;
        }
        p {
            margin-bottom: 25px;
            font-size: 1.15rem;
            text-align: justify;
            color: var(--text-light);
        }
        .highlight {
            background: rgba(212, 175, 55, 0.15);
            padding: 25px;
            border-left: 5px solid var(--secondary-gold);
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            margin: 30px 0;
            font-style: italic;
        }
        .inline-link {
            font-weight: 700;
            border-bottom: 1px dashed var(--secondary-gold);
        }
        .featured-image {
            width: 100%;
            max-height: 600px;
            object-fit: cover;
            border-radius: var(--border-radius);
            border: 3px solid var(--secondary-gold);
            margin: 40px 0;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        .widget {
            background: var(--card-bg);
            padding: 25px;
            border-radius: var(--border-radius);
            border: 1px solid rgba(212, 175, 55, 0.2);
        }
        .widget-title {
            color: var(--secondary-gold);
            font-size: 1.5rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(212, 175, 55, 0.5);
            font-family: 'Georgia', serif;
        }
        .link-list {
            list-style: none;
        }
        .link-list li {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
        }
        .link-list a {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.05rem;
        }
        .link-list i {
            color: var(--accent-hufflepuff);
        }
        .interactive-section {
            background: var(--card-bg);
            padding: 40px;
            border-radius: var(--border-radius);
            margin: 50px 0;
            border: 1px solid rgba(212, 175, 55, 0.3);
        }
        .interactive-title {
            text-align: center;
            color: var(--secondary-gold);
            font-size: 2rem;
            margin-bottom: 30px;
            font-family: 'Georgia', serif;
        }
        .rating-form, .comment-form {
            display: flex;
            flex-direction: column;
            gap: 25px;
            max-width: 800px;
            margin: 0 auto;
        }
        .star-rating {
            display: flex;
            justify-content: center;
            gap: 10px;
            font-size: 2.5rem;
            margin: 20px 0;
            direction: rtl;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            color: #444;
            cursor: pointer;
            transition: color var(--transition-speed);
        }
        .star-rating label:hover,
        .star-rating label:hover ~ label,
        .star-rating input:checked ~ label {
            color: var(--accent-hufflepuff);
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .form-group label {
            font-weight: 600;
            color: var(--text-dim);
        }
        .form-control {
            padding: 18px;
            border-radius: var(--border-radius);
            border: 1px solid rgba(212, 175, 55, 0.5);
            background: rgba(255, 255, 255, 0.07);
            color: var(--text-light);
            font-size: 1.1rem;
            outline: none;
            transition: all var(--transition-speed);
        }
        .form-control:focus {
            border-color: var(--secondary-gold);
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
        }
        textarea.form-control {
            min-height: 180px;
            resize: vertical;
        }
        .submit-btn {
            background: linear-gradient(to right, var(--accent-slytherin), #2d6a4f);
            color: white;
            border: none;
            padding: 20px;
            border-radius: var(--border-radius);
            font-weight: 700;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all var(--transition-speed);
            margin-top: 15px;
        }
        .submit-btn:hover {
            background: linear-gradient(to right, #1f6038, var(--accent-slytherin));
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
        footer {
            background-color: rgba(5, 15, 25, 0.98);
            border-top: 3px solid var(--secondary-gold);
            padding: 50px 0 30px;
            margin-top: 60px;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-logo {
            font-size: 2rem;
            font-weight: 900;
            color: var(--secondary-gold);
            margin-bottom: 20px;
            font-family: 'Georgia', serif;
        }
        .footer-links h4 {
            color: var(--secondary-gold);
            margin-bottom: 25px;
            font-size: 1.3rem;
        }
        .footer-links ul {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 15px;
        }
        friend-link {
            display: block;
            padding: 12px 20px;
            background: rgba(212, 175, 55, 0.1);
            border-radius: var(--border-radius);
            margin-bottom: 15px;
            border: 1px solid rgba(212, 175, 55, 0.3);
            transition: all var(--transition-speed);
        }
        friend-link:hover {
            background: rgba(212, 175, 55, 0.2);
            transform: translateX(5px);
        }
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-dim);
            font-size: 0.95rem;
        }
        @media (max-width: 1100px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
            .sidebar {
                order: -1;
                grid-template-columns: repeat(2, 1fr);
                display: grid;
            }
        }
        @media (max-width: 768px) {
            h1 {
                font-size: 2.5rem;
            }
            h2 {
                font-size: 2rem;
            }
            h3 {
                font-size: 1.6rem;
            }
            .desktop-nav {
                display: none;
            }
            .mobile-menu-btn {
                display: block;
            }
            .sidebar {
                grid-template-columns: 1fr;
            }
            .search-form {
                flex-direction: column;
            }
            .search-input {
                border-radius: var(--border-radius);
                margin-bottom: 15px;
            }
            .search-btn {
                border-radius: var(--border-radius);
                padding: 18px;
            }
            .header-content {
                flex-wrap: wrap;
            }
            .my-logo {
                font-size: 1.8rem;
            }
            .article-content {
                padding: 25px;
            }
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            h1 {
                font-size: 2rem;
            }
            .interactive-section {
                padding: 25px;
            }
            .star-rating {
                font-size: 2rem;
            }
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .article-content, .widget, .interactive-section {
            animation: fadeInUp 0.8s ease-out forwards;
        }
        .pulse {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.03); }
            100% { transform: scale(1); }
        }
