/* HOT PLAYER 4K website. Brand colors match the app (lib/theme.dart). */
:root {
  --bg: #06070d;
  --bg-2: #0b0f1e;
  --surface: rgba(21, 26, 46, .72);
  --surface-solid: #151a2e;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f4f5fa;
  --muted: #a3a9c4;
  --dim: #6f7594;
  --yellow: #ffc400;
  --orange: #ff6a1f;
  --red: #e01e3c;
  --violet: #7c4dff;
  --cyan: #22d3ee;
  --green: #34d399;
  --brand: linear-gradient(135deg, #ffc400 0%, #ff6a1f 45%, #e01e3c 100%);
  --radius: 22px;
  --max: 1200px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Background: one soft static light at the top, no motion. */
body { background:
  radial-gradient(1100px 520px at 50% -120px, rgba(255, 106, 31, .16), transparent 70%),
  radial-gradient(900px 600px at 100% 0%, rgba(124, 77, 255, .07), transparent 70%), var(--bg); background-attachment: fixed; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(6, 7, 13, .62); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 14px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: .4px; font-size: 18px; }
.logo img { width: 32px; height: 32px; }
.k4 { background: var(--brand); color: #fff; font-size: 11px; font-weight: 900; padding: 2px 6px; border-radius: 6px; letter-spacing: .5px; }
.links { display: flex; gap: 4px; margin-inline-start: auto; }
.links a { text-decoration: none; color: var(--muted); font-weight: 650; font-size: 15px; padding: 9px 14px; border-radius: 12px; transition: color .2s, background .2s; }
.links a:hover, .links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.lang a { text-decoration: none; font-size: 13px; font-weight: 800; padding: 7px 11px; color: var(--muted); }
.lang a[aria-current="true"] { background: rgba(255,255,255,.1); color: var(--text); }
.menu { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 12px; width: 42px; height: 40px; font-size: 18px; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 16px;
  font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: box-shadow .2s ease, background .2s, border-color .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 40px rgba(255, 106, 31, .35), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary:hover { box-shadow: 0 14px 44px rgba(255, 106, 31, .5); }
.btn-ghost { background: rgba(255,255,255,.05); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-wa { background: #25d366; color: #05210f; box-shadow: 0 12px 36px rgba(37, 211, 102, .3); }
.btn-wa:hover { filter: brightness(1.05); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Hero */
.hero { position: relative; padding: 70px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .25); color: #b9f5dd; font-weight: 700; font-size: 14px; }
.eyebrow b { background: var(--green); color: #052e1f; border-radius: 999px; padding: 2px 9px; font-size: 12px; }
h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.02; letter-spacing: -2px; margin: 22px 0 20px; font-weight: 900; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dl-chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px dashed var(--line-strong); text-decoration: none; }
.dl-chip .tag { background: #ff9f1c; color: #1b0f00; font-weight: 900; font-size: 11px; border-radius: 8px; padding: 6px 8px; letter-spacing: .5px; }
.dl-chip .code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 800; font-size: 20px; letter-spacing: 2px; }
.dl-chip small { display: block; color: var(--dim); font-size: 12px; font-weight: 600; letter-spacing: 0; font-family: inherit; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px rgba(255,106,31,.8); }

/* Showcase: real app screenshots in a TV and a phone, front-facing. */
.showcase { position: relative; max-width: 1080px; margin: 56px auto 0; padding-bottom: 40px; }
.tv-frame { position: relative; border-radius: 18px; padding: 12px; background: linear-gradient(180deg, #1c2033, #0b0d16);
  box-shadow: 0 50px 120px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08); }
.tv-frame img { width: 100%; height: auto; border-radius: 8px; }
.tv-frame::after { content: ""; position: absolute; left: 50%; bottom: -26px; width: 22%; height: 14px; transform: translateX(-50%);
  background: linear-gradient(#20253a, #0b0d16); border-radius: 0 0 10px 10px; }
.tv-base { width: 34%; height: 6px; margin: 26px auto 0; border-radius: 6px; background: #1c2033; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
.phone-frame { position: absolute; right: -2%; bottom: 0; width: 22%; border-radius: 34px; padding: 8px; background: #0b0d16;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); }
.phone-frame img { width: 100%; height: auto; border-radius: 27px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 70px auto 0; max-width: 1080px; border-radius: 20px; overflow: hidden;
  background: var(--line); border: 1px solid var(--line); }
.stats div { background: #0a0c15; padding: 24px; text-align: center; }
.stats b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -.5px; }
.stats span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* Device strip */
.devices { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding: 26px 0; border-block: 1px solid var(--line); color: var(--muted); font-weight: 750; }
.devices span { display: inline-flex; align-items: center; gap: 10px; }
.devices svg { width: 22px; height: 22px; color: var(--text); }

/* Sections */
section { padding: 90px 0; }
.kicker { color: var(--orange); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -1.2px; margin: 10px 0 14px; font-weight: 900; }
.sub { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 44px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; border-radius: var(--radius); padding: 26px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s; }
.card:hover { border-color: var(--line-strong); }
.card h3 { margin: 16px 0 8px; font-size: 19px; letter-spacing: -.2px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; }
.i1, .i2, .i3, .i4 { background: rgba(255, 106, 31, .12); color: #ff8a4c; box-shadow: inset 0 0 0 1px rgba(255, 106, 31, .28); }

/* Big feature (split) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-inline-start: 34px; color: var(--muted); }
.checks li b { color: var(--text); }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(52, 211, 153, .15); color: var(--green); font-weight: 900; font-size: 13px; }
.remote { position: relative; width: min(340px, 80%); margin-inline: auto; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255,106,31,.35), transparent 60%); display: grid; place-items: center; }
.pad { width: 62%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(160deg, #262b42, #0b0d17); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.12);
  display: grid; grid-template: 1fr 1.1fr 1fr / 1fr 1.1fr 1fr; place-items: center; color: var(--muted); font-size: 20px; }
.pad .ok { grid-area: 2 / 2; width: 92%; aspect-ratio: 1; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 18px; box-shadow: 0 0 40px rgba(255,106,31,.6); }
.pad .u { grid-area: 1 / 2; } .pad .d { grid-area: 3 / 2; } .pad .l { grid-area: 2 / 1; } .pad .r { grid-area: 2 / 3; }

/* Steps */
.steps { counter-reset: s; }
.step { padding-top: 64px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; inset-inline-start: 26px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); display: grid; place-items: center; font-weight: 900; box-shadow: 0 0 24px rgba(255,106,31,.5); }

/* Downloader */
.dl { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; border-radius: 30px; padding: 44px;
  background: linear-gradient(135deg, rgba(255,159,28,.14), rgba(124,77,255,.12)); border: 1px solid var(--line-strong); }
.keys { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.keys span { width: 54px; height: 66px; border-radius: 14px; display: grid; place-items: center; font-size: 30px; font-weight: 900;
  background: rgba(0,0,0,.35); border: 1px solid var(--line-strong); box-shadow: inset 0 -4px 0 rgba(0,0,0,.4); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.alt { color: var(--muted); font-size: 15px; }
.alt code { color: #ffcf8a; font-weight: 800; }
ol.how { margin: 0; padding: 0; list-style: none; counter-reset: h; display: grid; gap: 14px; }
ol.how li { counter-increment: h; position: relative; padding: 14px 16px 14px 56px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--line); color: var(--muted); }
ol.how li::before { content: counter(h); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 9px; background: rgba(255,255,255,.1); color: var(--text); font-weight: 900; display: grid; place-items: center; }
[dir="rtl"] ol.how li { padding: 14px 56px 14px 16px; } [dir="rtl"] ol.how li::before { left: auto; right: 14px; }

/* Pricing */
.prices { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; max-width: 900px; margin-inline: auto; align-items: stretch; }
.price { padding: 34px; }
.price.best { background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--brand) border-box; border: 2px solid transparent;
  box-shadow: 0 30px 80px rgba(255,106,31,.22); }
.ribbon { position: absolute; top: 18px; inset-inline-end: 18px; background: var(--brand); color: #fff; font-weight: 900; font-size: 12px; padding: 5px 10px; border-radius: 999px; }
.amount { font-size: 64px; font-weight: 900; letter-spacing: -2px; line-height: 1; margin: 16px 0 4px; }
.amount small { font-size: 18px; color: var(--muted); letter-spacing: 0; font-weight: 700; }
.price .btn { width: 100%; margin-top: 26px; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); padding: 4px 22px; }
summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 17px; padding: 18px 30px 18px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 14px; font-size: 24px; color: var(--orange); transition: transform .2s; }
[dir="rtl"] summary { padding: 18px 0 18px 30px; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 18px; }

/* Final call */
.final { text-align: center; border-radius: 34px; padding: 70px 30px; background:
  radial-gradient(80% 120% at 50% 0%, rgba(255,106,31,.35), transparent 60%), linear-gradient(180deg, #121633, #0b0f1e); border: 1px solid var(--line-strong); }
.final .cta { justify-content: center; }

/* Forms */
.panel { border-radius: 28px; padding: 32px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 750; font-size: 14px; color: var(--muted); }
.form input:not([type=radio]) { width: 100%; background: rgba(0,0,0,.35); color: var(--text); border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 16px; }
.form input:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 1px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 16px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.seg label { display: block; text-align: center; padding: 11px; border-radius: 12px; cursor: pointer; color: var(--muted); font-weight: 800; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--brand); color: #fff; }
.seg label:has(input:focus-visible) { outline: 2px solid #fff; }
.status { min-height: 1.5em; margin: 0; font-weight: 750; }
.status.ok { color: var(--green); }
.status.err { color: #ff7b7b; }
.note { color: var(--dim); font-size: 14px; margin: 0; }
.lock { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.2); }
.lock svg { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }

/* Activation */
.act { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.mini { border-radius: 26px; padding: 22px; background: linear-gradient(160deg, #1b1f35, #0b0d17); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.mini .scr { border-radius: 16px; padding: 22px; background: radial-gradient(120% 80% at 50% 0%, #2a1452, #0b0f1e 70%); text-align: center; }
.mini .id { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 900; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: 2px; margin: 10px 0; padding: 12px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--line-strong); }
.mini small { color: var(--muted); }
.perks { display: grid; gap: 12px; margin-top: 18px; }
.perk { display: flex; gap: 12px; align-items: flex-start; }
.perk .ico { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.perk .ico svg { width: 19px; height: 19px; }
.perk b { display: block; }
.perk span { color: var(--muted); font-size: 14.5px; }

/* Legal */
.legal { max-width: 820px; margin-inline: auto; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); margin-top: 0; letter-spacing: -1px; }
.legal h2 { font-size: 22px; letter-spacing: -.2px; margin: 34px 0 8px; }
.legal p, .legal li { color: #c9cde0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 50px 0 60px; color: var(--muted); font-size: 14px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot h4 { color: var(--text); margin: 0 0 12px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.foot a { display: block; text-decoration: none; padding: 4px 0; }
.foot a:hover { color: var(--text); }
.disclaimer { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* Tablets */
@media (max-width: 1020px) {
  .hero-grid, .split, .dl, .act { grid-template-columns: 1fr; }
  .phone-frame { width: 24%; right: 0; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
}
/* Phones */
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .menu { display: block; }
  .links { display: none; position: absolute; top: 70px; inset-inline: 0; flex-direction: column; padding: 12px 16px 18px; background: rgba(6,7,13,.97); border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .links a { padding: 14px; font-size: 17px; }
  .lang { margin-inline-start: 8px; }
  .hero { padding-top: 40px; }
  h1 { letter-spacing: -1px; }
  .showcase { margin-top: 36px; padding-bottom: 24px; }
  .tv-frame { padding: 6px; border-radius: 12px; }
  .phone-frame { width: 30%; right: -4px; border-radius: 22px; padding: 5px; }
  .phone-frame img { border-radius: 17px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .stats b { font-size: 24px; }
  section { padding: 64px 0; }
  .g2, .g3, .g4, .prices, .row2, .foot { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
  .dl-chip { width: 100%; justify-content: center; }
  .dl { padding: 26px; }
  .keys span { width: 40px; height: 52px; font-size: 22px; border-radius: 11px; }
  .panel { padding: 22px; }
  .final { padding: 50px 22px; }
}
/* Big screens and TVs */
@media (min-width: 1700px) {
  :root { --max: 1400px; }
  body { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Grid and flex children may shrink below their content (long IDs, links). */
.hero-grid > *, .split > *, .grid > *, .act > *, .dl > *, .prices > *, .row2 > * { min-width: 0; }
.mini .id { overflow-wrap: anywhere; }
@media (max-width: 720px) { .mini .id { font-size: 17px; letter-spacing: 1px; } }
.logo { white-space: nowrap; }
@media (max-width: 720px) {
  .logo { font-size: 16px; gap: 8px; }
  .logo img { width: 28px; height: 28px; }
}
@media (max-width: 360px) { .logo .k4 { display: none; } }

/* Centered hero */
.center .lead { margin-inline: auto; }
.center .cta, .center .trust { justify-content: center; }
.hero h1 br { display: block; }
