:root {
            --primary: #5e35b1;
            --primary-dark: #4527a0;
            --secondary: #ff9800;
            --accent: #00e5ff;
            --dark: #1a1a2e;
            --light: #f5f7fa;
            --text: #333;
            --text-light: #666;
            --gray: #e0e0e0;
            --success: #4caf50;
            --border-radius: 8px;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --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: var(--text);
            background-color: var(--light);
            overflow-x: hidden;
        }
        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: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background-color: var(--dark);
            color: white;
            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-family: 'Arial Black', sans-serif;
            font-size: 1.8rem;
            background: linear-gradient(90deg, var(--secondary), var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 900;
            letter-spacing: 1px;
        }
        .my-logo:hover {
            transform: scale(1.03);
        }
        nav ul {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }
        nav a {
            color: white;
            font-weight: 500;
            padding: 0.5rem 0;
            position: relative;
        }
        nav a:hover {
            color: var(--secondary);
        }
        nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--secondary);
            transition: width 0.3s;
        }
        nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        .breadcrumb {
            background-color: #f0f0f0;
            padding: 1rem 0;
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '/';
            margin: 0 10px;
            color: var(--text-light);
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
            padding: 2rem 0;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
        }
        article {
            background: white;
            border-radius: var(--border-radius);
            padding: 2.5rem;
            box-shadow: var(--shadow);
        }
        .article-header {
            margin-bottom: 2rem;
            border-bottom: 2px solid var(--gray);
            padding-bottom: 1.5rem;
        }
        h1 {
            font-size: 2.5rem;
            color: var(--dark);
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        .meta {
            color: var(--text-light);
            font-size: 0.9rem;
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
        }
        .meta i {
            margin-right: 0.3rem;
            color: var(--primary);
        }
        .update-time {
            background-color: #e8f5e9;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            color: var(--success);
            font-weight: 600;
        }
        h2, h3, h4 {
            color: var(--primary-dark);
            margin-top: 2rem;
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        h2 {
            font-size: 1.8rem;
            border-left: 4px solid var(--secondary);
            padding-left: 1rem;
        }
        h3 {
            font-size: 1.5rem;
        }
        h4 {
            font-size: 1.2rem;
            color: var(--text);
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.2rem;
            color: var(--primary);
            font-weight: 600;
            background-color: #f3e5f5;
            padding: 1rem;
            border-radius: var(--border-radius);
            border-left: 4px solid var(--primary);
        }
        .highlight {
            background-color: #fff9c4;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            border: 1px dashed #ffb300;
            margin: 2rem 0;
        }
        .highlight h3 {
            margin-top: 0;
            color: #e65100;
        }
        .code-list {
            background-color: #263238;
            color: #eceff1;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            font-family: 'Courier New', monospace;
            margin: 2rem 0;
            overflow-x: auto;
        }
        .code-list h3 {
            color: var(--accent);
            border-bottom: 1px solid #546e7a;
            padding-bottom: 0.5rem;
        }
        .code-item {
            padding: 0.8rem;
            border-bottom: 1px solid #37474f;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .code-item:last-child {
            border-bottom: none;
        }
        .code {
            font-weight: bold;
            letter-spacing: 1px;
            background-color: #000;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            color: #4caf50;
        }
        .reward {
            color: #ffcc80;
            font-size: 0.9rem;
        }
        .cta-button {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(94, 53, 177, 0.3);
            border: none;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
            margin: 1rem 0;
        }
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(94, 53, 177, 0.4);
            color: white;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        }
        .featured-image {
            margin: 2rem 0;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .image-caption {
            text-align: center;
            font-style: italic;
            color: var(--text-light);
            padding: 0.5rem;
            background-color: #f9f9f9;
            font-size: 0.9rem;
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            border-radius: var(--border-radius);
            padding: 1.5rem;
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            font-size: 1.3rem;
            margin-top: 0;
            border-bottom: 2px solid var(--gray);
            padding-bottom: 0.7rem;
            color: var(--dark);
        }
        .search-form {
            display: flex;
            margin-top: 1rem;
        }
        .search-form input {
            flex-grow: 1;
            padding: 0.8rem;
            border: 1px solid var(--gray);
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            outline: none;
        }
        .search-form button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0 1.2rem;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            cursor: pointer;
        }
        .search-form button:hover {
            background-color: var(--primary-dark);
        }
        .rating-widget {
            text-align: center;
        }
        .stars {
            font-size: 1.8rem;
            color: #ffc107;
            margin: 1rem 0;
            cursor: pointer;
        }
        .stars i {
            transition: var(--transition);
        }
        .stars i:hover {
            transform: scale(1.2);
        }
        .comment-form textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid var(--gray);
            border-radius: var(--border-radius);
            min-height: 120px;
            margin-top: 0.5rem;
            resize: vertical;
        }
        .comment-form button {
            background-color: var(--secondary);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: var(--border-radius);
            cursor: pointer;
            font-weight: bold;
            margin-top: 1rem;
            width: 100%;
            transition: var(--transition);
        }
        .comment-form button:hover {
            background-color: #e68900;
        }
        .related-links ul {
            list-style: none;
        }
        .related-links li {
            padding: 0.7rem 0;
            border-bottom: 1px dashed var(--gray);
        }
        .related-links li:last-child {
            border-bottom: none;
        }
        footer {
            background-color: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-section h3 {
            color: var(--secondary);
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }
        friend-link {
            display: block;
            padding: 0.5rem 0;
            color: #bbbbbb;
            border-bottom: 1px solid #333;
        }
        friend-link:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #333;
            color: #aaa;
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .header-container {
                flex-wrap: wrap;
            }
            nav {
                width: 100%;
                order: 3;
                margin-top: 1rem;
                display: none;
            }
            nav.active {
                display: block;
            }
            nav ul {
                flex-direction: column;
                gap: 0.5rem;
            }
            .hamburger {
                display: block;
            }
            h1 {
                font-size: 2rem;
            }
            article {
                padding: 1.5rem;
            }
            .header-container {
                padding: 0 15px;
            }
        }
        .emoji {
            font-size: 1.2em;
            margin-right: 0.3rem;
        }
        .bold {
            font-weight: 800;
            color: var(--primary-dark);
        }
        .text-center { text-align: center; }
        .mt-1 { margin-top: 1rem; }
        .mb-1 { margin-bottom: 1rem; }
        .py-1 { padding-top: 1rem; padding-bottom: 1rem; }
