:root {
            --primary: #4361ee;
            --secondary: #3a0ca3;
            --accent: #f72585;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --shadow: 0 4px 12px rgba(0,0,0,0.1);
            --radius: 8px;
            --transition: all 0.3s ease;
            --max-width: 1200px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            background-color: #fefefe;
            color: var(--dark);
            line-height: 1.7;
            overflow-x: hidden;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent);
        }
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        .my-logo {
            font-size: 2rem;
            font-weight: 800;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo i {
            color: var(--accent);
        }
        .my-logo:hover {
            transform: scale(1.03);
        }
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }
        nav a {
            color: white;
            font-weight: 600;
            padding: 8px 12px;
            border-radius: var(--radius);
        }
        nav a:hover, nav a.active {
            background: rgba(255,255,255,0.15);
            color: white;
        }
        .breadcrumb {
            background: rgba(0,0,0,0.05);
            padding: 12px 0;
            font-size: 0.9rem;
        }
        .breadcrumb a {
            color: rgba(255,255,255,0.9);
        }
        .breadcrumb a:hover {
            color: white;
        }
        .breadcrumb i {
            margin: 0 8px;
            font-size: 0.8rem;
        }
        main {
            padding: 40px 0;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
        }
        .content-area {
            background: white;
            border-radius: var(--radius);
            padding: 30px;
            box-shadow: var(--shadow);
        }
        aside {
            background: white;
            border-radius: var(--radius);
            padding: 25px;
            box-shadow: var(--shadow);
            align-self: start;
            position: sticky;
            top: 120px;
        }
        h1 {
            color: var(--secondary);
            font-size: 2.8rem;
            margin-bottom: 20px;
            line-height: 1.2;
            border-bottom: 3px solid var(--accent);
            padding-bottom: 15px;
        }
        h2 {
            color: var(--primary);
            font-size: 2rem;
            margin: 35px 0 15px;
            padding-top: 10px;
        }
        h3 {
            color: var(--secondary);
            font-size: 1.6rem;
            margin: 25px 0 10px;
        }
        h4 {
            color: var(--dark);
            font-size: 1.3rem;
            margin: 20px 0 10px;
        }
        p {
            margin-bottom: 20px;
            font-size: 1.1rem;
        }
        .intro {
            font-size: 1.2rem;
            background: linear-gradient(to right, #f0f4ff, #fff);
            padding: 25px;
            border-radius: var(--radius);
            border-left: 5px solid var(--primary);
            margin-bottom: 30px;
        }
        .highlight {
            background-color: #fff9e6;
            padding: 25px;
            border-radius: var(--radius);
            border: 2px dashed #ffd166;
            margin: 25px 0;
        }
        .highlight strong {
            color: #e63946;
        }
        img {
            max-width: 100%;
            height: auto;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin: 25px 0;
            display: block;
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: var(--gray);
            margin-top: -15px;
            margin-bottom: 25px;
        }
        ul, ol {
            margin-left: 25px;
            margin-bottom: 25px;
        }
        li {
            margin-bottom: 10px;
        }
        blockquote {
            border-left: 4px solid var(--accent);
            padding-left: 25px;
            margin: 30px 0;
            font-style: italic;
            color: var(--secondary);
            background: #f8f9ff;
            padding: 20px;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .keyword-link {
            background: #e9ecef;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 600;
        }
        .keyword-link:hover {
            background: var(--primary);
            color: white;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        .stat-card {
            background: white;
            border-radius: var(--radius);
            padding: 20px;
            text-align: center;
            box-shadow: var(--shadow);
            border-top: 5px solid var(--primary);
        }
        .stat-card i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }
        .stat-card h3 {
            font-size: 2rem;
            color: var(--dark);
            margin: 10px 0;
        }
        .search-box {
            margin: 30px 0;
            background: #f8f9fa;
            padding: 25px;
            border-radius: var(--radius);
        }
        .search-box h3 {
            margin-top: 0;
        }
        .search-form {
            display: flex;
            gap: 10px;
        }
        .search-form input {
            flex: 1;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: var(--radius);
            font-size: 1rem;
        }
        .search-form button {
            background: var(--primary);
            color: white;
            border: none;
            border-radius: var(--radius);
            padding: 0 25px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }
        .search-form button:hover {
            background: var(--secondary);
        }
        .rating-widget, .comment-widget {
            background: #f8f9fa;
            padding: 25px;
            border-radius: var(--radius);
            margin: 30px 0;
        }
        .stars {
            display: flex;
            gap: 10px;
            margin: 15px 0;
        }
        .star {
            font-size: 2rem;
            color: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }
        .star:hover, .star.active {
            color: #ffd700;
        }
        .comment-form textarea {
            width: 100%;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: var(--radius);
            margin: 15px 0;
            font-size: 1rem;
            resize: vertical;
            min-height: 150px;
        }
        .submit-btn {
            background: var(--primary);
            color: white;
            border: none;
            border-radius: var(--radius);
            padding: 15px 30px;
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
        }
        .submit-btn:hover {
            background: var(--secondary);
            transform: translateY(-3px);
        }
        .update-time {
            background: #e7f4e4;
            padding: 15px;
            border-radius: var(--radius);
            margin: 30px 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .sidebar-widget {
            margin-bottom: 30px;
            padding-bottom: 25px;
            border-bottom: 1px solid #eee;
        }
        .sidebar-widget:last-child {
            border-bottom: none;
        }
        .sidebar-widget h3 {
            font-size: 1.4rem;
            margin-top: 0;
            color: var(--primary);
            padding-bottom: 10px;
            border-bottom: 2px solid #eee;
        }
        .related-links li {
            margin-bottom: 12px;
            padding-left: 10px;
            border-left: 3px solid transparent;
            transition: var(--transition);
        }
        .related-links li:hover {
            border-left-color: var(--accent);
            padding-left: 15px;
        }
        .popular-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .tag {
            background: #e9ecef;
            padding: 8px 15px;
            border-radius: 30px;
            font-size: 0.9rem;
            transition: var(--transition);
        }
        .tag:hover {
            background: var(--primary);
            color: white;
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 50px 0 20px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 20px;
            color: white;
        }
        .footer-links h4 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.3rem;
        }
        .footer-links ul {
            list-style: none;
            margin-left: 0;
        }
        .footer-links li {
            margin-bottom: 12px;
        }
        .footer-links a {
            color: #adb5bd;
        }
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.05);
            padding: 15px;
            border-radius: var(--radius);
            margin: 10px 0;
            transition: var(--transition);
        }
        friend-link:hover {
            background: rgba(255,255,255,0.1);
            transform: translateX(5px);
        }
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #adb5bd;
            font-size: 0.9rem;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
            aside {
                position: static;
            }
            h1 {
                font-size: 2.3rem;
            }
            h2 {
                font-size: 1.8rem;
            }
        }
        @media (max-width: 768px) {
            .header-top {
                flex-wrap: wrap;
            }
            .mobile-toggle {
                display: block;
            }
            nav {
                width: 100%;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.5s ease;
            }
            nav.active {
                max-height: 400px;
                margin-top: 20px;
            }
            nav ul {
                flex-direction: column;
                gap: 0;
            }
            nav li {
                width: 100%;
            }
            nav a {
                display: block;
                padding: 15px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }
            .search-form {
                flex-direction: column;
            }
            .stats-grid {
                grid-template-columns: 1fr;
            }
        }
