/* MaiMax — Official Site
   Dark, premium, metallic-gradient direction
   ============================================ */

:root {
  /* Surfaces */
  --bg: #07060B;
  --bg-2: #0E0B16;
  --bg-3: #14101F;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hi: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(255, 255, 255, 0.14);

  /* Text */
  --ink: #F5F2FA;
  --ink-dim: rgba(245, 242, 250, 0.62);
  --ink-mute: rgba(245, 242, 250, 0.38);

  /* Brand */
  --violet: #8A2BFF;
  --magenta: #FF3CAC;
  --coral: #FF6B6B;
  --amber: #FFB347;
  --gold: #E8C77E;

  /* Signature gradient */
  --grad: linear-gradient(120deg, #8A2BFF 0%, #FF3CAC 55%, #FFB347 100%);
  --grad-soft: linear-gradient(120deg, rgba(138, 43, 255, 0.18) 0%, rgba(255, 60, 172, 0.18) 55%, rgba(255, 179, 71, 0.18) 100%);
  --grad-line: linear-gradient(120deg, rgba(138, 43, 255, 0.5), rgba(255, 60, 172, 0.5), rgba(255, 179, 71, 0.5));

  /* Type */
  --display: "Sora", "Noto Sans TC", system-ui, sans-serif;
  --body: "Manrope", "Noto Sans TC", system-ui, sans-serif;

  /* Layout */
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Ambient page glow */
body::before {
  content: "";
  position: fixed;
  inset: -10vh -10vw;
  background:
    radial-gradient(50vw 50vw at 15% 5%, rgba(138, 43, 255, 0.22), transparent 60%),
    radial-gradient(40vw 40vw at 90% 20%, rgba(255, 60, 172, 0.18), transparent 60%),
    radial-gradient(40vw 40vw at 60% 90%, rgba(255, 179, 71, 0.10), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

/* Subtle grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); position: relative; z-index: 2; }

/* ========== TYPE ========== */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-dim); padding: 8px 14px; border: 1px solid var(--border);
  border-radius: 999px; background: var(--surface); backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--grad); box-shadow: 0 0 12px rgba(255, 60, 172, 0.8);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========== NAV ========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(180deg, rgba(7,6,11,0.85), rgba(7,6,11,0.55));
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px; object-fit: cover;
  background: var(--grad); border: 1px solid var(--border-hi);
  box-shadow: 0 8px 24px rgba(138, 43, 255, 0.35);
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-dim); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 999px; color: var(--ink-dim);
}
.lang-toggle .on { color: var(--ink); }

/* ========== BUTTONS ========== */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; font-weight: 600; font-size: 14px;
  font-family: var(--display); letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #0a0612; background: var(--grad);
  box-shadow: 0 12px 36px rgba(255, 60, 172, 0.35), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover { box-shadow: 0 18px 48px rgba(255, 60, 172, 0.5), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-ghost {
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--border-hi); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-hi); border-color: rgba(255,255,255,0.25); }

/* Store buttons */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-hi);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  backdrop-filter: blur(10px);
  min-width: 188px;
}
.store-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }
.store-btn .store-icon { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn .store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn .store-text small { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.store-btn .store-text strong { font-family: var(--display); font-size: 16px; font-weight: 600; }
.store-btn.disabled { opacity: 0.55; cursor: not-allowed; }
.store-btn.disabled:hover { transform: none; background: rgba(255,255,255,0.06); }
.store-btn .badge {
  font-size: 9px; letter-spacing: 0.16em; padding: 3px 7px; border-radius: 999px;
  background: var(--surface-hi); border: 1px solid var(--border); color: var(--ink-dim);
  margin-left: 6px;
}

/* ========== HERO ========== */
.hero {
  position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6.6vw, 84px);
  margin: 22px 0 20px;
}
.hero h1 .line { display: block; }
.hero p.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-dim); max-width: 540px; margin-bottom: 36px;
  text-wrap: pretty;
}
.hero-meta {
  display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 24px;
}
.hero-meta .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .stat strong {
  font-family: var(--display); font-size: 22px; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-meta .stat span { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; }

/* Phone mockup */
.phone-stage {
  position: relative; height: clamp(520px, 60vw, 720px); display: flex; align-items: center; justify-content: center;
}
.phone {
  position: relative; width: clamp(260px, 22vw, 320px); aspect-ratio: 9 / 19.5;
  background: #000; border-radius: 44px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 60px 120px rgba(0,0,0,0.6),
    0 0 0 8px rgba(255,255,255,0.04),
    inset 0 0 0 2px rgba(255,255,255,0.06);
  overflow: hidden;
  transform: rotate(-4deg);
  z-index: 2;
}
.phone-screen {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7)),
    var(--grad);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 18px;
}
.phone-screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.phone-overlay {
  position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px;
}
.phone-live-tag {
  align-self: flex-start; font-size: 10px; font-weight: 700; padding: 5px 10px;
  background: #FF2E62; border-radius: 6px; letter-spacing: 0.16em; color: #fff;
  display: inline-flex; align-items: center; gap: 6px;
}
.phone-live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #fff; }
.phone-host {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.phone-host .avatar { width: 32px; height: 32px; border-radius: 999px; background: var(--grad); border: 2px solid #fff; }
.phone-host .meta strong { display: block; font-size: 13px; font-weight: 600; }
.phone-host .meta span { font-size: 10px; color: rgba(255,255,255,0.7); }

/* Floating UI bits */
.float {
  position: absolute; z-index: 3;
  border-radius: 16px;
  backdrop-filter: blur(14px);
  background: rgba(20, 16, 31, 0.7);
  border: 1px solid var(--border-hi);
  padding: 10px 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  animation: float 7s ease-in-out infinite;
}
.float-danmaku {
  top: 18%; left: -4%;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  animation-delay: -1s;
}
.float-danmaku .dot { width: 22px; height: 22px; border-radius: 999px; background: linear-gradient(135deg, #FF6B6B, #FFB347); }
.float-gift {
  top: 8%; right: -2%;
  display: flex; align-items: center; gap: 10px;
  animation-delay: -3s;
}
.float-gift .gift-ico {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, #FFB347, #FF6B6B);
  display: grid; place-items: center; font-size: 18px;
}
.float-gift small { display: block; font-size: 10px; color: var(--ink-mute); }
.float-gift strong { font-family: var(--display); font-size: 14px; }
.float-pk {
  bottom: 22%; left: -6%;
  display: flex; align-items: center; gap: 10px;
  animation-delay: -2s;
}
.float-pk .pk-bar { width: 90px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; position: relative; }
.float-pk .pk-bar::before {
  content: ""; position: absolute; inset: 0; width: 62%;
  background: linear-gradient(90deg, #8A2BFF, #FF3CAC);
  border-radius: 999px;
}
.float-pk .pk-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; }
.float-voice {
  bottom: 8%; right: -8%;
  display: flex; align-items: center; gap: 10px;
  animation-delay: -4s;
}
.float-voice .voice-ico {
  width: 36px; height: 36px; border-radius: 999px;
  background: linear-gradient(135deg, #8A2BFF, #FF3CAC);
  display: grid; place-items: center;
}
.float-voice .waves { display: flex; gap: 3px; align-items: end; height: 18px; }
.float-voice .waves i { width: 3px; background: #fff; border-radius: 2px; animation: wave 1.2s ease-in-out infinite; display: block; }
.float-voice .waves i:nth-child(1) { height: 30%; animation-delay: 0s; }
.float-voice .waves i:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.float-voice .waves i:nth-child(3) { height: 50%; animation-delay: 0.3s; }
.float-voice .waves i:nth-child(4) { height: 90%; animation-delay: 0.45s; }
.float-voice .waves i:nth-child(5) { height: 40%; animation-delay: 0.6s; }
.float-voice small { display: block; font-size: 10px; color: var(--ink-mute); }
.float-voice strong { font-family: var(--display); font-size: 13px; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1.2); }
}

/* Orbital ring behind phone */
.phone-stage::before {
  content: ""; position: absolute; width: 480px; height: 480px;
  border-radius: 50%; border: 1px dashed rgba(255,255,255,0.08);
  z-index: 1;
}
.phone-stage::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 255, 0.4) 0%, transparent 65%);
  filter: blur(40px); z-index: 0;
}

/* ========== SECTION HEADER ========== */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head h2 { font-size: clamp(36px, 4.8vw, 60px); margin: 18px 0 16px; }
.section-head p { color: var(--ink-dim); font-size: clamp(15px, 1.2vw, 17px); max-width: 560px; }

/* ========== FEATURES ========== */
.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.feature {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-2), var(--bg-3));
  padding: clamp(28px, 3vw, 40px);
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.3s, border-color 0.3s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature:hover::before { opacity: 1; }

.feature .feature-no {
  font-family: var(--display); font-size: 12px; letter-spacing: 0.3em; color: var(--ink-mute);
}
.feature h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 20px 0 12px; }
.feature p { color: var(--ink-dim); font-size: 15px; max-width: 380px; }

.feature-visual { margin-top: 24px; position: relative; }

/* Feature spans */
.f-live { grid-column: span 7; }
.f-voice { grid-column: span 5; }
.f-shorts { grid-column: span 4; }
.f-posts { grid-column: span 4; }
.f-dm { grid-column: span 4; }

@media (max-width: 960px) {
  .f-live, .f-voice, .f-shorts, .f-posts, .f-dm { grid-column: span 12; }
}

/* Feature visuals (decorative SVG-ish) */
.fv-live {
  position: relative; height: 200px; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 60, 172, 0.45), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(138, 43, 255, 0.45), transparent 60%),
    #0d0918;
  border: 1px solid var(--border);
}
.fv-live .vs-host {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 132px; height: 132px; border-radius: 20px;
  background-size: cover; background-position: center top;
  border: 2px solid rgba(255,255,255,0.22);
  box-shadow: 0 18px 36px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
}
.fv-live .vs-host.left { left: 20px; }
.fv-live .vs-host.right { right: 20px; }
.fv-live .vs-vs {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--display); font-weight: 700; font-size: 36px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fv-live .vs-bar {
  position: absolute; left: 16px; right: 16px; bottom: 16px; height: 8px;
  background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden;
}
.fv-live .vs-bar::before {
  content: ""; position: absolute; inset: 0; width: 58%; background: var(--grad); border-radius: 999px;
}

.fv-voice {
  position: relative; height: 160px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(138, 43, 255, 0.25), transparent 70%), #0d0918;
  border: 1px solid var(--border); display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  padding: 24px; align-items: center;
}
.fv-voice .seat {
  aspect-ratio: 1; border-radius: 999px;
  background: linear-gradient(135deg, #8A2BFF, #FF3CAC);
  border: 2px solid rgba(255,255,255,0.2);
  position: relative;
}
.fv-voice .seat::after {
  content: ""; position: absolute; inset: -6px; border-radius: 999px;
  border: 2px solid rgba(255, 60, 172, 0.5); animation: pulse 2s ease-out infinite;
}
.fv-voice .seat:nth-child(2) { background: linear-gradient(135deg, #FF6B6B, #FFB347); }
.fv-voice .seat:nth-child(2)::after { border-color: rgba(255, 179, 71, 0.5); animation-delay: 0.4s; }
.fv-voice .seat:nth-child(3) { background: linear-gradient(135deg, #FFB347, #FF3CAC); transform: scale(1.15); }
.fv-voice .seat:nth-child(3)::after { animation-delay: 0.8s; }
.fv-voice .seat:nth-child(4) { background: linear-gradient(135deg, #8A2BFF, #FF6B6B); }
.fv-voice .seat:nth-child(4)::after { animation-delay: 1.2s; }
.fv-voice .seat:nth-child(5) { background: linear-gradient(135deg, #FF3CAC, #FFB347); }
.fv-voice .seat:nth-child(5)::after { animation-delay: 1.6s; }

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.fv-shorts {
  position: relative; height: 200px; border-radius: 18px; overflow: hidden;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.fv-shorts .tile {
  border-radius: 12px; position: relative; overflow: hidden;
  border: 1px solid var(--border);
  background-color: #1a0633;
  background-size: cover; background-position: center;
}
.fv-shorts .tile:nth-child(2) { transform: translateY(12px); }
.fv-shorts .tile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55));
}
.fv-shorts .tile::after {
  content: "▶"; position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,0.95); font-size: 22px;
  text-shadow: 0 4px 14px rgba(0,0,0,0.7);
}

.fv-posts {
  position: relative; height: 200px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #110a1d, #1a0e2a);
  border: 1px solid var(--border);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
.fv-posts .post {
  display: flex; gap: 10px; align-items: center;
  background: rgba(255,255,255,0.03); padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--border);
}
.fv-posts .post .avi { width: 28px; height: 28px; border-radius: 999px; background: var(--grad); flex-shrink: 0; }
.fv-posts .post .line { flex: 1; }
.fv-posts .post .line span { display: block; height: 6px; background: rgba(255,255,255,0.1); border-radius: 999px; }
.fv-posts .post .line span:first-child { width: 60%; margin-bottom: 6px; }
.fv-posts .post .line span:last-child { width: 90%; }
.fv-posts .post .heart { color: #FF3CAC; font-size: 13px; }

.fv-dm {
  position: relative; height: 200px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #110a1d, #1a0e2a);
  border: 1px solid var(--border); padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.fv-dm .msg {
  max-width: 70%; padding: 10px 14px; border-radius: 16px; font-size: 12px;
}
.fv-dm .msg.in {
  align-self: flex-start; background: rgba(255,255,255,0.06);
  border: 1px solid var(--border); border-bottom-left-radius: 4px;
}
.fv-dm .msg.out {
  align-self: flex-end; background: var(--grad); color: #110a1d; font-weight: 600;
  border-bottom-right-radius: 4px;
}
.fv-dm .call {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}
.fv-dm .call .dot { width: 10px; height: 10px; border-radius: 999px; background: #2ec27e; box-shadow: 0 0 12px #2ec27e; animation: blink 1.4s ease-in-out infinite; }
.fv-dm .call small { font-size: 11px; color: var(--ink-dim); }
.fv-dm .call strong { font-family: var(--display); font-size: 13px; margin-left: auto; }
@keyframes blink { 50% { opacity: 0.3; } }

/* ========== SHOWCASE (screenshots) ========== */
.showcase { position: relative; }
.showcase-rail {
  display: flex; gap: clamp(20px, 2.5vw, 32px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px clamp(20px, 4vw, 48px) 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.showcase-rail::-webkit-scrollbar { height: 8px; }
.showcase-rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 999px; }

.shot {
  flex-shrink: 0; scroll-snap-align: center;
  width: clamp(220px, 22vw, 300px); aspect-ratio: 9 / 19.5;
  border-radius: 36px; padding: 8px; background: #000;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(255,255,255,0.05);
  position: relative; overflow: hidden;
}
.shot img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(138, 43, 255, 0.5), rgba(255, 60, 172, 0.4), rgba(255, 179, 71, 0.4)),
    #0a0612;
}
.shot .label {
  position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 3;
  font-family: var(--display); font-size: 12px; letter-spacing: 0.12em;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px;
  display: inline-flex; width: auto; align-self: center;
  border: 1px solid rgba(255,255,255,0.12);
  text-align: center; justify-content: center;
}

/* ========== BROADCASTER CTA ========== */
.broadcaster {
  position: relative; padding: clamp(48px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 60, 172, 0.25), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(138, 43, 255, 0.25), transparent 50%),
    linear-gradient(160deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.broadcaster::before {
  content: ""; position: absolute; inset: 0; padding: 1px;
  background: var(--grad-line);
  border-radius: inherit;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0.6;
}
.broadcaster h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 16px 0; }
.broadcaster p { color: var(--ink-dim); margin-bottom: 28px; max-width: 480px; }
.broadcaster-visual {
  position: relative; height: 280px; display: grid; place-items: center;
}
.broadcaster-visual .ring {
  position: absolute; width: 240px; height: 240px; border-radius: 999px;
  border: 1px dashed rgba(255,255,255,0.15);
  animation: spin 18s linear infinite;
}
.broadcaster-visual .ring::before, .broadcaster-visual .ring::after {
  content: ""; position: absolute; width: 12px; height: 12px; border-radius: 999px;
  background: var(--grad); box-shadow: 0 0 20px rgba(255, 60, 172, 0.8);
}
.broadcaster-visual .ring::before { top: -6px; left: 50%; transform: translateX(-50%); }
.broadcaster-visual .ring::after { bottom: -6px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #FFB347, #FF6B6B); }
.broadcaster-visual .center-orb {
  width: 140px; height: 140px; border-radius: 999px;
  background: var(--grad);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.2em;
  box-shadow: 0 0 60px rgba(255, 60, 172, 0.5), inset 0 0 0 6px rgba(255,255,255,0.1);
  color: #1a0a1f;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 800px) {
  .broadcaster { grid-template-columns: 1fr; text-align: left; padding: 36px 28px; }
  .broadcaster-visual { height: 220px; }
}

/* ========== DOWNLOAD CTA ========== */
.download-cta {
  position: relative; padding: clamp(60px, 8vw, 100px) clamp(28px, 5vw, 64px);
  border-radius: var(--radius-lg); overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(138, 43, 255, 0.35), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 60, 172, 0.25), transparent 60%),
    linear-gradient(180deg, #0c0717, #06030e);
  border: 1px solid var(--border-hi);
}
.download-cta h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 18px; }
.download-cta p { color: var(--ink-dim); max-width: 520px; margin: 0 auto 36px; }
.download-cta .store-row { justify-content: center; }

/* ========== FOOTER ========== */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h4 { font-family: var(--display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: var(--ink-dim); font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--ink); }
.footer .brand-blurb { color: var(--ink-dim); font-size: 14px; max-width: 320px; margin-top: 16px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--ink-mute); font-size: 12px; flex-wrap: wrap; gap: 16px;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer .brand-blurb { grid-column: span 2; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-stage { height: 540px; }
  .phone { transform: rotate(-3deg); }
}
@media (max-width: 600px) {
  :root { --radius-lg: 22px; }
  .nav-cta .btn { display: none; }
  .phone-stage { height: 480px; }
  .phone { width: 240px; }
  .phone-stage::before { width: 360px; height: 360px; }
  .float-danmaku, .float-pk { left: 2%; }
  .float-gift, .float-voice { right: 2%; }
  .hero-meta { gap: 18px; }
  .hero-meta .stat strong { font-size: 18px; }
}
