:root {
  --bg: #050403;
  --ink: #f6efe4;
  --mute: #8f877a;
  --red: #ff2d1a;
  --ember: #ff6a2a;
  --line: rgba(246, 239, 228, 0.1);
  --font-display: "Syne", "Noto Sans SC", "Noto Sans TC", sans-serif;
  --font-body: "Noto Sans SC", "Noto Sans TC", "Syne", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(255, 45, 26, 0.18), transparent 60%),
    radial-gradient(700px 420px at 8% 90%, rgba(255, 106, 42, 0.08), transparent 55%),
    #050403;
  font-family: var(--font-body);
  overflow-x: hidden;
}

.glyph {
  position: fixed;
  right: clamp(-2vw, 2vw, 4vw);
  bottom: 6vh;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(8rem, 28vw, 22rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(255, 45, 26, 0.16);
  -webkit-text-stroke: 1px rgba(255, 45, 26, 0.45);
  text-shadow: 0 0 60px rgba(255, 45, 26, 0.2);
  pointer-events: none;
  user-select: none;
  transform: rotate(-8deg);
  z-index: 0;
  opacity: 0.35;
  transition: opacity 0.45s ease;
}

.glyph.is-pinned {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .glyph {
    animation: drift 16s ease-in-out infinite alternate;
  }
}

.scan {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.06) 4px
  );
  opacity: 0.4;
  z-index: 1;
}

.fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.fx-item {
  position: absolute;
  overflow: visible;
  opacity: 0.72;
  filter: drop-shadow(0 0 10px rgba(255, 45, 26, 0.18));
  will-change: transform, translate;
}

.fx-rocket {
  width: clamp(42px, 5.5vw, 72px);
  left: 4%;
  top: 58%;
}

.fx-rocket-b {
  width: clamp(34px, 4.2vw, 56px);
  left: 72%;
  top: 18%;
  opacity: 0.55;
}

.fx-car {
  width: clamp(100px, 13vw, 150px);
  left: -8%;
  top: 28%;
}

.fx-sat-unit {
  width: clamp(48px, 6vw, 78px);
  left: 18%;
  top: 12%;
}

.fx-sat-unit.roam-d {
  left: 62%;
  top: 70%;
  width: clamp(40px, 5vw, 64px);
  opacity: 0.6;
}

.fx-grok {
  width: clamp(44px, 5.5vw, 70px);
  left: 42%;
  top: 64%;
}

.fx-neuro {
  width: clamp(40px, 5vw, 64px);
  left: 78%;
  top: 42%;
}

.fx-bore {
  width: clamp(56px, 7vw, 90px);
  left: 8%;
  top: 78%;
}

.fx-xmark {
  width: clamp(36px, 4.5vw, 58px);
  left: 55%;
  top: 8%;
  opacity: 0.58;
}

.fx-flame {
  transform-origin: 40px 148px;
  animation: flameFlicker 0.28s ease-in-out infinite alternate;
}

.fx-wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheelSpin 0.55s linear infinite;
}

.fx-eye {
  animation: corePulse 1.6s ease-in-out infinite;
}

.fx-signal {
  animation: signalBlink 1.5s ease-in-out infinite;
}

.fx-core {
  animation: corePulse 1.8s ease-in-out infinite;
}

.fx-drill {
  transform-origin: 40px 24px;
  animation: drillSpin 1.4s linear infinite;
}

.fx-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(246, 239, 228, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 28% 68%, rgba(255, 106, 42, 0.45), transparent),
    radial-gradient(1px 1px at 63% 18%, rgba(246, 239, 228, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 78% 56%, rgba(255, 45, 26, 0.4), transparent),
    radial-gradient(1px 1px at 48% 40%, rgba(246, 239, 228, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 88% 30%, rgba(255, 106, 42, 0.35), transparent),
    radial-gradient(1px 1px at 35% 12%, rgba(246, 239, 228, 0.3), transparent);
  animation: starTwinkle 6s ease-in-out infinite alternate;
}

.roam-a { animation: roamA 22s ease-in-out infinite; }
.roam-b { animation: roamB 28s ease-in-out infinite; }
.roam-c { animation: roamC 24s linear infinite; }
.roam-d { animation: roamD 31s linear infinite; }
.roam-e { animation: roamE 18s ease-in-out infinite; }
.roam-f { animation: roamF 26s ease-in-out infinite; }
.roam-g { animation: roamG 20s ease-in-out infinite; }
.roam-h { animation: roamH 16s ease-in-out infinite; }
.roam-car { animation: carRoam 16s linear infinite; }

@keyframes starTwinkle {
  from { opacity: 0.45; }
  to { opacity: 0.9; }
}

@keyframes flameFlicker {
  from { opacity: 0.55; transform: scaleY(0.8); }
  to { opacity: 1; transform: scaleY(1.25); }
}

@keyframes wheelSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes boltFlash {
  0%, 70%, 100% { opacity: 0.55; filter: brightness(1); }
  75% { opacity: 1; filter: brightness(1.6); }
  82% { opacity: 0.5; }
  88% { opacity: 1; filter: brightness(1.8); }
}

@keyframes roamA {
  0% { transform: translate(0, 0) rotate(-12deg); }
  20% { transform: translate(28vw, -28vh) rotate(8deg); }
  40% { transform: translate(62vw, -8vh) rotate(-6deg); }
  60% { transform: translate(48vw, -42vh) rotate(14deg); }
  80% { transform: translate(12vw, -18vh) rotate(-10deg); }
  100% { transform: translate(0, 0) rotate(-12deg); }
}

@keyframes roamB {
  0% { transform: translate(0, 0) rotate(10deg) scale(0.9); }
  25% { transform: translate(-36vw, 24vh) rotate(-8deg) scale(1); }
  50% { transform: translate(-58vw, 8vh) rotate(16deg) scale(0.85); }
  75% { transform: translate(-18vw, 38vh) rotate(-4deg) scale(1.05); }
  100% { transform: translate(0, 0) rotate(10deg) scale(0.9); }
}

@keyframes roamC {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(42vw, 18vh) rotate(90deg); }
  50% { transform: translate(18vw, 48vh) rotate(180deg); }
  75% { transform: translate(-10vw, 22vh) rotate(270deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes roamD {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-30vw, -20vh) rotate(-70deg); }
  50% { transform: translate(12vw, -36vh) rotate(-160deg); }
  75% { transform: translate(28vw, -8vh) rotate(-250deg); }
  100% { transform: translate(0, 0) rotate(-360deg); }
}

@keyframes roamE {
  0% { transform: translate(0, 0) rotate(-4deg); }
  15% { transform: translate(18vw, -22vh) rotate(6deg); }
  35% { transform: translate(-16vw, -8vh) rotate(-10deg); }
  55% { transform: translate(24vw, 14vh) rotate(8deg); }
  75% { transform: translate(-22vw, 20vh) rotate(-6deg); }
  100% { transform: translate(0, 0) rotate(-4deg); }
}

@keyframes roamF {
  0% { transform: translate(0, 0) scale(1); }
  20% { transform: translate(-34vw, -16vh) scale(1.08); }
  45% { transform: translate(-12vw, 22vh) scale(0.92); }
  70% { transform: translate(-48vw, 8vh) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes roamG {
  0% { transform: translate(0, 0); }
  25% { transform: translate(36vw, -10vh); }
  50% { transform: translate(58vw, -4vh); }
  75% { transform: translate(22vw, 8vh); }
  100% { transform: translate(0, 0); }
}

@keyframes roamH {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(-20vw, 30vh) rotate(45deg) scale(1.12); }
  50% { transform: translate(18vw, 42vh) rotate(90deg) scale(0.9); }
  75% { transform: translate(30vw, 12vh) rotate(140deg) scale(1.08); }
  100% { transform: translate(0, 0) rotate(180deg) scale(1); }
}

@keyframes carRoam {
  0% { transform: translate(0, 0) scaleX(1); }
  22% { transform: translate(42vw, 8vh) scaleX(1); }
  40% { transform: translate(88vw, -4vh) scaleX(1); }
  42% { transform: translate(88vw, -4vh) scaleX(-1); }
  68% { transform: translate(38vw, 18vh) scaleX(-1); }
  90% { transform: translate(-6vw, 6vh) scaleX(-1); }
  92% { transform: translate(-6vw, 6vh) scaleX(1); }
  100% { transform: translate(0, 0) scaleX(1); }
}

main,
.foot { position: relative; z-index: 2; }

.top {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem clamp(1.25rem, 4vw, 3.5rem);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.top-end {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.unofficial-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 106, 42, 0.35);
  border-radius: 999px;
  color: var(--mute);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-interact {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #fff8f2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  letter-spacing: 0.06em;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #ff2d1a 0%, #ff6a2a 100%);
  box-shadow:
    0 0 0 0 rgba(255, 45, 26, 0.55),
    0 10px 28px rgba(255, 45, 26, 0.38);
  animation: interactPulse 1.8s ease-in-out infinite;
  z-index: 2;
}

.top-interact-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
  animation: interactDot 1.1s ease-in-out infinite;
}

.top-interact:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 0 0 5px rgba(255, 45, 26, 0.2),
    0 14px 34px rgba(255, 45, 26, 0.5);
}

@keyframes interactPulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(255, 45, 26, 0.5),
      0 10px 28px rgba(255, 45, 26, 0.38);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(255, 45, 26, 0),
      0 12px 32px rgba(255, 45, 26, 0.48);
  }
}

@keyframes interactDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.7); opacity: 0.65; }
}

@media (prefers-reduced-motion: reduce) {
  .top-interact,
  .top-interact-dot { animation: none; }
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn,
.lang-more {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-more {
  padding: 0.4rem 0.55rem;
  line-height: 1;
}

.lang-btn:hover,
.lang-more:hover,
.lang-more[aria-expanded="true"] {
  border-color: rgba(255, 106, 42, 0.5);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 10.5rem;
  max-height: min(60vh, 22rem);
  overflow: auto;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #120c0a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  z-index: 60;
}

.lang-menu[hidden] { display: none !important; }

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-option {
  display: block;
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: start;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  cursor: pointer;
}

.lang-option:hover { background: rgba(255, 45, 26, 0.12); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: calc(100svh - 4.8rem);
  padding: 1rem clamp(1.25rem, 5vw, 4rem) 2.5rem;
}

.hero-copy { max-width: 34rem; }

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--ember);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.line { display: block; }

.line.en {
  font-size: clamp(2.1rem, 5.8vw, 4.6rem);
}

.line.zh {
  margin-top: 0.06em;
  font-size: clamp(3.8rem, 13vw, 8.5rem);
  color: var(--red);
  text-shadow: 0 0 48px rgba(255, 45, 26, 0.4);
}

.lead {
  margin: 1.2rem 0 0;
  max-width: 22rem;
  color: var(--mute);
  font-size: 1.08rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.85rem;
}

.tweet-panel {
  justify-self: end;
  width: min(100%, 620px);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.tweet-shot {
  margin: 0;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.tweet-shot > a { display: block; }

.tweet-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(255, 45, 26, 0.12);
  background: #fff;
  transition: box-shadow 0.35s ease, filter 0.35s ease;
}

.tweet-shot:hover img {
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(255, 45, 26, 0.22);
  filter: saturate(1.05);
}

.tweet-shot figcaption {
  margin-top: 0.7rem;
  color: var(--mute);
  font-size: 0.84rem;
  line-height: 1.45;
}

.tweet-shot figcaption a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.tweet-follows {
  margin-top: 0;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn.follow {
  --mx: 50%;
  --my: 50%;
  background: var(--red);
  color: #fff8f2;
  font-weight: 700;
  padding-left: 0.55rem;
  box-shadow: 0 10px 30px rgba(255, 45, 26, 0.28);
}

.btn.follow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140px 80px at var(--mx) var(--my), rgba(255, 255, 255, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.btn.follow:hover::before { opacity: 1; }

.btn.follow img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.btn.follow span { position: relative; z-index: 1; }

.btn.follow:not(:has(img)) {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.btn.follow:hover {
  background: #ff4735;
  box-shadow: 0 14px 36px rgba(255, 45, 26, 0.4);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn.ghost:hover {
  border-color: var(--ember);
  color: #fff;
  background: rgba(255, 106, 42, 0.06);
}

.btn.host-follow {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  align-self: center;
}

.products {
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem) 1.5rem;
  border-top: 1px solid var(--line);
}

.products .section-kicker {
  margin-bottom: 0.55rem;
}

.products-note {
  margin: 0 0 1.25rem;
  max-width: 46rem;
  color: var(--mute);
  font-size: 0.88rem;
  line-height: 1.55;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1rem 1.15rem;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.product svg {
  width: 100%;
  height: 72px;
  margin-bottom: 0.35rem;
  color: rgba(246, 239, 228, 0.85);
  overflow: visible;
}

.anim-rocket .lift {
  transform-origin: 32px 94px;
  animation: cardRocket 2.8s ease-in-out infinite;
}

.anim-rocket .flame {
  transform-origin: 32px 94px;
  animation: flameFlicker 0.3s ease-in-out infinite alternate;
}

.anim-car .drive {
  animation: cardDrive 2.4s ease-in-out infinite;
}

.anim-car .wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheelSpin 0.6s linear infinite;
}

.anim-car .bolt {
  animation: boltFlash 2.2s ease-in-out infinite;
}

.anim-sat .orbit-dash {
  animation: dashMove 4s linear infinite;
}

.anim-sat .sat-move {
  transform-origin: 48px 32px;
  animation: satOrbit 3.2s linear infinite;
}

.anim-ai .spin {
  transform-origin: 32px 32px;
  animation: spinSlow 8s linear infinite;
}

.anim-ai .core,
.anim-neuro .core {
  animation: corePulse 1.8s ease-in-out infinite;
}

.anim-x .pulse-x {
  transform-origin: 32px 32px;
  animation: xPulse 2.4s ease-in-out infinite;
}

.anim-neuro .signal {
  animation: signalBlink 1.6s ease-in-out infinite;
}

.anim-neuro .wires {
  animation: wirePulse 2s ease-in-out infinite;
}

.anim-bore .drill {
  transform-origin: 48px 32px;
  animation: drillSpin 2.2s linear infinite;
}

@keyframes cardRocket {
  0%, 100% { transform: translateY(8px); }
  50% { transform: translateY(-10px); }
}

@keyframes cardDrive {
  0%, 100% { transform: translateX(-6px); }
  50% { transform: translateX(8px); }
}

@keyframes satOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes dashMove {
  to { stroke-dashoffset: -40; }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes xPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes signalBlink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes wirePulse {
  0%, 100% { stroke-opacity: 0.45; }
  50% { stroke-opacity: 1; }
}

@keyframes drillSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.product strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.product span {
  color: var(--mute);
  font-size: 0.82rem;
  line-height: 1.35;
}

.product:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 42, 0.45);
  background: rgba(255, 45, 26, 0.07);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.35rem;
  padding: 1.35rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credits a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mute);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.credits a::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid rgba(255, 106, 42, 0.55);
  opacity: 0.7;
}

.credits a[data-mark="rocket"]::before {
  clip-path: polygon(50% 0, 82% 70%, 68% 100%, 32% 100%, 18% 70%);
  background: rgba(255, 45, 26, 0.35);
}

.credits a[data-mark="bolt"]::before {
  clip-path: polygon(55% 0, 20% 55%, 45% 55%, 35% 100%, 80% 42%, 52% 42%);
  background: rgba(255, 106, 42, 0.55);
  border: 0;
}

.credits a[data-mark="spark"]::before {
  border-radius: 0;
  transform: rotate(45deg);
  background: rgba(246, 239, 228, 0.2);
}

.credits a[data-mark="x"]::before {
  border: 0;
  background:
    linear-gradient(45deg, transparent 42%, rgba(246,239,228,0.7) 42%, rgba(246,239,228,0.7) 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, rgba(246,239,228,0.7) 42%, rgba(246,239,228,0.7) 58%, transparent 58%);
}

.credits a[data-mark="sat"]::before {
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 106, 42, 0.2);
}

.credits a[data-mark="node"]::before {
  border-radius: 50%;
  background: rgba(255, 45, 26, 0.35);
}

.credits a[data-mark="tunnel"]::before {
  border-radius: 50%;
  border-width: 2px;
  background: transparent;
}

.credits a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28rem;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.credits a:hover { color: var(--ink); }
.credits a:hover::after { transform: scaleX(1); }
.credits a:hover::before { opacity: 1; }

.pulse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.stats-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.85rem 1rem 1.1rem;
  color: var(--mute);
  font-size: 0.82rem;
  line-height: 1.5;
  border-top: 1px solid var(--line);
}

.stat {
  padding: 1.35rem 1rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--mute);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meaning {
  padding: 4rem clamp(1.25rem, 5vw, 4rem);
  max-width: 680px;
}

.meaning h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
}

.meaning p {
  margin: 0;
  color: var(--mute);
  font-size: 1.08rem;
  line-height: 1.8;
}

.interact {
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem) 3rem;
  border-top: 1px solid var(--line);
}

.interact h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
}

.interact-lead {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  color: var(--mute);
  line-height: 1.6;
}

.interact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.interact-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.1rem 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  min-width: 0;
}

#stamp-panel {
  min-height: 28rem;
}

#stamp-panel .stamp-wall {
  flex: 1;
}

.interact-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.panel-desc,
.game-status,
.stamp-count {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.5;
}

.stamp-form,
.panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.panel-actions {
  flex-direction: row;
  flex-wrap: wrap;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--mute);
  font-size: 0.82rem;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.char-count {
  font-variant-numeric: tabular-nums;
  color: var(--mute);
  opacity: 0.85;
}

.field input {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 0.65rem;
}

.field input:focus {
  outline: none;
  border-color: rgba(255, 106, 42, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 45, 26, 0.15);
}

.card-preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 1350;
  object-fit: contain;
  border-radius: 1rem;
  border: 1px solid rgba(255, 45, 26, 0.28);
  background: #0b0605;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.stamp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.stamp-sort {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

.sort-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mute);
  font: inherit;
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.sort-btn.is-active {
  background: rgba(255, 45, 26, 0.2);
  color: var(--ink);
}

.stamp-wall {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  min-height: 14rem;
  max-height: 22rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.28);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 106, 42, 0.45) transparent;
}

.stamp-empty {
  margin: auto;
  color: var(--mute);
  font-size: 0.92rem;
  text-align: center;
}

.stamp-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.75rem 0.55rem 0.55rem;
  border: 1px solid rgba(255, 45, 26, 0.28);
  background: rgba(255, 45, 26, 0.08);
  border-radius: 0.85rem;
}

.stamp-chip.is-pinned {
  border-color: rgba(255, 45, 26, 0.55);
  background: rgba(255, 45, 26, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 45, 26, 0.12);
}

.stamp-pin {
  color: var(--red);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.stamp-time {
  color: var(--mute);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.stamp-chip strong {
  color: var(--red);
  font-family: var(--font-display);
}

.stamp-msg {
  color: var(--ink);
  font-size: 0.92rem;
}

.stamp-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mute);
  font-size: 0.78rem;
}

.stamp-user {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink);
  text-decoration: none;
}

.stamp-user:hover span { text-decoration: underline; }
.stamp-user.anon { color: var(--mute); }

.stamp-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stamp-avatar.preview {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.handle-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.handle-row input { flex: 1; min-width: 0; }

.handle-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-top: 0.35rem;
}

.btn.mini {
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
}

.stamp-profile-link {
  color: var(--ink);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.stamp-badge {
  margin-left: 0.1rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 106, 42, 0.2);
  color: #ffb089;
}

.stamp-like {
  appearance: none;
  border: 1px solid rgba(255, 45, 26, 0.28);
  background: rgba(0, 0, 0, 0.2);
  color: var(--mute);
  font: inherit;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  margin-left: auto;
}

.stamp-like:hover { color: var(--ink); border-color: rgba(255, 106, 42, 0.55); }

.stamp-like.is-liked {
  color: #ff6a2a;
  border-color: rgba(255, 106, 42, 0.65);
  background: rgba(255, 45, 26, 0.12);
}

body.game-on {
  overflow: hidden;
}

.game-arena {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  grid-template-rows: auto 1fr auto;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  background: #070403;
}

.game-arena[hidden] {
  display: none !important;
}

.game-arena-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(255, 45, 26, 0.28), transparent 58%),
    radial-gradient(70% 50% at 80% 90%, rgba(255, 106, 42, 0.14), transparent 60%),
    linear-gradient(180deg, #140806 0%, #070403 100%);
  background-image:
    linear-gradient(rgba(255, 45, 26, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 26, 0.07) 1px, transparent 1px),
    radial-gradient(90% 60% at 50% 0%, rgba(255, 45, 26, 0.28), transparent 58%),
    linear-gradient(180deg, #140806 0%, #070403 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  pointer-events: none;
}

.game-arena-hud {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: max(0.85rem, env(safe-area-inset-top)) 1rem 0.75rem;
}

.game-arena-meta {
  min-width: 0;
}

.game-arena-title {
  margin: 0;
  color: #ff6a2a;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-arena-status {
  margin: 0.15rem 0 0;
  color: #fff8f2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.game-arena-lives {
  display: inline-flex;
  gap: 0.4rem;
}

.game-arena-lives span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 45, 26, 0.55);
  background: transparent;
  box-shadow: 0 0 10px rgba(255, 45, 26, 0.15);
}

.game-arena-lives span.on {
  background: #ff2d1a;
  box-shadow: 0 0 14px rgba(255, 45, 26, 0.7);
}

.game-arena-close {
  padding: 0.45rem 0.9rem;
}

.game-arena-stage {
  position: relative;
  z-index: 2;
  margin: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 45, 26, 0.28);
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 40px rgba(255, 45, 26, 0.08);
  overflow: hidden;
  touch-action: none;
}

.game-arena-hint {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 0.75rem 1rem max(1rem, env(safe-area-inset-bottom));
  text-align: center;
  color: rgba(246, 239, 228, 0.72);
  font-size: 0.92rem;
  pointer-events: none;
}

.game-grok {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: clamp(76px, 20vw, 108px);
  height: auto;
  aspect-ratio: 64 / 72;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: crosshair;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.game-grok-aura {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 26, 0.35), transparent 68%);
  animation: catchGlow 0.9s ease-in-out infinite alternate;
  pointer-events: none;
}

.game-grok svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 0 14px rgba(255, 45, 26, 0.55));
}

.game-grok.is-hit {
  transform: translate3d(var(--gx, 0px), var(--gy, 0px), 0) scale(1.2) !important;
}

.game-grok.is-hit svg {
  filter: drop-shadow(0 0 28px rgba(255, 106, 42, 0.95)) brightness(1.35);
}

.game-decoy {
  position: absolute;
  z-index: 1;
  width: clamp(60px, 16vw, 88px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 42, 0.28), transparent 70%);
  filter: blur(1px);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.game-decoy[hidden] {
  display: none !important;
}

.game-fx-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.game-pop {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  color: #ff2d1a;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  text-shadow: 0 0 18px rgba(255, 45, 26, 0.65);
  animation: gamePop 0.7s ease-out forwards;
  white-space: nowrap;
}

.game-pop.is-win {
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-size: clamp(2.6rem, 12vw, 5rem);
  animation: gameWinPop 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes catchGlow {
  from { opacity: 0.55; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1.08); }
}

@keyframes gamePop {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(0.7); }
  25% { opacity: 1; transform: translate(-50%, -6px) scale(1.05); }
  100% { opacity: 0; transform: translate(-50%, -42px) scale(1.15); }
}

@keyframes gameWinPop {
  0% { opacity: 0; transform: translate(-50%, -40%) scale(0.4); }
  35% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
  100% { opacity: 0; transform: translate(-50%, -58%) scale(1.35); }
}

@media (max-width: 960px) {
  .interact-grid { grid-template-columns: 1fr; }
}

.host {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem 1.35rem;
  align-items: center;
  margin: 0 clamp(1.25rem, 4vw, 3.5rem) 2.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.host-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 45, 26, 0.4);
}

.host-body .section-kicker { margin-bottom: 0.35rem; }

.host-body h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.host-body h2 span {
  color: var(--mute);
  font-weight: 600;
  font-size: 0.78em;
}

.host-bio {
  margin: 0;
  color: var(--mute);
  max-width: 34rem;
  line-height: 1.6;
  font-size: 0.98rem;
}

.foot {
  display: grid;
  gap: 0.65rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem) 2.4rem;
  color: var(--mute);
  font-size: 0.82rem;
  line-height: 1.55;
  border-top: 1px solid var(--line);
}

.foot p { margin: 0; max-width: 58rem; }

.foot-sub { opacity: 0.85; }

.copy-inline {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 45, 26, 0.45);
  padding: 0;
}

.copy-inline:hover,
.copy-inline.copied { color: #fff; }

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 45, 26, 0.16), transparent 68%);
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

.cursor-glow.on { opacity: 1; }

.id-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.id-modal[hidden] {
  display: none;
}

.id-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 2, 0.72);
  backdrop-filter: blur(8px);
}

.id-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 1.35rem 1.35rem 1.2rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 45, 26, 0.35);
  background: linear-gradient(160deg, rgba(28, 14, 12, 0.98), rgba(12, 7, 6, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.id-modal-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}

.id-modal-desc {
  margin: 0 0 1rem;
  color: var(--mute);
  line-height: 1.55;
  font-size: 0.95rem;
}

.id-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.id-modal-actions #id-modal-cancel {
  margin-right: auto;
}

.id-modal-actions .btn.follow {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  z-index: 80;
  transform: translateX(-50%) translateY(12px);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 45, 26, 0.35);
  background: rgba(18, 12, 10, 0.92);
  color: var(--ink);
  font-size: 0.92rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.stat {
  transition: background 0.25s ease;
}

.stat:hover {
  background: rgba(255, 45, 26, 0.05);
}

.host-avatar {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.host:hover .host-avatar {
  transform: scale(1.04);
  box-shadow: 0 0 0 3px rgba(255, 45, 26, 0.25);
}

.brand {
  transition: color 0.2s ease, letter-spacing 0.25s ease;
}

.brand:hover {
  color: #fff;
  letter-spacing: 0.08em;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cursor-glow { display: none; }
  .tweet-shot { transition: none; }
  .fx-item,
  .fx-flame,
  .fx-wheel,
  .fx-eye,
  .fx-signal,
  .fx-core,
  .fx-drill,
  .fx-stars,
  .anim-rocket .lift,
  .anim-rocket .flame,
  .anim-car .drive,
  .anim-car .wheel,
  .anim-car .bolt,
  .anim-sat .orbit-dash,
  .anim-sat .sat-move,
  .anim-ai .spin,
  .anim-ai .core,
  .anim-x .pulse-x,
  .anim-neuro .signal,
  .anim-neuro .wires,
  .anim-neuro .core,
  .anim-bore .drill {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  .fx-item { opacity: 0.5; }
  .fx-rocket-b,
  .fx-sat-unit.roam-d { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .eyebrow,
  .line,
  .lead,
  .actions,
  .tweet-panel {
    animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .eyebrow { animation-delay: 0.06s; }
  .line.en { animation-delay: 0.14s; }
  .line.zh {
    animation:
      slam 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both,
      glowPulse 4.8s ease-in-out 1.2s infinite;
  }
  .lead { animation-delay: 0.4s; }
  .actions { animation-delay: 0.52s; }
  .tweet-panel { animation-delay: 0.22s; }
  .tweet-follows { animation-delay: 0.42s; }
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 40px rgba(255, 45, 26, 0.32); }
  50% { text-shadow: 0 0 64px rgba(255, 45, 26, 0.58); }
}

@keyframes rise {
  from { transform: translateY(16px); }
  to { transform: translateY(0); }
}

@keyframes slam {
  0% { transform: translateY(24px) scale(0.97); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes drift {
  from { transform: rotate(-8deg) translate3d(0, 0, 0); }
  to { transform: rotate(-5deg) translate3d(-2vw, -2vh, 0); }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0.5rem;
  }
  .tweet-panel {
    order: -1;
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .host {
    grid-template-columns: auto 1fr;
  }

  .host-follow {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .credits {
    gap: 0.45rem 1rem;
    justify-content: flex-start;
  }
}
