:root {
            --primary-dark: #0c2d57;
            --primary-medium: #1a4f8c;
            --primary-light: #2a75c9;
            --accent-gold: #e6b325;
            --accent-red: #c93a2e;
            --text-light: #f8f9fa;
            --text-dark: #212529;
            --bg-light: #f1f5f9;
            --bg-card: #ffffff;
            --shadow: rgba(0, 0, 0, 0.1);
            --border-radius: 12px;
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Noto Sans Devanagari', 'Nirmala UI', 'Arial', sans-serif;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.7;
            font-size: 1.05rem;
            overflow-x: hidden;
        }
        a {
            color: var(--primary-medium);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent-red);
        }
        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
            color: var(--text-light);
            padding: 1rem 0;
            box-shadow: 0 4px 12px var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo a {
            font-size: 2rem;
            font-weight: 800;
            color: var(--accent-gold);
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo i {
            color: var(--accent-red);
        }
        .desktop-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .desktop-nav a {
            color: var(--text-light);
            font-weight: 600;
            padding: 0.5rem 0;
            border-bottom: 2px solid transparent;
        }
        .desktop-nav a:hover, .desktop-nav a.active {
            color: var(--accent-gold);
            border-bottom-color: var(--accent-gold);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.8rem;
            cursor: pointer;
        }
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -300px;
            width: 280px;
            height: 100vh;
            background: var(--primary-dark);
            padding: 2rem;
            transition: right 0.4s ease;
            z-index: 1001;
            box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        }
        .mobile-nav.active {
            right: 0;
        }
        .mobile-nav ul {
            list-style: none;
            margin-top: 3rem;
        }
        .mobile-nav li {
            margin-bottom: 1.5rem;
        }
        .mobile-nav a {
            color: var(--text-light);
            font-size: 1.2rem;
            font-weight: 600;
            display: block;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .close-menu {
            position: absolute;
            top: 1rem;
            right: 1.5rem;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 2rem;
            cursor: pointer;
        }
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            display: none;
        }
        .overlay.active {
            display: block;
        }
        .breadcrumb {
            background: var(--bg-card);
            padding: 1rem;
            border-radius: var(--border-radius);
            margin: 1.5rem auto;
            box-shadow: 0 2px 8px var(--shadow);
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .breadcrumb li {
            display: flex;
            align-items: center;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '>';
            margin-left: 0.5rem;
            color: var(--primary-medium);
        }
        .breadcrumb a {
            color: var(--primary-medium);
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .search-section {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: var(--border-radius);
            margin: 2rem auto;
            box-shadow: 0 4px 12px var(--shadow);
            text-align: center;
        }
        .search-form {
            display: flex;
            max-width: 600px;
            margin: 1rem auto 0;
        }
        .search-input {
            flex: 1;
            padding: 0.9rem 1.2rem;
            border: 2px solid var(--primary-light);
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            font-size: 1rem;
            outline: none;
            transition: var(--transition);
        }
        .search-input:focus {
            border-color: var(--accent-gold);
        }
        .search-btn {
            background: linear-gradient(to right, var(--primary-medium), var(--primary-light));
            color: var(--text-light);
            border: none;
            padding: 0 1.8rem;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }
        .search-btn:hover {
            background: linear-gradient(to right, var(--primary-light), var(--accent-gold));
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 2.5rem;
            margin: 2rem auto;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }
        .article-card {
            background: var(--bg-card);
            border-radius: var(--border-radius);
            padding: 2.5rem;
            box-shadow: 0 6px 18px var(--shadow);
            margin-bottom: 2rem;
        }
        .article-card h1 {
            color: var(--primary-dark);
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.3;
            border-bottom: 3px solid var(--accent-gold);
            padding-bottom: 1rem;
        }
        .article-card h2 {
            color: var(--primary-medium);
            font-size: 1.8rem;
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px dashed var(--primary-light);
        }
        .article-card h3 {
            color: var(--primary-dark);
            font-size: 1.4rem;
            margin: 2rem 0 1rem;
        }
        .article-card p {
            margin-bottom: 1.5rem;
            text-align: justify;
            font-size: 1.08rem;
        }
        .highlight {
            background: linear-gradient(120deg, rgba(230,179,37,0.15) 0%, rgba(201,58,46,0.08) 100%);
            border-left: 5px solid var(--accent-gold);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .code-list {
            background: var(--primary-dark);
            color: var(--text-light);
            padding: 2rem;
            border-radius: var(--border-radius);
            margin: 2.5rem 0;
        }
        .code-item {
            background: rgba(255,255,255,0.1);
            padding: 1.2rem;
            margin-bottom: 1rem;
            border-radius: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            transition: var(--transition);
        }
        .code-item:hover {
            background: rgba(255,255,255,0.15);
            transform: translateY(-3px);
        }
        .code {
            font-family: 'Courier New', monospace;
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--accent-gold);
            letter-spacing: 1px;
        }
        .reward {
            font-weight: 600;
            color: #4cd964;
        }
        .copy-btn {
            background: var(--accent-gold);
            color: var(--primary-dark);
            border: none;
            padding: 0.6rem 1.2rem;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            transition: var(--transition);
        }
        .copy-btn:hover {
            background: #ffcc00;
        }
        .feature-image {
            width: 100%;
            border-radius: var(--border-radius);
            margin: 2.5rem 0;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            border: 5px solid var(--bg-card);
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: var(--bg-card);
            border-radius: var(--border-radius);
            padding: 1.8rem;
            box-shadow: 0 4px 12px var(--shadow);
        }
        .sidebar-widget h3 {
            color: var(--primary-dark);
            margin-bottom: 1.2rem;
            padding-bottom: 0.7rem;
            border-bottom: 2px solid var(--accent-gold);
            font-size: 1.4rem;
        }
        .related-links ul {
            list-style: none;
        }
        .related-links li {
            margin-bottom: 0.9rem;
            padding-bottom: 0.9rem;
            border-bottom: 1px dashed #eee;
        }
        .related-links a {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-dark);
        }
        .related-links a:hover {
            color: var(--primary-light);
        }
        .rating-widget {
            text-align: center;
        }
        .stars {
            font-size: 2rem;
            color: #ffd700;
            margin: 1rem 0;
        }
        .rate-btn {
            background: var(--primary-medium);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 600;
            margin: 0.5rem;
            transition: var(--transition);
        }
        .rate-btn:hover {
            background: var(--primary-light);
            transform: scale(1.05);
        }
        .comment-section {
            background: var(--bg-card);
            border-radius: var(--border-radius);
            padding: 2.5rem;
            margin-top: 2rem;
            box-shadow: 0 6px 18px var(--shadow);
        }
        .comment-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            margin-top: 1.5rem;
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        .form-group label {
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--primary-dark);
        }
        .form-control {
            padding: 0.9rem;
            border: 2px solid #ddd;
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: var(--transition);
        }
        .form-control:focus {
            border-color: var(--primary-light);
            outline: none;
        }
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        .submit-btn {
            background: linear-gradient(to right, var(--primary-medium), var(--accent-red));
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: var(--border-radius);
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            align-self: flex-start;
        }
        .submit-btn:hover {
            background: linear-gradient(to right, var(--accent-red), var(--primary-medium));
            transform: translateY(-3px);
        }
        .internal-links {
            background: var(--bg-card);
            padding: 2.5rem;
            border-radius: var(--border-radius);
            margin: 3rem auto;
            box-shadow: 0 4px 12px var(--shadow);
        }
        .internal-links h2 {
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
            text-align: center;
        }
        .web-link {
            background: var(--bg-light);
            padding: 1.2rem;
            margin-bottom: 1rem;
            border-radius: var(--border-radius);
            border-left: 5px solid var(--primary-light);
            transition: var(--transition);
        }
        .web-link:hover {
            background: #e9ecef;
            transform: translateX(5px);
        }
        .site-footer {
            background: var(--primary-dark);
            color: var(--text-light);
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }
        .footer-section h3 {
            color: var(--accent-gold);
            margin-bottom: 1.5rem;
            font-size: 1.4rem;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a {
            color: #ccc;
        }
        .footer-links a:hover {
            color: var(--accent-gold);
            padding-left: 5px;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.95rem;
            color: #aaa;
        }
        @media (max-width: 768px) {
            .desktop-nav {
                display: none;
            }
            .hamburger {
                display: block;
            }
            .article-card h1 {
                font-size: 2rem;
            }
            .article-card h2 {
                font-size: 1.6rem;
            }
            .article-card {
                padding: 1.8rem;
            }
            .search-form {
                flex-direction: column;
            }
            .search-input, .search-btn {
                border-radius: var(--border-radius);
                width: 100%;
            }
            .search-btn {
                margin-top: 0.8rem;
                padding: 0.9rem;
            }
            .code-item {
                flex-direction: column;
                align-items: flex-start;
            }
        }
        @media print {
            .site-header, .search-section, .sidebar, .comment-section, .internal-links, .site-footer {
                display: none;
            }
            body {
                background: white;
                color: black;
                font-size: 12pt;
            }
            .container {
                max-width: 100%;
                padding: 0;
            }
            .article-card {
                box-shadow: none;
                padding: 0;
            }
        }
