        :root {
            --primary-dark: #0a1a2a;
            --primary-gold: #d4af37;
            --secondary-maroon: #740001;
            --secondary-slate: #2c3e50;
            --accent-gryff: #1a472a;
            --accent-raven: #222f5b;
            --accent-huffle: #ffdb00;
            --accent-slyth: #1d5d2f;
            --light-bg: #f5f7fa;
            --text-dark: #2d3436;
            --text-light: #f8f9fa;
            --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            --border-radius: 12px;
            --container-width: 1200px;
            --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            --font-body: 'Georgia', 'Times New Roman', serif;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font-body);
            line-height: 1.8;
            color: var(--text-dark);
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            background-attachment: fixed;
            overflow-x: hidden;
        }
        a {
            color: var(--secondary-maroon);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-gold);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
        }
        .container {
            width: 100%;
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: linear-gradient(90deg, var(--primary-dark) 0%, var(--secondary-slate) 100%);
            color: var(--text-light);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-family: var(--font-heading);
            font-size: 2.2rem;
            font-weight: 800;
            background: linear-gradient(90deg, var(--primary-gold), #ffd700);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            letter-spacing: 1px;
        }
        .my-logo a {
            color: inherit;
            background: none;
        }
        .my-logo a:hover {
            color: inherit;
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
        }
        .nav-desktop {
            display: flex;
            gap: 2rem;
        }
        @media (max-width: 992px) {
            .nav-desktop { display: none; }
        }
        .nav-desktop a {
            color: var(--text-light);
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 6px;
        }
        .nav-desktop a:hover {
            background: rgba(212, 175, 55, 0.2);
            color: var(--primary-gold);
            transform: translateY(-2px);
        }
        .hamburger-btn {
            display: none;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.8rem;
            cursor: pointer;
            padding: 0.5rem;
        }
        @media (max-width: 992px) {
            .hamburger-btn { display: block; }
        }
        .nav-mobile {
            position: fixed;
            top: 0;
            right: -300px;
            width: 280px;
            height: 100vh;
            background: var(--primary-dark);
            padding: 4rem 2rem 2rem;
            transition: right 0.4s ease;
            z-index: 999;
            box-shadow: -5px 0 20px rgba(0,0,0,0.3);
            overflow-y: auto;
        }
        .nav-mobile.active {
            right: 0;
        }
        .nav-mobile a {
            display: block;
            color: var(--text-light);
            padding: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            font-size: 1.1rem;
        }
        .nav-mobile a:hover {
            background: rgba(212, 175, 55, 0.2);
            color: var(--primary-gold);
            padding-left: 1.5rem;
        }
        .close-menu {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.8rem;
            cursor: pointer;
        }
        .breadcrumb {
            padding: 1.5rem 0 1rem;
            background: rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid #e0e6ef;
            font-size: 0.95rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            gap: 0.5rem;
        }
        .breadcrumb li:not(:last-child)::after {
            content: ">";
            margin-left: 0.5rem;
            color: #888;
        }
        .breadcrumb a {
            color: var(--secondary-slate);
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        main {
            padding: 3rem 0;
            background: white;
            box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
            border-radius: 20px;
            margin: 2rem auto;
            max-width: calc(var(--container-width) - 60px);
            overflow: hidden;
        }
        @media (max-width: 1200px) {
            main {
                margin: 2rem 20px;
                border-radius: 15px;
            }
        }
        h1, h2, h3, h4 {
            font-family: var(--font-heading);
            color: var(--primary-dark);
            margin-bottom: 1.2rem;
            line-height: 1.3;
        }
        h1 {
            font-size: 3.2rem;
            text-align: center;
            background: linear-gradient(90deg, var(--secondary-maroon), var(--accent-gryff));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin: 2rem 0 3rem;
            padding-bottom: 1.5rem;
            border-bottom: 3px solid var(--primary-gold);
        }
        @media (max-width: 768px) {
            h1 { font-size: 2.5rem; }
        }
        h2 {
            font-size: 2.4rem;
            color: var(--secondary-maroon);
            padding-top: 2.5rem;
            margin-top: 1.5rem;
            border-top: 2px dashed rgba(212, 175, 55, 0.4);
        }
        h3 {
            font-size: 1.8rem;
            color: var(--accent-gryff);
            margin-top: 2rem;
        }
        h4 {
            font-size: 1.4rem;
            color: var(--secondary-slate);
            margin-top: 1.5rem;
        }
        .article-content {
            padding: 0 3rem 3rem;
        }
        @media (max-width: 768px) {
            .article-content { padding: 0 1.5rem 2rem; }
        }
        .article-content p {
            margin-bottom: 1.8rem;
            font-size: 1.15rem;
            text-align: justify;
            hyphens: auto;
        }
        .highlight {
            background: linear-gradient(120deg, rgba(212, 175, 55, 0.15) 0%, transparent 100%);
            padding: 1.5rem 2rem;
            border-left: 5px solid var(--primary-gold);
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            margin: 2.5rem 0;
            font-style: italic;
            font-size: 1.25rem;
            color: var(--secondary-slate);
        }
        .key-term {
            font-weight: 800;
            color: var(--accent-gryff);
            border-bottom: 2px dotted var(--primary-gold);
        }
        .inline-link {
            font-weight: 700;
            color: var(--secondary-maroon);
            border-bottom: 2px solid transparent;
        }
        .inline-link:hover {
            border-bottom: 2px solid var(--primary-gold);
        }
        .emoji {
            font-size: 1.3em;
            margin: 0 0.2em;
            vertical-align: middle;
        }
        .figure-wrapper {
            margin: 3rem auto;
            text-align: center;
            max-width: 900px;
        }
        .figure-wrapper img {
            box-shadow: var(--shadow);
            transition: transform 0.5s ease, box-shadow 0.5s ease;
        }
        .figure-wrapper img:hover {
            transform: scale(1.02);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }
        .figcaption {
            margin-top: 0.8rem;
            font-style: italic;
            color: #666;
            font-size: 0.95rem;
        }
        .feature-box {
            background: var(--light-bg);
            border-radius: var(--border-radius);
            padding: 2rem;
            margin: 2.5rem 0;
            border: 1px solid #dce4ef;
            position: relative;
            overflow: hidden;
        }
        .feature-box::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 8px;
            height: 100%;
            background: linear-gradient(to bottom, var(--accent-gryff), var(--accent-raven));
        }
        .feature-title {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        .feature-title i {
            color: var(--primary-gold);
            font-size: 1.8rem;
        }
        .module-search, .module-rating, .module-comment {
            background: #fff;
            border-radius: var(--border-radius);
            padding: 2rem;
            margin: 3rem 0;
            box-shadow: var(--shadow);
            border: 1px solid #e9edf5;
        }
        .module-title {
            font-size: 1.6rem;
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        .module-title i {
            color: var(--secondary-maroon);
        }
        form {
            display: grid;
            gap: 1.5rem;
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        label {
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--secondary-slate);
        }
        input, textarea, select {
            padding: 1rem;
            border: 2px solid #dce4ef;
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: var(--primary-gold);
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
        }
        .star-rating {
            display: flex;
            gap: 0.5rem;
            direction: rtl;
            justify-content: flex-start;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            font-size: 2.2rem;
            color: #ddd;
            cursor: pointer;
            transition: color 0.2s;
        }
        .star-rating input:checked ~ label,
        .star-rating label:hover,
        .star-rating label:hover ~ label {
            color: var(--primary-gold);
        }
        .btn-submit {
            background: linear-gradient(90deg, var(--secondary-maroon), var(--accent-gryff));
            color: white;
            border: none;
            padding: 1.2rem 2.5rem;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
            justify-self: start;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .btn-submit:hover {
            background: linear-gradient(90deg, var(--accent-gryff), var(--secondary-maroon));
            transform: translateY(-3px);
            box-shadow: 0 7px 15px rgba(116, 0, 1, 0.3);
        }
        .site-footer {
            background: var(--primary-dark);
            color: var(--text-light);
            padding: 4rem 0 2rem;
            margin-top: 4rem;
        }
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }
        .footer-section h3 {
            color: var(--primary-gold);
            font-size: 1.4rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid rgba(212, 175, 55, 0.4);
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a {
            color: #ccc;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        .footer-links a:hover {
            color: var(--primary-gold);
            padding-left: 0.5rem;
        }
        friend-link {
            display: block;
            padding: 1rem;
            background: rgba(255,255,255,0.05);
            border-radius: 8px;
            margin-bottom: 1rem;
            transition: background 0.3s;
        }
        friend-link:hover {
            background: rgba(212, 175, 55, 0.1);
        }
        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #aaa;
        }
        .text-center { text-align: center; }
        .mt-3 { margin-top: 3rem; }
        .mb-3 { margin-bottom: 3rem; }
        .last-updated {
            font-size: 0.9rem;
            color: #777;
            text-align: right;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }
        .last-updated i {
            margin-right: 0.5rem;
            color: var(--primary-gold);
        }
