:root {
        --primary: #1a5fb4; 
        --secondary: #ff7800; 
        --accent: #26a269; 
        --dark: #241f31;
        --light: #f8f8f2;
        --gray: #e0e0e0;
        --shadow: 0 4px 12px rgba(0,0,0,0.08);
        --transition: all 0.3s ease;
    }
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    html {
        scroll-behavior: smooth;
    }
    body {
        background-color: #f9f9f9;
        color: #333;
        line-height: 1.7;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    a {
        color: var(--primary);
        text-decoration: none;
        transition: var(--transition);
    }
    a:hover {
        color: var(--secondary);
    }
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    header {
        background: linear-gradient(135deg, var(--dark) 0%, #2d2a3a 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;
    }
    .my-logo {
        font-size: 2rem;
        font-weight: 800;
        background: linear-gradient(to right, var(--secondary), #ffcc00);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .my-logo:hover {
        transform: scale(1.03);
    }
    nav.desktop-nav ul {
        display: flex;
        list-style: none;
        gap: 2rem;
    }
    nav.desktop-nav a {
        color: white;
        font-weight: 600;
        padding: 0.5rem 0;
        border-bottom: 2px solid transparent;
    }
    nav.desktop-nav a:hover {
        border-bottom-color: var(--secondary);
    }
    .hamburger {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
    }
    .mobile-nav {
        display: none;
        flex-direction: column;
        background: var(--dark);
        padding: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: var(--shadow);
    }
    .mobile-nav.active {
        display: flex;
    }
    .mobile-nav a {
        color: white;
        padding: 0.8rem;
        border-bottom: 1px solid #444;
    }
    .breadcrumb {
        background: #eee;
        padding: 0.8rem 0;
        font-size: 0.9rem;
    }
    .breadcrumb a {
        color: #555;
    }
    main {
        flex: 1;
        padding: 2rem 0;
    }
    article {
        background: white;
        border-radius: 12px;
        padding: 2.5rem;
        box-shadow: var(--shadow);
        margin-bottom: 2rem;
    }
    h1 {
        color: var(--dark);
        font-size: 2.8rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        border-left: 6px solid var(--secondary);
        padding-left: 1rem;
    }
    h2 {
        color: var(--primary);
        margin: 2.5rem 0 1.2rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px dashed var(--gray);
    }
    h3 {
        color: var(--accent);
        margin: 2rem 0 1rem;
    }
    h4 {
        color: #666;
        margin: 1.5rem 0 0.8rem;
    }
    p {
        margin-bottom: 1.2rem;
        text-align: justify;
    }
    .lead {
        font-size: 1.2rem;
        color: #555;
        font-weight: 500;
        margin-bottom: 2rem;
    }
    .highlight {
        background: linear-gradient(120deg, rgba(26, 95, 180, 0.1) 0%, rgba(255, 120, 0, 0.1) 100%);
        border-left: 4px solid var(--secondary);
        padding: 1.5rem;
        margin: 2rem 0;
        border-radius: 0 8px 8px 0;
    }
    .article-img {
        width: 100%;
        max-width: 800px;
        height: auto;
        border-radius: 10px;
        margin: 2rem auto;
        display: block;
        box-shadow: 0 6px 15px rgba(0,0,0,0.1);
        transition: transform 0.5s ease;
    }
    .article-img:hover {
        transform: scale(1.01);
    }
    .img-caption {
        text-align: center;
        font-style: italic;
        color: #777;
        margin-top: -1.5rem;
        margin-bottom: 2rem;
    }
    ul, ol {
        margin-left: 2rem;
        margin-bottom: 1.5rem;
    }
    .link-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        margin: 2rem 0;
    }
    .link-card {
        background: #f5f7fa;
        padding: 1.2rem;
        border-radius: 8px;
        border-left: 4px solid var(--accent);
        transition: var(--transition);
    }
    .link-card:hover {
        background: #eef2f7;
        transform: translateY(-5px);
    }
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin: 2.5rem 0;
    }
    .stat-box {
        background: white;
        padding: 1.5rem;
        border-radius: 10px;
        text-align: center;
        box-shadow: var(--shadow);
        border-top: 5px solid var(--primary);
    }
    .stat-value {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--primary);
        display: block;
    }
    .interactive-section {
        background: linear-gradient(135deg, #f8f9ff 0%, #eef6ff 100%);
        border-radius: 12px;
        padding: 2rem;
        margin: 3rem 0;
        border: 1px solid #d0e2ff;
    }
    .search-box, .comment-form, .rating-form {
        margin-bottom: 2.5rem;
    }
    .form-group {
        margin-bottom: 1.5rem;
    }
    label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #444;
    }
    input, textarea, select {
        width: 100%;
        padding: 0.9rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
        transition: var(--transition);
    }
    input:focus, textarea:focus, select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.2);
        outline: none;
    }
    button, .btn {
        background: linear-gradient(to right, var(--primary), #2a7de1);
        color: white;
        border: none;
        padding: 0.9rem 2rem;
        border-radius: 6px;
        font-weight: 700;
        cursor: pointer;
        transition: var(--transition);
        display: inline-block;
    }
    button:hover, .btn:hover {
        background: linear-gradient(to right, #1555a3, var(--primary));
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(26, 95, 180, 0.25);
    }
    .stars {
        display: flex;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    .star {
        font-size: 2rem;
        color: #ddd;
        cursor: pointer;
        transition: color 0.2s;
    }
    .star:hover,
    .star.active {
        color: #ffcc00;
    }
    .update-time {
        text-align: right;
        font-size: 0.9rem;
        color: #888;
        margin-top: 3rem;
        padding-top: 1rem;
        border-top: 1px solid #eee;
    }
    footer {
        background: var(--dark);
        color: #ccc;
        padding: 3rem 0 1.5rem;
        margin-top: auto;
    }
    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
    .footer-section h3 {
        color: white;
        margin-bottom: 1.5rem;
        font-size: 1.3rem;
    }
    friend-link {
        display: inline-block;
        background: rgba(255,255,255,0.05);
        padding: 0.6rem 1rem;
        border-radius: 4px;
        margin: 0.3rem;
        border: 1px solid #444;
        transition: var(--transition);
    }
    friend-link:hover {
        background: rgba(255,120,0,0.1);
        border-color: var(--secondary);
    }
    .copyright {
        text-align: center;
        padding-top: 1.5rem;
        border-top: 1px solid #444;
        font-size: 0.9rem;
        color: #aaa;
    }
    @media (max-width: 768px) {
        .header-content {
            flex-wrap: wrap;
        }
        nav.desktop-nav {
            display: none;
        }
        .hamburger {
            display: block;
        }
        h1 {
            font-size: 2.2rem;
        }
        article {
            padding: 1.5rem;
        }
        .link-list, .stats-grid {
            grid-template-columns: 1fr;
        }
        .footer-content {
            grid-template-columns: 1fr;
            text-align: center;
        }
    }
