:root {
  --ink: #0B0C14;
  --ink-2: #12141F;
  --panel: #171A28;
  --line: rgba(255, 255, 255, .09);
  --text: #F4F1EC;
  --muted: #A3A6B8;
  --accent: #FF5A2C;        /* Registon qizil-to'q sarig'i */
  --accent-2: #FF8A3D;
  --accent-deep: #C23A12;
  --gold: #F6C878;
  --gold-2: #D89A4A;
  --ok: #3DDC84;
  --r: 22px;
  --wrap: 430px;
  --cw: min(100vw, 430px);   /* kanvas kengligi — shriftlar shunga bog'langan */
  --f-head: "Unbounded", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
b { font-weight: 800; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* ---------- fon ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.bg__glow--a { width: 520px; height: 520px; top: -160px; right: -160px; background: radial-gradient(circle, rgba(255, 90, 44, .55), transparent 70%); }
.bg__glow--b { width: 460px; height: 460px; bottom: -200px; left: -180px; background: radial-gradient(circle, rgba(246, 200, 120, .28), transparent 70%); }
.bg__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
  opacity: .5;
}

/* ---------- header ---------- */
.top { padding: 16px 0 0; }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top__logo { width: 104px; height: auto; filter: brightness(0) invert(1); }
.top__date {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  font-weight: 700; font-size: 13px; letter-spacing: .02em; white-space: nowrap;
}
.top__sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .25); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none;
  box-shadow: 0 0 0 0 rgba(255, 90, 44, .7); animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 90, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 44, 0); } }

/* ---------- hero ---------- */
.hero { padding: 28px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 0; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; justify-self: center;
  color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(246, 200, 120, .08); border: 1px solid rgba(246, 200, 120, .22);
}
.hero__title {
  font-family: var(--f-head); font-weight: 800;
  font-size: clamp(21px, calc(var(--cw) * .064), 28px); line-height: 1.08; letter-spacing: -.01em;
  text-transform: uppercase; margin: 16px 0 4px;
}
.hero__hl { display: block; color: var(--accent); }
.hero__num {
  background: linear-gradient(100deg, var(--gold) 0%, var(--accent-2) 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { color: var(--muted); font-size: clamp(15px, calc(var(--cw) * 0.039), 18px); max-width: 460px; margin: 0 auto; }
.hero__lead b { color: var(--text); }

.hero__facts { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 20px auto 0; }
.hero__facts li {
  flex: 1 1 0; max-width: 130px; padding: 10px 8px; border-radius: 16px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  display: flex; flex-direction: column; line-height: 1.15;
}
.hero__facts b { font-family: var(--f-head); font-size: 18px; color: var(--text); }
.hero__facts span { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* spiker */
.speaker { margin: 12px auto 0; width: 100%; max-width: 330px; }
.speaker__stage { position: relative; aspect-ratio: 760 / 1041; }
.speaker__disc {
  position: absolute; left: 50%; top: 17%; width: 88%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 138, 61, .95), rgba(255, 90, 44, .85) 40%, rgba(194, 58, 18, .9) 70%, rgba(120, 30, 8, .85));
  box-shadow: 0 30px 80px -20px rgba(255, 90, 44, .6), inset 0 -20px 60px rgba(0, 0, 0, .25);
}
.speaker__ring {
  position: absolute; left: 50%; top: 11%; width: 102%; transform: translateX(-50%);
  animation: spin 40s linear infinite; overflow: visible;
}
.speaker__ring text { font-family: var(--f-head); font-size: 9.2px; font-weight: 600; letter-spacing: .22em; fill: rgba(246, 200, 120, .75); }
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.speaker__img {
  position: absolute; left: 0; bottom: 0; width: 100%; height: auto;
  mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
}
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 14px; font-weight: 800; font-size: 13px; white-space: nowrap;
  background: rgba(18, 20, 31, .78); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  animation: float 5s ease-in-out infinite;
}
.chip--live { left: -4px; top: 44%; }
.chip--gift { right: -4px; top: 66%; color: var(--gold); animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

.hero__cta { position: relative; z-index: 2; margin-top: -34px; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* tugma */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  border-radius: 20px; white-space: nowrap; transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn--primary {
  width: 100%; max-width: 420px; padding: 22px 18px; font-size: clamp(17px, calc(var(--cw) * 0.048), 21px); color: #fff;
  background: linear-gradient(180deg, var(--accent-2), var(--accent) 55%, #F04A1C);
  box-shadow: 0 6px 0 var(--accent-deep), 0 18px 40px -10px rgba(255, 90, 44, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
  overflow: hidden; animation: btnPulse 2.2s ease-in-out infinite;
}
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
.btn--primary:hover { filter: brightness(1.06); }
.btn--primary:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--accent-deep), 0 10px 24px -10px rgba(255, 90, 44, .75); }
.btn--primary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.btn--sm { padding: 16px 20px; font-size: 16px; border-radius: 16px; max-width: none; }
.btn--block { max-width: none; }
.btn[disabled] { opacity: .7; cursor: progress; animation: none; }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes btnPulse { 50% { transform: scale(1.025); } }

/* taymer */
.timer { display: inline-flex; align-items: center; gap: 12px; }
.timer__label { font-size: 13px; color: var(--muted); font-weight: 600; }
.timer__time {
  font-family: var(--f-head); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums;
  padding: 6px 14px; border-radius: 12px; color: var(--accent);
  background: rgba(255, 90, 44, .1); border: 1px solid rgba(255, 90, 44, .35);
}

/* ---------- section head ---------- */
.learn { padding: 36px 0 24px; }
.section-head { text-align: center; margin-bottom: 22px; }
.section-head__tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.section-head__title { font-family: var(--f-head); font-weight: 800; font-size: clamp(30px, calc(var(--cw) * 0.080), 48px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }

/* esse kartasi */
.essay {
  position: relative; display: flex; align-items: center; gap: 18px;
  max-width: 720px; margin: 0 auto 16px; padding: 20px;
  border-radius: var(--r); background: linear-gradient(135deg, #1D2030, #141622);
  border: 1px solid var(--line); overflow: hidden;
}
.essay::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 90, 44, .7), transparent 45%, rgba(246, 200, 120, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.essay__badge {
  flex: none; width: 92px; height: 104px; border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--accent-2), var(--accent) 60%, var(--accent-deep));
  box-shadow: 0 14px 30px -12px rgba(255, 90, 44, .8);
  transform: rotate(-4deg);
}
.essay__big { font-family: var(--f-head); font-weight: 900; font-size: 32px; line-height: 1; }
.essay__small { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .18em; margin-top: 4px; }
.essay__kicker { color: var(--ok); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.essay__title { font-family: var(--f-head); font-weight: 800; font-size: clamp(17px, calc(var(--cw) * 0.046), 22px); line-height: 1.2; margin: 4px 0 6px; }
.essay__text { color: var(--muted); font-size: 15px; }
.essay__text b { color: var(--text); }

/* sovg'alar */
.prizes {
  position: relative; max-width: 720px; margin: 0 auto; padding: 24px 18px 18px;
  border-radius: calc(var(--r) + 6px); overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(246, 200, 120, .16), transparent 60%),
    linear-gradient(180deg, #1A1712, #12121A);
  border: 1px solid rgba(246, 200, 120, .22);
}
.prizes::before { /* konfetti nuqtalar */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle, var(--gold) 1.2px, transparent 1.6px),
    radial-gradient(circle, var(--accent) 1.2px, transparent 1.6px);
  background-size: 46px 46px, 64px 64px; background-position: 0 0, 22px 30px;
  mask-image: linear-gradient(#000, transparent 45%); -webkit-mask-image: linear-gradient(#000, transparent 45%);
}
.prizes__head { position: relative; text-align: center; margin-bottom: 18px; }
.prizes__kicker { color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.prizes__title { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
.prizes__sum {
  font-family: var(--f-head); font-weight: 900; font-size: clamp(56px, calc(var(--cw) * 0.170), 88px); line-height: .9; letter-spacing: -.04em;
  background: linear-gradient(180deg, #FFE7B8, var(--gold) 45%, var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 18px rgba(246, 200, 120, .25));
}
.prizes__sum::after { content: "+"; font-size: .55em; vertical-align: top; }
.prizes__unit { text-align: left; font-weight: 800; font-size: clamp(14px, calc(var(--cw) * 0.038), 17px); line-height: 1.25; }

.prizes__grid { position: relative; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prize {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 16px 8px; border-radius: 18px; min-height: 124px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .25s, border-color .25s;
}
.prize:hover { transform: translateY(-3px); border-color: rgba(246, 200, 120, .4); }
.prize__art { width: 44px; height: 44px; color: var(--gold); }
.prize__name { font-size: 13.5px; line-height: 1.2; }

.prize--main {
  grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 18px; text-align: left;
  padding: 18px 20px; min-height: 0;
  background: linear-gradient(120deg, rgba(246, 200, 120, .18), rgba(255, 90, 44, .12));
  border-color: rgba(246, 200, 120, .4);
}
.prize__art--phone { width: 64px; height: 106px; transform: rotate(-8deg); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); }
.prize__txt { display: flex; flex-direction: column; gap: 6px; }
.prize__tag {
  align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--gold); color: #2A1A06;
}
.prize--main .prize__name { font-family: var(--f-head); font-size: clamp(20px, calc(var(--cw) * 0.056), 28px); line-height: 1.1; }

/* ---------- final ---------- */
.final { padding: 28px 0 56px; }
.final__card {
  max-width: 720px; margin: 0 auto; padding: 28px 16px; text-align: center; border-radius: calc(var(--r) + 6px);
  background: linear-gradient(160deg, rgba(255, 90, 44, .16), rgba(255, 90, 44, .03) 60%), var(--ink-2);
  border: 1px solid rgba(255, 90, 44, .28);
  display: flex; flex-direction: column; align-items: center;
}
.final__date { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.final__day { font-family: var(--f-head); font-weight: 900; font-size: 46px; line-height: 1; color: var(--accent); }
.final__month { text-align: left; font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 18px; line-height: 1.15; }
.final__month small { font-family: var(--f-body); text-transform: none; font-weight: 600; font-size: 13px; color: var(--muted); }
.final__title { font-family: var(--f-head); font-weight: 800; font-size: clamp(20px, calc(var(--cw) * 0.056), 30px); line-height: 1.15; text-transform: uppercase; }
.final__text { color: var(--muted); margin: 10px auto 22px; max-width: 440px; font-size: 15px; }

.foot { padding: 0 0 100px; text-align: center; color: #5E6275; font-size: 13px; }

/* ---------- sticky ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(11, 12, 20, .96) 60%, transparent);
  transform: translateY(110%); transition: transform .35s ease;
}
.sticky.is-on { transform: none; }
.sticky .btn { width: 100%; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(5, 6, 12, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__box {
  position: relative; width: 100%; max-width: 440px; padding: 28px 20px 22px; border-radius: 26px;
  background: linear-gradient(180deg, #1B1E2D, #131522); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
  animation: pop .28s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--muted);
}
.modal__close:hover { color: var(--text); background: rgba(255, 255, 255, .12); }
.modal__tag { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.modal__title { font-family: var(--f-head); font-weight: 800; font-size: 20px; line-height: 1.25; margin: 8px 36px 20px 0; }
.modal__note { color: #6D7186; font-size: 12px; text-align: center; margin-top: 12px; }

.field { display: block; margin-bottom: 14px; }
.field__label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.field__input {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; font: 600 16px var(--f-body); color: var(--text);
  background: rgba(255, 255, 255, .05); border: 1.5px solid rgba(255, 255, 255, .1); outline: none;
  transition: border-color .2s, background .2s;
}
.field__input::placeholder { color: #5E6275; }
.field__input:focus { border-color: var(--accent); background: rgba(255, 90, 44, .06); }
.field__err { display: none; color: #FF7A6B; font-size: 13px; font-weight: 600; margin-top: 6px; }
.field.is-bad .field__err { display: block; }
.field.is-bad .field__input, .field.is-bad .phone__code { border-color: #FF5C4D; }

.phone { display: flex; gap: 8px; }
.phone__code {
  flex: none; height: 54px; padding: 0 10px; border-radius: 14px; font: 700 15px var(--f-body); color: var(--text);
  background: rgba(255, 255, 255, .05); border: 1.5px solid rgba(255, 255, 255, .1); outline: none;
}
.phone__code option { background: #1B1E2D; }
.phone__code:focus { border-color: var(--accent); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- desktop ---------- */
/* ---------- katta ekran: telefon kanvasi markazda (registon-online kabi) ---------- */
@media (min-width: 600px) {
  body { background: #07080D; }
  .page {
    max-width: var(--wrap); margin: 0 auto; min-height: 100vh; position: relative;
    background: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 0 120px rgba(0, 0, 0, .6);
  }
  .bg { left: 50%; right: auto; width: var(--wrap); transform: translateX(-50%); }
  .sticky { left: 50%; right: auto; width: var(--wrap); transform: translate(-50%, 110%); }
  .sticky.is-on { transform: translate(-50%, 0); }
}

@media (max-width: 360px) {
  .hero__facts b { font-size: 15px; }
  .chip { font-size: 12px; padding: 7px 10px; }
  .essay { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
