/* ============================================
   脆台灣生存服 — Threads 風格設計系統
   ============================================ */

:root {
  --bg: #000000;
  --bg-elevated: #101010;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --border: #2a2a2a;
  --border-light: #333333;
  --text: #ffffff;
  --text-secondary: #999999;
  --text-muted: #666666;
  --accent: #ffffff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- 背景效果 ---- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ---- 載入畫面 ---- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 80px;
  height: 80px;
  animation: logoPulse 1.5s ease-in-out infinite;
}

.loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--text);
  border-radius: var(--radius-full);
  animation: loadBar 1.8s ease-in-out forwards;
}

@keyframes loadBar {
  0% { width: 0%; }
  60% { width: 80%; }
  100% { width: 100%; }
}

.loader-text {
  font-size: 13px;
  color: var(--text-secondary);
  animation: textBlink 1.5s ease-in-out infinite;
}

@keyframes textBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---- 導覽列 ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  transition: background var(--transition), backdrop-filter var(--transition), transform 0.4s ease;
  transform: translateY(-100%);
  animation: navSlideIn 0.8s ease 1.8s forwards;
}

@keyframes navSlideIn {
  to { transform: translateY(0); }
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition);
}

.nav-brand:hover {
  transform: scale(1.02);
}

.nav-logo {
  height: 32px;
  width: auto;
  transition: transform var(--transition-bounce), opacity var(--transition);
}

.nav-brand:hover .nav-logo {
  transform: scale(1.03);
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg-card);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-full);
  transition: transform var(--transition-bounce), box-shadow var(--transition);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.nav-cta:active {
  transform: scale(0.97);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.nav-toggle.active span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.nav-mobile.open {
  max-height: 400px;
  padding: 16px 24px;
}

.nav-mobile-link {
  padding: 12px 16px;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}

.nav-mobile-link:hover {
  background: var(--bg-card);
  transform: translateX(4px);
}

.nav-mobile-cta {
  margin-top: 8px;
  padding: 14px;
  text-align: center;
  font-weight: 600;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-full);
  transition: transform var(--transition-bounce);
}

.nav-mobile-cta:hover {
  transform: scale(1.02);
}

/* ---- Hero 預告 — 電影感分散佈局 ---- */
.hero-teaser {
  min-height: 100vh;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.teaser-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.teaser-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.teaser-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbDrift 12s ease-in-out infinite;
}

.teaser-orb-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: rgba(255, 255, 255, 0.07);
}

.teaser-orb-2 {
  width: 350px;
  height: 350px;
  bottom: 10%;
  left: -8%;
  background: rgba(255, 255, 255, 0.04);
  animation-delay: -4s;
}

.teaser-orb-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 45%;
  background: rgba(251, 191, 36, 0.06);
  animation-delay: -8s;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.teaser-beam {
  position: absolute;
  top: 0;
  left: 30%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.08) 70%, transparent);
  animation: beamPulse 6s ease-in-out infinite;
}

@keyframes beamPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.teaser-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Syne', sans-serif;
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  user-select: none;
  white-space: nowrap;
  animation: watermarkPulse 8s ease-in-out infinite;
}

@keyframes watermarkPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.02); }
}

.teaser-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  animation: ringExpand 8s ease-in-out infinite;
}

.teaser-ring-1 {
  width: 500px;
  height: 500px;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
}

.teaser-ring-2 {
  width: 700px;
  height: 700px;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  animation-delay: 2s;
  opacity: 0.5;
}

.teaser-stage {
  position: relative;
  width: 100%;
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 120px 6vw 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(36px, 5vh, 72px);
}

.teaser-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

/* 分散定位 → 流式排版 */
.teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.teaser-logo-float {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.teaser-logo-orbit {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}

.teaser-logo-orbit::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

.teaser-logo-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  animation: heroLogoFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.15));
}

.teaser-headline {
  line-height: 0.85;
  margin: -8px 0;
}

.teaser-headline-line {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
  text-shadow: 0 0 80px rgba(255, 255, 255, 0.15);
}

.teaser-headline-accent {
  background: linear-gradient(135deg, #ffffff 0%, #666666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 0.15em;
}

.teaser-mid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
}

/* ---- 上架倒數（右下角迷你） ---- */
.launch-countdown {
  position: absolute;
  right: clamp(20px, 5vw, 48px);
  bottom: clamp(24px, 4vh, 40px);
  z-index: 12;
  pointer-events: none;
}

.countdown-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}

.countdown-mini-label {
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.countdown-mini-date {
  font-weight: 600;
  color: var(--text-secondary);
}

.countdown-mini-divider {
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.countdown-mini-nums {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.countdown-mini-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--text);
}

.countdown-mini-suffix {
  margin-right: 2px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.countdown-mini-time {
  margin-left: 2px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--text);
}

.countdown-mini-num.tick {
  animation: countdownTickMini 0.35s ease;
}

@keyframes countdownTickMini {
  0% { opacity: 1; }
  50% { opacity: 0.35; }
  100% { opacity: 1; }
}

.teaser-desc {
  max-width: 320px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 2;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.teaser-metas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.teaser-meta {
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  transition: transform var(--transition-bounce), border-color var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.teaser-meta:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.teaser-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.teaser-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.teaser-brand {
  opacity: 0.7;
  transition: opacity var(--transition), transform var(--transition);
  margin-left: auto;
}

.teaser-meta-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.teaser-meta-value {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.teaser-meta-tbd {
  font-size: 16px;
  color: var(--text-secondary);
}

.teaser-brand img {
  height: 36px;
  width: auto;
}

.teaser-brand:hover {
  opacity: 1;
  transform: scale(1.03);
}

.teaser-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.teaser-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

.pulse-dot-warn {
  background: #fbbf24;
  animation: pulseWarn 2s ease-in-out infinite;
}

@keyframes pulseWarn {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5); }
  50% { opacity: 0.8; transform: scale(1.3); box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ---- Hero (legacy) ---- */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50% { opacity: 0.8; transform: scale(1.2); box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-line {
  display: block;
}

.hero-line-sub {
  color: var(--text-secondary);
  font-size: 0.55em;
  font-weight: 500;
  margin-top: 8px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

/* ---- 按鈕 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--transition-bounce), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary.copied {
  animation: copyPop 0.4s ease;
}

@keyframes copyPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
  transform: translateX(4px);
}

.btn-secondary svg {
  transition: transform var(--transition);
}

.btn-secondary:hover svg {
  transform: translateX(4px);
}

.btn-discord {
  background: #5865F2;
  color: white;
}

.btn-discord:hover {
  background: #4752c4;
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.3);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-hint {
  font-size: 11px;
  opacity: 0.6;
  margin-left: 4px;
}

/* ---- 統計卡片 ---- */
.hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-card {
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition-bounce), border-color var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow);
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ---- Hero 視覺 ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: heroLogoFloat 4s ease-in-out infinite;
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.hero-logo-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: ringExpand 4s ease-in-out infinite;
}

.hero-logo-ring {
  width: 260px;
  height: 260px;
}

.hero-logo-ring-2 {
  width: 300px;
  height: 300px;
  animation-delay: 1s;
  opacity: 0.5;
}

@keyframes ringExpand {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.6; }
}

.hero-pixels span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--text);
  border-radius: 2px;
  opacity: 0;
  animation: pixelFly 3s ease-in-out infinite;
}

.hero-pixels span:nth-child(1) { top: 10%; right: 15%; animation-delay: 0s; }
.hero-pixels span:nth-child(2) { top: 20%; right: 5%; animation-delay: 0.4s; width: 6px; height: 6px; }
.hero-pixels span:nth-child(3) { top: 5%; right: 30%; animation-delay: 0.8s; width: 10px; height: 10px; }
.hero-pixels span:nth-child(4) { top: 30%; right: 0%; animation-delay: 1.2s; }
.hero-pixels span:nth-child(5) { bottom: 20%; left: 10%; animation-delay: 0.2s; }
.hero-pixels span:nth-child(6) { bottom: 10%; left: 20%; animation-delay: 0.6s; width: 6px; height: 6px; }
.hero-pixels span:nth-child(7) { bottom: 30%; left: 0%; animation-delay: 1s; width: 10px; height: 10px; }
.hero-pixels span:nth-child(8) { bottom: 5%; left: 30%; animation-delay: 1.4s; }

@keyframes pixelFly {
  0%, 100% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  30% { opacity: 0.8; transform: translate(-8px, -8px) scale(1); }
  60% { opacity: 0.4; transform: translate(-16px, -16px) scale(0.8); }
}

/* ---- 區塊通用 ---- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 48px;
  position: relative;
  z-index: 2;
}

#features {
  padding-top: 160px;
  padding-bottom: 180px;
}

.section-dark {
  max-width: 100%;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ---- 關於卡片 ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-bounce), border-color var(--transition), box-shadow var(--transition);
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-light);
  box-shadow: var(--shadow);
}

/* ---- 統一圖示 ---- */
.ui-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text);
  flex-shrink: 0;
  transition: transform var(--transition-bounce), background var(--transition), border-color var(--transition);
}

.ui-icon svg {
  width: 24px;
  height: 24px;
}

.ui-icon-lg {
  width: 56px;
  height: 56px;
}

.ui-icon-lg svg {
  width: 28px;
  height: 28px;
}

.about-card-icon {
  margin-bottom: 16px;
  animation: iconBounce 2s ease-in-out infinite;
}

.about-card:nth-child(2) .about-card-icon { animation-delay: 0.3s; }
.about-card:nth-child(3) .about-card-icon { animation-delay: 0.6s; }

.about-card:hover .ui-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.about-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- 特色 — 分散交錯佈局 ---- */
.features-scatter {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 40px 0 80px;
}

.feature-row {
  position: relative;
  max-width: 900px;
}

.feature-row-left {
  margin-right: auto;
}

.feature-row:nth-child(1) { margin-left: 0; }
.feature-row:nth-child(2) { margin-right: 8%; }
.feature-row:nth-child(3) { margin-left: 10%; }
.feature-row:nth-child(4) { margin-right: 2%; }

.feature-row-right {
  margin-left: auto;
}

.feature-row-num {
  position: absolute;
  top: 16px;
  font-family: 'Syne', sans-serif;
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: color var(--transition), -webkit-text-stroke-color var(--transition);
}

.feature-row-left .feature-row-num {
  left: 0;
  transform: translateX(calc(-100% - 20px));
}

.feature-row-right .feature-row-num {
  right: 0;
  transform: translateX(calc(100% + 20px));
  text-align: right;
}

.feature-row:hover .feature-row-num {
  color: rgba(255, 255, 255, 0.1);
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.15);
}

.feature-row-card {
  position: relative;
  z-index: 1;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: transform var(--transition-bounce), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.feature-row-card-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  grid-template-areas:
    "icon trade"
    "body trade";
  gap: 20px 48px;
  align-items: start;
}

.feature-row-card-wide .feature-row-icon {
  grid-area: icon;
  margin-bottom: 0;
}

.feature-row-card-wide .feature-row-body {
  grid-area: body;
}

.feature-row-card-wide .feature-row-body p {
  max-width: none;
}

.feature-row-card-wide .feature-visual-trade {
  grid-area: trade;
  position: static;
  align-self: center;
  width: 100%;
  opacity: 0.7;
  margin: 0;
}

.feature-row:hover .feature-row-card-wide .feature-visual-trade {
  opacity: 0.95;
  transform: translateX(-4px);
}

.feature-row:hover .feature-row-card {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.feature-row-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity var(--transition);
  opacity: 0;
}

.feature-row:hover .feature-row-glow {
  opacity: 1;
}

.feature-row-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text);
  margin-bottom: 24px;
  transition: transform var(--transition-bounce), background var(--transition), border-color var(--transition);
}

.feature-row-icon svg {
  width: 28px;
  height: 28px;
}

.feature-row:hover .feature-row-icon {
  transform: scale(1.1) rotate(-4deg);
  background: rgba(255, 255, 255, 0.1);
}

.feature-row-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.feature-row-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 480px;
}

.feature-row[data-feature="anticheat"] .feature-row-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
}

/* ---- 特色 Bento (legacy) ---- */
.features-bento {
  display: none;
}

.feature-bento {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
}

.feature-bento-wide {
  grid-column: span 2;
  min-height: 240px;
}

.feature-bento-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 50%, rgba(255,255,255,0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.feature-bento:hover .feature-bento-glow {
  opacity: 1;
}

.feature-bento-inner {
  position: relative;
  height: 100%;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-bounce), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.feature-bento:hover .feature-bento-inner {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: var(--shadow);
}

.feature-bento-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-bento-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  transition: transform var(--transition-bounce), background var(--transition);
}

.feature-bento-icon svg {
  width: 28px;
  height: 28px;
}

.feature-bento:hover .feature-bento-icon {
  transform: scale(1.1) rotate(-3deg);
  background: rgba(255, 255, 255, 0.1);
}

.feature-bento-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.feature-bento h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-bento p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 420px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.feature-tag {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', monospace;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  transition: transform var(--transition-bounce), background var(--transition), border-color var(--transition);
}

.feature-bento:hover .feature-tag {
  border-color: var(--border-light);
}

.feature-tag:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.12);
}

.feature-visual-trade {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity var(--transition), transform var(--transition);
}

.feature-bento .feature-visual-trade {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 220px;
  opacity: 0.5;
}

.feature-bento:hover .feature-visual-trade {
  opacity: 0.9;
  transform: translateX(-4px);
}

.trade-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--text-secondary);
  animation: tradeSlide 0.6s ease both;
}

.trade-row:nth-child(2) { animation-delay: 0.1s; }
.trade-row:nth-child(3) { animation-delay: 0.2s; }

.trade-row span:first-child {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  flex-shrink: 0;
}

.trade-row span:last-child {
  margin-left: auto;
  color: var(--text);
  font-weight: 600;
}

@keyframes tradeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.feature-shield-pulse {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 80px;
  height: 80px;
  border: 1px solid var(--border);
  border-radius: 50%;
  opacity: 0.3;
}

.feature-shield-pulse::before,
.feature-shield-pulse::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: shieldRing 2.5s ease-out infinite;
}

.feature-shield-pulse::after {
  animation-delay: 1.2s;
}

@keyframes shieldRing {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

.feature-bento[data-feature="teleport"] .feature-bento-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.feature-bento[data-feature="anticheat"] .feature-bento-inner {
  background: linear-gradient(135deg, var(--bg-card) 0%, #141414 100%);
}

/* ---- 搶先關注卡片 ---- */
.notify-card {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.notify-card-glow {
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(88,101,242,0.3), transparent, rgba(255,255,255,0.1));
  border-radius: inherit;
  animation: notifyGlow 4s ease-in-out infinite;
}

@keyframes notifyGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.notify-content {
  position: relative;
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition-bounce);
}

.notify-card:hover .notify-content {
  transform: translateY(-4px);
}

.notify-icon {
  margin-bottom: 16px;
  animation: iconBounce 2s ease-in-out infinite;
}

.notify-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.notify-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ---- 加入步驟 ---- */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 24px;
}

.step-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 18px;
  font-weight: 700;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-full);
  transition: transform var(--transition-bounce);
}

.step:hover .step-num {
  transform: scale(1.15) rotate(5deg);
}

.step-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

.ip-code {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', monospace;
  font-size: 13px;
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition);
}

.ip-code:hover {
  border-color: var(--text-muted);
  transform: scale(1.02);
}

.step-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 48px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.step-connector::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  animation: connectorFill 2s ease forwards;
  animation-play-state: paused;
}

.step-connector.visible::after {
  animation-play-state: running;
}

@keyframes connectorFill {
  to { transform: scaleX(1); }
}

.join-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- 規則摘要（主頁） ---- */
.rules-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.rules-card {
  position: relative;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-bounce), border-color var(--transition), box-shadow var(--transition);
}

.rules-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.rules-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.rules-card:hover::before {
  opacity: 1;
}

.rules-card-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.rules-card-icon {
  margin-bottom: 16px;
}

.rules-card:hover .rules-card-icon {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.rules-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.rules-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.rules-cta {
  text-align: center;
}

.rules-cta-hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- 完整規章 TOS 頁面 ---- */
.page-tos .loader { display: none; }

.page-tos .nav {
  transform: translateY(0);
  animation: none;
}

.tos-hero {
  padding: 140px 48px 80px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.tos-hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.tos-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.tos-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
}

.tos-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 120px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  position: relative;
  z-index: 2;
}

.tos-nav {
  position: sticky;
  top: 100px;
  align-self: start;
}

.tos-nav-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tos-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tos-nav-list a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.tos-nav-list a:hover,
.tos-nav-list a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--text);
}

.tos-content {
  min-width: 0;
}

.tos-section {
  margin-bottom: 72px;
  scroll-margin-top: 100px;
}

.tos-section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.tos-section-num {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.tos-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tos-subsection {
  margin-bottom: 36px;
}

.tos-subsection h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.tos-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tos-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: border-color var(--transition), transform var(--transition);
}

.tos-list li:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.tos-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.tos-penalty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tos-penalty-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: transform var(--transition-bounce), border-color var(--transition);
}

.tos-penalty-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
}

.tos-penalty-card.tos-penalty-severe {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.04);
}

.tos-penalty-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tos-penalty-card .tos-penalty-example {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tos-penalty-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tos-penalty-card ul li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}

.tos-penalty-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.tos-note {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 20px;
}

.tos-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition), transform var(--transition);
}

.tos-back:hover {
  color: var(--text);
  transform: translateX(-4px);
}

@media (max-width: 900px) {
  .rules-preview {
    grid-template-columns: 1fr;
  }

  .tos-layout {
    grid-template-columns: 1fr;
    padding: 0 24px 80px;
    gap: 40px;
  }

  .tos-nav {
    position: relative;
    top: 0;
  }

  .tos-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tos-nav-list a {
    border-left: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 8px 14px;
    font-size: 12px;
  }

  .tos-penalty-grid {
    grid-template-columns: 1fr;
  }

  .tos-hero {
    padding: 120px 24px 60px;
  }
}

/* ---- 規則 (legacy) ---- */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), border-color var(--transition), padding-left var(--transition);
}

.rule-item:hover {
  transform: translateX(8px);
  border-color: var(--border-light);
  padding-left: 32px;
}

.rule-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border-radius: var(--radius-full);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.rule-item:hover .rule-icon {
  transform: scale(1.2);
}

.rule-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.rule-item p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-bounce);
}

.footer-brand:hover .footer-logo {
  transform: rotate(-8deg);
}

.footer-name {
  font-size: 14px;
  font-weight: 600;
}

.footer-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 14px;
  z-index: 200;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  box-shadow: var(--shadow);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.toast-icon svg {
  width: 14px;
  height: 14px;
}

.hero-teaser .reveal {
  opacity: 1;
  transform: none;
}

/* ---- 滾動顯示動畫 ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ---- 響應式 ---- */
@media (max-width: 900px) {
  .teaser-stage {
    padding: 110px 24px 90px;
    gap: 32px;
  }

  .teaser-top {
    flex-direction: column-reverse;
    align-items: center;
  }

  .teaser-logo-float {
    width: 100px;
    height: 100px;
  }

  .teaser-logo-icon {
    width: 64px;
    height: 64px;
  }

  .teaser-headline-line {
    font-size: clamp(4rem, 20vw, 7rem);
  }

  .launch-countdown {
    right: 20px;
    bottom: 20px;
  }

  .countdown-mini {
    font-size: 10px;
    padding: 7px 12px;
    gap: 8px;
  }

  .teaser-mid {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .teaser-metas {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .teaser-meta {
    flex: 1;
    min-width: 140px;
  }

  .teaser-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .teaser-brand {
    margin-left: 0;
    align-self: center;
  }

  .teaser-actions {
    width: 100%;
    flex-direction: column;
  }

  .teaser-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .teaser-watermark {
    font-size: 5rem;
  }

  .features-scatter {
    gap: 80px;
  }

  .feature-row,
  .feature-row-right {
    max-width: 100%;
    margin: 0 !important;
    padding-top: 48px;
  }

  .feature-row-num {
    position: absolute;
    top: 0;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    font-size: 2.5rem;
    text-align: left;
  }

  .feature-row-card {
    padding: 28px;
  }

  .feature-row-card-wide {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "body"
      "trade";
    gap: 20px;
  }

  .feature-row-card-wide .feature-visual-trade {
    width: 100%;
    margin-top: 8px;
  }

  .feature-visual-trade {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-mobile {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .feature-row-card {
    padding: 24px;
  }

  .notify-content {
    padding: 36px 24px;
  }
}
