:root {
  color-scheme: dark;
  --bg: #07090d;
  --surface: #11161d;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f7f9fc;
  --muted: #939dab;
  --brand: #2ee6aa;
  --brand-dark: #0d9e77;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, "Noto Sans Myanmar", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 83% 48%, rgba(38, 126, 255, 0.15), transparent 28rem),
    radial-gradient(circle at 15% 90%, rgba(46, 230, 170, 0.08), transparent 26rem),
    linear-gradient(135deg, #07090d, #0c1118 55%, #080b10);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a { color: inherit; }
button { font: inherit; }

.shell { width: min(1220px, calc(100% - 48px)); margin: 0 auto; padding: 50px 0; }
.hero { min-height: calc(100vh - 100px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(470px, .9fr); gap: 70px; align-items: center; }
.hero__content { max-width: 650px; }
.brand { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.brand__icon { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 18px 50px rgba(0,0,0,.48); }
.brand__label, .eyebrow { margin: 0 0 5px; color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(44px, 5vw, 66px); line-height: .95; letter-spacing: -.04em; }
.hero__lead { max-width: 620px; margin: 0 0 30px; color: #c5ccd6; font-size: 18px; line-height: 1.7; }

.download-panel { margin-bottom: 16px; }
.download-button { min-height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 18px; border: 1px solid rgba(46,230,170,.55); border-radius: 12px; color: #04100c; background: linear-gradient(135deg, var(--brand), #a6fbdc); box-shadow: 0 16px 42px rgba(46,230,170,.16); font-size: 15px; font-weight: 850; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.download-button:hover, .download-button:focus-visible { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(46,230,170,.26); outline: none; }
.download-button__icon, .download-button__icon svg { width: 21px; height: 21px; }
.download-button__icon svg { display: block; fill: currentColor; }
.button-version { margin-left: 5px; padding: 5px 8px; border-radius: 6px; background: rgba(4,16,12,.11); font-size: 11px; }

.tv-install-card { max-width: 570px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, rgba(20,27,36,.92), rgba(12,17,23,.9)); box-shadow: 0 25px 70px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.tv-install-card__head { display: flex; align-items: center; gap: 12px; }
.tv-icon { width: 45px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(46,230,170,.34); border-radius: 9px; color: var(--brand); background: rgba(46,230,170,.08); font-size: 11px; font-weight: 900; letter-spacing: .07em; }
.tv-install-card h2 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.version-pill { margin-left: auto; padding: 5px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 11px; }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 17px; }
.code-display { min-height: 62px; display: flex; align-items: center; padding: 0 20px; border: 1px solid rgba(46,230,170,.27); border-radius: 10px; color: #fff; background: #080d11; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 28px; font-weight: 850; letter-spacing: .18em; }
.copy-button { min-width: 100px; border: 1px solid var(--line); border-radius: 10px; color: #dce3ea; background: #1a222c; cursor: pointer; font-weight: 750; transition: border-color .18s, color .18s; }
.copy-button:hover, .copy-button:focus-visible { border-color: var(--brand); color: var(--brand); outline: none; }
.copy-button span:first-child { margin-right: 5px; font-size: 20px; }
.code-note { margin: 12px 0 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.direct-link { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-size: 13px; font-weight: 750; text-decoration: none; }
.direct-link:hover { text-decoration: underline; }

.device-stage { min-height: 510px; position: relative; display: grid; place-items: center; isolation: isolate; }
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); }
.glow--one { width: 310px; height: 310px; right: 5%; top: 12%; background: rgba(41,115,255,.19); }
.glow--two { width: 190px; height: 190px; left: 7%; bottom: 10%; background: rgba(46,230,170,.12); }
.tv-preview { width: min(100%, 550px); padding: 10px 10px 0; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: linear-gradient(145deg, #262d37, #090b0f 35%, #1b222a); box-shadow: 0 45px 90px rgba(0,0,0,.58), inset 0 0 0 1px rgba(255,255,255,.05); transform: perspective(1100px) rotateY(-4deg) rotateX(1deg); }
.tv-preview__screen { aspect-ratio: 16/10; position: relative; overflow: hidden; border: 1px solid #030405; border-radius: 7px; background: #05070a; }
.tv-preview__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.13), transparent 24%, transparent 76%, rgba(33,120,255,.07)); pointer-events: none; }
.tv-preview__screen img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }
.live-badge { position: absolute; z-index: 2; top: 14px; right: 14px; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 5px; color: white; background: rgba(4,8,13,.82); backdrop-filter: blur(8px); font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: #ff4058; box-shadow: 0 0 0 4px rgba(255,64,88,.12); }
.tv-preview__chin { height: 30px; display: flex; align-items: center; justify-content: center; position: relative; color: #777f89; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.tv-preview__chin i { width: 4px; height: 4px; position: absolute; right: 18px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 7px var(--brand); }
.tv-stand { width: 210px; height: 72px; position: absolute; top: calc(50% + 152px); z-index: -1; border-bottom: 9px solid #1e242b; border-radius: 50%; }
.tv-stand::before { content: ""; width: 56px; height: 67px; position: absolute; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #0d1116, #353c45 48%, #101419); clip-path: polygon(34% 0, 66% 0, 80% 100%, 20% 100%); }
.remote { width: 42px; height: 138px; position: absolute; right: 3%; bottom: 6%; padding-top: 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.17); border-radius: 17px; background: linear-gradient(145deg,#29313a,#0d1116); box-shadow: 0 17px 35px rgba(0,0,0,.52); transform: rotate(-9deg); }
.remote i { width: 7px; height: 7px; border-radius: 50%; background: #ff5365; }
.remote b { width: 24px; height: 24px; border: 6px solid #58626e; border-radius: 50%; }
.remote span { color: #86919e; font-size: 12px; }
.remote small { width: 20px; height: 3px; border-radius: 4px; background: #444e59; }
.floating-card { position: absolute; left: -2%; bottom: 9%; padding: 13px 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(15,20,27,.86); box-shadow: 0 18px 40px rgba(0,0,0,.36); backdrop-filter: blur(12px); }
.floating-card span { display: block; margin-bottom: 4px; color: var(--brand); font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.floating-card strong { font-size: 12px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero__content { max-width: none; }
  .tv-install-card { max-width: 650px; }
  .device-stage { min-height: 430px; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 1220px); padding: 28px 0 42px; }
  .brand { margin-bottom: 22px; }
  .brand__icon { width: 60px; height: 60px; border-radius: 14px; }
  .hero__lead { font-size: 16px; }
  .download-button { width: 100%; }
  .tv-install-card { padding: 16px; }
  .code-display { min-height: 58px; padding: 0 14px; font-size: 23px; }
  .copy-button { min-width: 78px; }
  .device-stage { min-height: 350px; }
  .tv-preview { transform: none; }
  .tv-stand { top: calc(50% + 105px); }
  .remote { right: 0; bottom: 0; transform: scale(.8) rotate(-9deg); }
  .floating-card { left: 0; bottom: 1%; }
}
