/* Ona tili ustozi — zamonaviy, jonli: iliq oq + to'q sariq (sabziga yaqin) + ko'mir */
:root {
  --bg: #FFF6EE;
  --bg-2: #FDEBDD;
  --card: #FFFFFF;
  --ink: #1E1A17;           /* ko'mir */
  --ink-2: #2B2521;
  --text: #1E1A17;
  --muted: #6B625B;
  --line: rgba(30, 26, 23, .1);
  --brand: #EC6A2C;         /* sabziga yaqin, biroz qizg'ish to'q sariq */
  --brand-2: #F58A4B;
  --brand-3: #C4501A;
  --brand-soft: #FFD9C2;
  --sun: #FFB547;
  --live: #E53935;
  --ok: #1F9D55;
  --r: 22px;
  --wrap: 430px;
  --cw: min(100vw, 430px);   /* kanvas kengligi — shriftlar shunga bog'langan */
  /* spiker kartasi balandligi: tugma telefonning birinchi ekraniga sig'ishi uchun ekran balandligidan hisoblanadi */
  --ch: clamp(300px, calc(100svh - 292px), 450px);
  --f-head: "Montserrat", 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(--bg);
  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; }
a { color: inherit; text-decoration: none; }

.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; background: var(--bg); }
.bg__glow { position: absolute; border-radius: 50%; filter: blur(60px); }
.bg__glow--a { width: 360px; height: 360px; top: -170px; right: -140px; background: radial-gradient(circle, rgba(245, 138, 75, .45), transparent 70%); }
.bg__glow--b { width: 380px; height: 380px; bottom: -200px; left: -170px; background: radial-gradient(circle, rgba(255, 181, 71, .35), transparent 70%); }
.bg__dots {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(236, 106, 44, .28) 1.2px, transparent 1.4px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 30%, transparent 75%, #000);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 30%, transparent 75%, #000);
}

/* ---------- header ---------- */
.top { padding: 12px 0 0; }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top__date {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--card); color: var(--ink);
  box-shadow: 0 4px 14px -4px rgba(236, 106, 44, .25);
  font-weight: 800; font-size: 13px; white-space: nowrap;
}
.top__date svg { color: var(--brand); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none;
  box-shadow: 0 0 0 0 rgba(229, 57, 53, .6); animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(229, 57, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); } }

/* ---------- hero ---------- */
.hero { padding: 14px 0 32px; }
.hero__grid { display: grid; grid-template-columns: 1fr; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; justify-self: center;
  padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-3);
  font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.hero__title {
  font-family: var(--f-head); font-weight: 900;
  font-size: clamp(22px, calc(var(--cw) * .066), 28px); line-height: 1.12; letter-spacing: -.01em;
  text-transform: uppercase; margin: 10px 0 0; color: var(--ink);
}
.hero__hl {
  position: relative; display: table; margin: 1px auto; color: var(--brand); font-size: 1.3em; line-height: 1.1;
  z-index: 0;
}
.hero__hl::after { /* marker chizig'i */
  content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; bottom: .06em; height: .34em;
  background: var(--brand-soft); border-radius: 6px; transform: rotate(-1.5deg);
}

/* spiker kartasi */
.speaker { position: relative; margin: 10px auto 0; width: calc(var(--ch) * .73); max-width: 100%; }
.speaker__stage { position: relative; }
.speaker__cover { position: relative; height: var(--ch); width: 100%; }
.speaker__rings { display: none; }
/* fon yo'q: rasmning kesik chetlari (o'ng va past) sahifa foniga singib ketadi */
.speaker__img {
  position: absolute; z-index: 1; left: 0; bottom: 0; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 97%), linear-gradient(to right, #000 76%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 72%, transparent 97%), linear-gradient(to right, #000 76%, transparent 100%);
  mask-composite: intersect;
}

.chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px; font-weight: 800; font-size: 12px; white-space: nowrap;
  background: var(--card); color: var(--ink);
  box-shadow: 0 10px 22px -8px rgba(60, 30, 10, .35);
  animation: float 5s ease-in-out infinite;
}
.chip--live { left: -26px; top: 40%; }
.chip--gift { right: -26px; top: 62%; color: var(--brand-3); animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-6px); } }

.hero__cta { position: relative; z-index: 5; margin-top: -30px; 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: 900; text-transform: uppercase; letter-spacing: .02em;
  border-radius: 18px; white-space: nowrap; transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn--primary {
  width: 100%; max-width: 400px; padding: 20px 18px; font-size: clamp(16px, calc(var(--cw) * .047), 19px); color: #fff;
  background: linear-gradient(180deg, var(--brand-2) 0%, var(--brand) 55%, #DD5A1D 100%);
  box-shadow: 0 5px 0 var(--brand-3), 0 16px 30px -10px rgba(236, 106, 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.05); }
.btn--primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--brand-3), 0 8px 20px -10px rgba(236, 106, 44, .7); }
.btn--primary:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.btn--sm { padding: 16px 20px; font-size: 15px; 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: 700; }
.timer__time {
  font-family: var(--f-head); font-weight: 900; font-size: 19px; font-variant-numeric: tabular-nums;
  padding: 6px 14px; border-radius: 12px; color: #fff; background: var(--ink);
}

/* ---------- bo'lim sarlavhasi ---------- */
.learn { padding: 30px 0 20px; }
.section-head { text-align: center; margin-bottom: 20px; }
.section-head__tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-3);
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px;
}
.section-head__title { font-family: var(--f-head); font-weight: 900; font-size: clamp(28px, calc(var(--cw) * .08), 34px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }

/* esse kartasi */
.essay {
  position: relative; display: flex; align-items: center; gap: 16px;
  margin: 0 auto 14px; padding: 16px;
  border-radius: var(--r); background: var(--card);
  box-shadow: 0 16px 30px -18px rgba(196, 80, 26, .45);
}
.essay__badge {
  flex: none; width: 84px; height: 96px; border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(160deg, var(--sun), var(--brand) 55%, var(--brand-3));
  box-shadow: 0 12px 22px -10px rgba(236, 106, 44, .8);
  transform: rotate(-5deg);
}
.essay__big { font-family: var(--f-head); font-weight: 900; font-size: 29px; line-height: 1; }
.essay__small { font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; margin-top: 4px; }
.essay__kicker { color: var(--ok); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.essay__title { font-family: var(--f-head); font-weight: 900; font-size: clamp(17px, calc(var(--cw) * .047), 20px); line-height: 1.2; margin: 3px 0 6px; }
.essay__text { color: var(--muted); font-size: 14.5px; }
.essay__text b { color: var(--ink); }

/* sovg'alar — ko'mir karta */
.prizes {
  position: relative; margin: 0 auto; padding: 24px 14px 14px;
  border-radius: calc(var(--r) + 6px); overflow: hidden; color: #FFF4EA;
  background:
    radial-gradient(100% 55% at 50% 0%, rgba(236, 106, 44, .45), transparent 65%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  box-shadow: 0 24px 40px -22px rgba(30, 26, 23, .7);
}
.prizes::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255, 181, 71, .5) 1.1px, transparent 1.4px); background-size: 18px 18px;
  mask-image: linear-gradient(#000, transparent 40%); -webkit-mask-image: linear-gradient(#000, transparent 40%);
}
.prizes__head { position: relative; text-align: center; margin-bottom: 16px; }
.prizes__kicker { color: var(--sun); font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.prizes__title { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; }
.prizes__sum {
  font-family: var(--f-head); font-weight: 900; font-size: clamp(58px, calc(var(--cw) * .17), 74px); line-height: .9; letter-spacing: -.03em;
  background: linear-gradient(180deg, #FFD68A, var(--sun) 40%, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prizes__sum::after { content: "+"; font-size: .5em; vertical-align: top; margin-left: 2px; }
.prizes__unit { text-align: left; font-weight: 800; font-size: clamp(14px, calc(var(--cw) * .038), 16px); line-height: 1.3; }

.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 6px; border-radius: 18px; min-height: 118px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .25s, border-color .25s;
}
.prize:hover { transform: translateY(-3px); border-color: rgba(236, 106, 44, .6); }
.prize__art { width: 44px; height: 44px; color: var(--brand-2); }
.prize__name { font-size: 13px; line-height: 1.2; }

.prize--main {
  grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 18px; text-align: left;
  padding: 14px 18px; min-height: 0;
  background: linear-gradient(120deg, rgba(236, 106, 44, .35), rgba(255, 181, 71, .12));
  border-color: rgba(245, 138, 75, .5);
}
.prize__art--phone {
  position: relative; flex: none; width: 90px; height: auto; transform: rotate(-9deg);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .5));
}
.prize__art--phone img { width: 100%; height: auto; }
.prize__txt { display: flex; flex-direction: column; gap: 6px; }
.prize__tag {
  align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--brand); color: #fff;
}
.prize--main .prize__name { font-family: var(--f-head); font-weight: 900; font-size: clamp(20px, calc(var(--cw) * .057), 24px); line-height: 1.1; }

/* ---------- final ---------- */
.final { padding: 24px 0 48px; }
.final__card {
  position: relative; margin: 0 auto; padding: 28px 16px 24px; text-align: center; border-radius: calc(var(--r) + 6px);
  background: var(--card); box-shadow: 0 18px 36px -20px rgba(196, 80, 26, .5);
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
}
.final__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--sun), var(--brand), var(--brand-3)); }
.final__date { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.final__day { font-family: var(--f-head); font-weight: 900; font-size: 46px; line-height: 1; color: var(--brand); letter-spacing: -.03em; }
.final__month { text-align: left; font-family: var(--f-head); font-weight: 900; 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: 900; font-size: clamp(20px, calc(var(--cw) * .056), 24px); line-height: 1.15; text-transform: uppercase; }
.final__text { color: var(--muted); margin: 10px auto 22px; max-width: 440px; font-size: 14.5px; }

.foot { padding: 0 0 100px; color: rgba(236, 106, 44, .45); }
.foot__orn { width: 160px; height: 16px; margin: 0 auto; }

/* ---------- 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(255, 246, 238, .97) 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(30, 20, 12, .5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.modal__box {
  position: relative; width: 100%; max-width: 400px; padding: 28px 20px 22px; border-radius: 26px;
  background: var(--card); box-shadow: 0 40px 80px rgba(60, 30, 10, .35);
  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: var(--bg); color: var(--muted);
}
.modal__close:hover { color: var(--ink); background: var(--bg-2); }
.modal__tag { color: var(--brand); font-weight: 800; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.modal__title { font-family: var(--f-head); font-weight: 800; font-size: 17px; line-height: 1.25; margin: 8px 30px 20px; text-align: center; }
.modal__note { color: #9A8F86; 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(--ink);
  background: var(--bg); border: 1.5px solid rgba(30, 26, 23, .1); outline: none;
  transition: border-color .2s, background .2s;
}
.field__input::placeholder { color: #A89D94; }
.field__input:focus { border-color: var(--brand); background: #fff; }
.field__err { display: none; color: #D32F2F; 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: #E53935; }

.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(--ink);
  background: var(--bg); border: 1.5px solid rgba(30, 26, 23, .1); outline: none;
}
.phone__code:focus { border-color: var(--brand); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
/* birinchi ekran darrov ko'rinsin */
.js .hero .reveal { opacity: 1; transform: none; }

/* ---------- katta ekran: telefon kanvasi markazda ---------- */
@media (min-width: 600px) {
  body { background: #F7E4D4; }
  .page {
    max-width: var(--wrap); margin: 0 auto; min-height: 100vh; position: relative;
    box-shadow: 0 0 60px rgba(196, 80, 26, .15);
  }
  .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) {
  .chip { font-size: 11px; padding: 6px 10px; }
  .chip--live { left: -10px; } .chip--gift { right: -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; }
}
