:root {
            --primary: #4a6fa5; 
            --secondary: #9b6fb8; 
            --accent: #2ecc71; 
            --dark: #2c3e50;
            --light: #ecf0f1;
            --gray: #7f8c8d;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --transition: all 0.3s ease;
            --max-width: 1200px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.75;
            color: var(--dark);
            background-color: #fff;
            font-size: 1.05rem;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--secondary);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 1.5rem;
        }
        .site-header {
            background: linear-gradient(135deg, var(--dark) 0%, #34495e 100%);
            color: white;
            padding: 1rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(90deg, #00b4db, #0083b0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            padding: 0.5rem 0;
        }
        .my-logo a {
            background: none;
            -webkit-text-fill-color: unset;
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .main-nav a {
            color: var(--light);
            font-weight: 500;
            padding: 0.5rem 0;
            position: relative;
        }
        .main-nav a:hover {
            color: white;
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s;
        }
        .main-nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 0.5rem;
        }
        .breadcrumb {
            background-color: #f8f9fa;
            padding: 1rem 0;
            font-size: 0.9rem;
            color: var(--gray);
            border-bottom: 1px solid #eee;
        }
        .breadcrumb a {
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .breadcrumb i {
            margin: 0 0.5rem;
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            padding: 3rem 0;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }
        .article-content {
            max-width: 800px;
        }
        .article-meta {
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px dashed #ddd;
        }
        .article-meta .update-time {
            color: var(--accent);
            font-weight: 600;
        }
        h1 {
            font-size: 2.8rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }
        h2 {
            font-size: 2rem;
            margin: 3rem 0 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--light);
            color: var(--primary);
        }
        h3 {
            font-size: 1.5rem;
            margin: 2.5rem 0 1rem;
            color: var(--secondary);
        }
        h4 {
            font-size: 1.2rem;
            margin: 2rem 0 0.8rem;
            color: var(--dark);
        }
        p {
            margin-bottom: 1.8rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.3rem;
            font-weight: 300;
            color: var(--gray);
            margin-bottom: 2.5rem;
            line-height: 1.6;
        }
        .highlight {
            background-color: #f8f9fa;
            border-left: 4px solid var(--accent);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 5px 5px 0;
        }
        .highlight strong {
            color: var(--primary);
        }
        .image-wrapper {
            margin: 2.5rem auto;
            text-align: center;
            max-width: 100%;
        }
        .image-wrapper img {
            border-radius: 8px;
            box-shadow: var(--shadow);
            transition: transform 0.5s ease, box-shadow 0.5s ease;
        }
        .image-wrapper img:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .image-caption {
            font-size: 0.9rem;
            color: var(--gray);
            margin-top: 0.8rem;
            font-style: italic;
        }
        .feature-list {
            list-style: none;
            padding-left: 1.5rem;
            margin: 1.5rem 0;
        }
        .feature-list li {
            margin-bottom: 0.8rem;
            position: relative;
            padding-left: 1.8rem;
        }
        .feature-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--accent);
            font-weight: bold;
        }
        .sidebar {
            position: sticky;
            top: 140px;
            align-self: start;
            max-height: calc(100vh - 140px);
            overflow-y: auto;
        }
        .widget {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1.8rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
        }
        .widget-title {
            font-size: 1.2rem;
            margin-bottom: 1.2rem;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .widget-title i {
            color: var(--secondary);
        }
        .search-form, .comment-form, .rating-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        label {
            margin-bottom: 0.3rem;
            font-weight: 500;
            font-size: 0.95rem;
        }
        input, textarea, select {
            padding: 0.8rem 1rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
        }
        button, .btn {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 0.9rem 1.8rem;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
            display: inline-block;
        }
        button:hover, .btn:hover {
            background: linear-gradient(to right, #3a5a90, #8a5ea8);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.1);
        }
        .stars {
            display: flex;
            gap: 0.5rem;
            margin: 0.5rem 0;
            direction: rtl;
        }
        .stars input {
            display: none;
        }
        .stars label {
            font-size: 1.8rem;
            color: #ddd;
            cursor: pointer;
            transition: color 0.2s;
        }
        .stars label:hover,
        .stars label:hover ~ label,
        .stars input:checked ~ label {
            color: #ffc107;
        }
        .site-footer {
            background-color: var(--dark);
            color: var(--light);
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .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;
            background: linear-gradient(90deg, #00b4db, #0083b0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
        }
        .footer-links h4 {
            color: white;
            margin-bottom: 1.2rem;
            font-size: 1.1rem;
        }
        .footer-links ul {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.7rem;
        }
        .footer-links a {
            color: #bdc3c7;
        }
        .footer-links a:hover {
            color: white;
            padding-left: 0.3rem;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.05);
            padding: 0.8rem 1.2rem;
            border-radius: 5px;
            margin-bottom: 0.8rem;
            border-left: 3px solid var(--accent);
        }
        friend-link a {
            color: #bdc3c7;
            font-weight: 500;
        }
        friend-link a:hover {
            color: white;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #445566;
            color: #95a5a6;
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .main-nav {
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                background: var(--dark);
                padding: 1rem;
                transform: translateY(-150%);
                opacity: 0;
                transition: transform 0.4s ease, opacity 0.3s ease;
                box-shadow: 0 10px 15px rgba(0,0,0,0.1);
                z-index: 999;
            }
            .main-nav.active {
                transform: translateY(0);
                opacity: 1;
            }
            .main-nav ul {
                flex-direction: column;
                gap: 0;
            }
            .main-nav li {
                width: 100%;
                border-bottom: 1px solid #445566;
            }
            .main-nav a {
                display: block;
                padding: 1rem;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            .sidebar {
                position: static;
                max-height: none;
            }
        }
