:root {
            --primary: #6C5CE7;
            --secondary: #A29BFE;
            --accent: #00CEC9;
            --dark: #2D3436;
            --light: #F9F9F9;
            --success: #00B894;
            --warning: #FDCB6E;
            --danger: #E17055;
            --gray: #636E72;
            --shadow: 0 4px 12px rgba(108, 92, 231, 0.15);
            --radius: 12px;
            --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: #f5f7ff;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--primary), #8A7CFF);
            color: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo i {
            color: var(--accent);
        }
        .logo span {
            background: linear-gradient(90deg, #FFEAA7, #FD79A8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .search-box {
            flex-grow: 1;
            max-width: 500px;
            margin: 0 30px;
            position: relative;
        }
        .search-box form {
            display: flex;
        }
        .search-box input {
            width: 100%;
            padding: 12px 20px;
            border: none;
            border-radius: 50px 0 0 50px;
            font-size: 1rem;
            outline: none;
            background: rgba(255, 255, 255, 0.95);
        }
        .search-box button {
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 0 50px 50px 0;
            padding: 0 25px;
            cursor: pointer;
            font-size: 1.1rem;
            transition: var(--transition);
        }
        .search-box button:hover {
            background: #00a8a3;
        }
        .desktop-nav {
            display: flex;
            gap: 25px;
        }
        .desktop-nav a {
            font-weight: 600;
            padding: 8px 0;
            position: relative;
        }
        .desktop-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--accent);
            transition: var(--transition);
        }
        .desktop-nav a:hover::after,
        .desktop-nav a.active::after {
            width: 100%;
        }
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        .mobile-nav {
            display: none;
            flex-direction: column;
            background: var(--primary);
            padding: 20px;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            box-shadow: var(--shadow);
        }
        .mobile-nav.active {
            display: flex;
        }
        .mobile-nav a {
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            font-weight: 600;
        }
        .mobile-nav a:last-child {
            border-bottom: none;
        }
        .breadcrumb {
            background: rgba(255, 255, 255, 0.1);
            padding: 12px 0;
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
        }
        .breadcrumb li {
            margin-right: 5px;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '›';
            margin-left: 10px;
            color: var(--accent);
        }
        .breadcrumb a:hover {
            color: var(--accent);
        }
        main {
            padding: 40px 0;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
        }
        .content {
            background: white;
            border-radius: var(--radius);
            padding: 40px;
            box-shadow: var(--shadow);
        }
        article h1 {
            color: var(--primary);
            font-size: 2.5rem;
            margin-bottom: 20px;
            line-height: 1.2;
        }
        .article-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            color: var(--gray);
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
        }
        .article-meta i {
            color: var(--accent);
        }
        .featured-image {
            margin: 30px 0;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        .featured-image img {
            width: 100%;
            transition: transform 0.5s ease;
        }
        .featured-image:hover img {
            transform: scale(1.02);
        }
        .image-caption {
            text-align: center;
            font-style: italic;
            color: var(--gray);
            padding: 10px;
            background: #f9f9f9;
        }
        h2, h3, h4 {
            color: var(--primary);
            margin-top: 2em;
            margin-bottom: 0.8em;
        }
        h2 {
            font-size: 1.8rem;
            border-left: 5px solid var(--accent);
            padding-left: 15px;
        }
        h3 {
            font-size: 1.5rem;
            color: var(--dark);
        }
        p {
            margin-bottom: 1.5em;
            font-size: 1.05rem;
        }
        .highlight {
            background: linear-gradient(120deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 201, 0.1));
            border-left: 4px solid var(--accent);
            padding: 20px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 25px 0;
        }
        .code-box {
            background: #2D3436;
            color: #fff;
            padding: 25px;
            border-radius: var(--radius);
            font-family: 'Courier New', monospace;
            margin: 20px 0;
            overflow-x: auto;
            border: 2px dashed var(--accent);
        }
        .code-box .code {
            color: #00CEC9;
            font-weight: bold;
            font-size: 1.2rem;
        }
        .tip {
            background: #E3F2FD;
            border-radius: var(--radius);
            padding: 20px;
            margin: 25px 0;
            border-left: 5px solid #2196F3;
        }
        .tip i {
            color: #2196F3;
            margin-right: 10px;
        }
        .warning {
            background: #FFF3E0;
            border-radius: var(--radius);
            padding: 20px;
            margin: 25px 0;
            border-left: 5px solid #FF9800;
        }
        .warning i {
            color: #FF9800;
            margin-right: 10px;
        }
        .btn {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 12px 28px;
            border-radius: 50px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
        }
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(108, 92, 231, 0.4);
        }
        .btn-copy {
            background: var(--accent);
            margin-left: 15px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 25px 0;
            box-shadow: 0 0 10px rgba(0,0,0,0.05);
            border-radius: var(--radius);
            overflow: hidden;
        }
        th, td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }
        th {
            background: var(--primary);
            color: white;
            font-weight: 600;
        }
        tr:hover {
            background: #f9f9ff;
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        .sidebar-widget {
            background: white;
            border-radius: var(--radius);
            padding: 25px;
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            margin-top: 0;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 3px solid var(--accent);
            display: inline-block;
        }
        .code-list {
            list-style: none;
        }
        .code-list li {
            padding: 15px;
            background: #f8f9ff;
            margin-bottom: 10px;
            border-radius: 8px;
            border-left: 4px solid var(--primary);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .code-list .status {
            font-size: 0.8rem;
            padding: 3px 10px;
            border-radius: 20px;
            font-weight: 600;
        }
        .status.active {
            background: #d4edda;
            color: #155724;
        }
        .status.expired {
            background: #f8d7da;
            color: #721c24;
        }
        .interactive-section {
            margin: 40px 0;
            padding: 30px;
            background: linear-gradient(135deg, #f5f7ff, #e3e6ff);
            border-radius: var(--radius);
            border: 2px solid var(--secondary);
        }
        .comments-rating {
            margin-top: 50px;
            background: white;
            border-radius: var(--radius);
            padding: 40px;
            box-shadow: var(--shadow);
        }
        .rating-form, .comment-form {
            margin-bottom: 30px;
            padding: 25px;
            background: #f9f9ff;
            border-radius: var(--radius);
        }
        .rating-form h3, .comment-form h3 {
            margin-top: 0;
        }
        .stars {
            display: flex;
            gap: 5px;
            margin: 15px 0;
        }
        .star {
            font-size: 1.8rem;
            color: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }
        .star:hover,
        .star.active {
            color: #FFD700;
        }
        form label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
        }
        form input, form textarea, form select {
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 20px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        form input:focus, form textarea:focus, form select:focus {
            outline: none;
            border-color: var(--primary);
        }
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        .footer-links {
            background: #2D3436;
            padding: 40px 0;
            margin-top: 60px;
        }
        .web-links-container {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
        }
        .web-link {
            background: rgba(255, 255, 255, 0.05);
            padding: 15px;
            border-radius: 8px;
            transition: var(--transition);
        }
        .web-link:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-5px);
        }
        .web-link a {
            color: #A29BFE;
            font-weight: 500;
            display: block;
        }
        .web-link a:hover {
            color: var(--accent);
        }
        footer {
            background: #1a1e1f;
            color: #bbb;
            padding: 40px 0 20px;
            text-align: center;
        }
        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
        .social-links {
            display: flex;
            gap: 20px;
            font-size: 1.5rem;
        }
        .social-links a {
            color: #bbb;
        }
        .social-links a:hover {
            color: var(--accent);
        }
        .copyright {
            font-size: 0.9rem;
            color: #888;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #333;
            width: 100%;
        }
        @media (max-width: 1024px) {
            main {
                grid-template-columns: 1fr;
            }
            .web-links-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (max-width: 768px) {
            .header-top {
                flex-wrap: wrap;
            }
            .search-box {
                order: 3;
                max-width: 100%;
                margin: 15px 0 0;
            }
            .desktop-nav {
                display: none;
            }
            .mobile-menu-btn {
                display: block;
            }
            .form-row {
                grid-template-columns: 1fr;
            }
            .article-meta {
                flex-wrap: wrap;
            }
            article h1 {
                font-size: 2rem;
            }
            .content, .sidebar-widget, .comments-rating {
                padding: 25px;
            }
            .web-links-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 480px) {
            .web-links-container {
                grid-template-columns: 1fr;
            }
            .content, .sidebar-widget, .comments-rating {
                padding: 20px;
            }
            .btn {
                padding: 10px 20px;
            }
        }
