
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #1e1e1e;
            --secondary: #2d2d2d;
            --accent: #00ffff;
            --accent-light: #ff8787;
            --text: #ffffff;
            --text-muted: #b0b0b0;
            --border: #3a3a3a;
            --hover: #393939;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: var(--primary);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* HEADER */
        .header {
            background-color: var(--secondary);
            border-bottom: 1px solid var(--border);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .side-drawer{
            display: none;
        }
        .drawer-overlay{
            display: none;
        }
        .mobile-header{
          display: none;
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
        }

        .modal {
            position: fixed;    /* EKRANNI QOPLAYDI */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7); /* qora shaﬀof */
            z-index: 999999999; /* eng tepaga chiqadi */

            /* markazlash */
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .modal-box {
            background: white;
            padding: 25px 30px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 0 15px rgba(0,0,0,0.3);
            max-width: 300px;
        }

        .modal-title {
            font-size: 1.4em;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .modal-text {
            margin-bottom: 20px;
            font-size: 1em;
        }

        .modal-actions button {
            margin: 5px 10px;
            padding: 8px 16px;
            font-weight: bold;
            border-radius: 4px;
            cursor: pointer;
        }


        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(135deg, #00e9e9 0%, #0079ff 100%);
            -webkit-background-clip: text;   /* Safari/Chrome */
            -webkit-text-fill-color: transparent;
            background-clip: text;           /* Standart */
            color: transparent;
            text-transform: uppercase;
            letter-spacing: 2px;
            flex-shrink: 0;
        }

        .nav {
            display: flex;
            gap: 2.5rem;
            flex: 1;
        }

        .nav a {
            color: var(--text);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: color 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .nav a:hover {
            color: var(--accent);
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            flex-shrink: 0;
        }

        .search-box {
            display: flex;
            align-items: center;
            background-color: var(--hover);
            border: 1px solid var(--border);
            border-radius: 4px;
            padding: 10px;
            width: 200px;
        }

        .search-box input {
            background: none;
            border: none;
            color: var(--text);
            width: 100%;
            outline: none;
            font-size: 0.9rem;
        }

        .search-box input::placeholder {
            color: var(--text-muted);
        }

        .copyright {
            font-size: 12px;
            color: #999;
        }

        .social-section {
            display: flex;
            justify-content: center;
            gap: 24px;
            padding: 40px 0;
        }

        .app-section {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            padding-top: 30px;
            padding-bottom: 30px;
            flex-wrap: wrap;
        }

        .qr-code {
            width: 80px;
            height: 80px;
            background: #ddd;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #999;
        }

        .download-content {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .download-content h3 {
            font-size: 14px;
            font-weight: 600;
            color: #333;
        }

        .store-buttons {
            display: flex;
            gap: 10px;
        }

        .store-button {
            background: #000;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: opacity 0.2s;
        }

        .store-button:hover {
            opacity: 0.8;
        }

        .social-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #f0f0f0;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            transition: background 0.2s;
        }

        .social-icon:hover {
            background: #e0e0e0;
        }

        .links-section {
            display: flex;
            justify-content: center;
            gap: 24px;
            flex-wrap: wrap;
            padding-bottom: 40px;
            border-bottom: 1px solid #e0e0e0;
        }

        .links-section a {
            text-decoration: none;
            color: #555;
            font-size: 13px;
            font-weight: 500;
            transition: color 0.2s;
        }

        .links-section a:hover {
            color: #333;
        }

        .language-select {
            border: none;
            background: transparent;
            color: #555;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            padding: 0;
        }

        .footer-bottom {

            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            padding-top: 40px;
        }

        .btn {
            padding: 0.6rem 1.5rem;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .btn-primary {
            background-color: var(--accent);
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--accent-light);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--text);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            background-color: var(--hover);
        }


        /* MAIN CONTAINER */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* SECTION HEADER */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 1rem 0 2rem 0;
        }

        .section-title {
            font-size: 1.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .view-all {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

        .view-all:hover {
            color: var(--accent);
        }

        /* CAROUSEL */
        .carousel {
            position: relative;
            margin-bottom: 3rem;
        }

        .carousel-container {
            display: flex;
            gap: 1rem;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding-bottom: 1rem;
            -webkit-overflow-scrolling: touch;
        }

        .carousel-container::-webkit-scrollbar {
            height: 6px;
        }

        .carousel-container::-webkit-scrollbar-track {
            background: var(--hover);
            border-radius: 10px;
        }

        .carousel-container::-webkit-scrollbar-thumb {
            background: var(--accent);
            border-radius: 10px;
        }

        .carousel-controls {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            pointer-events: none;
            z-index: 10;
        }

        .carousel-btn {
            width: 40px;
            height: 40px;
            background-color: rgba(255, 107, 107, 0.8);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            pointer-events: all;
            margin: 0 1rem;
        }

        .carousel-btn:hover {
            background-color: var(--accent);
            transform: scale(1.1);
        }

        /* SERIES CARD */
        .series-card {
            flex-shrink: 0;
            width: 170px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .series-card:hover {
            transform: translateY(-8px);
        }

        .series-image {
            width: 100%;
            aspect-ratio: 2/3;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 8px;
            object-fit: cover;
            display: block;
            margin-bottom: 0.8rem;
        }

        .series-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .series-author {
            font-size: 0.8rem;
            color: var(--text-muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* GRID */
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 4rem;
            margin-bottom: 3rem;
        }

        .grid1 {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            margin-bottom: 3rem;
        }

        /* FILTER BUTTONS */
        .filter-buttons {
            display: flex;
            gap: 0.8rem;
            margin-bottom: 2rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
        }

        .filter-btn {
            padding: 0.6rem 1.2rem;
            border: 1px solid var(--border);
            background-color: transparent;
            color: var(--text);
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 500;
            white-space: nowrap;
            transition: all 0.3s ease;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background-color: var(--accent);
            border-color: var(--accent);
            color: white;
        }

        /* HERO BANNER */
        .banner {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 3rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            padding: 3rem;
            align-items: center;
            border: 1px solid var(--border);
        }

        .banner-content h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .banner-content p {
            color: var(--text-muted);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .banner-image {
            width: 100%;
            height: 300px;
            background: linear-gradient(to bottom, #667eea, #764ba2);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text);
            font-size: 4rem;
        }


        @media (max-width: 768px){
          /* Desktop headerni yashirish (sizda bor edi) */
          .header-container{ display:none !important; }

          .mobile-header{
            display:block;
            position: sticky;
            top:0;
            z-index: 200;
            background: var(--secondary, #2b2b2b);

          }

          .mobile-header__inner{
            max-width: 1400px;
            margin: 0 auto;
            padding-left: 12px;
            padding-right: 16px;
            display:flex;
            align-items:center;
            justify-content: space-between;
          }

          .mobile-logo{
            font-size: 1.2rem;
            font-weight: 800;
            letter-spacing: 1px;
            background: linear-gradient(135deg, #00e9e9 0%, #0079ff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
            text-transform: uppercase;
          }

          .mobile-actions{
            display:flex;
            align-items:center;
            gap: 10px;
          }

          .icon-btn{
            width: 36px;
            height: 36px;
            border-radius: 6px;
            background: transparent;
            color: #cfe6ff; /* ikon rang – rasmdagidek biroz ko'k */
            display:flex;
            align-items:center;
            justify-content:center;
            cursor:pointer;
            transition: background .2s ease, opacity .2s ease;
          }
          .icon-btn:hover{ background: rgba(255,255,255,0.06); }
          .icon-btn:active{ opacity: .8; }

          /* ===== Drawer (o‘ngdan) ===== */
          .drawer-overlay{
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.45);
            opacity: 0;
            visibility: hidden;
            transition: opacity .25s ease, visibility .25s ease;
            z-index: 250;
          }

          .drawer-overlay.is-open{
            opacity: 1;
            visibility: visible;
          }

          .side-drawer{
            position: fixed;
            top: 0;
            right: 0;
            height: 100dvh;
            width: min(86vw, 360px);
            background: #2f2f2f; /* biroz ochroq */
            color: var(--text, #eaeaea);
            border-left: 1px solid var(--border, #3a3a3a);
            transform: translateX(100%);
            transition: transform .28s ease;
            z-index: 300;
            display:flex;
            flex-direction: column;
          }

          .side-drawer.is-open{
            transform: translateX(0);
          }

          .drawer-header{
            display:flex;
            justify-content:flex-end;
            padding: 12px 12px 0 12px;
          }

          .drawer-close{
            background: transparent;
            border: none;
            color: #aaaaaa;
            width: 40px; height: 40px;
            border-radius: 8px;
            display:flex; align-items:center; justify-content:center;
            cursor:pointer;
          }
          .drawer-close:hover{ background: rgba(255,255,255,0.06); }

          .drawer-content{
            padding: 14px 18px 24px 18px;
            overflow-y: auto;
          }

          .drawer-search{
            padding: 8px 10px;
            background: #262626;
            border: 1px solid #444;
            border-radius: 8px;
            margin-bottom: 18px;
          }
          .drawer-search input{
            width:100%;
            background: transparent;
            border: none;
            outline: none;
            color: var(--text, #eaeaea);
            font-size: 0.95rem;
          }
          .drawer-search input::placeholder{ color: var(--text-muted, #bdbdbd); }

          .drawer-nav{
            display:flex;
            flex-direction: column;
            gap: 18px;
            margin: 8px 0 22px 0;
          }
          .drawer-nav a{
            color: var(--text, #eaeaea);
            text-decoration: none;
            font-weight: 700;
            letter-spacing: 0.5px;
          }
          .drawer-nav a + a{
            padding-top: 14px;
            border-top: 1px solid #3a3a3a; /* rasmda bo'lgani kabi chiziqlar */
          }

          .drawer-auth__title{
            color: var(--text, #eaeaea);
            border-top: 5px solid #00ffff;
            text-decoration: none;
            font-weight: 800;
            letter-spacing: .6px;
            margin-bottom: 12px;
          }

          .drawer-btn{
            width: 100%;
            padding: 12px 14px;
            border-radius: 6px;
            border: none;
            cursor: pointer;
            font-weight: 700;
            letter-spacing: .5px;
          }
          .drawer-btn--primary{
            background: var(--accent, #ff5a5f);
            color: #fff;
          }
        }


        /* RESPONSIVE */
        @media (max-width: 768px) {
            .header-container {
                display: none;
            }

            .app-section {
                gap: 20px;
                padding-bottom: 30px;
            }

            .links-section {
                gap: 16px;
                font-size: 12px;
            }

            .social-section {
                gap: 16px;
            }

            footer {
                padding: 30px 20px;
            }

            .nav {
                display: none;
            }

            .header-right {
                display: none;
            }

            .search-box {
                display: none;
            }

            .grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
                gap: 1rem;
            }

            .series-card {
                width: 150px;
            }

            .banner {
                grid-template-columns: 1fr;
                padding: 2rem;
            }

            .banner-content h2 {
                font-size: 1.8rem;
            }

            .section-title {
                font-size: 1.4rem;
            }
        }