        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        :root {
            --primary: #4a2c8c;
            --secondary: #ff6b35;
            --accent: #00b4d8;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --success: #28a745;
            --warning: #ffc107;
            --danger: #dc3545;
            --shadow: 0 4px 12px rgba(0,0,0,0.1);
            --transition: all 0.3s ease;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            min-height: 100vh;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        ul {
            list-style: none;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(90deg, var(--primary) 0%, #5a3ca8 100%);
            color: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }
        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo i {
            color: var(--secondary);
        }
        .logo span {
            color: var(--secondary);
        }
        .desktop-nav ul {
            display: flex;
            gap: 2rem;
        }
        .desktop-nav a {
            font-weight: 600;
            padding: 0.5rem 0;
            position: relative;
            transition: var(--transition);
        }
        .desktop-nav a:hover {
            color: var(--secondary);
        }
        .desktop-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: var(--transition);
        }
        .desktop-nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            font-size: 1.5rem;
            background: none;
            border: none;
            color: white;
            cursor: pointer;
        }
        .mobile-nav {
            display: none;
            background: var(--primary);
            padding: 1rem;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            box-shadow: var(--shadow);
        }
        .mobile-nav.active {
            display: block;
        }
        .mobile-nav ul {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .mobile-nav a {
            display: block;
            padding: 0.75rem;
            border-radius: 5px;
            transition: var(--transition);
        }
        .mobile-nav a:hover {
            background: rgba(255,255,255,0.1);
        }
        .breadcrumb {
            background: white;
            padding: 1rem 0;
            border-bottom: 1px solid #eee;
            font-size: 0.9rem;
        }
        .breadcrumb ul {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '/';
            margin-left: 0.5rem;
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--secondary);
        }
        main {
            padding: 2rem 0;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2rem;
        }
        .article-content {
            background: white;
            border-radius: 15px;
            padding: 2.5rem;
            box-shadow: var(--shadow);
        }
        .article-header {
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 3px solid var(--secondary);
        }
        h1 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        .article-meta {
            display: flex;
            gap: 1.5rem;
            color: var(--gray);
            font-size: 0.9rem;
        }
        .article-meta span {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        h2 {
            font-size: 1.8rem;
            color: var(--primary);
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #eee;
        }
        h3 {
            font-size: 1.4rem;
            color: var(--dark);
            margin: 2rem 0 1rem;
        }
        p {
            margin-bottom: 1.5rem;
            font-size: 1.05rem;
            line-height: 1.8;
        }
        .highlight {
            background: linear-gradient(120deg, rgba(255,107,53,0.1) 0%, rgba(74,44,140,0.05) 100%);
            border-left: 4px solid var(--secondary);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }
        .code-list {
            background: var(--light);
            border-radius: 10px;
            padding: 2rem;
            margin: 2rem 0;
            border: 2px dashed var(--accent);
        }
        .code-item {
            background: white;
            padding: 1.2rem;
            margin-bottom: 1rem;
            border-radius: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            transition: var(--transition);
        }
        .code-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .code-text {
            font-family: 'Courier New', monospace;
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--primary);
            background: #f1f3ff;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            letter-spacing: 1px;
        }
        .reward {
            color: var(--success);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .reward i {
            color: var(--secondary);
        }
        .cta-button {
            display: inline-block;
            background: linear-gradient(90deg, var(--secondary) 0%, #ff8c5a 100%);
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            font-size: 1rem;
            margin: 1rem 0;
        }
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(255,107,53,0.3);
        }
        .featured-image {
            width: 100%;
            border-radius: 12px;
            overflow: hidden;
            margin: 2.5rem 0;
            box-shadow: var(--shadow);
        }
        .image-caption {
            text-align: center;
            font-style: italic;
            color: var(--gray);
            margin-top: 0.5rem;
            font-size: 0.9rem;
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            border-radius: 15px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
        }
        .widget-title {
            font-size: 1.2rem;
            color: var(--primary);
            margin-bottom: 1.2rem;
            padding-bottom: 0.7rem;
            border-bottom: 2px solid #eee;
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }
        .widget-title i {
            color: var(--secondary);
        }
        .search-form {
            display: flex;
            gap: 0.5rem;
        }
        .search-input {
            flex: 1;
            padding: 0.8rem 1rem;
            border: 2px solid #eee;
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
        }
        .search-input:focus {
            outline: none;
            border-color: var(--accent);
        }
        .search-button {
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 8px;
            width: 45px;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-button:hover {
            background: #0096c7;
        }
        .quick-links ul {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
        .quick-links a {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            padding: 0.8rem;
            border-radius: 8px;
            transition: var(--transition);
        }
        .quick-links a:hover {
            background: var(--light);
            color: var(--secondary);
        }
        .user-interaction {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            margin-top: 3rem;
            box-shadow: var(--shadow);
        }
        .interaction-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 1.5rem;
        }
        .rating-form, .comment-form {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
        }
        .stars {
            display: flex;
            gap: 0.5rem;
            margin: 0.5rem 0;
        }
        .star {
            font-size: 1.8rem;
            color: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }
        .star:hover,
        .star.active {
            color: var(--warning);
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        label {
            font-weight: 600;
            color: var(--dark);
        }
        input, textarea, select {
            padding: 0.8rem 1rem;
            border: 2px solid #eee;
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
            font-family: inherit;
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: var(--accent);
        }
        textarea {
            min-height: 120px;
            resize: vertical;
        }
        .footer-links {
            background: white;
            padding: 3rem 0;
            margin-top: 3rem;
            border-top: 3px solid var(--light);
        }
        .web-links-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }
        .web-link {
            background: var(--light);
            padding: 1.2rem;
            border-radius: 10px;
            transition: var(--transition);
        }
        .web-link:hover {
            background: #e9ecef;
            transform: translateX(5px);
        }
        .web-link a {
            color: var(--primary);
            font-weight: 600;
            display: block;
        }
        .web-link a:hover {
            color: var(--secondary);
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
        }
        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 2rem;
        }
        .copyright {
            color: #aaa;
            font-size: 0.9rem;
            border-top: 1px solid #444;
            padding-top: 1.5rem;
            width: 100%;
        }
        @media (max-width: 992px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
            .article-content {
                padding: 2rem;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.6rem;
            }
        }
        @media (max-width: 768px) {
            .desktop-nav {
                display: none;
            }
            .hamburger {
                display: block;
            }
            .header-container {
                padding: 0.8rem 0;
            }
            .article-content {
                padding: 1.5rem;
            }
            h1 {
                font-size: 1.8rem;
            }
            h2 {
                font-size: 1.4rem;
            }
            .interaction-grid {
                grid-template-columns: 1fr;
            }
            .article-meta {
                flex-direction: column;
                gap: 0.7rem;
            }
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            .article-content {
                padding: 1.2rem;
            }
            .code-item {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }
            .cta-button {
                width: 100%;
                text-align: center;
            }
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .article-content, .sidebar-widget, .user-interaction {
            animation: fadeIn 0.6s ease-out;
        }
        .text-center { text-align: center; }
        .text-bold { font-weight: 700; }
        .text-primary { color: var(--primary); }
        .text-secondary { color: var(--secondary); }
        .text-accent { color: var(--accent); }
        .text-success { color: var(--success); }
        .mb-1 { margin-bottom: 1rem; }
        .mb-2 { margin-bottom: 2rem; }
        .mt-1 { margin-top: 1rem; }
        .mt-2 { margin-top: 2rem; }
        .py-1 { padding-top: 1rem; padding-bottom: 1rem; }
        .px-1 { padding-left: 1rem; padding-right: 1rem; }
