:root {
            --primary: #1a237e;
            --secondary: #ffd600;
            --accent: #d32f2f;
            --light: #f5f5f7;
            --dark: #121212;
            --gray: #6c757d;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --radius: 8px;
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: #333;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            min-height: 100vh;
            overflow-x: hidden;
        }
        header {
            background: var(--primary);
            color: white;
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }
        .my-logo {
            font-size: 2rem;
            font-weight: 800;
            color: var(--secondary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: var(--transition);
        }
        .my-logo:hover {
            color: white;
            transform: scale(1.03);
        }
        .my-logo i {
            font-size: 2.2rem;
        }
        .desktop-nav {
            display: flex;
            gap: 2rem;
            align-items: center;
        }
        @media (max-width: 992px) {
            .desktop-nav {
                display: none;
            }
        }
        .desktop-nav a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            transition: var(--transition);
            position: relative;
        }
        .desktop-nav a:hover,
        .desktop-nav a.active {
            background: rgba(255, 255, 255, 0.15);
            color: var(--secondary);
        }
        .desktop-nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: width 0.3s ease;
        }
        .desktop-nav a:hover::after {
            width: 80%;
        }
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 4px;
            padding: 0.5rem;
            z-index: 1001;
        }
        .hamburger span {
            width: 25px;
            height: 3px;
            background: white;
            border-radius: 2px;
            transition: var(--transition);
        }
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            height: 100vh;
            background: var(--primary);
            padding: 5rem 2rem 2rem;
            transition: right 0.4s ease;
            z-index: 999;
            box-shadow: -5px 0 15px rgba(0,0,0,0.2);
            overflow-y: auto;
        }
        .mobile-nav.active {
            right: 0;
        }
        .mobile-nav a {
            display: block;
            color: white;
            text-decoration: none;
            padding: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            font-weight: 600;
            transition: var(--transition);
        }
        .mobile-nav a:hover {
            background: rgba(255, 255, 255, 0.1);
            padding-left: 1.5rem;
            color: var(--secondary);
        }
        @media (max-width: 992px) {
            .hamburger {
                display: flex;
            }
        }
        .breadcrumb {
            padding: 1rem 2rem;
            background: white;
            border-bottom: 1px solid #eee;
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            max-width: 1400px;
            margin: 0 auto;
            gap: 0.5rem;
        }
        .breadcrumb li {
            display: flex;
            align-items: center;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '/';
            margin-left: 0.5rem;
            color: var(--gray);
        }
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        main {
            max-width: 1400px;
            margin: 2rem auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        @media (max-width: 1200px) {
            main {
                grid-template-columns: 1fr;
            }
        }
        .content-area {
            background: white;
            border-radius: var(--radius);
            padding: 3rem;
            box-shadow: var(--shadow);
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            border-radius: var(--radius);
            padding: 1.5rem;
            box-shadow: var(--shadow);
        }
        @media (max-width: 1200px) {
            aside {
                order: -1;
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
        }
        h1 {
            font-size: 2.8rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            line-height: 1.2;
            border-bottom: 3px solid var(--secondary);
            padding-bottom: 0.5rem;
        }
        h2 {
            font-size: 2rem;
            color: var(--primary);
            margin: 3rem 0 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #eee;
        }
        h3 {
            font-size: 1.5rem;
            color: #444;
            margin: 2.5rem 0 1rem;
        }
        h4 {
            font-size: 1.2rem;
            color: var(--accent);
            margin: 2rem 0 1rem;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
            hyphens: auto;
        }
        .lead {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary);
            background: #f0f7ff;
            padding: 1.5rem;
            border-left: 4px solid var(--secondary);
            border-radius: var(--radius);
            margin: 2rem 0;
        }
        .highlight {
            background: linear-gradient(120deg, #fff9c4 0%, #fff9c4 100%);
            padding: 2rem;
            border-radius: var(--radius);
            border: 2px dashed var(--secondary);
            margin: 2.5rem 0;
        }
        .emoji {
            font-size: 1.3em;
            margin-right: 0.3rem;
        }
        .keyword {
            font-weight: 800;
            color: var(--primary);
            background: rgba(26, 35, 126, 0.05);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
        }
        .content-area a {
            color: var(--accent);
            text-decoration: none;
            border-bottom: 1px dotted var(--accent);
            transition: var(--transition);
        }
        .content-area a:hover {
            color: #b71c1c;
            border-bottom-style: solid;
            background: rgba(211, 47, 47, 0.05);
        }
        .article-img {
            width: 100%;
            height: auto;
            border-radius: var(--radius);
            margin: 2rem 0;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            transition: transform 0.5s ease;
        }
        .article-img:hover {
            transform: scale(1.01);
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: var(--gray);
            margin-top: -1.5rem;
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }
        .search-box {
            position: relative;
        }
        .search-box input {
            width: 100%;
            padding: 1rem 3rem 1rem 1rem;
            border: 2px solid #ddd;
            border-radius: 50px;
            font-size: 1rem;
            transition: var(--transition);
        }
        .search-box input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.2);
        }
        .search-box button {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--primary);
            font-size: 1.2rem;
            cursor: pointer;
            padding: 0.5rem;
        }
        .rating-widget {
            text-align: center;
        }
        .stars {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin: 1rem 0;
            font-size: 1.8rem;
            color: #ffc107;
        }
        .stars i {
            cursor: pointer;
            transition: var(--transition);
        }
        .stars i:hover {
            transform: scale(1.2);
        }
        .rating-form input,
        .rating-form textarea {
            width: 100%;
            padding: 0.8rem;
            margin-bottom: 1rem;
            border: 1px solid #ddd;
            border-radius: var(--radius);
            font-family: inherit;
        }
        .rating-form button {
            width: 100%;
            padding: 1rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: var(--radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        .rating-form button:hover {
            background: #0d1a6b;
        }
        .comments {
            margin-top: 4rem;
            padding-top: 3rem;
            border-top: 2px solid #eee;
        }
        .comment-form textarea {
            width: 100%;
            min-height: 150px;
            padding: 1rem;
            border: 2px solid #ddd;
            border-radius: var(--radius);
            margin-bottom: 1rem;
            font-family: inherit;
            resize: vertical;
        }
        .comment-form button {
            padding: 1rem 2rem;
            background: var(--secondary);
            color: var(--dark);
            border: none;
            border-radius: var(--radius);
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
        }
        .comment-form button:hover {
            background: #ffca28;
            transform: translateY(-2px);
        }
        .update-time {
            background: #e8f5e9;
            padding: 1rem;
            border-radius: var(--radius);
            margin: 2rem 0;
            text-align: center;
            font-weight: 600;
            color: #2e7d32;
            border: 1px solid #c8e6c9;
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 2rem 1.5rem;
            margin-top: 4rem;
        }
        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 2rem;
        }
        .footer-section h3 {
            color: var(--secondary);
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid rgba(255, 214, 0, 0.3);
            padding-bottom: 0.5rem;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 0.5rem;
        }
        friend-link {
            display: block;
            background: rgba(255, 255, 255, 0.05);
            padding: 1.5rem;
            border-radius: var(--radius);
            margin: 1.5rem 0;
            border-left: 4px solid var(--secondary);
        }
        friend-link a {
            color: var(--secondary);
            font-weight: 600;
            text-decoration: none;
            display: block;
            margin-bottom: 0.5rem;
        }
        friend-link a:hover {
            text-decoration: underline;
        }
        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            html {
                font-size: 14px;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.7rem;
            }
            header, .breadcrumb, main, .content-area, footer {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            .content-area {
                padding: 2rem 1.5rem;
            }
            .header-container {
                flex-wrap: wrap;
            }
        }
        .text-center { text-align: center; }
        .mb-1 { margin-bottom: 1rem; }
        .mb-2 { margin-bottom: 2rem; }
        .mt-1 { margin-top: 1rem; }
        .mt-2 { margin-top: 2rem; }
        .py-1 { padding-top: 1rem; padding-bottom: 1rem; }
        .flex { display: flex; }
        .flex-center { display: flex; align-items: center; justify-content: center; }
        .hidden { display: none; }
