:root {
            --primary: #1e40af; 
            --secondary: #dc2626; 
            --accent: #fbbf24; 
            --dark: #0f172a;
            --light: #f8fafc;
            --gray: #64748b;
            --transition: all 0.3s ease;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --radius: 8px;
        }
        * {
            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(--dark);
            background-color: var(--light);
            overflow-x: hidden;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background-color: var(--dark);
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--accent);
            text-decoration: none;
            transition: var(--transition);
        }
        .my-logo:hover {
            color: white;
            transform: scale(1.05);
        }
        .my-logo span {
            color: var(--secondary);
        }
        nav {
            display: flex;
            align-items: center;
        }
        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 0;
            position: relative;
            transition: var(--transition);
        }
        .nav-links a:hover {
            color: var(--accent);
        }
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent);
            transition: width 0.3s ease;
        }
        .nav-links a:hover::after {
            width: 100%;
        }
        .search-box {
            display: flex;
            margin-left: 2rem;
            background: rgba(255,255,255,0.1);
            border-radius: var(--radius);
            padding: 0.3rem 0.8rem;
        }
        .search-box input {
            background: transparent;
            border: none;
            color: white;
            padding: 0.5rem;
            width: 200px;
            outline: none;
        }
        .search-box button {
            background: transparent;
            border: none;
            color: var(--accent);
            cursor: pointer;
        }
        .hamburger {
            display: none;
            font-size: 1.5rem;
            background: none;
            border: none;
            color: white;
            cursor: pointer;
        }
        .breadcrumb {
            background-color: #e2e8f0;
            padding: 0.8rem 0;
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '>';
            margin: 0 10px;
            color: var(--gray);
        }
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        main {
            padding: 3rem 0;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        article {
            background: white;
            border-radius: var(--radius);
            padding: 2.5rem;
            box-shadow: var(--shadow);
        }
        h1 {
            font-size: 2.8rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            line-height: 1.2;
            border-bottom: 3px solid var(--accent);
            padding-bottom: 0.5rem;
        }
        h2 {
            font-size: 2rem;
            color: var(--dark);
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #e2e8f0;
        }
        h3 {
            font-size: 1.5rem;
            color: var(--primary);
            margin: 2rem 0 1rem;
        }
        h4 {
            font-size: 1.2rem;
            color: var(--secondary);
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary);
            background: #eff6ff;
            padding: 1.5rem;
            border-left: 4px solid var(--primary);
            border-radius: 0 var(--radius) var(--radius) 0;
            margin-bottom: 2rem;
        }
        .highlight {
            background-color: #fef3c7;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-weight: 600;
        }
        .emoji {
            font-size: 1.2em;
            margin-right: 0.3rem;
        }
        .content-img {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: var(--radius);
            margin: 2rem 0;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
            transition: transform 0.5s ease;
        }
        .content-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.9rem;
        }
        .internal-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px dotted var(--primary);
            transition: var(--transition);
        }
        .internal-link:hover {
            color: var(--secondary);
            border-bottom-style: solid;
        }
        blockquote {
            border-left: 4px solid var(--accent);
            padding-left: 1.5rem;
            margin: 2rem 0;
            font-style: italic;
            color: var(--dark);
            background: #f8fafc;
            padding: 1.5rem;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        aside {
            background: white;
            border-radius: var(--radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            height: fit-content;
            position: sticky;
            top: 120px;
        }
        .sidebar-widget {
            margin-bottom: 2.5rem;
        }
        .sidebar-widget h3 {
            font-size: 1.3rem;
            margin-bottom: 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--accent);
        }
        .update-time {
            background: #10b981;
            color: white;
            padding: 1rem;
            border-radius: var(--radius);
            text-align: center;
            font-weight: 600;
        }
        .update-time i {
            margin-right: 0.5rem;
        }
        .rating-widget form, .comment-widget form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .rating-stars {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            font-size: 1.8rem;
            color: #d1d5db;
            margin-bottom: 1rem;
        }
        .rating-stars .star {
            cursor: pointer;
            transition: var(--transition);
        }
        .rating-stars .star:hover,
        .rating-stars .star.active {
            color: var(--accent);
        }
        form input, form textarea, form select {
            padding: 0.8rem;
            border: 1px solid #cbd5e1;
            border-radius: var(--radius);
            font-family: inherit;
        }
        form button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.9rem;
            border-radius: var(--radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        form button:hover {
            background: var(--secondary);
        }
        footer {
            background-color: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--accent);
            margin-bottom: 1rem;
        }
        .footer-links h4 {
            color: var(--accent);
            margin-bottom: 1.2rem;
            font-size: 1.2rem;
        }
        .footer-links ul {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.7rem;
        }
        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            transition: var(--transition);
        }
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.05);
            padding: 1rem;
            border-radius: var(--radius);
            margin-top: 1rem;
            border-left: 3px solid var(--accent);
        }
        friend-link a {
            color: var(--accent);
            font-weight: 600;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #334155;
            color: #94a3b8;
            font-size: 0.9rem;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
            aside {
                position: static;
            }
        }
        @media (max-width: 768px) {
            .nav-links, .search-box {
                display: none;
            }
            .hamburger {
                display: block;
            }
            .mobile-menu {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--dark);
                padding: 1rem;
                box-shadow: 0 5px 10px rgba(0,0,0,0.2);
            }
            .mobile-menu.active {
                display: flex;
            }
            .mobile-menu .nav-links {
                display: flex;
                flex-direction: column;
                gap: 1rem;
                margin-bottom: 1rem;
            }
            .mobile-menu .search-box {
                display: flex;
                width: 100%;
            }
            .mobile-menu .search-box input {
                width: 100%;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            article {
                padding: 1.5rem;
            }
        }
        .text-center { text-align: center; }
        .mt-2 { margin-top: 2rem; }
        .mb-2 { margin-bottom: 2rem; }
        .bold { font-weight: 800; }
        .italic { font-style: italic; }
