/* ================================================================
   style.css — Pepay sayti uchun barcha stillari
   
   Qanday o'qish kerak:
   1. :root — asosiy ranglar (o'zgaruvchilar)
   2. body, a, button — umumiy elementlar
   3. .pp-nav — navigatsiya
   4. .hero — bosh qism
   5. section.block — har bir bo'lim
   6. footer — pastki qism
   7. @media — ekran o'lchamlari
================================================================ */

/* ================================================================
   GOOGLE FONTS IMPORT
================================================================ */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap");

/* ================================================================
   RESET — barcha elementlarni bir xilga keltirish
================================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--bg-deep);
}

/* ================================================================
   ASOSIY RANGLAR VA O'ZGARUVCHILAR
   Bu yerdan ranglarni o'zgartiring!
================================================================ */
:root {
  --purple: #5b21b6; /* asosiy binafsha */
  --purple-light: #7c3aed; /* ochiq binafsha */
  --purple-dark: #3b0764; /* to'q binafsha */
  --bg-deep: #150227; /* fon rangi */
  --green: #22c55e; /* yashil (accent) */
  --gold: #f59e0b; /* oltin (accent) */
  --ink: #ffffff; /* asosiy matn rangi */
  --ink-soft: #c9b8ee; /* yumshoq matn */
  --ink-faint: #8a77b3; /* zaif matn */
  --line: rgba(255, 255, 255, 0.08); /* ajratuvchi chiziq */
}
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --bg: #ffffff;
  --bg-2: #f8faff;
  --bg-3: #eff4ff;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --border: #e2e8f0;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 20px 60px rgba(37, 99, 235, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="dark"] {
  --bg: #0a0f1e;
  --bg-2: #0f1629;
  --bg-3: #151f3a;
  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #475569;
  --border: #1e293b;
  --glass: rgba(15, 22, 41, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ================================================================
   ASOSIY BODY STILLARI
================================================================ */
body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--ink);
  position: relative;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

/* ================================================================
   MAXSUS SHRIFT SINFLARI
================================================================ */
.pp-display {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.pp-mono {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: -0.01em;
}

/* ================================================================
   KONTEYNER — sahifa kengligi
================================================================ */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 32px;
  }
}

/* ================================================================
   FON EFFEKTLARI
================================================================ */

/* Gradient fon */
.pp-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      70% 50% at 18% 0%,
      rgba(124, 58, 237, 0.35),
      transparent 60%
    ),
    radial-gradient(
      60% 40% at 85% 10%,
      rgba(34, 197, 94, 0.1),
      transparent 60%
    ),
    radial-gradient(
      80% 60% at 50% 100%,
      rgba(59, 7, 100, 0.6),
      transparent 60%
    ),
    var(--bg-deep);
}

/* Nuqtali texture */
.pp-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ================================================================
   UCHUVCHI ZARRACHALAR (hero animatsiyasi)
================================================================ */
.pp-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.pp-particle {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  opacity: 0;
  animation: pp-float linear infinite;
}

.pp-particle--white {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.pp-particle--green {
  background: var(--green);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.pp-particle--gold {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}

@keyframes pp-float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-110vh) translateX(30px);
    opacity: 0;
  }
}

@keyframes pp-glow-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.06);
  }
}

/* ================================================================
   SHISHA EFFEKTI (glassmorphism)
================================================================ */
.pp-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--line);
}

/* ================================================================
   NAVIGATSIYA
================================================================ */
header.pp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* Scroll qilganda navigatsiya fonini qo'shadi */
header.pp-nav.scrolled {
  background: rgba(21, 2, 39, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

/* Nav ichki qatori */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Brend (logo + nom) */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 36px;
  width: 36px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand span {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Asosiy nav linklari (faqat katta ekranda) */
nav.main-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}

nav.main-links a:hover {
  color: #fff;
}

@media (min-width: 1024px) {
  nav.main-links {
    display: flex;
  }
}

/* O'ng nav qismi */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ================================================================
   TUGMALAR
================================================================ */
.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease;
  white-space: nowrap;
}

.pp-btn:active {
  transform: scale(0.97);
}

/* Yashil asosiy tugma */
.pp-btn-primary {
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: #07210f;
  box-shadow: 0 8px 24px -8px rgba(34, 197, 94, 0.55);
}

.pp-btn-primary:hover {
  box-shadow: 0 12px 32px -6px rgba(34, 197, 94, 0.75);
  transform: translateY(-2px);
}

/* Shaffof tugma */
.pp-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
}

.pp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Kichik o'lcham */
.pp-btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 999px;
}

/* Yorug'lik o'tish effekti */
.pp-streak {
  position: relative;
  overflow: hidden;
}

.pp-streak::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.pp-streak:hover::after {
  left: 150%;
}

/* "To'ldirish" tugmasi — katta ekranda ko'rinadi */
.topup-desktop {
  display: none;
}

@media (min-width: 640px) {
  .topup-desktop {
    display: inline-flex;
  }
}

/* ================================================================
   TIL TANLASH DROPDOWN
================================================================ */
.lang-wrap {
  position: relative;
  display: none;
}

@media (min-width: 640px) {
  .lang-wrap {
    display: block;
  }
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: #fff;
}

/* Dropdown menyu */
.lang-menu {
  position: absolute;
  right: 0;
  margin-top: 8px;
  width: 128px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(30, 4, 56, 0.96);
  border: 1px solid var(--line);
  animation: pp-pop 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pp-pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 14px;
  background: transparent;
  border: none;
  color: #fff;
}

.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ================================================================
   MOBIL MENYU
================================================================ */

/* Hamburger tugmasi */
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  padding: 8px;
  display: flex;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Ochilgan mobil menyu */
.mobile-menu {
  margin: 0 16px 16px;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(30, 4, 56, 0.96);
  border: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobil til tugmalari */
.mobile-lang {
  display: flex;
  gap: 8px;
  padding: 8px 12px 0;
}

.mobile-lang button {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
}

.mobile-lang button.active {
  border-color: rgba(34, 197, 94, 0.6);
  background: rgba(34, 197, 94, 0.15);
}

/* ================================================================
   HERO BO'LIMI
================================================================ */
.hero {
  position: relative;
  padding: 64px 0 80px;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero {
    padding: 96px 0 112px;
  }
}

.hero-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* Logo wrapper */
.logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

/* Logo atrofidagi yaltirog'lik */
.pp-logo-glow {
  position: absolute;
  inset: -20%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(124, 58, 237, 0.55),
    rgba(245, 158, 11, 0.18) 55%,
    transparent 75%
  );
  filter: blur(40px);
  animation: pp-glow-pulse 4.5s ease-in-out infinite;
}

/* Katta logo */
.hero-logo {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  object-fit: cover;
  margin: 0 auto;
  box-shadow:
    0 20px 60px -10px rgba(91, 33, 182, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .hero-logo {
    width: 160px;
    height: 160px;
  }
}

/* Tepa kichik yozuv */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* Asosiy sarlavha */
.hero h1 {
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.05;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

/* Gradient matn */
.hero h1 .grad {
  background: linear-gradient(90deg, var(--green), #86efac 45%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

/* Tavsif matni */
.hero p.sub {
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .hero p.sub {
    font-size: 1.25rem;
  }
}

/* Tugmalar guruhi */
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

.hero-ctas .pp-btn {
  font-size: 1rem;
  padding: 1rem 2rem;
}

/* ================================================================
   STATISTIKA KARTOCHKALARI (trust)
================================================================ */
.trust-grid {
  max-width: 880px;
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.trust-card {
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
}

.trust-card .val {
  font-size: 1.6rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .trust-card .val {
    font-size: 1.85rem;
  }
}

.trust-card .label {
  font-size: 11px;
  margin-top: 6px;
  color: var(--ink-faint);
}

@media (min-width: 768px) {
  .trust-card .label {
    font-size: 12px;
  }
}

/* ================================================================
   AJRATUVCHI CHIZIQ
================================================================ */
.pp-divider {
  height: 2px;
  width: 86px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  margin: 0 auto;
}

/* ================================================================
   ASOSIY BO'LIMLAR
================================================================ */
section.block {
  position: relative;
  z-index: 10;
  padding: 80px 0;
}

@media (min-width: 768px) {
  section.block {
    padding: 112px 0;
  }
}

/* O'yinlar bo'limi uchun maxsus fon */
.games-block {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(91, 33, 182, 0.08),
    transparent
  );
}

/* Bo'lim sarlavhasi */
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-head h2 {
    font-size: 3rem;
  }
}

.section-head p {
  color: var(--ink-soft);
}

/* O'yinlar bo'limi sarlavhasi */
.games-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .games-head {
    flex-direction: row;
    align-items: flex-end;
  }
}

.games-head .kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--gold);
}

.games-head h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .games-head h2 {
    font-size: 3rem;
  }
}

.games-head p {
  color: var(--ink-soft);
}

/* ================================================================
   GRID SISTEMASI
================================================================ */

/* 3 ustunli grid */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 5 ustunli grid (o'yinlar uchun) */
.grid-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ================================================================
   KARTOCHKALAR
================================================================ */

/* Asosiy kartochka */
.pp-card {
  border-radius: 24px;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  height: 100%;
}

.pp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
}

/* Xususiyat kartochkasi */
.feature-card {
  padding: 28px;
}

.feature-card .icon {
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 16px rgba(124, 58, 237, 0.5));
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* O'yin kartochkasi */
.game-card {
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
}

/* O'yin rasmi joyi — bu yerga o'z rasmingizni qo'ying */
/* .game-art {
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.game-art {
  height: 180px;
  width: 100%;
}

/* O'yin belgisi */
.game-glyph {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  color: #fff;
}

/* O'yin ma'lumotlari */
.game-body {
  padding: 20px;
}

.game-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.game-body .tag {
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: 12px;
}

.game-body .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-body .price {
  font-size: 0.9rem;
  color: var(--green);
}

/* Qadam kartochkasi */
.step-card {
  padding: 28px;
}

.step-num {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ================================================================
   TELEGRAM BANNER
================================================================ */
.tg-band {
  border-radius: 32px;
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--purple-dark),
    var(--purple) 60%,
    #1d8a44
  );
}

@media (min-width: 768px) {
  .tg-band {
    padding: 88px 64px;
  }
}

.tg-band h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 20px auto 16px;
  max-width: 640px;
}

@media (min-width: 768px) {
  .tg-band h2 {
    font-size: 2.5rem;
  }
}

.tg-band p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.85);
}

/* ================================================================
   FOOTER
================================================================ */
footer {
  position: relative;
  z-index: 10;
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* Footer logo */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 32px;
  width: 32px;
  border-radius: 10px;
  object-fit: cover;
}

.footer-brand span {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 14px;
  max-width: 280px;
  color: var(--ink-faint);
}

/* Footer ustunlari */
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-faint);
}

.footer-col ul a:hover {
  color: #fff;
}

/* Footer pastki qism */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-faint);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Footer til tugmalari */
.footer-bottom .lang-pills {
  display: flex;
  gap: 8px;
}

.footer-bottom .lang-pills button {
  padding: 4px 10px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--ink-faint);
  font-size: 12px;
  cursor: pointer;
}

.footer-bottom .lang-pills button.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ================================================================
   REVEAL ANIMATSIYASI (scroll qilganda chiqadi)
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.shown {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   MAXSUS HOLAT: ANIMATSIYALARNI KAMAYTIRISH
   (foydalanuvchi "reduce motion" yoqsa)
================================================================ */
@media (prefers-reduced-motion: reduce) {
  .pp-particle,
  .pp-logo-glow,
  .pp-streak::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================================================================
   LIGHT REJIM — <html data-theme="light"> bo'lganda ranglar almashadi
   (standart holat — dark, hech narsa qo'shilmasa shu ishlaydi)
================================================================ */
[data-theme="light"] {
  --bg-deep: #f6f3fb;
  --ink: #1c1033;
  --ink-soft: #4f3f73;
  --ink-faint: #8276a0;
  --line: rgba(28, 16, 51, 0.12);
}

[data-theme="light"] .pp-noise {
  background-image: radial-gradient(circle, #1c1033 1px, transparent 1px);
  opacity: 0.04;
}

[data-theme="light"] .pp-glass {
  background: rgba(28, 16, 51, 0.035);
}

[data-theme="light"] header.pp-nav.scrolled {
  background: rgba(246, 243, 251, 0.88);
}

[data-theme="light"] .lang-toggle {
  background: rgba(28, 16, 51, 0.04);
}

[data-theme="light"] .lang-menu,
[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .lang-menu button,
[data-theme="light"] .mobile-lang button,
[data-theme="light"] .menu-toggle,
[data-theme="light"] .theme-toggle {
  color: var(--ink);
}

[data-theme="light"] .lang-menu button:hover,
[data-theme="light"] .mobile-menu a:hover {
  background: rgba(28, 16, 51, 0.06);
}

[data-theme="light"] .pp-btn-ghost {
  background: rgba(28, 16, 51, 0.05);
}

[data-theme="light"] .pp-btn-ghost:hover {
  background: rgba(28, 16, 51, 0.09);
}

/* ================================================================
   DARK / LIGHT REJIM TUGMASI
================================================================ */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 16px;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(28, 16, 51, 0.08);
}

/* Mobil menyudagi dark/light qatori */
.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.mobile-theme-row span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ================================================================
   HAMBURGER TUGMASI ICHIDAGI IKKI HOLAT (ochiq / yopiq)
================================================================ */
.menu-toggle .icon-close {
  display: none;
}

.menu-toggle.open .icon-menu {
  display: none;
}

.menu-toggle.open .icon-close {
  display: flex;
}

/* ================================================================
   TIL VA REJIM DROPDOWN/MENYULARNI OCHIQ HOLATI
   (JS faqat ".open" klassini qo'shadi/olib tashlaydi, HTML statik)
================================================================ */
.lang-menu {
  display: none;
}

.lang-menu.open {
  display: block;
}

.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: flex;
}
/* ================================================================
  Har bir o'yin kartochkasi
================================================================ */
.alert-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 999;
}

.alert-menu.active {
  opacity: 1;
  visibility: visible;
}

.alert-box {
  width: 90%;
  max-width: 420px;
  transform: scale(0.8);
  transition: 0.25s ease;
}

.alert-menu.active .alert-box {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--accent)
  );
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 48px rgba(37, 99, 235, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(37, 99, 235, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

/* Kartochka yuqori qismi */
.service-header {
  padding: 24px 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

/* O'yin nomi yonidagi ikonka */
.service-icon {
  width: 30px;
  height: 30px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* Har bir o'yin uchun maxsus rang — data-game atributi orqali */
.service-card[data-game="mlbb"] .service-icon {
  background: linear-gradient(135deg, #1a6dff, #7c3aed);
  box-shadow: 0 8px 20px rgba(26, 109, 255, 0.35);
}
.service-card[data-game="ff"] .service-icon {
  background: linear-gradient(135deg, #ff6b00, #ff3d00);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
}
.service-card[data-game="tg"] .service-icon {
  background: linear-gradient(135deg, #0088cc, #229ed9);
  box-shadow: 0 8px 20px rgba(0, 136, 204, 0.35);
}
.service-card[data-game="pubg"] .service-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}
.service-card[data-game="val"] .service-icon {
  background: linear-gradient(135deg, #ff4655, #c53030);
  box-shadow: 0 8px 20px rgba(255, 70, 85, 0.35);
}
.service-card[data-game="other"] .service-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.service-title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--text);
}

.service-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 3px;
  font-weight: 500;
}

/* "Mashhur" badge */
.service-badge {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12),
    rgba(124, 58, 237, 0.12)
  );
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  white-space: nowrap;
  align-self: flex-start;
}

/* Ajratuvchi chiziq */
.service-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 24px;
}

/* Paketlar ro'yxati */
.service-body {
  /* display: flex;
  flex: 1; */
  padding: 20px 24px 24px;
  flex-direction: column;

  max-height: 520px;
  overflow-y: auto;

  scroll-behavior: smooth;

  /* background feel */
  background: rgba(255, 255, 255, 0.02);
}

.pkg-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Har bir paket qatori */
.pkg-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  background: var(--bg-2);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pkg-item::after {
  content: "→";
  position: absolute;
  right: -20px;
  font-size: 13px;
  color: var(--primary);
  opacity: 0;
  transition: all var(--transition);
}

.pkg-item:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.04),
    rgba(124, 58, 237, 0.04)
  );
  padding-right: 30px;
  transform: translateX(2px);
}

.pkg-item:hover::after {
  right: 12px;
  opacity: 1;
}

.pkg-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pkg-price {
  font-size: 13.5px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

/* "Bot orqali xarid qilish" tugmasi */
.service-cta {
  margin-top: 16px;
  width: 100%;
  padding: 13px 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: all var(--transition);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

/* Tugmadagi yaltiroq effekt */
.service-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.service-cta:hover::before {
  left: 150%;
}

.service-cta:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

.service-cta:active {
  transform: scale(0.98);
}

/* Dark mode uchun qo'shimcha */
[data-theme="dark"] .service-card {
  background: var(--bg-2);
}

[data-theme="dark"] .pkg-item {
  background: var(--bg-3);
}

[data-theme="dark"] .service-card:hover {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(37, 99, 235, 0.3);
}
