:root {
            --primary: #d62839;
            --primary-dark: #a01c2a;
            --secondary: #003049;
            --accent: #f77f00;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --border-radius: 8px;
            --shadow: 0 4px 12px 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.6;
            color: var(--dark);
            background-color: #fff;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }
        ul, ol {
            list-style-position: inside;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background-color: var(--secondary);
            color: var(--light);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--accent);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo:hover {
            color: #ff9a3c;
        }
        .my-logo i {
            font-size: 2rem;
        }
        .main-nav ul {
            display: flex;
            gap: 1.8rem;
        }
        .main-nav a {
            font-weight: 600;
            padding: 0.5rem 0;
            position: relative;
        }
        .main-nav a:hover {
            color: var(--accent);
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            background: var(--accent);
            bottom: 0;
            left: 0;
            transition: width 0.3s;
        }
        .main-nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        .breadcrumb {
            background-color: #e9ecef;
            padding: 0.8rem 0;
            font-size: 0.9rem;
            margin-bottom: 2rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
        }
        .breadcrumb li {
            display: flex;
            align-items: center;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '/';
            margin: 0 10px;
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .search-section {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
            padding: 2rem 0;
            text-align: center;
            color: white;
            margin-bottom: 3rem;
            border-radius: var(--border-radius);
        }
        .search-section h2 {
            margin-bottom: 1rem;
        }
        .search-form {
            max-width: 600px;
            margin: 0 auto;
            display: flex;
        }
        .search-input {
            flex-grow: 1;
            padding: 0.9rem 1.2rem;
            border: none;
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            font-size: 1rem;
        }
        .search-btn {
            background-color: var(--accent);
            color: white;
            border: none;
            padding: 0 1.8rem;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }
        .search-btn:hover {
            background-color: #e67300;
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            margin: 3rem 0;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }
        .article-body {
            background: white;
            padding: 2.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eee;
            font-size: 0.9rem;
            color: var(--gray);
        }
        .update-time {
            color: var(--primary);
            font-weight: 600;
        }
        h1 {
            color: var(--secondary);
            font-size: 2.8rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
        }
        h2 {
            color: var(--primary);
            font-size: 2rem;
            margin: 2.5rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #eee;
        }
        h3 {
            color: var(--secondary);
            font-size: 1.6rem;
            margin: 2rem 0 1rem;
        }
        h4 {
            color: var(--dark);
            font-size: 1.3rem;
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.2rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.2rem;
            font-weight: 500;
            color: var(--secondary);
            margin-bottom: 2rem;
        }
        .highlight {
            background-color: #fff3cd;
            padding: 1.5rem;
            border-left: 5px solid var(--accent);
            margin: 2rem 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .infobox {
            background-color: #e7f1ff;
            border: 1px solid #b3d4fc;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin: 2rem 0;
        }
        .img-container {
            margin: 2.5rem auto;
            text-align: center;
            max-width: 800px;
        }
        .article-img {
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            transition: transform 0.5s ease;
        }
        .article-img:hover {
            transform: scale(1.02);
        }
        .caption {
            font-style: italic;
            color: var(--gray);
            margin-top: 0.5rem;
            font-size: 0.9rem;
        }
        .content-link {
            color: var(--primary);
            font-weight: 600;
            border-bottom: 1px dotted var(--primary);
        }
        .content-link:hover {
            color: var(--primary-dark);
            border-bottom-style: solid;
        }
        blockquote {
            font-style: italic;
            color: var(--gray);
            border-left: 4px solid var(--accent);
            padding-left: 1.5rem;
            margin: 2rem 0;
        }
        .sidebar {
            background: white;
            padding: 1.8rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            height: fit-content;
        }
        .sidebar-widget {
            margin-bottom: 2.5rem;
        }
        .sidebar-widget h3 {
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #eee;
        }
        .related-links li {
            margin-bottom: 0.8rem;
            padding-left: 1.2rem;
            position: relative;
        }
        .related-links li::before {
            content: '➤';
            color: var(--accent);
            position: absolute;
            left: 0;
        }
        .related-links a:hover {
            color: var(--primary);
            padding-left: 5px;
        }
        .interaction-section {
            margin: 4rem 0;
            background: white;
            padding: 2.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .section-title {
            text-align: center;
            margin-bottom: 2.5rem;
            color: var(--secondary);
        }
        .rating-widget {
            text-align: center;
            margin-bottom: 3rem;
        }
        .stars {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #ffc107;
            cursor: pointer;
        }
        .star {
            transition: var(--transition);
        }
        .star:hover,
        .star.active {
            color: #ff9800;
            transform: scale(1.2);
        }
        .rating-form,
        .comment-form {
            max-width: 700px;
            margin: 0 auto;
        }
        .form-group {
            margin-bottom: 1.5rem;
        }
        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--secondary);
        }
        .form-control {
            width: 100%;
            padding: 0.9rem;
            border: 1px solid #ced4da;
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        .form-control:focus {
            border-color: var(--accent);
            outline: none;
            box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.25);
        }
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        .submit-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            border-radius: var(--border-radius);
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: var(--transition);
        }
        .submit-btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
        }
        .site-footer {
            background-color: var(--secondary);
            color: var(--light);
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
        }
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--accent);
            margin-bottom: 1rem;
        }
        .footer-links h4 {
            color: var(--accent);
            margin-bottom: 1.2rem;
            font-size: 1.2rem;
        }
        .footer-links ul li {
            margin-bottom: 0.7rem;
        }
        .footer-links a:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.05);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin-top: 1rem;
        }
        friend-link a {
            color: #80d0ff;
            font-weight: 600;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #adb5bd;
        }
        @media (max-width: 768px) {
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.7rem;
            }
            .main-nav ul {
                position: fixed;
                top: 70px;
                left: -100%;
                flex-direction: column;
                background-color: var(--secondary);
                width: 100%;
                text-align: center;
                padding: 2rem 0;
                transition: 0.3s;
                box-shadow: 0 10px 15px rgba(0,0,0,0.1);
                gap: 0;
            }
            .main-nav.active ul {
                left: 0;
            }
            .main-nav li {
                margin: 0.8rem 0;
            }
            .hamburger {
                display: block;
            }
            .article-body {
                padding: 1.8rem;
            }
            .search-form {
                flex-direction: column;
            }
            .search-input, .search-btn {
                border-radius: var(--border-radius);
                margin-bottom: 0.5rem;
            }
        }
