:root {
  --bg: #06131a;
  --bg-soft: #0a1d27;
  --panel: rgba(11, 31, 41, 0.82);
  --panel-strong: #0d2632;
  --line: rgba(144, 226, 255, 0.15);
  --text: #effbff;
  --muted: #8aa8b4;
  --cyan: #59d4ff;
  --cyan-2: #12aee6;
  --blue: #1789bd;
  --danger: #ff466f;
  --shadow: 0 30px 80px rgba(0,0,0,.34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 10%, rgba(30, 149, 199, .18), transparent 25rem),
    radial-gradient(circle at 10% 50%, rgba(21, 110, 150, .13), transparent 28rem),
    linear-gradient(180deg, #06131a 0%, #071820 46%, #051017 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1240px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 12px 14px;
  background: rgba(5, 16, 23, .72);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(89,212,255,.26);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(89,212,255,.14), rgba(16,118,164,.08));
  font-size: 22px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: .92;
  letter-spacing: .08em;
}

.brand-copy strong { font-size: .98rem; }
.brand-copy small {
  margin-top: 7px;
  color: var(--cyan);
  font-size: .63rem;
  letter-spacing: .18em;
}

.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: .86rem;
  border-radius: 10px;
  transition: .18s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.05);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.15fr);
  gap: 48px;
  align-items: center;
  min-height: 680px;
  padding-block: 80px 54px;
}

.status-badge {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  width: max-content;
  padding: 8px 11px;
  margin-bottom: 24px;
  border: 1px solid rgba(138,168,180,.2);
  border-radius: 999px;
  color: #a7bbc3;
  background: rgba(255,255,255,.035);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.status-badge.live {
  border-color: rgba(255,70,111,.32);
  color: #ff8ba6;
  background: rgba(255,70,111,.08);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.live .pulse { animation: pulse 1.4s infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,70,111,.42); }
  50% { box-shadow: 0 0 0 7px rgba(255,70,111,0); }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .19em;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.35rem, 7vw, 6.2rem);
  line-height: .9;
  letter-spacing: -.065em;
}

h1 em {
  color: transparent;
  background: linear-gradient(90deg, #8be3ff, #3fc7f6 60%, #79a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  color: #a7bcc5;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: .9rem;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  color: #031116;
  background: linear-gradient(135deg, #79e2ff, #27bce9);
  box-shadow: 0 12px 36px rgba(39,188,233,.2);
}

.button.ghost {
  color: #c8d7dc;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.hero-media { min-width: 0; }

.player-frame,
.offline-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(93,205,245,.22);
  border-radius: 24px;
  background: #07141b;
  box-shadow: var(--shadow);
}

.player-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.offline-card {
  display: grid;
  place-items: center;
  isolation: isolate;
}

.offline-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(77,211,255,.2), transparent 30%),
    linear-gradient(150deg, #0b2734, #061218 70%);
  z-index: -2;
}

.ocean-ring {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(89,212,255,.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(89,212,255,.025),
    0 0 0 110px rgba(89,212,255,.015);
  z-index: -1;
}

.offline-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px;
}

.offline-icon { font-size: 3.3rem; }
.offline-inner strong {
  margin-top: 16px;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
}
.offline-inner span:last-child {
  margin-top: 8px;
  color: var(--muted);
}

.hidden { display: none !important; }

.section {
  padding-block: 66px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -.045em;
}

.carousel-controls {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: .8rem;
}

.carousel-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255,255,255,.035);
  cursor: pointer;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
}

.feature-card,
.sidebar-card,
.quote-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(16,43,55,.72), rgba(6,20,27,.88));
  box-shadow: var(--shadow);
}

.feature-card {
  overflow: hidden;
  border-radius: 24px;
}

.feature-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
}

.platform-pill {
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--cyan);
  background: rgba(89,212,255,.08);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.muted { color: var(--muted); font-size: .8rem; }

.content-stage {
  position: relative;
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 20%, rgba(44,168,215,.12), transparent 24rem),
    #061117;
}

.content-stage iframe {
  width: 100%;
  height: 520px;
  display: block;
  border: 0;
  background: #040a0d;
}

.content-stage iframe.vertical {
  max-width: 420px;
  margin-inline: auto;
}

.empty-state {
  min-height: 520px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 30px;
  text-align: center;
}

.empty-state > span { font-size: 3rem; }
.empty-state strong { font-size: 1.1rem; }
.empty-state small { color: var(--muted); }
.empty-state code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #c5efff;
}

.progress-track {
  height: 4px;
  background: rgba(255,255,255,.05);
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), #8aa9ff);
}

.sidebar-card {
  align-self: stretch;
  padding: 26px;
  border-radius: 24px;
}

.sidebar-card h3 {
  margin: 4px 0 12px;
  font-size: 2rem;
  letter-spacing: -.04em;
}

.sidebar-card > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.stacked-links {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.stacked-links a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #d8e7eb;
  background: rgba(255,255,255,.025);
  font-size: .88rem;
  font-weight: 700;
}

.quote-card {
  position: relative;
  overflow: hidden;
  padding: 54px 26px;
  border-radius: 24px;
  text-align: center;
}

.quote-card p {
  position: relative;
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  font-weight: 850;
  letter-spacing: -.045em;
}

.quote-card small {
  position: relative;
  display: block;
  margin-top: 12px;
  color: var(--cyan);
  font-weight: 850;
  letter-spacing: .17em;
}

.big-wave {
  position: absolute;
  inset: auto auto -70px -20px;
  opacity: .08;
  font-size: 13rem;
  transform: rotate(-8deg);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding-block: 30px 50px;
  color: #69838e;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .11em;
}

@media (max-width: 900px) {
  .nav { display: none; }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
    padding-top: 68px;
  }

  .feature-grid { grid-template-columns: 1fr; }
  .sidebar-card { order: 2; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1180px); }
  .site-header { width: calc(100% - 16px); }

  h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .hero { padding-top: 48px; }
  .section { padding-block: 46px; }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .content-stage,
  .content-stage iframe,
  .empty-state { min-height: 440px; height: 440px; }

  .site-footer {
    gap: 10px;
    flex-direction: column;
  }
}
