:root {
  --bg: #05070b;
  --navy: #081e3f;
  --orange: #f47029;
  --gold: #ffb21b;
  --white: #fff;
  --panel: #0b1424;
  --panel-line: rgba(255,255,255,.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { width: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: Arial, Tahoma, sans-serif;
}

.hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 45%, rgba(244,112,41,.09), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(8,30,63,.55), transparent 60%),
    #05070b;
}

#webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 35%, rgba(0,0,0,.22) 70%, rgba(0,0,0,.72) 100%),
    linear-gradient(90deg, rgba(0,0,0,.28), transparent 30%, transparent 70%, rgba(0,0,0,.28));
}

.scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 2px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,105,35,.8), rgba(255,200,90,.9), transparent);
  box-shadow: 0 0 22px rgba(244,112,41,.8), 0 0 60px rgba(244,112,41,.45);
  animation: scan 5.5s ease-in-out infinite;
  opacity: .75;
}

@keyframes scan {
  0%, 100% { transform: translateY(0); opacity: 0; }
  8% { opacity: .8; }
  50% { opacity: .65; }
  92% { opacity: .8; }
  100% { transform: translateY(100vh); opacity: 0; }
}

.hero-content {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 2rem;
  transform: translateY(-2vh);
}

.brand-label {
  direction: ltr;
  letter-spacing: .42em;
  font-size: clamp(.55rem, 1vw, .8rem);
  opacity: 0;
  animation: reveal .9s .2s forwards;
  color: rgba(255,255,255,.72);
}

.hero-title {
  margin: .55rem 0 .15rem;
  display: flex;
  gap: clamp(.55rem, 2vw, 1.6rem);
  align-items: baseline;
  justify-content: center;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: .95;
  font-weight: 900;
  text-shadow: 0 0 30px rgba(244,112,41,.15);
}

.word {
  opacity: 0;
  transform: translateY(22px) scale(.97);
  filter: blur(7px);
  animation: wordIn .9s forwards;
}
.word:nth-child(1) { animation-delay: .55s; }
.word:nth-child(2) { animation-delay: .72s; }
.word:nth-child(3) { animation-delay: .89s; }

.hero-subtitle {
  margin: .7rem 0 0;
  font-size: clamp(.9rem, 2vw, 1.35rem);
  font-weight: 700;
  color: rgba(255,255,255,.78);
  opacity: 0;
  transform: translateY(10px);
  animation: revealUp .9s 1.25s forwards;
}

.explore-btn {
  pointer-events: auto;
  margin-top: 2.4rem;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.18);
  color: #fff;
  border-radius: 999px;
  padding: .75rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  opacity: 0;
  animation: revealUp .9s 1.65s forwards;
  transition: .25s ease;
}
.explore-btn:hover {
  border-color: rgba(244,112,41,.65);
  background: rgba(244,112,41,.12);
  transform: translateY(-2px);
}
.arrow { font-size: 1.1rem; }

.corner-status {
  position: absolute;
  z-index: 6;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: .55rem;
  direction: ltr;
  font: 600 10px/1 Arial, sans-serif;
  letter-spacing: .18em;
  color: rgba(255,255,255,.48);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px var(--orange);
  animation: pulse 1.4s infinite;
}

@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
@keyframes reveal { to { opacity: 1; } }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
@keyframes wordIn { to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }

@media (max-width: 700px) {
  .hero { min-height: 520px; }
  .hero-content { transform: translateY(-4vh); }
  .hero-title { gap: .5rem; font-size: clamp(2.45rem, 14vw, 4.8rem); }
  .brand-label { letter-spacing: .28em; }
  .corner-status { left: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ========================================================================
   Liquid morph floating nav
   ======================================================================== */
.tune-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tune-toggle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(6,10,18,.6);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #fff;
  font: 700 .78rem/1 Arial, sans-serif;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  transition: border-color .3s ease, background .3s ease;
}
.tune-toggle:hover { border-color: rgba(244,112,41,.5); }

.tune-mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  box-shadow: 0 0 10px rgba(244,112,41,.7);
  transition: transform .4s cubic-bezier(.65,0,.35,1);
}
.tune-nav.is-open .tune-mark { transform: rotate(135deg) scale(1.15); }

.tune-panel {
  position: absolute;
  top: calc(100% + 10px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(8,13,23,.86);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  clip-path: inset(0% 0% 100% 0% round 22px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(.98);
  transform-origin: top center;
  transition: clip-path .55s cubic-bezier(.65,0,.35,1), opacity .35s ease, transform .55s cubic-bezier(.65,0,.35,1);
}
.tune-nav.is-open .tune-panel {
  clip-path: inset(0% 0% 0% 0% round 22px);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.tune-link {
  position: relative;
  display: block;
  padding: .65rem .9rem;
  border-radius: 14px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font: 600 .85rem/1 Arial, sans-serif;
  overflow: hidden;
  transition: background .25s ease, color .25s ease;
}
.tune-link span { display: inline-block; transition: transform .35s cubic-bezier(.65,0,.35,1); }
.tune-link:hover { background: rgba(244,112,41,.14); color: #fff; }
.tune-link:hover span { transform: translateX(-4px); }
.tune-link.tune-cta {
  margin-top: 4px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  color: #140900;
  text-align: center;
  font-weight: 800;
}
.tune-link.tune-cta:hover { background: linear-gradient(90deg, var(--gold), var(--orange)); }

@media (max-width: 700px) {
  .tune-nav { top: 12px; }
  .tune-panel { min-width: 76vw; }
}

/* ========================================================================
   Interactive channel selector ("dial")
   ======================================================================== */
.selector {
  position: relative;
  padding: 5.5rem 6vw 4.5rem;
  background: var(--panel);
  border-top: 1px solid var(--panel-line);
  overflow: hidden;
}
.selector::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(244,112,41,.10), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  font: 800 .72rem/1 Arial, sans-serif;
  letter-spacing: .22em;
  color: var(--orange);
  margin-bottom: .7rem;
}

.selector-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.selector-head h2 { margin: 0 0 .7rem; font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 900; }
.selector-head p { margin: 0; color: rgba(255,255,255,.62); font-size: 1rem; line-height: 1.7; }

.dial {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1140px;
  margin: 0 auto;
}

.dial-card {
  position: relative;
  text-align: right;
  cursor: pointer;
  border: 1px solid var(--panel-line);
  background: rgba(255,255,255,.02);
  border-radius: 20px;
  padding: 1.4rem 1.2rem 1.6rem;
  color: #fff;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-height: 220px;
  overflow: hidden;
  transition: flex-grow .5s cubic-bezier(.65,0,.35,1), background .4s ease, border-color .4s ease, transform .4s ease;
}
.dial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, var(--tint, var(--orange)) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.dial-card[data-tint="gold"] { --tint: var(--gold); }
.dial-card[data-tint="navy"] { --tint: #3d6ec9; }
.dial-card[data-tint="orange"] { --tint: var(--orange); }

.dial-freq {
  direction: ltr;
  align-self: flex-start;
  font: 700 .72rem/1 Arial, sans-serif;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
}
.dial-icon {
  font-size: 1.5rem;
  color: var(--tint, var(--orange));
  align-self: flex-start;
}
.dial-title { font-size: 1.05rem; font-weight: 800; margin-top: auto; }
.dial-copy {
  font-size: .84rem;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s ease, opacity .35s ease;
}

.dial-card:hover,
.dial-card:focus-visible {
  border-color: rgba(255,255,255,.22);
  transform: translateY(-3px);
}
.dial-card.is-active {
  flex-grow: 2;
  background: rgba(255,255,255,.04);
  border-color: var(--tint, var(--orange));
}
.dial-card.is-active::after { opacity: .14; }
.dial-card.is-active .dial-copy { max-height: 100px; opacity: 1; }
.dial-card.is-active .dial-icon { transform: scale(1.15); }

@media (max-width: 900px) {
  .dial { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .dial { grid-template-columns: 1fr; }
  .selector { padding: 4rem 6vw 3rem; }
}

/* ========================================================================
   Soon strip + footer
   ======================================================================== */
.soon {
  padding: 5rem 6vw;
  text-align: center;
  background:
    radial-gradient(60% 140% at 50% 0%, rgba(8,30,63,.55), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--panel-line);
}
.soon-inner { max-width: 560px; margin: 0 auto; }
.soon h2 { margin: .5rem 0 .8rem; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; }
.soon p { margin: 0; color: rgba(255,255,255,.6); line-height: 1.7; }

.site-foot {
  padding: 2rem 6vw 7.5rem;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  background: var(--bg);
}

/* ========================================================================
   Floating dock
   ======================================================================== */
.dock-wrap {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 50;
}

.dock {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(6,10,18,.62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}

.dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255,255,255,.05);
  color: #fff;
  text-decoration: none;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), width .18s ease, height .18s ease, background .25s ease;
  flex: none;
}
.dock-item .dock-glyph { font-size: 1.05rem; line-height: 1; pointer-events: none; }
.dock-item:hover, .dock-item:focus-visible {
  background: rgba(244,112,41,.22);
}
.dock-item::before {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  font: 700 .68rem/1 Arial, sans-serif;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(6,10,18,.92);
  border: 1px solid rgba(255,255,255,.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.dock-item:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 560px) {
  .dock { gap: 6px; padding: 8px; }
  .dock-item { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .tune-panel, .dial-card, .dock-item { transition: none !important; }
}

/* ========================================================================
   Logo, socials, internal platforms
   ======================================================================== */
.tune-logo { display: block; height: 15px; width: auto; filter: drop-shadow(0 0 6px rgba(244,112,41,.35)); }

.social-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.6rem;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: #fff;
  text-decoration: none;
  font: 800 .72rem/1 Arial, sans-serif;
  letter-spacing: .02em;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.social-row a:hover {
  border-color: var(--orange);
  background: rgba(244,112,41,.14);
  transform: translateY(-2px);
}

.site-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.foot-logo { height: 24px; width: auto; opacity: .8; }
.foot-link { color: rgba(255,255,255,.55); text-decoration: none; direction: ltr; }
.foot-link:hover { color: var(--orange); }

.platforms {
  position: relative;
  padding: 5rem 6vw 5.5rem;
  background: var(--bg);
  border-top: 1px solid var(--panel-line);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.5rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--panel-line);
  background: rgba(255,255,255,.02);
  color: #fff;
  text-decoration: none;
  min-height: 190px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.platform-card:hover, .platform-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(244,112,41,.55);
  background: rgba(244,112,41,.06);
}
.platform-icon {
  font-size: 1.4rem;
  color: var(--orange);
}
.platform-name { font-size: 1.02rem; font-weight: 800; }
.platform-desc {
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  flex: 1;
}
.platform-go {
  direction: ltr;
  text-align: right;
  font: 700 .75rem/1 Arial, sans-serif;
  color: rgba(255,255,255,.45);
  transition: color .3s ease, transform .3s ease;
}
.platform-card:hover .platform-go { color: var(--orange); transform: translateX(-4px); }

@media (max-width: 1000px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .platforms { padding: 4rem 6vw 4.5rem; }
}
