:root {
            --primary: #2a2d7c;
            --secondary: #f8c41c;
            --accent: #e63946;
            --dark: #1a1a2e;
            --light: #f8f9fa;
            --gray: #6c757d;
            --transition: all 0.3s ease;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --border-radius: 12px;
            --max-width: 1200px;
        }
        * {
            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: #333;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }
        ul {
            list-style: none;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .btn {
            display: inline-block;
            background: var(--secondary);
            color: var(--dark);
            padding: 12px 28px;
            border-radius: 50px;
            font-weight: 700;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
            box-shadow: var(--shadow);
        }
        .btn:hover {
            background: #e6b400;
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(248, 196, 28, 0.4);
        }
        .btn-primary {
            background: var(--primary);
            color: white;
        }
        .btn-primary:hover {
            background: #1f2259;
        }
        .section {
            padding: 60px 0;
        }
        .section-title {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 15px;
        }
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 5px;
            background: var(--secondary);
            border-radius: 5px;
        }
        .section-title.center {
            text-align: center;
        }
        .section-title.center:after {
            left: 50%;
            transform: translateX(-50%);
        }
        .card {
            background: white;
            border-radius: var(--border-radius);
            padding: 30px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            height: 100%;
        }
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        .text-center {
            text-align: center;
        }
        .highlight {
            background: linear-gradient(120deg, #f8c41c33 0%, #f8c41c33 100%);
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 700;
        }
        .header {
            background: var(--dark);
            color: white;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
        }
        .header-top {
            padding: 15px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .header-top .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 2rem;
            font-weight: 900;
            color: var(--secondary);
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo i {
            color: var(--accent);
        }
        .logo a:hover {
            color: var(--secondary);
        }
        .search-box {
            display: flex;
            max-width: 400px;
            width: 100%;
        }
        .search-box input {
            flex: 1;
            padding: 12px 20px;
            border: none;
            border-radius: 50px 0 0 50px;
            font-size: 1rem;
            background: rgba(255, 255, 255, 0.1);
            color: white;
        }
        .search-box input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }
        .search-box button {
            background: var(--accent);
            color: white;
            border: none;
            padding: 0 25px;
            border-radius: 0 50px 50px 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-box button:hover {
            background: #c1121f;
        }
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        .nav-links {
            display: flex;
            gap: 30px;
        }
        .nav-links a {
            font-weight: 600;
            padding: 8px 0;
            position: relative;
        }
        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: var(--transition);
        }
        .nav-links a:hover {
            color: var(--secondary);
        }
        .nav-links a:hover:after {
            width: 100%;
        }
        .hamburger {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: var(--secondary);
        }
        .breadcrumb {
            background: rgba(255, 255, 255, 0.9);
            padding: 15px 0;
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .breadcrumb li:not(:last-child):after {
            content: '/';
            margin-left: 10px;
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--accent);
            text-decoration: underline;
        }
        .hero {
            background: linear-gradient(rgba(42, 45, 124, 0.9), rgba(26, 26, 46, 0.95)), url('https://images.unsplash.com/photo-1635070041078-e363dbe005cb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 100px 0;
            text-align: center;
            margin-bottom: 40px;
        }
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        }
        .hero p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto 30px;
            color: #e0e0ff;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 40px;
            margin-bottom: 60px;
        }
        .article-content {
            background: white;
            border-radius: var(--border-radius);
            padding: 40px;
            box-shadow: var(--shadow);
        }
        .article-content h2 {
            color: var(--primary);
            margin: 30px 0 15px;
            font-size: 2rem;
        }
        .article-content h3 {
            color: var(--dark);
            margin: 25px 0 12px;
            font-size: 1.5rem;
        }
        .article-content p {
            margin-bottom: 20px;
            font-size: 1.1rem;
            line-height: 1.8;
        }
        .article-content ul, .article-content ol {
            margin-left: 25px;
            margin-bottom: 20px;
        }
        .article-content li {
            margin-bottom: 10px;
        }
        .code-list {
            background: #f8f9fa;
            border-left: 5px solid var(--secondary);
            padding: 25px;
            margin: 30px 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .code-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            background: white;
            margin-bottom: 15px;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
        }
        .code-item:hover {
            background: #fffdf0;
        }
        .code-text {
            font-family: monospace;
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--primary);
        }
        .copy-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 5px;
            cursor: pointer;
            transition: var(--transition);
        }
        .copy-btn:hover {
            background: #1f2259;
        }
        .featured-image {
            margin: 30px 0;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .sidebar-widget {
            margin-bottom: 30px;
        }
        .sidebar-widget h3 {
            color: var(--primary);
            padding-bottom: 10px;
            border-bottom: 3px solid var(--secondary);
            margin-bottom: 20px;
            font-size: 1.5rem;
        }
        .rating-widget {
            text-align: center;
        }
        .stars {
            font-size: 2rem;
            color: #ffc107;
            margin: 15px 0;
            cursor: pointer;
        }
        .stars i {
            margin: 0 3px;
            transition: var(--transition);
        }
        .stars i:hover {
            transform: scale(1.2);
        }
        .comment-form textarea,
        .comment-form input {
            width: 100%;
            padding: 15px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 10px;
            font-family: inherit;
            font-size: 1rem;
        }
        .comment-form textarea {
            min-height: 150px;
            resize: vertical;
        }
        .comment-list {
            margin-top: 30px;
        }
        .comment-item {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            border-left: 4px solid var(--primary);
        }
        .comment-author {
            font-weight: bold;
            color: var(--primary);
            margin-bottom: 5px;
        }
        .comment-date {
            font-size: 0.9rem;
            color: var(--gray);
        }
        .comment-text {
            margin-top: 10px;
        }
        .longtail-links {
            background: var(--light);
            padding: 40px 0;
            border-top: 1px solid #ddd;
            border-bottom: 1px solid #ddd;
        }
        .links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }
        .web-link {
            background: white;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
        }
        .web-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        }
        .web-link a {
            color: var(--primary);
            font-weight: 600;
            display: block;
        }
        .web-link a:hover {
            color: var(--accent);
            text-decoration: underline;
        }
        .footer {
            background: var(--dark);
            color: #b0b0b0;
            padding: 60px 0 30px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-col h3 {
            color: white;
            margin-bottom: 25px;
            font-size: 1.4rem;
            position: relative;
            padding-bottom: 10px;
        }
        .footer-col h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--secondary);
        }
        .footer-links li {
            margin-bottom: 12px;
        }
        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            font-size: 1.2rem;
        }
        .social-links a:hover {
            background: var(--secondary);
            color: var(--dark);
            transform: translateY(-3px);
        }
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: #888;
        }
        @media (max-width: 992px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
            .hero h1 {
                font-size: 2.8rem;
            }
            .section-title {
                font-size: 2.2rem;
            }
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .nav-links {
                position: fixed;
                top: 100px;
                left: -100%;
                flex-direction: column;
                background: var(--dark);
                width: 100%;
                padding: 30px;
                transition: var(--transition);
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
                z-index: 999;
            }
            .nav-links.active {
                left: 0;
            }
            .header-top .container {
                flex-direction: column;
                gap: 20px;
            }
            .search-box {
                max-width: 100%;
            }
            .hero {
                padding: 70px 0;
            }
            .hero h1 {
                font-size: 2.2rem;
            }
            .article-content {
                padding: 25px;
            }
        }
        @media (max-width: 576px) {
            .section-title {
                font-size: 1.8rem;
            }
            .hero h1 {
                font-size: 1.8rem;
            }
            .code-item {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
            .btn {
                padding: 10px 22px;
            }
        }
