/* Avan marketing site. Design tokens mirror the app. Dark, cinematic, single theme. */
:root {
  --bg: #0B0C12;
  --s1: #12141C;
  --s2: #1D2030;
  --gold: #D9B36C;
  --gold-2: #F1D9A5;
  --ivory: #F3EFE6;
  --muted: #A9ADBA;
  --live: #E0174F;
  --line: rgba(243, 239, 230, .09);
  --line-2: rgba(243, 239, 230, .16);
  --radius: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}
:root:lang(fa) {
  --font-body: "Vazirmatn", Tahoma, system-ui, sans-serif;
  --font-display: "Vazirmatn", Tahoma, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.01em; }
:lang(fa) h1, :lang(fa) h2 { font-weight: 800; letter-spacing: 0; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }
.muted { color: var(--muted); }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.ic-sm { width: .9em; height: .9em; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .01em; }
html:not([lang="fa"]) .brand-fa { display: none; }
html[lang="fa"] .brand-name > [lang="en"] { display: none; }
.brand-fa { font-family: "Vazirmatn", sans-serif; font-weight: 800; }

/* Buttons */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px;
  font: 700 .97rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn-sm { --h: 38px; padding: 0 16px; font-size: .9rem; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #17130b; box-shadow: 0 8px 30px -10px rgba(217, 179, 108, .6); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -12px rgba(217, 179, 108, .75); }
.btn-ghost { background: rgba(243, 239, 230, .04); border-color: var(--line-2); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(217, 179, 108, .08); }
.btn-disabled { background: transparent; border: 1px dashed var(--line-2); color: var(--muted); cursor: default; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
:lang(fa) .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .nav-open .site-header { background: rgba(11, 12, 18, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.site-nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .93rem; transition: color .2s, background-color .2s; }
.site-nav a:hover { color: var(--ivory); background: rgba(243, 239, 230, .05); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--ivory); align-items: center; justify-content: center; cursor: pointer; }

.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--ivory); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 160px; list-style: none; padding: 6px; background: var(--s2); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 50px -20px #000; }
.lang a { display: block; padding: 9px 12px; border-radius: 9px; text-decoration: none; font-weight: 600; }
.lang a:hover { background: rgba(243, 239, 230, .06); }
.lang a[aria-current="true"] { color: var(--gold-2); }
.lang a[lang="fa"] { font-family: "Vazirmatn", sans-serif; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0; flex-direction: column; gap: 2px;
    padding: 12px var(--gutter) 20px; background: rgba(11, 12, 18, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 520px) {
  .header-cta { display: none; }
  .lang [data-lang-current] { display: none; }
  .header-row { gap: 12px; }
}

/* Hero */
.hero { position: relative; min-height: min(100svh, 980px); min-height: max(640px, min(100svh, 980px)); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; background: radial-gradient(ellipse at 70% 25%, #1a1c2b, var(--bg) 70%); }
.hero-grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.hero-inner { padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero-title { font-family: var(--font-display); font-size: clamp(2.6rem, 8.2vw, 6.4rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; margin-bottom: 22px; max-width: 12ch; }
.hero-title em { font-style: italic; font-weight: 500; background: linear-gradient(100deg, var(--gold-2), var(--gold) 60%, #b98f45); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
:lang(fa) .hero-title { font-size: clamp(2.3rem, 7vw, 5.2rem); line-height: 1.25; letter-spacing: 0; max-width: 14ch; font-weight: 800; }
:lang(fa) .hero-title em { font-style: normal; font-weight: 800; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d6d3cc; max-width: 600px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 16px; }
.hero-note { font-size: .88rem; color: var(--muted); max-width: 560px; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 680px; }
.hero-stats li { display: flex; align-items: baseline; gap: 10px; color: var(--muted); font-size: .92rem; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-2); font-weight: 600; line-height: 1; }
@media (max-width: 520px) { .hero-ctas .btn { width: 100%; } .hero-stats { gap: 10px 24px; } }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section + .section::before { content: ""; position: absolute; top: 0; inset-inline: var(--gutter); max-width: var(--wrap); margin-inline: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Features */
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.feature { position: relative; padding: 26px 24px 22px; background: linear-gradient(180deg, var(--s1), rgba(18, 20, 28, .6)); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s var(--ease); }
.feature:hover { border-color: rgba(217, 179, 108, .45); transform: translateY(-2px); }
.feature h3 { margin: 16px 0 8px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.f-ic { width: 44px; height: 44px; padding: 10px; border-radius: 13px; color: var(--gold-2); background: rgba(217, 179, 108, .1); border: 1px solid rgba(217, 179, 108, .22); }

/* How */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--s1); border: 1px solid var(--line); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; inset-inline-end: -20px; width: 20px; height: 1px; background: var(--gold); opacity: .5; }
.step-n { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps li::after { display: none; } }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: 22px; background: var(--s1); border: 1px solid var(--line); }
.plan-best { background: linear-gradient(180deg, rgba(217, 179, 108, .12), var(--s1) 40%); border-color: rgba(217, 179, 108, .55); box-shadow: 0 30px 80px -40px rgba(217, 179, 108, .5); }
.badge { position: absolute; top: -12px; inset-inline-end: 22px; padding: 5px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #17130b; font-size: .76rem; font-weight: 800; letter-spacing: .04em; }
.plan h3 { font-size: 1.05rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
:lang(fa) .plan h3 { text-transform: none; letter-spacing: 0; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 10px; min-height: 3.4rem; }
.price .amount { font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; line-height: 1; }
.price .period { color: var(--muted); font-size: .95rem; }
.price-tg { margin: 4px 0 10px; min-height: 3.4rem; display: flex; align-items: center; font-size: 1.22rem; font-weight: 800; color: var(--gold-2); line-height: 1.5; }
.plan-desc { color: var(--muted); font-size: .95rem; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 6px 0 26px; flex: 1; }
.ticks li { position: relative; padding-inline-start: 28px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 17px; height: 17px; border-radius: 50%; background: rgba(217, 179, 108, .16) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1D9A5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m6 12.5 4 4L18 8'/></svg>") center / 11px no-repeat; }
.soon { margin: 10px 0 0; text-align: center; font-size: .82rem; color: var(--muted); }
html[data-sales="prices"] [data-sales-only="telegram"],
html[data-sales="telegram"] [data-sales-only="prices"] { display: none !important; }
.iran-buy { margin-top: 26px; padding: 26px; border-radius: 22px; border: 1px solid rgba(217, 179, 108, .35); background: radial-gradient(ellipse at 0% 0%, rgba(217, 179, 108, .12), transparent 60%), var(--s1); display: grid; grid-template-columns: 1fr auto; gap: 16px 30px; align-items: center; }
.iran-buy h3 { grid-column: 1 / -1; margin: 0; font-size: 1.25rem; }
.iran-buy ol { list-style: none; counter-reset: i; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.iran-buy li { counter-increment: i; display: flex; gap: 12px; align-items: flex-start; color: #dcd8cf; }
.iran-buy li::before { content: counter(i, persian); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(217, 179, 108, .18); color: var(--gold-2); font-weight: 800; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } .iran-buy { grid-template-columns: 1fr; } .iran-buy ol { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--s1); border: 1px solid var(--line); transition: border-color .25s; }
.faq details[open] { border-color: rgba(217, 179, 108, .35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.04rem; position: relative; }
html[dir="rtl"] .faq summary { padding: 20px 22px 20px 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; inset-inline-end: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--gold), var(--gold)) center / 14px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 2px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Download */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl-card { display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); }
.dl-card h3 { margin: 14px 0 4px; }
.dl-card p { color: var(--muted); flex: 1; margin-bottom: 18px; }
.dl-soon { opacity: .75; }
.dl-help { margin-top: 18px; padding: 24px 26px; border-radius: 20px; border: 1px dashed var(--line-2); }
.dl-help ol { padding-inline-start: 1.3em; display: grid; gap: 6px; margin-bottom: 12px; color: #dcd8cf; }
.dl-help p { margin: 0; font-size: .92rem; }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } .dl-help { max-width: 480px; margin-inline: auto; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: linear-gradient(180deg, transparent, rgba(18, 20, 28, .6)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: #dcd8cf; display: inline-flex; align-items: center; gap: 8px; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-h { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
:lang(fa) .footer-h { letter-spacing: 0; font-size: .9rem; }
.footer-brand p { margin-top: 12px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.disclaimer { color: var(--gold-2); max-width: 640px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ============ Motion tour ============ */
.tour { overflow: hidden; }
.tour-stage { position: relative; max-width: 1060px; margin-inline: auto; padding-bottom: 3%; }
.tour-stage::before { content: ""; position: absolute; inset: 10% 5% -5%; background: radial-gradient(ellipse at center, rgba(217, 179, 108, .16), transparent 65%); filter: blur(30px); z-index: -1; }
.device { position: relative; }
.tv { width: 80%; }
.tv-bezel { padding: 10px; border-radius: 16px; background: linear-gradient(180deg, #16171d, #050608); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 100px -40px #000, 0 20px 40px -20px rgba(0, 0, 0, .8); }
.tv .screen { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; }
.tv-stand { width: 30%; height: 18px; margin: 0 auto; background: linear-gradient(180deg, #111218, #07080b); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.phone { position: absolute; width: 22%; inset-inline-end: 0; bottom: 0; z-index: 2; }
.phone-body { position: relative; aspect-ratio: 9 / 19.5; border-radius: 34px; background: linear-gradient(160deg, #1c1d24, #050608); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -30px #000, -20px 30px 60px -30px rgba(0, 0, 0, .9); }
.phone .screen { position: absolute; inset: 8px; border-radius: 27px; }
.phone-notch { position: absolute; top: 15px; left: 50%; width: 26%; height: 14px; margin-left: -13%; border-radius: 99px; background: #000; z-index: 5; }
.screen { overflow: hidden; background: var(--bg); container-type: inline-size; container-name: screen; isolation: isolate; }
@media (max-width: 720px) {
  .tv { display: none; }
  .phone { position: relative; width: min(270px, 74vw); margin-inline: auto; }
  .tour-stage { padding-bottom: 0; }
}

.tour-ui { display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: center; max-width: 880px; margin: 36px auto 0; }
.tour-toggle { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--s1); color: var(--gold-2); display: grid; place-items: center; cursor: pointer; transition: border-color .2s; }
.tour-toggle:hover { border-color: var(--gold); }
.tour-toggle .ic-play, .tour-toggle.is-paused .ic-pause { display: none; }
.tour-toggle.is-paused .ic-play { display: block; }
.tour-caption { min-height: 6.2em; }
.tour-caption h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 4px; }
.tour-caption p { margin: 0; color: var(--muted); }
.tour-step { font-size: .78rem; letter-spacing: .16em; color: var(--gold) !important; margin-bottom: 6px !important; font-variant-numeric: tabular-nums; }
.tour-dots { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.tour-dot { display: block; width: 100%; height: 22px; padding: 9px 0; background: none; border: 0; cursor: pointer; }
.tour-dot span { display: block; height: 4px; border-radius: 4px; background: rgba(243, 239, 230, .14); overflow: hidden; position: relative; }
.tour-dot span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: left center; transform: scaleX(var(--fill, 0)); }
html[dir="rtl"] .tour-dot span::after { transform-origin: right center; }
.tour-dot:hover span { background: rgba(243, 239, 230, .26); }

/* Scenes: base font is relative to the screen width, so one markup fits phone and TV. */
.scene { position: absolute; inset: 0; font-size: 4.5cqi; line-height: 1.35; padding: 3em 1.2em 1.2em; opacity: 0; transform: scale(1.035); transition: opacity .7s ease, transform 1s var(--ease); color: var(--ivory); pointer-events: none; overflow: hidden; }
.scene.is-active { opacity: 1; transform: none; }
.tour-stage.is-paused .scene, .tour-stage.is-paused .scene * { animation-play-state: paused !important; }
.scene svg { width: 1.2em; height: 1.2em; flex: none; }
.m-h { font-weight: 800; font-size: 1.25em; margin: 0 0 .5em; display: flex; align-items: center; gap: .4em; }
.m-muted { color: var(--muted); margin: 0; font-size: .9em; }
.m-pad { padding: 0 .2em; }
.m-pad-x { margin-inline: 0; }

.p1 { background: linear-gradient(140deg, #3a2a5c, #d9b36c); }
.p2 { background: linear-gradient(140deg, #12343b, #4fd1c5); }
.p3 { background: linear-gradient(140deg, #4a1630, #e0174f); }
.p4 { background: linear-gradient(140deg, #1b2a4a, #7fb3ff); }
.p5 { background: linear-gradient(140deg, #2b2140, #f1d9a5); }
.p6 { background: linear-gradient(140deg, #203024, #9bd37a); }
.l1 { background: linear-gradient(140deg, #7fb3ff, #3a4bd8); }
.l2 { background: linear-gradient(140deg, #9bd37a, #1f7a4c); }
.l3 { background: linear-gradient(140deg, #ff7aa0, #e0174f); }
.l4 { background: linear-gradient(140deg, #f1d9a5, #b98f45); }

@keyframes m-in { from { opacity: 0; transform: translateY(.8em); } to { opacity: 1; transform: none; } }
@keyframes m-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes m-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes m-press { 0%, 100% { transform: none; } 50% { transform: scale(.94); } }
@keyframes m-ripple { from { transform: scale(0); opacity: .55; } to { transform: scale(5); opacity: 0; } }
@keyframes m-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes m-pan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* 1 Sign in */
.s-signin .m-center { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .5em; }
.s-signin .m-logo { width: 3.6em; height: 3.6em; margin-bottom: .6em; filter: drop-shadow(0 0 1.2em rgba(217, 179, 108, .45)); }
.s-signin .m-h { font-size: 1.45em; margin: 0; justify-content: center; }
.m-google { position: relative; overflow: hidden; margin-top: 1.6em; display: inline-flex; align-items: center; gap: .6em; padding: .8em 1.3em; border-radius: 99px; background: #fff; color: #1f1f1f; font-weight: 700; font-size: .95em; }
.m-ripple { position: absolute; left: 50%; top: 50%; width: 2em; height: 2em; margin: -1em; border-radius: 50%; background: rgba(66, 133, 244, .45); transform: scale(0); }
.m-avatar { position: relative; margin-top: 1.2em; width: 2.6em; height: 2.6em; border-radius: 50%; background: linear-gradient(140deg, var(--gold-2), #b98f45); opacity: 0; }
.m-avatar b { position: absolute; right: -.3em; bottom: -.2em; width: 1.2em; height: 1.2em; border-radius: 50%; background: #2fbf71; color: #fff; font-size: .7em; display: grid; place-items: center; }
.s-signin.play .m-logo { animation: m-pop .8s var(--ease) both; }
.s-signin.play .m-h, .s-signin.play .m-muted { animation: m-in .7s .25s var(--ease) both; }
.s-signin.play .m-google { animation: m-in .7s .5s var(--ease) both, m-press .35s 1.6s ease; }
.s-signin.play .m-ripple { animation: m-ripple .9s 1.65s ease-out; }
.s-signin.play .m-avatar { animation: m-pop .6s 2.4s var(--ease) both; }

/* 2 Source */
.m-tabs { display: flex; gap: .4em; margin-bottom: 1em; }
.m-tabs span { padding: .4em .8em; border-radius: 99px; border: 1px solid var(--line-2); font-size: .82em; color: var(--muted); }
.m-tabs .on { background: rgba(217, 179, 108, .16); border-color: var(--gold); color: var(--gold-2); }
.m-field { display: block; margin-bottom: .8em; }
.m-field span { display: block; font-size: .72em; color: var(--muted); margin-bottom: .3em; }
.m-field b { display: block; direction: ltr; text-align: left; white-space: nowrap; overflow: hidden; font-weight: 600; font-size: .85em; padding: .65em .8em; border-radius: .6em; background: var(--s2); border: 1px solid var(--line); clip-path: inset(0 100% 0 0); }
.m-btn { display: block; text-align: center; margin-top: 1.2em; padding: .75em; border-radius: 99px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #17130b; font-weight: 800; }
.m-toast { position: absolute; inset-inline: 1.2em; bottom: 1.4em; display: flex; align-items: center; gap: .5em; padding: .7em .9em; border-radius: .8em; background: var(--s2); border: 1px solid rgba(47, 191, 113, .5); font-size: .8em; font-weight: 700; opacity: 0; }
.m-toast svg { color: #2fbf71; }
.s-source.play .m-type.t1 { animation: m-type 1s .3s steps(18) both; }
.s-source.play .m-type.t2 { animation: m-type .5s 1.4s steps(6) both; }
.s-source.play .m-type.t3 { animation: m-type .5s 2s steps(8) both; }
.s-source.play .m-btn { animation: m-press .35s 2.6s ease; }
.s-source.play .m-toast { animation: m-in .5s 2.9s var(--ease) both; }

/* 3 Home */
.m-top { display: flex; align-items: center; gap: .9em; font-size: .78em; color: var(--muted); margin-bottom: .9em; white-space: nowrap; }
.m-top .on { color: var(--ivory); font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: .2em; }
.m-logo-sm { width: 1.6em !important; height: 1.6em !important; }
.m-banner { position: relative; aspect-ratio: 16 / 9.5; border-radius: .8em; overflow: hidden; margin-bottom: 1em; }
.m-banner-track { position: absolute; inset: 0; display: flex; width: 300%; direction: ltr; }
.m-banner-track i { flex: 1; }
.m-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 12, 18, .85), transparent 60%); }
.m-banner-copy { position: absolute; z-index: 1; inset-inline-start: .9em; bottom: .9em; width: 55%; }
.m-banner-copy small { display: block; font-size: .7em; color: var(--gold-2); font-weight: 700; margin-bottom: .4em; }
.m-banner-copy b { display: block; height: .7em; border-radius: .3em; background: rgba(243, 239, 230, .85); margin-bottom: .35em; }
.m-banner-copy b.short { width: 60%; background: rgba(243, 239, 230, .4); height: .5em; }
.m-pips { position: absolute; z-index: 1; inset-inline-end: .9em; bottom: 1em; display: flex; gap: .3em; }
.m-pips i { width: .4em; height: .4em; border-radius: 50%; background: rgba(243, 239, 230, .4); }
.m-pips i:first-child { background: var(--gold); width: 1em; border-radius: .3em; }
.m-row-t { font-size: .78em; font-weight: 700; margin: 0 0 .5em; }
.m-row { display: flex; gap: .55em; margin-bottom: 1em; }
.m-row i { flex: none; border-radius: .5em; position: relative; overflow: hidden; }
.m-row.cw i { width: 7.6em; aspect-ratio: 16 / 9; }
.m-row.cw u { position: absolute; left: 0; bottom: 0; height: .22em; width: calc(var(--p) * 100%); background: var(--gold); }
.m-row.posters i { width: 4.6em; aspect-ratio: 2 / 3; }
@keyframes m-slide { 0%, 28% { transform: translateX(0); } 36%, 62% { transform: translateX(-33.333%); } 70%, 100% { transform: translateX(-66.666%); } }
.s-home.play .m-banner-track { animation: m-slide 4s var(--ease) both; }
.s-home.play .m-row i { animation: m-in .6s var(--ease) both; }
.s-home.play .m-row i:nth-child(2) { animation-delay: .1s; }
.s-home.play .m-row i:nth-child(3) { animation-delay: .2s; }
.s-home.play .m-row i:nth-child(4) { animation-delay: .3s; }
.s-home.play .m-row i:nth-child(5) { animation-delay: .4s; }

/* 4 Live */
.s-live { display: flex; flex-direction: column; gap: 1em; }
.m-live-player { position: relative; aspect-ratio: 16 / 9; border-radius: .7em; overflow: hidden; flex: none; }
.m-video { position: absolute; inset: 0; background-size: 300% 300%; }
.v-news { background-image: linear-gradient(120deg, #13203a, #2b4a8a 30%, #0f1626 55%, #3a2a5c 80%, #13203a); animation: m-pan 8s linear infinite alternate; }
.v-news::after { content: ""; position: absolute; inset-inline: 8%; bottom: 12%; height: 14%; border-radius: .3em; background: linear-gradient(90deg, rgba(224, 23, 79, .9) 0 18%, rgba(243, 239, 230, .9) 18%); opacity: .85; }
.m-badge { position: absolute; top: .6em; inset-inline-start: .6em; display: inline-flex; align-items: center; gap: .35em; padding: .25em .6em; border-radius: .35em; background: var(--live); color: #fff; font-size: .62em; font-weight: 800; letter-spacing: .06em; }
.m-badge i { width: .5em; height: .5em; border-radius: 50%; background: #fff; animation: m-pulse 1.2s infinite; }
.m-live-list { position: relative; }
.m-chips-t { font-size: .7em; color: var(--gold-2); margin: 0; height: 2.4em; line-height: 2.4em; white-space: nowrap; overflow: hidden; }
.m-ch { position: relative; z-index: 1; display: flex; align-items: center; gap: .7em; height: 3.4em; padding-inline: .5em; }
.m-ch .lg { width: 2.1em; height: 2.1em; border-radius: .55em; flex: none; }
.m-ch div { flex: 1; min-width: 0; }
.m-ch b { display: block; font-size: .82em; }
.m-ch small { display: block; font-size: .66em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-ch u { display: block; height: .18em; margin-top: .3em; border-radius: .2em; background: linear-gradient(90deg, var(--gold) calc(var(--p) * 100%), rgba(243, 239, 230, .12) 0); }
.m-focus { position: absolute; inset-inline: 0; top: calc(.7em * 2.4); height: 3.4em; border-radius: .6em; border: 1px solid rgba(217, 179, 108, .7); background: rgba(217, 179, 108, .1); box-shadow: 0 0 1.4em rgba(217, 179, 108, .25); }
@keyframes m-focus { 0%, 26% { transform: translateY(0); } 34%, 60% { transform: translateY(100%); } 68%, 100% { transform: translateY(200%); } }
.s-live.play .m-focus { animation: m-focus 4s var(--ease) both; }
.s-live.play .m-ch { animation: m-in .5s var(--ease) both; }
.s-live.play .m-ch:nth-of-type(3) { animation-delay: .08s; }
.s-live.play .m-ch:nth-of-type(4) { animation-delay: .16s; }
.s-live.play .m-ch:nth-of-type(5) { animation-delay: .24s; }

/* 5 VOD */
.m-chips { display: flex; gap: .4em; margin-bottom: .9em; flex-wrap: wrap; }
.m-chips span { padding: .35em .75em; border-radius: 99px; font-size: .72em; border: 1px solid var(--line-2); color: var(--muted); }
.m-chips .c1 { background: rgba(217, 179, 108, .16); border-color: var(--gold); color: var(--gold-2); }
@keyframes m-chip-on { to { background: rgba(217, 179, 108, .16); border-color: var(--gold); color: var(--gold-2); } }
.s-vod.play .m-chips .c2 { animation: m-chip-on .3s 1.6s both; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.m-grid i { aspect-ratio: 2 / 3; border-radius: .45em; position: relative; overflow: hidden; }
.m-grid i::after { content: ""; position: absolute; inset-inline: .35em; bottom: .4em; height: .35em; border-radius: .2em; background: rgba(243, 239, 230, .7); width: 55%; }
@keyframes m-dim { to { opacity: .22; filter: grayscale(1); } }
.s-vod.play .m-grid i { animation: m-pop .55s var(--ease) both; }
.s-vod.play .m-grid i:nth-child(2) { animation-delay: .06s; } .s-vod.play .m-grid i:nth-child(3) { animation-delay: .12s; }
.s-vod.play .m-grid i:nth-child(4) { animation-delay: .18s; } .s-vod.play .m-grid i:nth-child(5) { animation-delay: .24s; }
.s-vod.play .m-grid i:nth-child(6) { animation-delay: .3s; } .s-vod.play .m-grid i:nth-child(7) { animation-delay: .36s; }
.s-vod.play .m-grid i:nth-child(8) { animation-delay: .42s; } .s-vod.play .m-grid i:nth-child(9) { animation-delay: .48s; }
.s-vod.play .m-grid i:nth-child(n+10) { animation-delay: .54s; }
.s-vod.play .m-grid i:nth-child(3n+2) { animation: m-pop .55s .2s var(--ease) both, m-dim .5s 1.8s ease forwards; }

/* 6 Player */
.s-player { padding: 0; }
.s-player .m-video { inset: 0 0 auto; height: 44%; top: 2.2em; }
.v-film { background: radial-gradient(ellipse at 30% 40%, #4a3a6a, #0e0f18 70%); overflow: hidden; }
.v-film i { position: absolute; border-radius: 50%; filter: blur(1.2em); opacity: .7; }
.v-film .o1 { width: 60%; height: 80%; left: -10%; top: 10%; background: #d9b36c; opacity: .35; animation: m-drift 6s ease-in-out infinite alternate; }
.v-film .o2 { width: 40%; height: 60%; right: 5%; top: -10%; background: #5a6cff; opacity: .35; animation: m-drift 7s ease-in-out infinite alternate-reverse; }
.v-film .o3 { width: 30%; height: 40%; left: 45%; bottom: -10%; background: #e0174f; opacity: .25; animation: m-drift 5s ease-in-out infinite alternate; }
@keyframes m-drift { to { transform: translate(15%, 10%) scale(1.15); } }
.m-sub-line { position: absolute; z-index: 2; left: 0; right: 0; top: calc(2.2em + 44% - 4.6em); text-align: center; margin: 0; }
.m-sub-line { font-size: .82em; font-weight: 700; color: #fff; text-shadow: 0 1px 3px #000, 0 0 6px #000; transition: color .4s; }
@keyframes m-sub-style { to { color: var(--gold-2); font-size: .9em; } }
.s-player.play .m-sub-line { animation: m-in .4s .2s both, m-sub-style .4s 3s forwards; }
.m-controls { position: absolute; z-index: 2; left: .8em; right: .8em; top: calc(2.2em + 44% - 2.2em); display: flex; align-items: center; gap: .6em; direction: ltr; }
.m-controls svg { width: 1em; height: 1em; color: #fff; }
.m-seek { position: relative; flex: 1; height: .25em; border-radius: .2em; background: rgba(255, 255, 255, .25); }
.m-seek u { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: .2em; background: var(--gold); }
.m-thumb { position: absolute; left: 30%; top: 50%; width: .8em; height: .8em; margin: -.4em; border-radius: 50%; background: var(--gold-2); }
.m-preview { position: absolute; left: 30%; bottom: 1em; width: 4.8em; aspect-ratio: 16 / 9; margin-left: -2.4em; border-radius: .4em; border: 2px solid #fff; background: linear-gradient(140deg, #3a2a5c, #d9b36c); opacity: 0; }
@keyframes m-scrub { 0% { left: 30%; } 100% { left: 58%; } }
@keyframes m-scrub-w { 0% { width: 30%; } 100% { width: 58%; } }
@keyframes m-peek { 0% { opacity: 0; transform: translateY(.4em); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.s-player.play .m-thumb, .s-player.play .m-preview { animation: m-scrub 1.2s .4s var(--ease) both; }
.s-player.play .m-seek u { animation: m-scrub-w 1.2s .4s var(--ease) both; }
.s-player.play .m-preview { animation: m-scrub 1.2s .4s var(--ease) both, m-peek 1.6s .3s both; }
.m-subpanel { position: absolute; left: 0; right: 0; bottom: 0; top: calc(2.2em + 44%); padding: 1em 1.1em; background: var(--s1); border-top: 1px solid var(--line); }
.m-subpanel .m-h { font-size: 1em; }
.m-search { display: flex; align-items: center; gap: .5em; padding: .6em .8em; border-radius: .6em; background: var(--s2); color: var(--muted); font-size: .78em; margin-bottom: .7em; }
.m-search svg { width: 1em; height: 1em; }
.m-res { display: flex; justify-content: space-between; align-items: center; gap: .5em; padding: .6em .8em; border-radius: .6em; border: 1px solid var(--line); margin-bottom: .45em; font-size: .78em; }
.m-res small { color: var(--muted); }
@keyframes m-select { to { border-color: var(--gold); background: rgba(217, 179, 108, .12); } }
@keyframes m-panel { from { transform: translateY(100%); } to { transform: none; } }
@keyframes m-panel-x { from { transform: translateX(100%); } to { transform: none; } }
@keyframes m-panel-x-rtl { from { transform: translateX(-100%); } to { transform: none; } }
.s-player.play .m-subpanel { animation: m-panel .6s 1.2s var(--ease) both; }
.s-player.play .m-res { animation: m-in .4s var(--ease) both; }
.s-player.play .m-res.r1 { animation: m-in .4s 1.8s var(--ease) both, m-select .3s 2.7s forwards; }
.s-player.play .m-res.r2 { animation-delay: 1.9s; }
.s-player.play .m-res.r3 { animation-delay: 2s; }

/* 7 Match */
.m-score { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6em; padding: 1.1em .8em; margin-bottom: 1.1em; border-radius: .9em; background: linear-gradient(160deg, var(--s2), var(--s1)); border: 1px solid var(--line-2); }
.m-team { display: flex; flex-direction: column; align-items: center; gap: .4em; font-size: .78em; }
.crest { width: 2.6em; height: 2.6em; border-radius: 50% 50% 45% 45%; }
.c-a { background: linear-gradient(140deg, #f1d9a5, #b98f45); }
.c-b { background: linear-gradient(140deg, #7fb3ff, #2b4a8a); }
.m-result { display: flex; flex-direction: column; align-items: center; gap: .3em; }
.m-result .m-badge { position: static; }
.m-result > b { font-family: var(--font-display); font-size: 1.9em; line-height: 1; display: flex; gap: .2em; direction: ltr; font-variant-numeric: tabular-nums; }
.sa { display: inline-block; height: 1em; overflow: hidden; }
.sa i { display: block; font-style: normal; height: 1em; }
.m-min { color: var(--muted); font-size: .7em; }
@keyframes m-goal { to { transform: translateY(-1em); } }
@keyframes m-glow { 0% { box-shadow: 0 0 0 rgba(217, 179, 108, 0); } 40% { box-shadow: 0 0 2em rgba(217, 179, 108, .55); border-color: var(--gold); } 100% { box-shadow: 0 0 0 rgba(217, 179, 108, 0); } }
.s-match.play .sa i { animation: m-goal .5s 1.4s var(--ease) both; }
.s-match.play .m-score { animation: m-glow 1.4s 1.4s ease; }
.s-match .m-ch { height: 3em; }
.s-match.play .m-ch { animation: m-in .5s .3s var(--ease) both; }
.m-alert { border-color: rgba(217, 179, 108, .6); }
.m-alert svg { color: var(--gold-2); }
.s-match.play .m-alert { animation: m-in .5s 2.5s var(--ease) both; }

/* TV (landscape) layouts */
@container screen (min-width: 420px) {
  .scene { font-size: 2.05cqi; padding: 1.6em 2em; }
  .s-source .m-pad { max-width: 24em; margin-inline: auto; }
  .m-toast { inset-inline: auto; inset-inline-start: 2em; bottom: 1.6em; width: auto; }
  .m-banner { aspect-ratio: 16 / 5; }
  .m-banner-copy { width: 35%; }
  .m-row.cw i { width: 9em; }
  .m-row.posters i { width: 5.6em; }
  .s-live { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.6em; align-items: start; }
  .m-live-list { order: -1; }
  .m-grid { grid-template-columns: repeat(6, 1fr); }
  .s-player .m-video { top: 0; height: 100%; }
  .m-sub-line { top: auto; bottom: 4.4em; inset-inline-end: 38%; }
  .m-controls { top: auto; bottom: 1.6em; left: 1.6em; right: calc(38% + 1.6em); }
  .m-subpanel { top: 0; left: auto; right: 0; width: 36%; border-top: 0; border-left: 1px solid var(--line); padding: 1.4em; background: rgba(18, 20, 28, .94); }
  .s-player.play .m-subpanel { animation-name: m-panel-x; }
  .s-match { display: grid; grid-template-columns: 1.2fr 1fr; grid-auto-rows: min-content; column-gap: 2em; align-content: start; }
  .s-match .m-h { grid-column: 1 / -1; }
  .s-match .m-score { grid-row: 2 / 6; align-self: start; padding: 2em 1em; }
  .s-match .m-alert { inset-inline-start: auto; inset-inline-end: 2em; }
  .s-match .m-row-t { margin-top: .4em; }
  [dir="rtl"] .m-subpanel { right: auto; left: 0; border-left: 0; border-right: 1px solid var(--line); }
  [dir="rtl"] .s-player.play .m-subpanel { animation-name: m-panel-x-rtl; }
  [dir="rtl"] .m-controls { left: calc(38% + 1.6em); right: 1.6em; }
}

/* Legal pages */
.legal-hero { padding: calc(var(--header-h) + 56px) 0 24px; }
.legal-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal { padding-bottom: 96px; }
.legal article h2 { font-family: var(--font-body); font-size: 1.3rem; font-weight: 800; margin: 2.2em 0 .6em; color: var(--gold-2); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal article h3 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.legal article p, .legal article li { color: #d8d5ce; }
.legal article ul, .legal article ol { padding-inline-start: 1.3em; display: grid; gap: .45em; margin-bottom: 1em; }
.legal .toc { padding: 20px 24px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); margin: 20px 0 10px; }
.legal .toc ol { columns: 2; column-gap: 32px; }
.legal .toc a { color: var(--muted); text-decoration: none; }
.legal .toc a:hover { color: var(--gold-2); }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .94rem; }
.legal th, .legal td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--gold-2); font-weight: 700; }
.legal .table-scroll { overflow-x: auto; }
.todo { background: rgba(224, 23, 79, .14); color: #ffb3c6; padding: 0 .3em; border-radius: 4px; font-weight: 700; }
.note { padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(217, 179, 108, .35); background: rgba(217, 179, 108, .07); }
@media (max-width: 640px) { .legal .toc ol { columns: 1; } }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; position: relative; overflow: hidden; }
.nf-code { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 13rem); line-height: 1; margin: 0; background: linear-gradient(180deg, var(--gold-2), rgba(217, 179, 108, .1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf p { color: var(--muted); max-width: 460px; margin-inline: auto; }
.nf .static { position: absolute; inset: -50%; z-index: -1; opacity: .08; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1s steps(5) infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .hero-grain, .nf .static { animation: none; }
}

/* Platforms */
.plat-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.plat { border-radius: 18px; background: var(--s1); border: 1px solid var(--line); }
.plat-live { grid-column: span 3; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; border-color: rgba(217, 179, 108, .35); background: linear-gradient(135deg, rgba(217, 179, 108, .09), var(--s1) 55%); }
.plat-live h3 { margin: 0 0 4px; }
.plat-live p { margin: 0; color: var(--muted); font-size: .92rem; }
.plat-soon { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
.plat-soon .f-ic { color: var(--muted); background: rgba(243, 239, 230, .05); border-color: var(--line-2); }
.plat-soon h3 { margin: 0; font-size: 1rem; }
.plat-tag { font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; border: 1px dashed var(--line-2); color: var(--muted); }
.dl-meta { margin: 10px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.plat-meta { margin-top: 18px; text-align: start; }
@media (max-width: 1000px) { .plat-grid { grid-template-columns: repeat(3, 1fr); } .plat-live { grid-column: 1 / -1; } }
@media (max-width: 560px) { .plat-grid { grid-template-columns: repeat(2, 1fr); } .plat-live { grid-template-columns: auto 1fr; } .plat-live .btn { grid-column: 1 / -1; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; padding-bottom: 96px; }
.contact-form { padding: 28px; border-radius: 22px; background: var(--s1); border: 1px solid var(--line); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field label small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ivory); background: var(--s2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 40px; }
html[dir="rtl"] .field select { background-position: 15px 55%, 20px 55%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 179, 108, .2); }
.field [aria-invalid="true"] { border-color: var(--live); }
.field-err { color: #ff8fab; font-size: .85rem; min-height: 0; margin: 0; }
.field-err:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { background: rgba(47, 191, 113, .12); border: 1px solid rgba(47, 191, 113, .45); color: #9fe8bf; }
.form-status.err { background: rgba(224, 23, 79, .12); border: 1px solid rgba(224, 23, 79, .45); color: #ffb3c6; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }
.contact-aside { display: grid; gap: 14px; }
.contact-card { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--s1); }
.contact-card h2 { font-family: var(--font-body); font-size: 1rem; margin: 0 0 12px; }
.contact-card ul { list-style: none; display: grid; gap: 10px; }
.contact-card a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); text-decoration: none; font-weight: 600; }
.contact-card p { color: var(--muted); font-size: .92rem; margin: 0 0 8px; }
.contact-card p a { display: inline; color: var(--gold-2); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-form { padding: 20px; } }
