/* Chipverse Underground - Static CSS */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --radius: 0.5rem;
  --metro-red: #c0392b;
  --metro-navy: #1a1a2e;
  --metro-amber: #d4a020;
  --metro-ivory: #f0ead6;
  --metro-steel: #7f8c8d;
  --metro-graphite: #2c2c3a;
  --background: #0f0f1a;
  --foreground: #eae8e0;
  --card: #1a1a2e;
  --card-foreground: #eae8e0;
  --primary: #c0392b;
  --primary-foreground: #fafafa;
  --secondary: #22223a;
  --secondary-foreground: #eae8e0;
  --muted: #22223a;
  --muted-foreground: #8a8a9a;
  --border: #2e2e4a;
  --input: #252540;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-800: #166534;
  --green-900: #14532d;
  --red-800: #991b1b;
  --red-900: #7f1d1d;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Johnston", "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-sm {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hidden { display: none !important; }
.flex { display: flex; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; }

/* Animations */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes train-light {
  0% { transform: translateX(-100vw); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100vw); opacity: 0; }
}

@keyframes signal-pulse {
  0%, 100% { box-shadow: 0 0 4px var(--metro-red); }
  50% { box-shadow: 0 0 16px var(--metro-red), 0 0 32px var(--metro-red); }
}

@keyframes neonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes neonLinePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
.animate-train-light { animation: train-light 4s ease-in-out infinite; }
.animate-signal-pulse { animation: signal-pulse 2s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-ping { animation: ping 1s cubic-bezier(0,0,0.2,1) infinite; }
.animate-fadeIn { animation: fadeIn 0.3s ease-out; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--foreground);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-desktop a:hover { color: var(--foreground); }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-18 {
  display: flex;
  height: 1.75rem;
  align-items: center;
  border-radius: 0.25rem;
  border: 1px solid var(--metro-red);
  background: rgba(192, 57, 43, 0.1);
  padding: 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--metro-red);
}

.menu-btn {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 0.75rem 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at center, var(--card) 0%, #080810 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    linear-gradient(var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-light {
  position: absolute;
  left: 0;
  height: 4px;
  width: 128px;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-light-1 {
  top: 50%;
  background: rgba(212, 160, 32, 0.6);
  animation: train-light 4s ease-in-out infinite;
}

.hero-light-2 {
  top: 33%;
  background: rgba(192, 57, 43, 0.4);
  animation: train-light 4s ease-in-out infinite 2s;
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-status {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--metro-red);
  animation: signal-pulse 2s ease-in-out infinite;
}

.status-text {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--metro-amber);
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
  line-height: 1.1;
}

.hero h1 span {
  display: block;
  color: var(--metro-red);
}

.hero-desc {
  margin-bottom: 2rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  background: var(--primary);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #a83225;
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--secondary-foreground);
  transition: all 0.2s;
}

.btn-secondary:hover { background: #2a2a44; }

.hero-indicators {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.indicator-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.platform-edge {
  border-bottom: 3px solid var(--metro-amber);
  box-shadow: 0 3px 10px rgba(212, 160, 32, 0.3);
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
  .hero h1 { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 4.5rem; }
  .hero-inner { padding: 8rem 1rem; }
}

/* Sections */
.section {
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.section-desc {
  margin-bottom: 2rem;
  max-width: 32rem;
  color: var(--muted-foreground);
}

/* Games Section */
.games-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .games-grid { grid-template-columns: 1fr 1fr; }
}

.terminal-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.terminal-label .dot {
  width: 0.75rem;
  height: 0.25rem;
  border-radius: 999px;
}

.terminal-label span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Game Cards */
.game-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1rem;
}

@media (min-width: 640px) {
  .game-card { padding: 1.5rem; }
}

.game-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.game-card-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.score-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.score-badge {
  border-radius: 0.25rem;
  background: var(--secondary);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--secondary-foreground);
}

.score-badge-amber {
  background: rgba(212, 160, 32, 0.2);
  color: var(--metro-amber);
}

/* Reel Machine */
.reel-display {
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  border: 2px solid var(--metro-navy);
  background: var(--metro-graphite);
  padding: 0.75rem;
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.reel-col {
  display: flex;
  flex-direction: column;
  border-radius: 0.375rem;
  border: 1px solid rgba(26, 26, 46, 0.5);
  overflow: hidden;
}

.reel-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background: rgba(26, 26, 46, 0.3);
  transition: all 0.3s;
}

.reel-cell.winning {
  background: rgba(26, 26, 46, 0.6);
}

.reel-cell .neon-border {
  position: absolute;
  inset: 4px;
  border-radius: 3px;
  pointer-events: none;
  animation: neonPulse 1.5s ease-in-out infinite;
}

.reel-cell .symbol-wrap {
  transition: transform 0.3s;
}

.reel-cell.winning .symbol-wrap {
  transform: scale(1.1);
}

.reel-cell svg {
  color: var(--metro-ivory);
}

/* Spinning reel strip */
.reel-strip-wrap {
  overflow: hidden;
  border-radius: 0.375rem;
  border: 1px solid rgba(26, 26, 46, 0.5);
  height: 168px;
}

.reel-strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.reel-strip .reel-cell {
  flex-shrink: 0;
}

/* Win overlay SVG */
.win-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

/* Win labels */
.win-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.win-label {
  border-radius: 0.25rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Win banner */
.win-banner {
  margin-bottom: 1rem;
  border-radius: 0.375rem;
  background: rgba(212, 160, 32, 0.2);
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--metro-amber);
  animation: pulse 2s ease-in-out infinite;
}

/* Game controls */
.game-controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn-spin {
  flex: 1;
  border-radius: 0.375rem;
  background: var(--primary);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  transition: all 0.2s;
}

.btn-spin:hover { background: #a83225; }
.btn-spin:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-auto {
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--secondary-foreground);
  transition: all 0.2s;
}

.btn-auto:hover { background: #2a2a44; }
.btn-auto.active {
  border-color: var(--metro-amber);
  background: rgba(212, 160, 32, 0.2);
  color: var(--metro-amber);
}

/* Win ratio */
.win-ratio-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: rgba(34, 34, 58, 0.5);
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

.win-ratio-bar span:first-child {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.win-ratio-bar span:last-child {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--metro-amber);
}

/* Paylines panel */
.paylines-panel {
  margin-bottom: 1rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: rgba(34, 34, 58, 0.3);
  padding: 0.75rem;
}

.paylines-panel h4 {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.paylines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.payline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.payline-item.active {
  background: rgba(212, 160, 32, 0.2);
  color: var(--metro-amber);
}

.payline-item .mono {
  font-family: monospace;
}

/* Spin history */
.spin-history h4 {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.history-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.history-chip {
  border-radius: 0.25rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.history-chip.win {
  border-color: var(--green-800);
  background: rgba(20, 83, 45, 0.2);
  color: var(--green-400);
}

.history-chip.loss {
  border-color: var(--border);
}

/* Card Game */
.cards-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .cards-area { gap: 2rem; }
}

.playing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 8rem;
  height: 11rem;
  border-radius: 0.5rem;
  border: 2px solid var(--border);
  background: var(--card);
  padding: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

@media (min-width: 640px) {
  .playing-card { width: 9rem; height: 13rem; }
}

.playing-card .card-top {
  text-align: left;
  font-size: 1.125rem;
  font-weight: 700;
}

.playing-card .card-center {
  text-align: center;
  font-size: 2.5rem;
}

.playing-card .card-bottom {
  text-align: right;
  font-size: 1.125rem;
  font-weight: 700;
  transform: rotate(180deg);
}

.playing-card.face-down {
  border-color: var(--metro-navy);
  background: rgba(26, 26, 46, 0.8);
  align-items: center;
  justify-content: center;
}

.face-down-dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
}

.face-down-dots .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(212, 160, 32, 0.4);
}

.card-red { color: var(--metro-red); }
.card-black { color: var(--foreground); }

.cards-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.cards-vs span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.cards-vs svg { color: var(--metro-amber); }

/* Combo meter */
.combo-meter {
  margin-bottom: 1rem;
}

.combo-meter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.combo-meter-header span:first-child {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.combo-meter-header span:last-child {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--metro-amber);
}

.combo-bar {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--secondary);
}

.combo-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(to right, var(--metro-red), var(--metro-amber));
  transition: width 0.5s;
}

/* Card game buttons */
.btn-higher {
  flex: 1;
  border-radius: 0.375rem;
  border: 1px solid var(--green-600);
  background: rgba(20, 83, 45, 0.3);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-400);
  transition: all 0.2s;
}

.btn-higher:hover { background: rgba(20, 83, 45, 0.5); }
.btn-higher:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-lower {
  flex: 1;
  border-radius: 0.375rem;
  border: 1px solid var(--metro-red);
  background: rgba(192, 57, 43, 0.2);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--metro-red);
  transition: all 0.2s;
}

.btn-lower:hover { background: rgba(192, 57, 43, 0.3); }
.btn-lower:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-new-route {
  flex: 1;
  border-radius: 0.375rem;
  background: var(--primary);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  transition: all 0.2s;
}

.btn-new-route:hover { background: #a83225; }

/* Result banner */
.result-banner {
  margin-bottom: 1rem;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
}

.result-banner.win {
  background: rgba(20, 83, 45, 0.3);
  color: var(--green-400);
}

.result-banner.loss {
  background: rgba(192, 57, 43, 0.2);
  color: var(--metro-red);
}

/* Stats Board */
.stats-section {
  background: rgba(34, 34, 58, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--metro-graphite);
  padding: 1rem;
}

@media (min-width: 640px) {
  .stat-card { padding: 1.5rem; }
}

.stat-value {
  margin-bottom: 0.25rem;
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--metro-amber);
}

@media (min-width: 640px) {
  .stat-value { font-size: 1.875rem; }
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

/* Timeline */
.timeline-line {
  position: absolute;
  left: 1.5rem;
  top: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(to bottom, var(--metro-red), var(--metro-amber), var(--green-500));
  display: none;
}

@media (min-width: 768px) {
  .timeline-line { display: block; }
}

.timeline-items {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .timeline-items { gap: 3rem; }
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.timeline-dot {
  position: relative;
  z-index: 10;
  display: none;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--metro-amber);
  background: var(--card);
}

@media (min-width: 768px) {
  .timeline-dot { display: flex; }
}

.timeline-dot svg { color: var(--metro-amber); }

.timeline-content {
  flex: 1;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
}

.timeline-content .stop-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.timeline-content .stop-label span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--metro-red);
}

.timeline-content .stop-label .line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Rewards */
.rewards-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .rewards-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .rewards-grid { grid-template-columns: repeat(4, 1fr); }
}

.reward-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  transition: all 0.2s;
}

.reward-card:hover {
  border-color: rgba(212, 160, 32, 0.5);
  box-shadow: 0 4px 20px rgba(212, 160, 32, 0.05);
}

.reward-card .orb {
  position: absolute;
  right: 0;
  top: 0;
  width: 5rem;
  height: 5rem;
  transform: translate(50%, -50%);
  border-radius: 50%;
  background: rgba(212, 160, 32, 0.05);
  transition: transform 0.3s;
}

.reward-card:hover .orb { transform: translate(50%, -50%) scale(1.5); }

.reward-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  margin-bottom: 1rem;
}

.reward-icon svg { color: var(--metro-amber); }

.reward-card h3 {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.reward-card p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Live Feed */
.feed-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .feed-grid { grid-template-columns: 2fr 1fr; }
}

.feed-list {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
}

.feed-list-header {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: rgba(34, 34, 58, 0.3); }

.feed-item .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.feed-item p {
  flex: 1;
  font-size: 0.875rem;
  color: var(--foreground);
}

.feed-item .time {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.feed-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feed-panel {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1rem;
}

.feed-panel h4 {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.leaderboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.leaderboard-item .rank {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.leaderboard-item .rank-num {
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary-foreground);
}

.leaderboard-item .name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.leaderboard-item .score {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--metro-amber);
}

.combo-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.25rem;
  background: rgba(34, 34, 58, 0.5);
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.combo-list-item .star { color: var(--metro-amber); }
.combo-list-item span:last-child { color: var(--foreground); }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
}

.faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  text-align: left;
  background: transparent;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.faq-btn svg {
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}

.faq-btn.open svg { transform: rotate(180deg); }

.faq-answer {
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Membership Banner */
.membership-section {
  background: rgba(26, 26, 46, 0.5);
}

.membership-banner {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 160, 32, 0.3);
  background: linear-gradient(to right, var(--metro-graphite), var(--metro-navy));
  padding: 2rem;
}

@media (min-width: 640px) {
  .membership-banner { padding: 3rem; }
}

.membership-banner .orb-1 {
  position: absolute;
  right: 0;
  top: 0;
  width: 16rem;
  height: 16rem;
  transform: translate(50%, -50%);
  border-radius: 50%;
  background: rgba(212, 160, 32, 0.05);
}

.membership-banner .orb-2 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 8rem;
  height: 8rem;
  transform: translate(-50%, 50%);
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.05);
}

.membership-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .membership-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.membership-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.membership-label .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--metro-amber);
  animation: pulse 2s ease-in-out infinite;
}

.membership-label span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--metro-amber);
}

.membership-inner h2 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .membership-inner h2 { font-size: 1.875rem; }
}

.membership-inner .desc {
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.membership-buttons {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .membership-buttons { flex-direction: row; }
}

.btn-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: var(--metro-amber);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--metro-graphite);
  transition: all 0.2s;
}

.btn-amber:hover { background: #c49520; }

.btn-amber-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(212, 160, 32, 0.3);
  background: transparent;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--metro-amber);
  transition: all 0.2s;
}

.btn-amber-outline:hover { background: rgba(212, 160, 32, 0.1); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 3rem 0;
}

.responsible-box {
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(34, 34, 58, 0.3);
  padding: 1.5rem;
}

.responsible-box h3 {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground);
}

.responsible-box > p {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.responsible-links {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .responsible-links { grid-template-columns: repeat(3, 1fr); }
}

.responsible-link {
  display: block;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.75rem 1rem;
  text-align: center;
  transition: border-color 0.2s;
}

.responsible-link:hover { border-color: rgba(212, 160, 32, 0.5); }
.responsible-link strong { display: block; font-size: 0.875rem; color: var(--foreground); }
.responsible-link span { font-size: 0.75rem; color: var(--muted-foreground); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-nav { gap: 1.5rem; }
}

.footer-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--foreground); }

.footer-disclaimer {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}

.footer-bottom .logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom .logo-wrap span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-right .copy {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Live dot indicator */
.live-dot-wrap {
  position: relative;
  display: inline-block;
}

.live-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--green-500);
}

.live-dot-ping {
  position: absolute;
  inset: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.5);
  animation: ping 1s cubic-bezier(0,0,0.2,1) infinite;
}

/* Page content */
.page-content {
  padding: 4rem 0;
}

.page-content h1 {
  margin-bottom: 1.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.page-content h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.page-content p {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.page-content ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.page-content ul li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.page-content a {
  color: var(--metro-amber);
  text-decoration: underline;
}

.page-box {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-box h2 {
  margin-top: 0;
}

.page-box-amber {
  border-color: rgba(212, 160, 32, 0.3);
  background: rgba(212, 160, 32, 0.05);
}

.page-box-amber p {
  font-weight: 500;
  color: var(--foreground);
}

.page-content table {
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
}

.page-content table th {
  padding-bottom: 0.5rem;
  font-weight: 700;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}

.page-content table td {
  padding: 0.5rem 0;
  color: var(--muted-foreground);
}

.page-content table tr {
  border-bottom: 1px solid var(--border);
}

/* Support org links */
.support-org {
  display: block;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
  text-decoration: none;
}

.support-org:hover { border-color: rgba(212, 160, 32, 0.5); }
.support-org strong { display: block; font-size: 1rem; color: var(--foreground); margin-bottom: 0.25rem; }
.support-org span { font-size: 0.875rem; color: var(--muted-foreground); text-decoration: none; }

.last-updated {
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
