/* OpenFront Game Theme - Fun & Engaging */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@400;600;700&display=swap');

:root {
  /* Game Color Palette */
  --olive: #C2D08E;
  --olive-dark: #a8b87a;
  --yale-blue: #26465D;
  --charcoal: #374350;
  --granite: #4E5E51;
  --carbon: #242526;

  /* Functional Colors */
  --bg-primary: #1a2026;
  --bg-secondary: #232a32;
  --bg-card: #2a333d;
  --text-primary: #e8ebe4;
  --text-secondary: #9aa3a0;
  --accent: #C2D08E;
  --accent-hover: #d4e2a0;
  --gold: #e8c547;
  --troops-red: #d45454;
  --factory-orange: #e89b47;
  --ship-blue: #47a8e8;
  --city-green: #5dc25d;
  --nuke-pink: #e847a8;
  --train-brown: #c49a6c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #151a1e 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Language Switcher */
.lang-switcher {
  position: fixed;
  top: 12px; right: 12px;
  display: flex; gap: 4px;
  z-index: 100;
  background: var(--bg-card);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--granite);
}

.lang-switcher a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-switcher a:hover, .lang-switcher a.active {
  color: var(--accent);
  background: rgba(194, 208, 142, 0.15);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  background: radial-gradient(ellipse at top, rgba(194, 208, 142, 0.08) 0%, transparent 50%);
}

/* Hammer */
.hammer-container {
  position: relative;
  width: 160px; height: 160px;
  margin-bottom: 20px;
}

.hammer-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 4px 20px rgba(194, 208, 142, 0.3));
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hammer-svg:hover { transform: scale(1.05); }

.hammer-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(194, 208, 142, 0.3) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  padding: 10px 20px;
  border-radius: 100px;
  border: 2px solid var(--accent);
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
}

.live-dot {
  width: 8px; height: 8px;
  background: var(--city-green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

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

.clan-tag {
  font-family: 'Orbitron', monospace;
  font-size: clamp(16px, 3vw, 24px);
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: 3px;
  opacity: 0;
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(56px, 14vw, 140px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin-bottom: 16px;
  color: var(--text-primary);
  opacity: 0;
}

.hero-title .char { display: inline-block; }

.hero-subtitle {
  font-size: clamp(15px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 450px;
  line-height: 1.5;
  opacity: 0;
}

.hero-subtitle strong { color: var(--text-primary); }

.hero-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-top: 30px;
  border-radius: 16px;
  border: 3px solid var(--accent);
  box-shadow: 0 8px 40px rgba(194, 208, 142, 0.2);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 1.2s forwards;
}

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

/* Quick Connect */
.quick-connect {
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
}

.connect-label {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.connect-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto 16px;
}

.connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.connect-btn svg { width: 18px; height: 18px; }

.connect-btn.discord { background: #5865F2; color: #fff; }
.connect-btn.discord:hover { background: #4752c4; transform: translateY(-2px); }

.connect-btn.telegram { background: #26A5E4; color: #fff; }
.connect-btn.telegram:hover { background: #1e8bc3; transform: translateY(-2px); }

.connect-btn.twitch { background: #9146FF; color: #fff; }
.connect-btn.twitch:hover { background: #7c3adb; transform: translateY(-2px); }

.connect-btn.steam { background: #171a21; color: #fff; border-color: #66c0f4; }
.connect-btn.steam:hover { background: #2a475e; transform: translateY(-2px); }

.connect-btn.reddit { background: #FF4500; color: #fff; }
.connect-btn.reddit:hover { background: #e03d00; transform: translateY(-2px); }

.connect-note {
  font-size: 12px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.connect-note a { color: var(--accent); text-decoration: none; }
.connect-note a:hover { text-decoration: underline; }

.wip-badge {
  display: inline-block;
  background: var(--factory-orange);
  color: var(--carbon);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ==================== */
/* COMMAND CENTER */
/* ==================== */
.command-center {
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.command-label {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}

/* Gold Station */
.gold-station {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 30px rgba(232, 197, 71, 0.1);
}

.gold-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.gold-title {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
}

.gold-stats {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.gold-stats span { color: var(--city-green); font-weight: 700; }

.population-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(93, 194, 93, 0.1);
  border: 1px solid var(--city-green);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.pop-label {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  color: var(--city-green);
  letter-spacing: 2px;
}

.population-display {
  font-family: 'Orbitron', monospace;
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 900;
  color: var(--city-green);
  letter-spacing: 1px;
}

.gold-display {
  background: var(--carbon);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.gold-value {
  font-family: 'Orbitron', monospace;
  font-size: clamp(36px, 10vw, 56px);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 2px;
}

.gold-rate {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.gold-rate span { color: var(--city-green); font-weight: 600; }

.gold-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.build-btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 16px;
  border: 2px solid;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.build-btn .icon { font-size: 20px; }
.build-btn .label { font-size: 11px; opacity: 0.8; }
.build-btn .count { font-family: 'Orbitron', monospace; font-weight: 700; }

.build-btn.factory { border-color: var(--factory-orange); color: var(--factory-orange); }
.build-btn.factory:hover { background: var(--factory-orange); color: var(--carbon); }

.build-btn.tradeship { border-color: var(--ship-blue); color: var(--ship-blue); }
.build-btn.tradeship:hover { background: var(--ship-blue); color: var(--carbon); }

.build-btn.city { border-color: var(--city-green); color: var(--city-green); }
.build-btn.city:hover { background: var(--city-green); color: var(--carbon); }

.build-btn.add-gold { border-color: var(--gold); color: var(--gold); }
.build-btn.add-gold:hover { background: var(--gold); color: var(--carbon); }

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 2px solid var(--charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: var(--granite);
  transform: translateY(-2px);
}

.stat-card .icon { font-size: 28px; margin-bottom: 6px; }
.stat-card .label {
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat-card .value {
  font-family: 'Orbitron', monospace;
  font-size: 24px;
  font-weight: 700;
}

.stat-card.troops .value { color: var(--troops-red); }
.stat-card.troops { border-color: rgba(212, 84, 84, 0.3); }

.stat-card.warships .value { color: var(--ship-blue); }
.stat-card.warships { border-color: rgba(71, 168, 232, 0.3); }

.stat-card.trains .value { color: var(--train-brown); }
.stat-card.trains { border-color: rgba(196, 154, 108, 0.3); }

/* ==================== */
/* NUKE SECTION */
/* ==================== */
.nuke-section {
  padding: 30px 20px;
  text-align: center;
}

.nuke-container {
  max-width: 350px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(232, 71, 168, 0.1) 0%, var(--bg-card) 100%);
  border: 3px solid var(--nuke-pink);
  border-radius: 16px;
  padding: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nuke-container:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(232, 71, 168, 0.3);
}

.nuke-container::before {
  content: '⚠️ DANGER ZONE ⚠️';
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--nuke-pink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px;
  letter-spacing: 2px;
}

.nuke-content { padding-top: 16px; }

.nuke-icon {
  font-size: 56px;
  margin-bottom: 12px;
  display: block;
  animation: nukeBounce 2s ease-in-out infinite;
}

@keyframes nukeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.nuke-title {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  color: var(--nuke-pink);
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.nuke-btn-text {
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 3px;
}

.nuke-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.nuke-sub strong { color: var(--troops-red); }

/* ==================== */
/* HOW I PLAY - Most Important Section */
/* ==================== */
.the-deal {
  padding: 80px 20px 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(232, 197, 71, 0.05) 50%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.the-deal::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.deal-label {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(232, 197, 71, 0.3);
}

.deal-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(36px, 10vw, 90px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 48px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.deal-title .highlight {
  color: var(--gold);
  white-space: nowrap;
  text-shadow: 0 0 40px rgba(232, 197, 71, 0.4);
}

.deal-title .char { display: inline-block; }

/* Exchange Visual */
.exchange {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 50px auto;
  max-width: 600px;
  flex-wrap: nowrap;
}

.exchange-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 32px;
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(38, 70, 93, 0.3) 100%);
  border-radius: 16px;
  border: 3px solid var(--charcoal);
  min-width: 140px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.exchange-item:hover {
  border-color: var(--gold);
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 12px 40px rgba(232, 197, 71, 0.2);
}

.exchange-item[data-exchange="gold"] { border-color: rgba(232, 197, 71, 0.4); }
.exchange-item[data-exchange="troops"] { border-color: rgba(212, 84, 84, 0.4); }

.exchange-icon {
  font-size: 56px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.exchange-label {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.exchange-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
}

.arrow-icon {
  font-size: 36px;
  color: var(--gold);
  font-weight: bold;
  text-shadow: 0 0 20px rgba(232, 197, 71, 0.5);
}

.exchange-note {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 700;
}

.deal-explanation {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.deal-explanation strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Domination Section */
.domination {
  padding: 60px 20px;
  text-align: center;
}

.domination-text {
  font-family: 'Orbitron', monospace;
  font-size: clamp(24px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}

.domination-text .highlight { color: var(--accent); }

.domination-sub {
  font-size: clamp(13px, 2vw, 16px);
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

/* Links Section */
.links-section {
  padding: 50px 20px;
  max-width: 650px;
  margin: 0 auto;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.link-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  border: 2px solid var(--charcoal);
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.link-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.link-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.link-card-icon { width: 32px; height: 32px; }
.link-card-icon svg { width: 100%; height: 100%; }
.link-card-title { font-family: 'Orbitron', monospace; font-size: 13px; font-weight: 700; }
.link-card-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }

/* Final CTA */
.final-cta {
  padding: 60px 20px;
  text-align: center;
  background: radial-gradient(ellipse at bottom, rgba(194, 208, 142, 0.08) 0%, transparent 50%);
}

.cta-text {
  font-family: 'Orbitron', monospace;
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.1;
}

.cta-highlight { color: var(--accent); }

.cta-sub {
  font-size: clamp(13px, 2vw, 16px);
  color: var(--text-secondary);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Footer */
.footer {
  padding: 30px 20px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 12px;
  border-top: 1px solid var(--charcoal);
}

.footer a { color: var(--accent); text-decoration: none; }

/* Flying objects - GPU accelerated with CSS animations */
.flying-object {
  position: fixed;
  pointer-events: none;
  z-index: 500;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  will-change: transform;
}

.flying-object.css-animated {
  animation: flyAcross var(--fly-duration, 6s) linear forwards;
}

@keyframes flyAcross {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 120px)); }
}

/* Click Indicator */
.click-indicator {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  z-index: 10;
}

.click-indicator.hidden {
  display: none;
}

.click-arrow {
  font-size: 32px;
  animation: bounceArrow 0.8s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(232, 197, 71, 0.5));
}

.click-text {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 3px;
  animation: pulseText 1.2s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(232, 197, 71, 0.5);
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulseText {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

/* Hammer click particle effects */
.hammer-particle {
  position: absolute;
  pointer-events: none;
  z-index: 100;
  font-size: 16px;
  will-change: transform, opacity;
}

.hammer-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99;
  opacity: 0;
}

/* Golden shimmer for EVERYTHING text */
@keyframes goldenShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.highlight.shimmer {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    #fff5c0 25%,
    var(--gold) 50%,
    #fff5c0 75%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldenShimmer 3s linear infinite;
}

/* Hero title glow pulse */
@keyframes heroGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(194, 208, 142, 0.2); }
  50% { text-shadow: 0 0 40px rgba(194, 208, 142, 0.4), 0 0 60px rgba(194, 208, 142, 0.2); }
}

.hero-title.glow-pulse {
  animation: heroGlow 4s ease-in-out infinite;
}

/* Gold counter pop animation */
@keyframes counterPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); color: #fff5c0; }
  100% { transform: scale(1); }
}

.gold-value.pop {
  animation: counterPop 0.3s ease-out;
}

/* Streaming counter glow effect - smooth, not blinking */
.gold-value.streaming {
  text-shadow: 0 0 20px rgba(232, 197, 71, 0.6), 0 0 40px rgba(232, 197, 71, 0.3);
  transition: text-shadow 0.1s ease;
}

.population-display.streaming {
  text-shadow: 0 0 15px rgba(93, 194, 93, 0.6), 0 0 30px rgba(93, 194, 93, 0.3);
  transition: text-shadow 0.1s ease;
}

/* Stat value flash */
@keyframes statFlash {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); filter: brightness(1.3); }
  100% { transform: scale(1); }
}

.stat-card .value.flash {
  animation: statFlash 0.3s ease-out;
}

/* Stat card streaming glow - smooth */
.stat-card .value.streaming {
  filter: brightness(1.3);
  transition: filter 0.1s ease;
}

/* Exchange icon idle bounce */
@keyframes idleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.exchange-icon.bounce {
  animation: idleBounce 2s ease-in-out infinite;
}

/* Screen ripple effect */
.screen-ripple {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
  .deal-title { font-size: clamp(32px, 9vw, 60px); }
  .exchange { gap: 16px; }
  .exchange-item { padding: 20px 24px; min-width: 120px; }
  .exchange-icon { font-size: 44px; }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
  .hero { padding: 80px 16px 40px; }
  .hammer-container { width: 120px; height: 120px; }
  .quick-connect { padding: 30px 16px; }
  .connect-buttons { gap: 8px; }
  .connect-btn { padding: 10px 14px; font-size: 13px; }
  .command-center { padding: 30px 16px; }
  .gold-station { padding: 16px; }
  .gold-controls { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 14px 10px; }
  .stat-card .value { font-size: 20px; }
  .nuke-container { padding: 20px; }
  .nuke-icon { font-size: 44px; }
  .nuke-btn-text { font-size: 18px; }

  /* How I Play - Mobile */
  .the-deal { padding: 60px 16px 80px; }
  .deal-label { font-size: 12px; letter-spacing: 3px; }
  .deal-title { font-size: clamp(28px, 8vw, 48px); margin-bottom: 32px; }
  .exchange {
    flex-direction: column;
    gap: 16px;
    max-width: 280px;
  }
  .exchange-item {
    width: 100%;
    padding: 20px;
    min-width: unset;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
  .exchange-icon { font-size: 40px; }
  .exchange-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  .arrow-icon { font-size: 28px; }
  .deal-explanation { font-size: 15px; padding: 0 8px; }
  .population-row { flex-direction: column; gap: 8px; text-align: center; }
}

/* Small phones */
@media (max-width: 380px) {
  .deal-title { font-size: 26px; }
  .deal-title .highlight { white-space: normal; }
  .exchange-item { padding: 16px; }
  .exchange-icon { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
