:root {
            --primary: #0d1b2a;
            --secondary: #1b263b;
            --accent: #415a77;
            --light: #778da9;
            --highlight: #e0e1dd;
            --gold: #ffc107;
            --gryffindor-red: #740001;
            --slytherin-green: #1a472a;
            --ravenclaw-blue: #0e1a40;
            --hufflepuff-yellow: #ecb939;
            --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            --font-body: 'Georgia', 'Times New Roman', serif;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: var(--font-body);
            line-height: 1.8;
            color: var(--highlight);
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            min-height: 100vh;
            background-attachment: fixed;
        }
        a {
            color: var(--gold);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        a:hover {
            color: #ffd54f;
            text-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background-color: rgba(13, 27, 42, 0.95);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-family: var(--font-heading);
            font-size: 2.2rem;
            font-weight: 700;
            background: linear-gradient(to right, var(--gold), #ffd54f, var(--hufflepuff-yellow));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }
        .my-logo:hover {
            transform: scale(1.05);
        }
        .breadcrumb {
            padding: 1rem 0 0.5rem;
            font-size: 0.9rem;
            color: var(--light);
            background-color: transparent;
        }
        .breadcrumb a {
            color: var(--light);
        }
        .breadcrumb a:hover {
            color: var(--gold);
        }
        .breadcrumb span {
            margin: 0 8px;
            color: var(--accent);
        }
        .main-nav {
            display: flex;
            align-items: center;
        }
        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .nav-links a {
            color: var(--highlight);
            font-weight: 600;
            padding: 0.5rem 0;
            position: relative;
        }
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gold);
            transition: width 0.3s;
        }
        .nav-links a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            font-size: 1.8rem;
            background: none;
            border: none;
            color: var(--highlight);
            cursor: pointer;
        }
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1635070041078-e363dbe005cb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
            padding: 4rem 1rem;
            text-align: center;
            border-bottom: 4px solid var(--gold);
            margin-bottom: 2rem;
        }
        .hero h1 {
            font-size: 3.5rem;
            color: var(--highlight);
            margin-bottom: 1rem;
            text-shadow: 3px 3px 6px #000;
            font-family: var(--font-heading);
        }
        .hero p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto;
            color: var(--light);
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            padding: 2rem 0;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }
        article {
            background: rgba(27, 38, 59, 0.8);
            padding: 2.5rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            border: 1px solid var(--accent);
        }
        h1, h2, h3, h4 {
            font-family: var(--font-heading);
            color: var(--highlight);
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        h1 {
            font-size: 2.8rem;
            color: var(--gold);
            border-bottom: 3px solid var(--gryffindor-red);
            padding-bottom: 0.5rem;
        }
        h2 {
            font-size: 2.2rem;
            color: #ffd54f;
            padding-left: 10px;
            border-left: 5px solid var(--slytherin-green);
        }
        h3 {
            font-size: 1.8rem;
            color: var(--light);
            border-bottom: 2px dashed var(--accent);
            padding-bottom: 0.5rem;
        }
        h4 {
            font-size: 1.5rem;
            color: var(--hufflepuff-yellow);
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
            font-size: 1.1rem;
        }
        .intro {
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--highlight);
            background: rgba(65, 90, 119, 0.2);
            padding: 1.5rem;
            border-radius: 10px;
            border-left: 5px solid var(--gold);
            margin-bottom: 2.5rem;
        }
        .highlight {
            background-color: rgba(255, 193, 7, 0.1);
            padding: 1.5rem;
            border-radius: 10px;
            border: 1px solid var(--gold);
            margin: 2rem 0;
        }
        .tip {
            background-color: rgba(26, 71, 42, 0.3);
            padding: 1.5rem;
            border-radius: 10px;
            border-left: 5px solid var(--slytherin-green);
            margin: 2rem 0;
        }
        .tip i {
            color: var(--slytherin-green);
            margin-right: 10px;
        }
        .article-image {
            width: 100%;
            max-width: 800px;
            height: auto;
            border-radius: 10px;
            margin: 2rem auto;
            display: block;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
            border: 2px solid var(--accent);
            transition: transform 0.5s;
        }
        .article-image:hover {
            transform: scale(1.02);
        }
        figcaption {
            text-align: center;
            font-style: italic;
            color: var(--light);
            margin-top: 0.5rem;
            font-size: 0.95rem;
        }
        .sidebar {
            background: rgba(27, 38, 59, 0.8);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            border: 1px solid var(--accent);
            align-self: start;
            position: sticky;
            top: 120px;
        }
        .widget {
            margin-bottom: 2.5rem;
        }
        .widget h3 {
            font-size: 1.5rem;
            color: var(--gold);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--accent);
        }
        .search-form {
            display: flex;
            margin-bottom: 1rem;
        }
        .search-form input {
            flex: 1;
            padding: 12px;
            border: 1px solid var(--accent);
            background: rgba(13, 27, 42, 0.7);
            color: var(--highlight);
            border-radius: 5px 0 0 5px;
            font-size: 1rem;
        }
        .search-form button {
            background: var(--gold);
            color: var(--primary);
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s;
        }
        .search-form button:hover {
            background: #ffd54f;
        }
        .rating-widget form, .comment-widget form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .rating-widget input, .comment-widget input, .comment-widget textarea {
            padding: 12px;
            border: 1px solid var(--accent);
            background: rgba(13, 27, 42, 0.7);
            color: var(--highlight);
            border-radius: 5px;
            font-family: var(--font-body);
            font-size: 1rem;
        }
        .comment-widget textarea {
            min-height: 120px;
            resize: vertical;
        }
        .rating-widget button, .comment-widget button {
            background: var(--gryffindor-red);
            color: white;
            border: none;
            padding: 12px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s;
        }
        .rating-widget button:hover, .comment-widget button:hover {
            background: #8b0000;
        }
        .stars {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 1rem 0;
        }
        .stars i {
            color: var(--light);
            cursor: pointer;
            font-size: 1.8rem;
            transition: color 0.2s;
        }
        .stars i:hover, .stars i.active {
            color: var(--gold);
        }
        .link-list {
            list-style: none;
        }
        .link-list li {
            margin-bottom: 0.8rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px dashed var(--accent);
        }
        .link-list a {
            display: block;
            padding: 0.5rem;
            border-radius: 5px;
            transition: all 0.3s;
        }
        .link-list a:hover {
            background: rgba(65, 90, 119, 0.3);
            padding-left: 15px;
        }
        .site-footer {
            background-color: rgba(13, 27, 42, 0.98);
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
            border-top: 4px solid var(--gold);
        }
        .footer-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 2rem;
        }
        .footer-section {
            flex: 1;
            min-width: 250px;
        }
        .footer-section h3 {
            color: var(--gold);
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }
        friend-link {
            display: block;
            margin-bottom: 0.8rem;
        }
        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid var(--accent);
            color: var(--light);
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .nav-links {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: rgba(13, 27, 42, 0.98);
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding-top: 3rem;
                gap: 2rem;
                transition: left 0.5s ease;
                z-index: 999;
            }
            .nav-links.active {
                left: 0;
            }
            .hero h1 {
                font-size: 2.5rem;
            }
            .hero p {
                font-size: 1.1rem;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            h3 {
                font-size: 1.5rem;
            }
            article, .sidebar {
                padding: 1.5rem;
            }
            .main-content {
                gap: 2rem;
            }
        }
        .last-updated {
            font-size: 0.9rem;
            color: var(--light);
            text-align: right;
            margin-bottom: 1rem;
            font-style: italic;
        }
        .emoji {
            font-size: 1.2em;
            margin-right: 5px;
        }
        .bold {
            font-weight: 700;
            color: var(--gold);
        }
        .center {
            text-align: center;
        }
        .divider {
            height: 2px;
            background: linear-gradient(to right, transparent, var(--accent), transparent);
            margin: 2.5rem 0;
        }
