        :root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --accent: #e74c3c;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --gray: #95a5a6;
            --success: #27ae60;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --radius: 8px;
            --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.7;
            color: #333;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            padding-bottom: 40px;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: var(--primary);
            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: 2.2rem;
            font-weight: 800;
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            letter-spacing: 1px;
            transition: var(--transition);
        }
        .my-logo:hover {
            color: var(--secondary);
            transform: scale(1.03);
        }
        .my-logo i {
            color: var(--accent);
        }
        .desktop-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .desktop-nav a {
            color: var(--light);
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            transition: var(--transition);
        }
        .desktop-nav a:hover,
        .desktop-nav a.active {
            background: var(--secondary);
            color: white;
        }
        .mobile-toggle {
            display: none;
            font-size: 1.8rem;
            background: none;
            border: none;
            color: white;
            cursor: pointer;
        }
        .mobile-nav {
            display: none;
            background: var(--dark);
            padding: 1rem;
            border-radius: var(--radius);
            margin-top: 1rem;
        }
        .mobile-nav.active {
            display: block;
        }
        .mobile-nav ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
        .mobile-nav a {
            color: var(--light);
            text-decoration: none;
            display: block;
            padding: 0.8rem;
            border-radius: var(--radius);
            transition: var(--transition);
        }
        .mobile-nav a:hover {
            background: var(--secondary);
        }
        .breadcrumb {
            padding: 1rem 0;
            font-size: 0.9rem;
            color: var(--gray);
        }
        .breadcrumb a {
            color: var(--secondary);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .breadcrumb span {
            margin: 0 8px;
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
            margin-top: 2rem;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
        }
        .article-content {
            background: white;
            padding: 2.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        h1 {
            color: var(--primary);
            font-size: 2.8rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            border-bottom: 3px solid var(--secondary);
            padding-bottom: 0.8rem;
        }
        h2 {
            color: var(--primary);
            font-size: 1.8rem;
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--light);
        }
        h3 {
            color: var(--dark);
            font-size: 1.4rem;
            margin: 2rem 0 1rem;
        }
        h4 {
            color: var(--gray);
            font-size: 1.1rem;
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .intro {
            font-size: 1.1rem;
            background: #f8f9fa;
            padding: 1.5rem;
            border-left: 4px solid var(--secondary);
            border-radius: var(--radius);
            margin-bottom: 2.5rem;
        }
        .highlight {
            background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
            padding: 1.8rem;
            border-radius: var(--radius);
            margin: 2rem 0;
            border: 1px solid #b3d4fc;
        }
        .code-block {
            background: #2d3a4b;
            color: #e6e6e6;
            padding: 1.5rem;
            border-radius: var(--radius);
            font-family: 'Courier New', monospace;
            overflow-x: auto;
            margin: 1.8rem 0;
            line-height: 1.5;
        }
        .keyword {
            color: #f08d49;
        }
        .func {
            color: #7ec699;
        }
        .comment {
            color: #999;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin: 2.5rem 0;
        }
        .stat-card {
            background: white;
            padding: 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            text-align: center;
            border-top: 4px solid var(--secondary);
            transition: var(--transition);
        }
        .stat-card:hover {
            transform: translateY(-5px);
        }
        .stat-card h4 {
            color: var(--primary);
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }
        .stat-value {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--accent);
        }
        .stat-desc {
            font-size: 0.9rem;
            color: var(--gray);
        }
        .img-container {
            margin: 2.5rem 0;
            text-align: center;
        }
        .article-img {
            max-width: 100%;
            height: auto;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            border: 1px solid #ddd;
        }
        .caption {
            font-size: 0.9rem;
            color: var(--gray);
            margin-top: 0.8rem;
            font-style: italic;
        }
        blockquote {
            border-left: 5px solid var(--accent);
            padding: 1.5rem 2rem;
            background: #fff5f5;
            margin: 2rem 0;
            border-radius: 0 var(--radius) var(--radius) 0;
            font-style: italic;
        }
        blockquote footer {
            margin-top: 1rem;
            font-weight: bold;
            color: var(--dark);
        }
        ul, ol {
            margin-left: 2rem;
            margin-bottom: 1.5rem;
        }
        li {
            margin-bottom: 0.7rem;
        }
        a.article-link {
            color: var(--secondary);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px dotted var(--secondary);
            transition: var(--transition);
        }
        a.article-link:hover {
            color: var(--accent);
            border-bottom-style: solid;
        }
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            box-shadow: var(--shadow);
            border-radius: var(--radius);
            overflow: hidden;
        }
        .comparison-table th,
        .comparison-table td {
            padding: 1.2rem 1rem;
            text-align: left;
            border-bottom: 1px solid #eee;
        }
        .comparison-table thead {
            background: var(--primary);
            color: white;
        }
        .comparison-table tbody tr:nth-child(even) {
            background: #f9f9f9;
        }
        .comparison-table tbody tr:hover {
            background: #e3f2fd;
        }
        .update-time {
            display: inline-block;
            background: var(--success);
            color: white;
            padding: 0.5rem 1.2rem;
            border-radius: 50px;
            font-size: 0.9rem;
            margin: 2rem 0;
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .widget {
            background: white;
            padding: 1.8rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .widget h3 {
            color: var(--primary);
            margin-top: 0;
            margin-bottom: 1.5rem;
            padding-bottom: 0.8rem;
            border-bottom: 2px solid var(--light);
        }
        .search-box {
            display: flex;
        }
        .search-box input {
            flex: 1;
            padding: 0.9rem 1.2rem;
            border: 2px solid #ddd;
            border-radius: var(--radius) 0 0 var(--radius);
            font-size: 1rem;
            outline: none;
            transition: var(--transition);
        }
        .search-box input:focus {
            border-color: var(--secondary);
        }
        .search-box button {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            cursor: pointer;
            font-size: 1.1rem;
            transition: var(--transition);
        }
        .search-box button:hover {
            background: #2980b9;
        }
        .related-links ul {
            list-style: none;
            margin-left: 0;
        }
        .related-links li {
            margin-bottom: 0.8rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px dashed #eee;
        }
        .related-links a {
            color: var(--dark);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition);
        }
        .related-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }
        .rating-widget form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .stars {
            display: flex;
            gap: 5px;
            font-size: 1.8rem;
            color: #ddd;
            margin-bottom: 0.5rem;
        }
        .stars i {
            cursor: pointer;
            transition: var(--transition);
        }
        .stars i:hover,
        .stars i.active {
            color: #ffc107;
        }
        .rating-widget textarea,
        .rating-widget input {
            width: 100%;
            padding: 0.9rem;
            border: 1px solid #ddd;
            border-radius: var(--radius);
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        .rating-widget textarea:focus,
        .rating-widget input:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        }
        .rating-widget button {
            background: var(--accent);
            color: white;
            border: none;
            padding: 1rem;
            border-radius: var(--radius);
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
        }
        .rating-widget button:hover {
            background: #c0392b;
        }
        .comments-section {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 2px solid var(--light);
        }
        .comment {
            background: #f8f9fa;
            padding: 1.5rem;
            border-radius: var(--radius);
            margin-bottom: 1.5rem;
            border-left: 4px solid var(--gray);
        }
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.8rem;
            font-size: 0.9rem;
        }
        .comment-author {
            font-weight: bold;
            color: var(--primary);
        }
        .comment-date {
            color: var(--gray);
        }
        .comment-form {
            background: white;
            padding: 1.8rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin-top: 2rem;
        }
        .comment-form h3 {
            margin-top: 0;
        }
        .form-group {
            margin-bottom: 1.5rem;
        }
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--dark);
        }
        footer {
            background: var(--primary);
            color: white;
            padding: 3rem 0 2rem;
            margin-top: 4rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }
        .footer-section h4 {
            color: var(--light);
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid var(--secondary);
            padding-bottom: 0.5rem;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a {
            color: #bdc3c7;
            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.1);
            padding: 1rem;
            border-radius: var(--radius);
            margin-bottom: 1rem;
            transition: var(--transition);
        }
        friend-link:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(5px);
        }
        friend-link a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        friend-link i {
            color: var(--secondary);
        }
        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #bdc3c7;
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .desktop-nav {
                display: none;
            }
            .mobile-toggle {
                display: block;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.6rem;
            }
            .article-content {
                padding: 1.5rem;
            }
            .header-content {
                flex-wrap: wrap;
            }
            .stats-grid {
                grid-template-columns: 1fr;
            }
        }
