@import url("fonts.css");

/* ============================================================
   PINCO UZ — Design System
   pincouz24.com
   Rang va tipografika rasmiy saytdan (pinco3d4.win/uz) olingan
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Fon va yuzalar */
  --c-bg:            #191212;
  --c-bg-deep:       #120d0d;
  --c-surface:       #1f1818;
  --c-surface-2:     #262020;
  --c-elevated:      #2e2726;
  --c-line:          rgba(255, 255, 255, .08);
  --c-line-strong:   rgba(255, 255, 255, .16);

  /* Brend */
  --c-red:           #ff0326;
  --c-red-600:       #e20328;
  --c-red-700:       #c11930;
  --c-red-glow:      rgba(255, 3, 38, .45);
  --c-gold:          #ffc903;
  --c-gold-2:        #ff8a00;
  --c-green:         #2fbf5b;
  --c-green-deep:    #023b1e;

  /* Matn */
  --c-text:          #ffffff;
  --c-text-2:        #cecece;
  --c-text-3:        #8b8382;

  /* Gradientlar */
  --g-red:           linear-gradient(135deg, #ff0326 0%, #c11930 100%);
  --g-gold:          linear-gradient(135deg, #ffc903 0%, #ff8a00 100%);
  --g-sport:         linear-gradient(105deg, #2a0d0d 0%, #6d1414 45%, #ff4a1c 100%);
  --g-casino:        linear-gradient(105deg, #241a08 0%, #6b4a12 45%, #b8892a 100%);
  --g-surface:       linear-gradient(180deg, #221b1b 0%, #1a1414 100%);

  /* Radius */
  --r-sm:            4px;
  --r-btn:           8px;
  --r-card:          12px;
  --r-lg:            16px;
  --r-pill:          999px;

  /* Oraliqlar */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;

  /* Tipografika */
  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --rail-w:      196px;
  --rail-w-open: 226px;
  --header-h:    56px;
  --maxw:        1560px;

  /* Effektlar */
  --shadow-1: 0 2px 8px rgba(0, 0, 0, .4);
  --shadow-2: 0 8px 28px rgba(0, 0, 0, .55);
  --shadow-red: 0 6px 20px var(--c-red-glow);
  --t-fast: .15s ease;
  --t: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }   /* width/height atributlari bilan cho'zilishning oldini oladi */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: 1.1; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--c-bg-deep); }
::-webkit-scrollbar-thumb { background: #3a2f2f; border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: #4d3f3f; }

/* ---------- 3. TIPOGRAFIKA ---------- */
.t-display { font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; }
.t-h1 { font-size: clamp(28px, 4vw, 46px); }
.t-h2 { font-size: clamp(22px, 3vw, 34px); }
.t-h3 { font-size: 18px; }
.t-muted { color: var(--c-text-3); }
.t-gold { color: var(--c-gold); }
.t-red  { color: var(--c-red); }

/* Bo'lim sarlavhasi — rasmiy saytdagidek markazda, ostida chiziq */
.section-head { text-align: center; margin: var(--sp-7) 0 var(--sp-5); }
.section-head h2 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(24px, 3.4vw, 40px); letter-spacing: .02em;
}
.section-head p { margin: var(--sp-2) 0 0; color: var(--c-text-3); font-size: 13px; }
.section-head::after {
  content: ""; display: block; width: 220px; max-width: 60%; height: 1px; margin: var(--sp-3) auto 0;
  background: linear-gradient(90deg, transparent, var(--c-line-strong), transparent);
}

/* ---------- 4. TUGMALAR ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  height: 38px; padding: 0 18px; border-radius: var(--r-btn);
  font-family: var(--f-body); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-red); color: #fff; }
.btn--primary:hover { background: var(--c-red-600); box-shadow: var(--shadow-red); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid var(--c-line-strong); }
.btn--ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.btn--gold { background: var(--g-gold); color: #1a1200; }
.btn--gold:hover { filter: brightness(1.08); }
.btn--lg { height: 46px; padding: 0 28px; font-size: 14px; }
.btn--sm { height: 32px; padding: 0 14px; font-size: 12px; }
.btn--block { width: 100%; }
.btn[disabled], .btn--muted { background: #5a1520; color: rgba(255,255,255,.45); cursor: not-allowed; }

/* ---------- 5. LOGO ---------- */
.logo { display: inline-flex; align-items: center; gap: 2px; position: relative; }
.logo__word {
  font-family: var(--f-display); font-weight: 800; font-style: italic;
  font-size: 26px; letter-spacing: -.02em; color: var(--c-red); text-transform: uppercase;
}
.logo__o { position: relative; display: inline-block; }
.logo__spark { position: absolute; top: -7px; right: -9px; width: 14px; height: 14px; }
.logo--sm .logo__word { font-size: 20px; }
.logo--lg .logo__word { font-size: 34px; }

/* ---------- 6. LAYOUT ---------- */
.app { min-height: 100vh; }

/* 6.1 Chap panel (rail) */
.rail {
  position: fixed; inset: 0 auto 0 0; z-index: 60;
  width: var(--rail-w); background: var(--c-bg-deep);
  border-right: 1px solid var(--c-line);
  display: flex; flex-direction: column;
  transition: width var(--t); overflow: hidden;
}
.rail__brand { height: var(--header-h); display: flex; align-items: center; padding-left: 14px; flex: 0 0 auto; }
.rail__nav { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; padding: var(--sp-2) 0 80px; }
.rail__nav::-webkit-scrollbar { width: 0; }
.rail__item {
  display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 0 0 18px;
  color: var(--c-text-2); font-size: 13px; position: relative; transition: color var(--t-fast), background var(--t-fast);
  padding-right: 8px;
}
.rail__item:hover { color: #fff; background: rgba(255,255,255,.04); }
.rail__item.is-active { color: #fff; }
.rail__item.is-active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--c-red); border-radius: 0 3px 3px 0; }
.rail__item svg { flex: 0 0 auto; width: 20px; height: 20px; }
.rail__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.rail__sep { height: 1px; margin: var(--sp-3) 16px; background: var(--c-line); }
.rail__badge { margin-left: auto; margin-right: 12px; font-size: 8.5px; font-weight: 800; color: #fff; background: var(--c-red); padding: 2px 4px; border-radius: var(--r-sm); }
.rail__foot { flex: 0 0 auto; display: flex; gap: 6px; padding: var(--sp-3) 10px calc(var(--sp-3) + 46px); border-top: 1px solid var(--c-line); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px;
  border: 1px solid var(--c-line-strong); border-radius: var(--r-btn);
  font-size: 12px; font-weight: 600; color: var(--c-text-2); background: var(--c-surface);
}
.chip:hover { border-color: rgba(255,255,255,.35); color: #fff; }

/* 6.2 Yuqori panel */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h); margin-left: var(--rail-w);
  background: rgba(25, 18, 18, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  display: flex; align-items: center; gap: var(--sp-5); padding: 0 var(--sp-5);
}
.header__nav { display: flex; align-items: center; gap: var(--sp-5); flex: 0 0 auto; white-space: nowrap; }
.header__link { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: 13px; color: var(--c-text-2); position: relative; }
.header__link:hover { color: #fff; }
.header__link svg { width: 18px; height: 18px; }
.tag-new { position: absolute; top: -10px; left: 14px; font-size: 8px; font-weight: 800; background: var(--c-red); color: #fff; padding: 1px 4px; border-radius: 3px; letter-spacing: .04em; }
.header__spacer { flex: 1 1 auto; }
.header__promo { font-size: 12.5px; color: var(--c-text-2); white-space: nowrap; }
.header__actions { display: flex; align-items: center; gap: var(--sp-2); }
.burger { display: none; }
.header__logo { display: none; }

/* 6.3 Asosiy maydon */
.main { margin-left: var(--rail-w); padding: var(--sp-5) var(--sp-5) 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* ---------- 7. HERO BANNERLAR ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.banner {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 218px; padding: var(--sp-6) var(--sp-7); display: flex; flex-direction: column; justify-content: center;
  isolation: isolate;
}
.banner--sport  { background: var(--g-sport); }
.banner--casino { background: var(--g-casino); }
/* dekorativ naqsh — rasmiy banner fonidagi to'lqinlarni taqlid qiladi */
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(120% 90% at 85% 50%, rgba(255,255,255,.18), transparent 60%),
    repeating-linear-gradient(115deg, rgba(0,0,0,.22) 0 12px, transparent 12px 26px);
}
.banner::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; z-index: -1;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 62%);
}
.banner p { margin: 0; }
.banner__kicker { font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 46px); line-height: .95; }
.banner__sub { font-family: var(--f-display); font-weight: 400; font-style: italic; text-transform: uppercase; font-size: clamp(20px, 2.2vw, 30px); opacity: .92; }
.banner__offer { margin: var(--sp-3) 0 var(--sp-5) !important; font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: clamp(20px, 2.4vw, 32px); }
.banner__offer em { color: var(--c-gold); font-style: italic; }
.banner .btn { align-self: flex-start; }

/* ---------- 8. SPORT KARTALARI ---------- */
.odds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.odds-card {
  position: relative; border-radius: var(--r-card); padding: var(--sp-4) var(--sp-3) var(--sp-3);
  background: linear-gradient(160deg, #10361f 0%, #0d1f14 55%, #141313 100%);
  border: 1px solid rgba(47, 191, 91, .18);
}
.odds-card__tag {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 8px;
  background: var(--c-red); color: #fff; font-size: 9px; font-weight: 800;
  border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .04em;
}
.odds-card__league { font-size: 10.5px; color: var(--c-text-3); text-align: center; margin-bottom: var(--sp-2); }
.odds-card__teams { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); font-size: 13px; font-weight: 600; }
.odds-card__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--c-elevated); flex: 0 0 auto; }
.odds-card__time { text-align: center; margin: var(--sp-2) 0 var(--sp-3); }
.odds-card__time small { display: block; font-size: 10px; color: var(--c-text-3); }
.odds-card__time b { font-family: var(--f-display); font-size: 17px; }
.odds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.odd {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  height: 42px; border-radius: var(--r-btn); background: rgba(255,255,255,.05);
  border: 1px solid var(--c-line); transition: background var(--t-fast), border-color var(--t-fast);
}
.odd:hover { background: rgba(47,191,91,.14); border-color: rgba(47,191,91,.4); }
.odd small { font-size: 9.5px; color: var(--c-text-3); }
.odd b { font-size: 13px; font-family: var(--f-display); }

/* ---------- 9. O'YIN KATEGORIYALARI ---------- */
.cats { display: flex; gap: var(--sp-1); overflow-x: auto; padding-bottom: var(--sp-2); scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 92px; padding: var(--sp-2) var(--sp-3) var(--sp-3);
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  color: var(--c-text-3); text-align: center; position: relative; transition: color var(--t-fast);
}
.cat svg { width: 22px; height: 22px; opacity: .8; }
.cat:hover { color: var(--c-text-2); }
.cat.is-active { color: #fff; }
.cat.is-active svg { opacity: 1; color: var(--c-red); }
.cat.is-active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--c-red); border-radius: 2px; }

/* ---------- 10. O'YIN PLITKALARI ---------- */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-3); }
.game {
  position: relative; aspect-ratio: 146 / 112; border-radius: var(--r-card); overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px solid var(--c-line); transition: transform var(--t), box-shadow var(--t);
  cursor: pointer;
}
.game:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.game__title {
  font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: 17px; line-height: 1.05; padding: var(--sp-3); text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.game__badge {
  position: absolute; top: 8px; left: 8px; font-size: 9px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 6px; border-radius: var(--r-sm); text-transform: uppercase;
}
.game__badge--new { background: var(--c-red); color: #fff; }
.game__badge--exc { background: var(--g-gold); color: #1a1200; }
.game__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.5); opacity: 0; transition: opacity var(--t);
}
.game:hover .game__play { opacity: 1; }
.game__play span {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-red); box-shadow: var(--shadow-red);
}
/* plitka fonlari — rasm o'rniga gradient (assetlar kelganda almashtiriladi) */
.gt-1 { background: linear-gradient(150deg, #7a1020, #2a0509); }
.gt-2 { background: linear-gradient(150deg, #b3341a, #4a0f06); }
.gt-3 { background: linear-gradient(150deg, #123a6b, #071426); }
.gt-4 { background: linear-gradient(150deg, #6b4a12, #241a08); }
.gt-5 { background: linear-gradient(150deg, #1f6b3a, #06210f); }
.gt-6 { background: linear-gradient(150deg, #5a2170, #1a0824); }
.gt-7 { background: linear-gradient(150deg, #8a6a10, #2a1f04); }
.gt-8 { background: linear-gradient(150deg, #164e5e, #05171d); }

/* ---------- 11. MAVZULI BO'LIMLAR ---------- */
.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-3); }
.theme {
  position: relative; height: 128px; border-radius: var(--r-card); overflow: hidden;
  display: flex; align-items: flex-end; padding: var(--sp-4);
  border: 1px solid var(--c-line); transition: transform var(--t);
}
.theme:hover { transform: translateY(-3px); }
.theme span { font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 18px; position: relative; z-index: 1; }
.theme::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75) 100%); }

/* ---------- 12. ILOVA BLOKI ---------- */
.appbox {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-6); align-items: center;
  background: var(--g-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--sp-7); margin-top: var(--sp-7);
}
.appbox h2 { font-style: italic; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 34px); }
.appbox p { color: var(--c-text-2); margin: var(--sp-3) 0 var(--sp-5); max-width: 46ch; }
.appbox__btns { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.phone {
  justify-self: center; width: 190px; height: 300px; border-radius: 26px;
  background: linear-gradient(160deg, #2b2323, #141010); border: 2px solid #3a2f2f;
  box-shadow: var(--shadow-2); position: relative; overflow: hidden;
}
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 56px; height: 5px; border-radius: 4px; background: #4a3d3d; }
.phone__screen { position: absolute; inset: 26px 10px 12px; border-radius: 14px; background: var(--c-bg); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; align-content: start; }
.phone__screen i { display: block; height: 34px; border-radius: 6px; background: linear-gradient(150deg, #6b1220, #2a0a0f); }
.phone__screen i:nth-child(2n) { background: linear-gradient(150deg, #6b4a12, #241a08); }

/* ---------- 13. G'OLIBLAR TASMASI ---------- */
.ticker {
  position: fixed; left: var(--rail-w); right: 0; bottom: 0; z-index: 45; height: 42px;
  background: rgba(18, 13, 13, .96); border-top: 1px solid var(--c-line);
  display: flex; align-items: center; overflow: hidden;
}
.ticker__label { flex: 0 0 auto; padding: 0 var(--sp-4); font-size: 11px; color: var(--c-text-3); white-space: nowrap; }
.ticker__viewport { flex: 1 1 auto; overflow: hidden; }
.ticker__track { display: flex; gap: var(--sp-5); width: max-content; animation: slide 44s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.win { display: flex; align-items: center; gap: var(--sp-2); white-space: nowrap; font-size: 11.5px; }
.win i { width: 26px; height: 20px; border-radius: var(--r-sm); background: linear-gradient(150deg, #7a1020, #2a0509); flex: 0 0 auto; }
.win b { color: var(--c-text-2); font-weight: 600; }
.win span { color: var(--c-gold); font-weight: 700; }

/* ---------- 14. FUTER ---------- */
.footer { margin-left: var(--rail-w); margin-top: var(--sp-8); padding: var(--sp-7) var(--sp-5) 76px; border-top: 1px solid var(--c-line); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: var(--sp-6); }
.footer h4 { font-family: var(--f-body); font-size: 13px; font-weight: 700; margin-bottom: var(--sp-3); }
.footer li { margin-bottom: var(--sp-2); }
.footer li a { font-size: 12.5px; color: var(--c-text-3); }
.footer li a:hover { color: var(--c-text); }
.footer li::marker { color: var(--c-red); }
.footer ul.dot li { list-style: disc; margin-left: 14px; }
.footer__support { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 200px; }
.footer__strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-5); margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); }
.footer__strip span { font-size: 13px; font-weight: 700; color: #6a5f5f; letter-spacing: .04em; text-transform: uppercase; }
.footer__legal { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-5); color: var(--c-text-3); font-size: 11.5px; }
.age {
  display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto;
  border: 1px solid var(--c-line-strong); border-radius: var(--r-sm);
  font-size: 12px; font-weight: 800; color: var(--c-text-2);
}

/* ---------- 15. MODAL (Ro'yxatdan o'tish) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }
.modal__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--c-bg); border-left: 1px solid var(--c-line);
  padding: var(--sp-6) var(--sp-5); overflow-y: auto;
  animation: slideIn .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; display: grid; place-items: center; color: var(--c-text-3); }
.modal__close:hover { color: #fff; }
.modal__head { text-align: center; margin-bottom: var(--sp-5); }
.modal__head .logo { justify-content: center; margin-bottom: var(--sp-4); }
.modal__head h3 { font-family: var(--f-body); font-size: 18px; font-weight: 700; }
.tabs { display: flex; border-bottom: 1px solid var(--c-line); margin-bottom: var(--sp-5); }
.tab { flex: 1; height: 38px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--c-text-3); position: relative; }
.tab.is-active { color: #fff; }
.tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c-red); }
.field { margin-bottom: var(--sp-3); }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px; background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: var(--r-btn);
  color: #fff; font: inherit; font-size: 13px;
}
.field input::placeholder { color: var(--c-text-3); }
.field input:focus, .field select:focus { border-color: var(--c-red-600); outline: none; }
.check { display: flex; gap: var(--sp-2); align-items: flex-start; margin-bottom: var(--sp-3); font-size: 11.5px; color: var(--c-text-3); line-height: 1.45; }
.check input { accent-color: var(--c-gold); margin-top: 2px; }
.check a { color: var(--c-gold); text-decoration: underline; }
.modal__foot { margin-top: auto; padding-top: var(--sp-5); text-align: center; }
.modal__foot small { display: block; color: var(--c-text-3); margin-bottom: var(--sp-3); font-size: 11.5px; }
.modal__foot .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }

/* ---------- 16. YORDAMCHI ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }

/* ---------- 17. RESPONSIVE ---------- */
@media (max-width: 1440px) { .header__promo { display: none; } }
@media (max-width: 1200px) {
  .odds-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --rail-w: 0px; }
  .rail { transform: translateX(-100%); width: var(--rail-w-open); transition: transform var(--t); }
  .rail.is-open { transform: none; }
  .header { margin-left: 0; padding: 0 var(--sp-4); gap: var(--sp-3); }
  .header__nav, .header__promo { display: none; }
  .burger { display: grid; place-items: center; width: 36px; height: 36px; color: var(--c-text-2); }
  .header__logo { display: inline-flex; }
  .main { margin-left: 0; padding: var(--sp-4) var(--sp-4) 0; }
  .footer { margin-left: 0; padding: var(--sp-6) var(--sp-4) 76px; }
  .ticker { left: 0; }
  .hero { grid-template-columns: 1fr; }
  .banner { min-height: 190px; padding: var(--sp-5); }
  .appbox { grid-template-columns: 1fr; padding: var(--sp-5); }
  .phone { display: none; }
}
@media (max-width: 560px) {
  .games { grid-template-columns: repeat(2, 1fr); }
  .odds-grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .header__actions .btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ============================================================
   18. RASMIY SAYTDAN OLINGAN QO'SHIMCHA KOMPONENTLAR
   (media va kontent PINCO.html dan chiqarib olindi)
   ============================================================ */

/* 18.1 O'yin plitkasi — hover ustidagi O'YNASH / Demo */
.game__actions {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--sp-2);
  background: rgba(0,0,0,.62); opacity: 0; transition: opacity var(--t);
}
.game:hover .game__actions { opacity: 1; }
.game__actions .btn { height: 32px; padding: 0 20px; font-size: 11.5px; }
.game__demo { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--c-text-2); letter-spacing: .05em; }
.game__demo:hover { color: #fff; }

/* 18.2 O'yinchi ma'lumotlari vidjeti */
.playerbox {
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: var(--sp-5); align-items: center;
  background: var(--g-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-6); margin-top: var(--sp-6);
}
.playerbox__head { grid-column: 1 / -1; font-family: var(--f-display); font-style: italic;
  text-transform: uppercase; font-size: 15px; margin-bottom: calc(-1 * var(--sp-2)); }
.pstat { display: flex; align-items: center; gap: var(--sp-3); }
.pstat svg { width: 26px; height: 26px; color: var(--c-gold); flex: 0 0 auto; }
.pstat__body { flex: 1 1 auto; min-width: 0; }
.pstat__label { font-size: 11.5px; color: var(--c-text-3); margin-bottom: 5px; }
.pstat__val { font-family: var(--f-display); font-size: 15px; margin-bottom: 5px; }
.pstat__val small { color: var(--c-text-3); font-size: 12px; }
.pbar { height: 4px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--g-gold); border-radius: var(--r-pill); }

/* 18.3 Bonus statistikasi */
.bstats { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-6); margin-bottom: var(--sp-5); }
.bstat { text-align: center; }
.bstat b { display: block; font-family: var(--f-display); font-size: 30px; color: var(--c-gold); line-height: 1; }
.bstat span { font-size: 11.5px; color: var(--c-text-3); }

/* 18.4 Promo kartalar */
.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--sp-4); }
.promo {
  display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden;
  background: var(--c-surface); border: 1px solid var(--c-line); transition: transform var(--t), border-color var(--t);
}
.promo:hover { transform: translateY(-3px); border-color: var(--c-line-strong); }
.promo__media { position: relative; height: auto; aspect-ratio: 16 / 10; }
.promo__tag {
  position: absolute; top: 10px; left: 10px; font-size: 9px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 7px; border-radius: var(--r-sm);
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px); color: #fff; border: 1px solid var(--c-line-strong);
}
.promo__tag--sport { color: var(--c-green); }
.promo__tag--casino { color: var(--c-gold); }
.promo__body { padding: var(--sp-4); display: flex; flex-direction: column; flex: 1 1 auto; }
.promo__title { font-size: 14px; font-weight: 700; line-height: 1.3; margin-bottom: var(--sp-2); }
.promo__text { font-size: 12.5px; color: var(--c-text-3); line-height: 1.5; margin: 0 0 var(--sp-4); flex: 1 1 auto; }
.promo .btn { align-self: flex-start; }

/* 18.5 Turnir kartalari */
.tours { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--sp-4); margin-top: var(--sp-4); }
.tour {
  border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--c-line);
  background: linear-gradient(135deg, #2a1108 0%, #1c1414 55%, #171111 100%);
  padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3);
}
.tour__title { font-family: var(--f-display); font-style: italic; text-transform: uppercase; font-size: 17px; }
.tour__prize { font-size: 12px; color: var(--c-text-3); }
.tour__prize b { display: block; font-family: var(--f-display); font-size: 26px; color: var(--c-gold); margin-top: 2px; }
.timer { display: flex; gap: var(--sp-2); }
.timer div { text-align: center; min-width: 46px; padding: 6px 4px; background: rgba(255,255,255,.05);
  border: 1px solid var(--c-line); border-radius: var(--r-btn); }
.timer b { display: block; font-family: var(--f-display); font-size: 17px; }
.timer small { font-size: 9px; color: var(--c-text-3); text-transform: uppercase; }
.tour__btns { display: flex; gap: var(--sp-2); margin-top: auto; }

/* 18.6 Provayderlar / to'lovlar lentasi */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-5) var(--sp-6); }
.logos span {
  font-family: var(--f-display); font-size: 13px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: #6a5f5f; transition: color var(--t-fast);
}
.logos span:hover { color: var(--c-text-2); }

/* 18.7 Footer qo'shimchalari */
.footer__promo { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--sp-4); margin-top: var(--sp-6); }
.footer__promo h4 { grid-column: 1 / -1; }
.footer__promo a { font-size: 12.5px; color: var(--c-text-3); }
.footer__promo a b { display: block; color: var(--c-text); font-weight: 600; margin-bottom: 2px; }
.footer__promo a:hover b { color: var(--c-gold); }
.socials { display: flex; gap: var(--sp-3); margin-top: var(--sp-3); }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--c-line-strong); color: var(--c-text-2); }
.socials a:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.footer__apps { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-5); }

/* 18.8 Yuqoriga tugmasi */
.gotop {
  position: fixed; right: 18px; bottom: 58px; z-index: 46; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: var(--r-btn);
  background: var(--c-surface-2); border: 1px solid var(--c-line); color: var(--c-text-2);
  opacity: 0; pointer-events: none; transition: opacity var(--t);
}
.gotop.is-visible { opacity: 1; pointer-events: auto; }
.gotop:hover { color: #fff; }

/* 18.9 Ro'yxatdan o'tish — bonus tanlash */
.bonus-pick { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.bonus-pick__head { font-size: 12px; color: var(--c-text-3); text-transform: uppercase; letter-spacing: .06em; }
.bopt {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3);
  border: 1px solid var(--c-line); border-radius: var(--r-btn); background: var(--c-surface);
  cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast);
}
.bopt:hover { border-color: var(--c-line-strong); }
.bopt.is-active { border-color: var(--c-gold); background: rgba(255,201,3,.06); }
.bopt i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--c-text-3); flex: 0 0 auto; }
.bopt.is-active i { border-color: var(--c-gold); background: var(--c-gold); box-shadow: inset 0 0 0 3px var(--c-bg); }
.bopt b { display: block; font-size: 13px; }
.bopt small { color: var(--c-text-3); font-size: 11.5px; }

/* 18.10 Ichki sahifa (statik matn) */
.page { max-width: 860px; margin: 0 auto; padding-bottom: var(--sp-7); }
.page h1 { font-family: var(--f-display); font-style: italic; text-transform: uppercase;
  font-size: clamp(24px, 3.2vw, 36px); margin-bottom: var(--sp-5); }
.page p { color: var(--c-text-2); line-height: 1.7; margin: 0 0 var(--sp-4); }
.crumbs { font-size: 12px; color: var(--c-text-3); margin-bottom: var(--sp-4); }
.crumbs a:hover { color: var(--c-text); }

@media (max-width: 900px) {
  .playerbox { grid-template-columns: 1fr; }
  .bstats { gap: var(--sp-4); }
}

/* ============================================================
   19. HAQIQIY MEDIA (skrinshotlardan kesib olingan)
   ============================================================ */

/* 19.1 Hero bannerlar — rasm o'ngda, matn chapda */
.banner { background-repeat: no-repeat; background-position: center; background-size: cover;
  padding: 0; min-height: 0; aspect-ratio: 1069 / 488; }
.banner--sport  { background-image: url("../img/banners/hero-sport.webp?v=10"); }
.banner--casino { background-image: url("../img/banners/hero-kazino.webp?v=10"); }
.banner::before, .banner::after { display: none; }
/* matn rasmga kirgan — HTML nusxasi faqat SEO va skrinrider uchun */
.banner__inner { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
/* butun banner bosiladigan bo'lsin */
.banner__link { position: absolute; inset: 0; z-index: 2; }

/* 19.2 O'yin plitkalari — haqiqiy art */
.game { background-size: cover; background-position: center; aspect-ratio: 384 / 267; }
.game .game__title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.g-supreme-hot            { background-image: url("../img/games/supreme-hot.webp?v=10"); }
.g-cashn-fruits-243       { background-image: url("../img/games/cashn-fruits-243.webp?v=10"); }
.g-baba-yaga-tales        { background-image: url("../img/games/baba-yaga-tales.webp?v=10"); }
.g-diamond-slam           { background-image: url("../img/games/diamond-slam.webp?v=10"); }
.g-40-shining-crown       { background-image: url("../img/games/40-shining-crown.webp?v=10"); }
.g-golden-empire-1000     { background-image: url("../img/games/golden-empire-1000.webp?v=10"); }
.g-3-pots-bonanza         { background-image: url("../img/games/3-pots-bonanza.webp?v=10"); }
.g-crack-more-piggy-banks { background-image: url("../img/games/crack-more-piggy-banks.webp?v=10"); }

/* 19.3 Mavzuli bo'limlar — rasmiy karta ko'rinishi */
.theme { height: auto; aspect-ratio: 525 / 286; padding: 0; background: #171212; overflow: hidden; }
.theme::after { display: none; }
.theme img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.theme img { height: 100%; }
.theme:hover img { transform: scale(1.04); }
/* yorliq rasmga kirgan — HTML nusxasi SEO uchun */
.theme span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.theme:hover { border-color: var(--c-line-strong); }

/* 19.4 Promo va turnir kartalari */
.promo__media { background-size: cover; background-position: center; }
.p-reykbek   { background-image: url("../img/promos/reykbek.webp?v=10"); }
.p-salomlama { background-image: url("../img/promos/salomlama.webp?v=10"); }
.p-kombo     { background-image: url("../img/promos/kombo.webp?v=10"); }
.tour { position: relative; overflow: hidden; }
.tour--jackpot::before, .tour--ti::before {
  content: ""; position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .32; z-index: 0;
}
.tour--jackpot::before { background-image: url("../img/promos/turnir-jackpot.webp?v=10"); }
.tour--ti::before      { background-image: url("../img/promos/turnir-ti2026.webp?v=10"); }
.tour > * { position: relative; z-index: 1; }

/* 19.5 Ilova maketi */
.appbox__shot { width: 100%; height: auto; max-width: 460px; justify-self: center; }

/* 19.6 Provayder va to'lov lentalari */
.logo-strip { width: 100%; height: auto; max-width: 1180px; margin: 0 auto; opacity: .85; }
.logo-strip:hover { opacity: 1; }



/* ============================================================
   20. PROMOKOD VA HAMKORLIK HAVOLASI
   ============================================================ */
.promobar {
  display: grid; grid-template-columns: 1fr auto auto; gap: var(--sp-5); align-items: center;
  margin-top: var(--sp-5); padding: var(--sp-5) var(--sp-6);
  border: 1px solid rgba(255, 201, 3, .28); border-radius: var(--r-lg);
  background: linear-gradient(100deg, #241a08 0%, #1d1611 55%, #171212 100%);
}
.promobar h2 {
  font-family: var(--f-display); font-style: italic; text-transform: uppercase;
  font-size: clamp(20px, 2.2vw, 28px); margin-bottom: 6px;
}
.promobar p { margin: 0; color: var(--c-text-2); font-size: 13px; max-width: 62ch; line-height: 1.55; }
.promobar__code { display: flex; align-items: center; gap: var(--sp-3); }
.promobar__code code, .promokod__code {
  font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: .12em;
  color: var(--c-gold); padding: 10px 18px; border-radius: var(--r-btn);
  border: 1px dashed rgba(255, 201, 3, .55); background: rgba(255, 201, 3, .07);
  user-select: all;
}

.promokod { margin-bottom: var(--sp-5); text-align: center; }
.promokod__label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-text-3); margin-bottom: var(--sp-2); }
.promokod__row { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); }
.promokod__code { font-size: 20px; }
.promokod__hint { margin: var(--sp-2) 0 0; font-size: 11.5px; color: var(--c-text-3); }

.steps { margin: var(--sp-5) 0 0; padding-left: 20px; color: var(--c-text-2); font-size: 12.5px; line-height: 1.6; }
.steps li { list-style: decimal; margin-bottom: 6px; }
.steps li::marker { color: var(--c-gold); font-weight: 700; }

.header__promobtn { border-color: rgba(255, 201, 3, .5); color: var(--c-gold); }
.header__promobtn:hover { border-color: var(--c-gold); background: rgba(255, 201, 3, .08); }

.copied { position: fixed; left: 50%; bottom: 70px; transform: translateX(-50%) translateY(10px);
  z-index: 120; padding: 10px 18px; border-radius: var(--r-btn); font-size: 13px; font-weight: 600;
  background: var(--c-elevated); border: 1px solid var(--c-line-strong); color: #fff;
  opacity: 0; pointer-events: none; transition: opacity var(--t), transform var(--t); }
.copied.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
  .promobar { grid-template-columns: 1fr; text-align: center; }
  .promobar__code { justify-content: center; }
  .promobar .btn--lg { justify-self: stretch; }
}

.tour--spino::before    { background-image: url("../img/promos/turnir-jackpot.webp?v=10"); }
.tour--marafon::before  { background-image: url("../img/promos/kombo.webp?v=10"); }
.tour--samolyot::before { background-image: url("../img/themes/krash.webp?v=10"); }

/* 20.1 Promo kartalari — har biriga alohida rasm
   (kazino lobbisidan kesib olingan o'yin artlari; real promo-art kelganda url almashtiriladi) */
.p-krona    { background-image: url("../img/games/pinco-red-baron.webp?v=10"); }
.p-lucky    { background-image: url("../img/games/mega-lucky-100.webp?v=10"); }
.p-stock    { background-image: url("../img/games/stock-market.webp?v=10"); }
.p-crystal  { background-image: url("../img/games/pinco-crystal.webp?v=10"); }
.p-irish    { background-image: url("../img/games/leprechaun-riches.webp?v=10"); }
.p-aviatrix { background-image: url("../img/games/aviatrix.webp?v=10"); }
.p-mini     { background-image: url("../img/games/mini-cashn-fruits.webp?v=10"); }
.p-booming  { background-image: url("../img/games/mega-booming-fruits.webp?v=10"); }
.p-432      { background-image: url("../img/games/lucky-432-ways.webp?v=10"); }
.p-aviator  { background-image: url("../img/games/aviator.webp?v=10"); }
.p-wonders  { background-image: url("../img/games/pinco-irish-wonders.webp?v=10"); }
.p-spark    { background-image: url("../img/games/pinco-spark.webp?v=10"); }

/* Turnir kartalari — beshtasi ham alohida */
.tour--jackpot::before, .tour--ti::before, .tour--spino::before,
.tour--marafon::before, .tour--samolyot::before {
  content: ""; position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .3; z-index: 0;
}
.tour--jackpot::before  { background-image: url("../img/promos/turnir-jackpot.webp?v=10"); }
.tour--ti::before       { background-image: url("../img/promos/turnir-ti2026.webp?v=10"); }
.tour--spino::before    { background-image: url("../img/themes/live-dilerlar.webp?v=10"); }
.tour--marafon::before  { background-image: url("../img/promos/kombo.webp?v=10"); }
.tour--samolyot::before { background-image: url("../img/themes/krash.webp?v=10"); }
