:root {
            --primary-color: #1a365d;
            --secondary-color: #d4af37;
            --accent-color: #c53030;
            --text-color: #2d3748;
            --light-bg: #f7fafc;
            --dark-bg: #2d3748;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: var(--text-color);
            background-color: var(--light-bg);
            max-width: 100vw;
            overflow-x: hidden;
        }
        header {
            background: linear-gradient(135deg, var(--primary-color) 0%, #2a4365 100%);
            color: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        .logo a {
            font-family: 'Palatino', serif;
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--secondary-color);
            text-decoration: none;
            letter-spacing: 1px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        .logo a:hover {
            color: white;
            transition: var(--transition);
        }
        .desktop-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .desktop-nav a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: var(--transition);
        }
        .desktop-nav a:hover,
        .desktop-nav a:focus {
            background-color: rgba(255,255,255,0.15);
            color: var(--secondary-color);
        }
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        .mobile-nav {
            display: none;
            flex-direction: column;
            background-color: var(--primary-color);
            padding: 1rem;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            box-shadow: var(--shadow);
        }
        .mobile-nav.active {
            display: flex;
        }
        .mobile-nav a {
            color: white;
            text-decoration: none;
            padding: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            font-weight: 600;
        }
        .mobile-nav a:hover {
            background-color: rgba(255,255,255,0.1);
            color: var(--secondary-color);
        }
        .breadcrumb {
            background-color: #e2e8f0;
            padding: 0.8rem 2rem;
            font-size: 0.9rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        .breadcrumb a {
            color: var(--primary-color);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .container {
            max-width: 1400px;
            margin: 2rem auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        main {
            background: white;
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 3rem;
            overflow: hidden;
        }
        article h1 {
            font-size: 2.8rem;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            line-height: 1.2;
            border-bottom: 4px solid var(--secondary-color);
            padding-bottom: 0.5rem;
        }
        .meta-info {
            display: flex;
            gap: 2rem;
            margin-bottom: 2rem;
            color: #718096;
            font-size: 0.95rem;
        }
        .meta-info i {
            margin-right: 0.5rem;
            color: var(--secondary-color);
        }
        h2, h3, h4 {
            color: var(--primary-color);
            margin-top: 2.5rem;
            margin-bottom: 1rem;
        }
        h2 {
            font-size: 2rem;
            background: linear-gradient(90deg, var(--primary-color), transparent);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 6px 0 0 6px;
        }
        h3 {
            font-size: 1.6rem;
            padding-left: 1rem;
            border-left: 5px solid var(--accent-color);
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
            font-size: 1.1rem;
        }
        .highlight {
            background-color: #fff9db;
            border-left: 5px solid #ffd43b;
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }
        .tier-list-table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            box-shadow: var(--shadow);
        }
        .tier-list-table th {
            background-color: var(--primary-color);
            color: white;
            padding: 1.2rem;
            text-align: left;
        }
        .tier-list-table td {
            padding: 1rem;
            border-bottom: 1px solid #e2e8f0;
        }
        .tier-list-table tr:nth-child(even) {
            background-color: #f8f9fa;
        }
        .tier-list-table tr:hover {
            background-color: #edf2f7;
            transition: var(--transition);
        }
        .tier-S { color: #e53e3e; font-weight: bold; }
        .tier-A { color: #dd6b20; font-weight: bold; }
        .tier-B { color: #d69e2e; font-weight: bold; }
        .featured-image {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: 12px;
            margin: 2rem 0;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            transition: transform 0.5s ease;
        }
        .featured-image:hover {
            transform: scale(1.01);
        }
        .interactive-section {
            background: linear-gradient(135deg, #f6f9fc 0%, #edf2f7 100%);
            padding: 2.5rem;
            border-radius: 12px;
            margin: 3rem 0;
            border: 2px dashed var(--secondary-color);
        }
        .interactive-section h3 {
            color: var(--accent-color);
        }
        form {
            display: grid;
            gap: 1.5rem;
            margin-top: 1.5rem;
        }
        input, textarea, select {
            width: 100%;
            padding: 1rem;
            border: 2px solid #cbd5e0;
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.2);
        }
        button {
            background: linear-gradient(to right, var(--primary-color), #2d3748);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            justify-self: start;
        }
        button:hover {
            background: linear-gradient(to right, #2a4365, var(--primary-color));
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(0,0,0,0.2);
        }
        .rating-stars {
            display: flex;
            gap: 0.5rem;
            font-size: 1.8rem;
            color: #e2e8f0;
            margin: 1rem 0;
        }
        .rating-stars .filled {
            color: #f6ad55;
        }
        .rating-stars i {
            cursor: pointer;
            transition: var(--transition);
        }
        .rating-stars i:hover {
            transform: scale(1.2);
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 2rem;
        }
        .sidebar-widget h3 {
            color: var(--accent-color);
            font-size: 1.4rem;
            margin-top: 0;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #e2e8f0;
        }
        .popular-list {
            list-style: none;
        }
        .popular-list li {
            padding: 1rem 0;
            border-bottom: 1px solid #e2e8f0;
        }
        .popular-list li:last-child {
            border-bottom: none;
        }
        .popular-list a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            transition: var(--transition);
        }
        .popular-list a:hover {
            color: var(--primary-color);
            transform: translateX(5px);
        }
        .popular-list i {
            color: var(--secondary-color);
        }
        .footer-links {
            background-color: var(--dark-bg);
            padding: 3rem 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        .web-link {
            background: rgba(255,255,255,0.05);
            padding: 1.5rem;
            border-radius: 8px;
            transition: var(--transition);
        }
        .web-link:hover {
            background: rgba(255,255,255,0.1);
            transform: translateY(-5px);
        }
        .web-link a {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            display: block;
        }
        .web-link a:hover {
            text-decoration: underline;
        }
        footer {
            background-color: #1a202c;
            color: #a0aec0;
            text-align: center;
            padding: 2rem;
        }
        .copyright {
            max-width: 1400px;
            margin: 0 auto;
            font-size: 0.95rem;
            line-height: 1.6;
        }
        @media (max-width: 1024px) {
            .container {
                grid-template-columns: 1fr;
            }
            aside {
                order: -1;
            }
        }
        @media (max-width: 768px) {
            .header-container {
                padding: 1rem;
            }
            .desktop-nav {
                display: none;
            }
            .mobile-menu-btn {
                display: block;
            }
            .container {
                padding: 0 1rem;
            }
            main {
                padding: 2rem 1.5rem;
            }
            article h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.7rem;
            }
            .meta-info {
                flex-direction: column;
                gap: 0.5rem;
            }
            .footer-links {
                grid-template-columns: 1fr;
            }
        }
        @media print {
            .desktop-nav, .mobile-menu-btn, .mobile-nav, .breadcrumb,
            .interactive-section, aside, .footer-links, footer {
                display: none !important;
            }
            .container {
                grid-template-columns: 1fr;
                margin: 0;
                padding: 0;
            }
            main {
                box-shadow: none;
                padding: 0;
            }
        }
