:root {
            --primary-blue: #1e3a8a;
            --secondary-gold: #f59e0b;
            --accent-green: #10b981;
            --light-bg: #f8fafc;
            --dark-text: #1f2937;
            --gray-border: #e5e7eb;
            --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            background-color: var(--light-bg);
            color: var(--dark-text);
            line-height: 1.7;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease;
        }
        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 100%);
            color: white;
            padding: 1rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .my-logo {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--secondary-gold);
            text-transform: uppercase;
            letter-spacing: 2px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo i {
            color: white;
        }
        .my-logo:hover {
            color: white;
            transform: scale(1.02);
        }
        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
            flex-wrap: wrap;
        }
        nav a {
            font-weight: 600;
            font-size: 1.05rem;
            padding: 0.5rem 0;
            position: relative;
        }
        nav a:hover, nav a.active {
            color: var(--secondary-gold);
        }
        nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            background: var(--secondary-gold);
            bottom: 0;
            left: 0;
            transition: width 0.3s ease;
        }
        nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: white;
            background: none;
            border: none;
        }
        .breadcrumb {
            padding: 1rem 0;
            background-color: #edf2f7;
            font-size: 0.9rem;
            margin-bottom: 2rem;
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '>';
            margin: 0 10px;
            color: #6b7280;
        }
        .breadcrumb a {
            color: var(--primary-blue);
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            margin: 2rem 0;
        }
        article {
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: var(--shadow);
        }
        h1 {
            font-size: 2.8rem;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            line-height: 1.2;
            border-bottom: 4px solid var(--secondary-gold);
            padding-bottom: 1rem;
        }
        h2 {
            font-size: 2rem;
            color: var(--primary-blue);
            margin: 2.5rem 0 1.2rem;
            padding-left: 10px;
            border-left: 5px solid var(--accent-green);
        }
        h3 {
            font-size: 1.5rem;
            color: #374151;
            margin: 2rem 0 1rem;
        }
        h4 {
            font-size: 1.2rem;
            color: #4b5563;
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .intro {
            font-size: 1.2rem;
            font-weight: 500;
            color: #111827;
            background: #f0f9ff;
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 2.5rem;
            border-left: 5px solid var(--primary-blue);
        }
        .highlight {
            background: linear-gradient(120deg, #fef3c7 0%, #fef3c7 100%);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-weight: 600;
        }
        .emoji {
            font-size: 1.2em;
            margin-right: 5px;
        }
        .article-img {
            width: 100%;
            max-width: 800px;
            height: auto;
            border-radius: 12px;
            margin: 2.5rem auto;
            display: block;
            box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2);
            border: 5px solid white;
            transition: transform 0.4s ease;
        }
        .article-img:hover {
            transform: scale(1.01);
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: #6b7280;
            margin-top: 0.5rem;
            font-size: 0.95rem;
        }
        .content-link {
            color: var(--primary-blue);
            font-weight: 600;
            border-bottom: 1px dashed currentColor;
        }
        .content-link:hover {
            color: var(--secondary-gold);
            border-bottom-style: solid;
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            padding: 1.8rem;
            border-radius: 12px;
            box-shadow: var(--shadow);
        }
        .widget-title {
            font-size: 1.3rem;
            color: var(--primary-blue);
            margin-bottom: 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--gray-border);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .search-box {
            display: flex;
        }
        .search-box input {
            flex-grow: 1;
            padding: 0.9rem 1rem;
            border: 2px solid var(--gray-border);
            border-radius: 8px 0 0 8px;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
        }
        .search-box input:focus {
            border-color: var(--primary-blue);
        }
        .search-box button {
            background: var(--primary-blue);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 8px 8px 0;
            cursor: pointer;
            font-size: 1.1rem;
            transition: background 0.3s;
        }
        .search-box button:hover {
            background: #1e40af;
        }
        .rating-stars {
            display: flex;
            gap: 5px;
            margin-bottom: 1rem;
            font-size: 1.8rem;
            color: #d1d5db;
        }
        .rating-stars .active {
            color: var(--secondary-gold);
        }
        .rating-stars i {
            cursor: pointer;
            transition: color 0.2s;
        }
        .rating-form input, .comment-form textarea, .comment-form input {
            width: 100%;
            padding: 0.8rem;
            margin-bottom: 1rem;
            border: 2px solid var(--gray-border);
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        .rating-form input:focus, .comment-form textarea:focus, .comment-form input:focus {
            outline: none;
            border-color: var(--primary-blue);
        }
        .btn {
            background: var(--accent-green);
            color: white;
            border: none;
            padding: 0.9rem 1.8rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s, transform 0.2s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .btn:hover {
            background: #059669;
            transform: translateY(-2px);
        }
        .btn-secondary {
            background: var(--primary-blue);
        }
        .btn-secondary:hover {
            background: #1e40af;
        }
        .comment {
            border-bottom: 1px solid var(--gray-border);
            padding: 1.2rem 0;
        }
        .comment:last-of-type {
            border-bottom: none;
        }
        .comment-author {
            font-weight: 700;
            color: var(--primary-blue);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .comment-date {
            font-size: 0.85rem;
            color: #9ca3af;
            margin-left: auto;
        }
        .comment-text {
            margin-top: 0.8rem;
        }
        .update-time {
            background: #fef3c7;
            padding: 1rem;
            border-radius: 8px;
            margin: 2rem 0;
            text-align: center;
            font-weight: 600;
            color: #92400e;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        footer {
            background: var(--primary-blue);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }
        .footer-logo {
            font-size: 2rem;
            font-weight: 800;
            color: var(--secondary-gold);
            margin-bottom: 1rem;
        }
        .footer-links h4 {
            color: var(--secondary-gold);
            margin-bottom: 1.2rem;
            font-size: 1.2rem;
        }
        .footer-links ul {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a:hover {
            color: var(--secondary-gold);
            padding-left: 5px;
            transition: all 0.3s;
        }
        friend-link {
            display: block;
            margin-top: 1rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 0.9rem;
            color: #cbd5e1;
        }
        @media (max-width: 1024px) {
            main {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
            .hamburger {
                display: block;
                position: absolute;
                top: 1.2rem;
                right: 20px;
            }
            nav ul {
                display: none;
                flex-direction: column;
                width: 100%;
                background: var(--primary-blue);
                padding: 1rem 0;
                margin-top: 1rem;
                gap: 1rem;
            }
            nav ul.show {
                display: flex;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            article {
                padding: 1.8rem;
            }
        }
        @media print {
            header, nav, aside, footer, .breadcrumb, .update-time,
            .search-box, .rating-form, .comment-form {
                display: none;
            }
            body {
                background: white;
                color: black;
            }
            article {
                box-shadow: none;
                padding: 0;
            }
            h1, h2, h3, h4 {
                color: black;
            }
            .content-link {
                color: black;
                text-decoration: underline;
                border-bottom: none;
            }
        }
