:root {
  --bg-dark: #0a0a0f;
  --bg-card: rgba(15, 15, 25, 0.85);
  --cyan: #00f0ff;
  --magenta: #ff00ff;
  --purple: #8b5cf6;
  --pink: #ff4757;
  --gold: #ffd93d;
  --green: #10b981;
  --cosmic-teal: #00d4aa;
  --chrome-silver: #c0c0c0;
  --fine-teal: #14b8a6;
  --deep-space: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f1a 100%);
}

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

body {
  font-family: 'Orbitron', sans-serif;
  background: var(--bg-dark);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 15% 10%, rgba(0, 240, 255, 0.12) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 90%, rgba(255, 0, 255, 0.12) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(0, 212, 170, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 30% 70%, rgba(192, 192, 192, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

.app-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  transition: all 0.5s ease;
}

.app-container.deep-vibes-mode {
  background: var(--deep-space);
}

/* Header */
.header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  position: relative;
}

.main-title {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--magenta), var(--purple), var(--cosmic-teal), var(--chrome-silver), var(--cyan));
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite, glow-pulse 2s ease-in-out infinite;
  letter-spacing: 2px;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes glow-pulse {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 20px rgba(0, 240, 255, 0.3)); }
  50% { filter: brightness(1.15) drop-shadow(0 0 30px rgba(0, 212, 170, 0.4)); }
}

.tagline {
  margin-top: 0.5rem;
  font-size: clamp(0.75rem, 1.8vw, 0.95rem);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  font-family: 'JetBrains Mono', monospace;
}

/* Grok Badges */
.grok-badges-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.grok-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(0, 240, 255, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 25px;
  cursor: pointer;
  animation: triple-pulse 2.5s ease-in-out infinite;
  position: relative;
  transition: all 0.3s ease;
  font-size: 0.7rem;
}

@keyframes triple-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(139, 92, 246, 0.3); }
  20% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.6); }
  40% { box-shadow: 0 0 10px rgba(139, 92, 246, 0.3); }
  60% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.6); }
  80% { box-shadow: 0 0 10px rgba(139, 92, 246, 0.3); }
}

.grok-badge:hover {
  transform: scale(1.05);
}

.emergent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.3), rgba(139, 92, 246, 0.2));
  border: 1px solid var(--cosmic-teal);
  border-radius: 25px;
  animation: cosmic-swirl 3s ease-in-out infinite;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.ai-showdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.3), rgba(20, 184, 166, 0.2));
  border: 1px solid var(--chrome-silver);
  border-radius: 25px;
  animation: swords-clash 2s ease-in-out infinite;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

@keyframes swords-clash {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 0 15px rgba(192, 192, 192, 0.5); }
}

.adaptive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(139, 92, 246, 0.3));
  border: 1px solid var(--cosmic-teal);
  border-radius: 25px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.dna-helix {
  width: 24px;
  height: 24px;
}

@keyframes cosmic-swirl {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 170, 0.3); }
  50% { box-shadow: 0 0 25px rgba(0, 212, 170, 0.6); }
}

.grok-text {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.grok-secret {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--purple);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.7rem;
  white-space: nowrap;
  animation: fadeIn 0.3s ease;
  z-index: 100;
}

.grok-typing-global {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(139, 92, 246, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  animation: blink 1s infinite;
  z-index: 9999;
}

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

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

/* Matchup Selector */
.matchup-selector {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.selector-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.selector-column {
  flex: 1;
  min-width: 150px;
  max-width: 250px;
}

.selector-column label {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'JetBrains Mono', monospace;
}

.startup-select {
  width: 100%;
  padding: 0.65rem 0.8rem;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #fff;
  font-size: 0.85rem;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.startup-select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.startup-select option {
  background: #1a1a2e;
  color: #fff;
}

.selector-vs {
  font-size: 1.5rem;
  color: var(--magenta);
  text-shadow: 0 0 15px var(--magenta);
}

.filter-toggles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.filter-toggle {
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.filter-toggle.active {
  background: linear-gradient(135deg, var(--cosmic-teal), var(--purple));
  border-color: var(--cosmic-teal);
  color: #fff;
}

.filter-toggle.adaptive-toggle.active {
  background: linear-gradient(135deg, var(--cosmic-teal), var(--magenta));
}

.mini-filters {
  display: flex;
  gap: 0.4rem;
}

.mini-filter {
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'JetBrains Mono', monospace;
}

.mini-filter.active {
  background: rgba(0, 212, 170, 0.2);
  border-color: var(--cosmic-teal);
  color: var(--cosmic-teal);
}

.quick-picks {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'JetBrains Mono', monospace;
}

.quick-pick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.quick-pick-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.quick-pick-btn.featured {
  border-color: var(--cosmic-teal);
  background: rgba(0, 212, 170, 0.1);
}

.quick-pick-btn.v5-featured {
  border-color: var(--chrome-silver);
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(20, 184, 166, 0.15));
  animation: v5-glow 2s ease-in-out infinite;
}

@keyframes v5-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(192, 192, 192, 0.3); }
  50% { box-shadow: 0 0 15px rgba(192, 192, 192, 0.6); }
}

.pick-tag {
  font-size: 0.5rem;
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}

/* Arena */
.arena-section {
  margin-bottom: 1.5rem;
}

.arena-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.5rem;
}

/* Startup Cards */
.startup-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  min-height: 380px;
  background: var(--bg-card);
  border-radius: 18px;
  padding: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.startup-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-color);
}

.startup-card.winner {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(255, 217, 61, 0.5);
}

.startup-card.special {
  border-color: var(--pink);
}

.startup-card.emergent {
  border-color: var(--cosmic-teal);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(15, 15, 25, 0.85));
}

.startup-card.kilo {
  border-color: var(--chrome-silver);
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(15, 15, 25, 0.85));
}

.startup-card.ai-assistant {
  border-color: var(--fine-teal);
}

.startup-card.vote-pulse {
  animation: card-pulse 0.5s ease;
}

@keyframes card-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 0 30px var(--accent-color); }
}

.startup-card.community-pick::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--magenta), var(--cyan));
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.community-sparkle {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.6rem;
  color: var(--gold);
  animation: sparkle 1.5s ease-in-out infinite;
}

.grok-pick-indicator {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.55rem;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.2);
  padding: 0.2rem 0.4rem;
  border-radius: 10px;
  animation: pulse 2s infinite;
}

.evolution-champion-badge {
  position: absolute;
  top: 35px;
  left: 10px;
  font-size: 0.5rem;
  color: var(--cosmic-teal);
  background: rgba(0, 212, 170, 0.2);
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
}

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

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 60%);
  opacity: 0.08;
  pointer-events: none;
}

.card-content {
  position: relative;
  z-index: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.startup-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--accent-color), rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  border: 2px solid var(--accent-color);
}

.startup-icon.emergent-icon {
  animation: emergence 3s ease-in-out infinite;
}

.startup-icon.kilo-icon {
  animation: kilo-compile 2s ease-in-out infinite;
  background: linear-gradient(135deg, var(--chrome-silver), rgba(0, 240, 255, 0.3));
}

@keyframes emergence {
  0%, 100% { 
    box-shadow: 0 0 10px var(--cosmic-teal);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 25px var(--cosmic-teal), 0 0 50px rgba(0, 212, 170, 0.3);
    transform: scale(1.05);
  }
}

@keyframes kilo-compile {
  0%, 100% { box-shadow: 0 0 10px var(--chrome-silver); }
  50% { box-shadow: 0 0 20px var(--chrome-silver), 0 0 40px rgba(0, 240, 255, 0.3); }
}

.card-badges-top {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-end;
}

.verified-badge {
  background: linear-gradient(135deg, var(--green), #059669);
  padding: 0.2rem 0.4rem;
  border-radius: 15px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  font-family: 'JetBrains Mono', monospace;
}

.unverified-badge {
  background: rgba(100, 100, 100, 0.4);
  padding: 0.2rem 0.4rem;
  border-radius: 15px;
  font-size: 0.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'JetBrains Mono', monospace;
}

.ai-assistant-badge {
  background: linear-gradient(135deg, var(--chrome-silver), var(--fine-teal));
  padding: 0.2rem 0.4rem;
  border-radius: 15px;
  font-size: 0.5rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.grok-suggested-badge {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  padding: 0.15rem 0.35rem;
  border-radius: 10px;
  font-size: 0.45rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.startup-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #fff;
}

.startup-tagline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.6rem;
  line-height: 1.4;
  font-family: 'JetBrains Mono', monospace;
}

.badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
}

.badge {
  padding: 0.15rem 0.4rem;
  border-radius: 10px;
  font-size: 0.55rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.badge-default {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
}

.badge-verified {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--green);
  color: var(--green);
}

.app-store-depth {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
}

.depth-label {
  color: rgba(255, 255, 255, 0.5);
}

.depth-stars {
  display: flex;
  gap: 2px;
}

.depth-star {
  font-size: 0.55rem;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.depth-star.filled {
  opacity: 1;
}

.adaptive-score-meter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  font-size: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
}

.adaptive-label {
  color: rgba(255, 255, 255, 0.5);
}

.adaptive-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.adaptive-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cosmic-teal), var(--magenta));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.adaptive-value {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.5rem;
  color: #fff;
  text-shadow: 0 0 3px rgba(0,0,0,0.8);
}

.win-rate-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 0.6rem;
  position: relative;
  overflow: hidden;
}

.win-rate-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  border-radius: 3px;
  transition: width 0.5s ease;
}

.win-rate-text {
  position: absolute;
  right: 0;
  top: -16px;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'JetBrains Mono', monospace;
}

.vote-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}

.vote-button {
  width: 100%;
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, var(--accent-color), var(--purple));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.vote-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--accent-color);
}

.vote-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}

/* VS Badge */
.vs-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.vs-particles {
  position: absolute;
  width: 100px;
  height: 200px;
  opacity: 0.6;
}

.vs-badge {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 0 35px rgba(255, 0, 255, 0.6);
  animation: vs-pulse 1.5s ease-in-out infinite;
  z-index: 2;
}

@keyframes vs-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.vs-lightning {
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.vs-lightning.right {
  background: linear-gradient(90deg, var(--magenta), transparent);
}

/* Arena Buttons */
.arena-buttons {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.random-button, .trending-button, .emergent-button, .kilo-button {
  padding: 0.7rem 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.random-button {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
}

.trending-button {
  background: linear-gradient(135deg, var(--chrome-silver), var(--fine-teal));
}

.kilo-button {
  background: linear-gradient(135deg, var(--chrome-silver), var(--purple));
}

.emergent-button {
  background: linear-gradient(135deg, var(--cosmic-teal), var(--purple));
}

.random-button:hover, .trending-button:hover, .emergent-button:hover, .kilo-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

/* AI Showdown Section */
.ai-showdown-section {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(20, 184, 166, 0.1), var(--bg-card));
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--chrome-silver);
  position: relative;
  overflow: hidden;
}

.showdown-lightning-clash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  animation: clash-pulse 1s ease-in-out infinite;
  pointer-events: none;
}

@keyframes clash-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.showdown-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--chrome-silver), var(--fine-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showdown-subtitle {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
}

.showdown-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.showdown-card {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.showdown-card.fine-card {
  border-color: var(--fine-teal);
}

.showdown-card.kilo-card {
  border-color: var(--chrome-silver);
}

.showdown-card:hover {
  transform: translateY(-5px);
}

.showdown-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.showdown-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.showdown-card p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
}

.showdown-focus {
  font-size: 0.6rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.showdown-stat {
  margin-bottom: 0.75rem;
}

.showdown-stat span {
  display: block;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
  font-family: 'JetBrains Mono', monospace;
}

.stat-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fine-teal), var(--cyan));
  border-radius: 3px;
}

.stat-fill.kilo {
  background: linear-gradient(90deg, var(--chrome-silver), var(--cyan));
}

.showdown-vote-btn {
  width: 100%;
  padding: 0.5rem;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.showdown-vote-btn.fine {
  background: linear-gradient(135deg, var(--fine-teal), var(--cyan));
}

.showdown-vote-btn.kilo {
  background: linear-gradient(135deg, var(--chrome-silver), var(--purple));
}

.showdown-vote-btn:hover {
  transform: scale(1.05);
}

.showdown-vs {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 15px var(--gold);
}

.showdown-results {
  margin-bottom: 1rem;
}

.results-bar {
  height: 30px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
}

.results-fine {
  height: 100%;
  background: linear-gradient(90deg, var(--fine-teal), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  transition: width 0.5s ease;
  min-width: 50px;
}

.results-kilo {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--chrome-silver));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  transition: width 0.5s ease;
  min-width: 50px;
}

.why-showdown-btn {
  display: block;
  margin: 0 auto 0.75rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.why-showdown-btn:hover {
  background: rgba(192, 192, 192, 0.1);
  border-color: var(--chrome-silver);
}

.why-showdown-panel {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.why-showdown-panel p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
}

.load-showdown-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--chrome-silver), var(--fine-teal));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.load-showdown-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px var(--chrome-silver);
}

/* Kilo Spotlight */
.kilo-spotlight {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), var(--bg-card));
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--chrome-silver);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.chrome-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.kilo-icon-large {
  background: linear-gradient(135deg, var(--chrome-silver), var(--cyan)) !important;
  border-color: var(--chrome-silver) !important;
  font-size: 1.5rem !important;
}

.kilo-tagline {
  font-size: 0.7rem;
  color: var(--chrome-silver);
  margin-top: 0.25rem;
}

.kilo-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.kilo-stats .stat {
  display: flex;
  flex-direction: column;
}

.kilo-stats .stat-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'JetBrains Mono', monospace;
}

.kilo-stats .stat-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--chrome-silver);
}

.kilo-animation {
  margin-bottom: 1rem;
  height: 30px;
  overflow: hidden;
}

.code-cascade {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.code-bit {
  background: rgba(192, 192, 192, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-size: 0.6rem;
  color: var(--chrome-silver);
  font-family: 'JetBrains Mono', monospace;
  animation: cascade 2s ease-in-out infinite;
}

@keyframes cascade {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-5px); }
}

.why-kilo-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
  font-family: 'Orbitron', sans-serif;
}

.why-kilo-btn:hover {
  background: rgba(192, 192, 192, 0.1);
  border-color: var(--chrome-silver);
}

.why-kilo-panel {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.why-kilo-panel p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
}

.challenge-kilo-btn {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--chrome-silver), var(--purple));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.challenge-kilo-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px var(--chrome-silver);
}

/* Emergent Spotlight */
.emergent-spotlight {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), var(--bg-card));
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--cosmic-teal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.emergent-spotlight.deep-vibes-mode {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.3), rgba(139, 92, 246, 0.2), var(--bg-card));
  animation: cosmic-pulse 2s infinite;
}

@keyframes cosmic-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 170, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 212, 170, 0.6), 0 0 60px rgba(139, 92, 246, 0.3); }
}

.cosmic-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.spotlight-content {
  position: relative;
  z-index: 1;
}

.spotlight-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.spotlight-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.6rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.spotlight-badge.emergent-new {
  background: linear-gradient(135deg, var(--cosmic-teal), var(--green));
  color: #000;
}

.spotlight-badge.kilo-new {
  background: linear-gradient(135deg, var(--chrome-silver), var(--cyan));
  color: #000;
}

.spotlight-badge.grok-suggested {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
}

.spotlight-badge.evolution-edge {
  background: linear-gradient(135deg, var(--cosmic-teal), var(--magenta));
  color: #fff;
}

.spotlight-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.spotlight-icon {
  width: 50px;
  height: 50px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  border: 2px solid #fff;
}

.emergent-icon-large {
  background: linear-gradient(135deg, var(--cosmic-teal), var(--purple)) !important;
  border-color: var(--cosmic-teal) !important;
  font-size: 1.5rem !important;
}

.spotlight-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cosmic-teal);
}

.spotlight-info p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  font-family: 'JetBrains Mono', monospace;
}

.emergent-tagline {
  font-size: 0.7rem;
  color: var(--gold);
  margin-top: 0.25rem;
}

.emergent-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.emergent-stats .stat {
  display: flex;
  flex-direction: column;
}

.emergent-stats .stat-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'JetBrains Mono', monospace;
}

.emergent-stats .stat-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cosmic-teal);
}

.feedback-loop-btn {
  background: transparent;
  border: 1px solid var(--cosmic-teal);
  color: var(--cosmic-teal);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
  margin-right: 0.5rem;
  font-family: 'Orbitron', sans-serif;
}

.feedback-loop-btn:hover {
  background: rgba(0, 212, 170, 0.1);
}

.feedback-loop-panel {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.feedback-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feedback-step {
  background: rgba(0, 212, 170, 0.2);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-size: 0.65rem;
  color: var(--cosmic-teal);
  font-family: 'JetBrains Mono', monospace;
}

.feedback-arrow {
  color: var(--gold);
  font-size: 1rem;
}

.why-emergent-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
  font-family: 'Orbitron', sans-serif;
}

.why-emergent-btn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: var(--cosmic-teal);
}

.why-emergent-panel {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.why-emergent-panel p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
}

.challenge-emergent-btn {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--cosmic-teal), var(--purple));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.challenge-emergent-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px var(--cosmic-teal);
}

/* Adaptive Dashboard */
.adaptive-dashboard {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--cosmic-teal);
}

.adaptive-dashboard h3 {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--cosmic-teal);
}

.dashboard-quote {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
}

.adaptive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.adaptive-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.adaptive-card:hover, .adaptive-card.selected {
  border-color: var(--cosmic-teal);
  background: rgba(0, 212, 170, 0.1);
}

.adaptive-card.emergent-card {
  border-color: var(--cosmic-teal);
}

.adaptive-card.kilo-card {
  border-color: var(--chrome-silver);
}

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

.adaptive-icon {
  font-size: 1.2rem;
}

.adaptive-name {
  flex: 1;
  font-weight: 700;
  font-size: 0.85rem;
}

.adaptive-total {
  font-size: 0.75rem;
  color: var(--cosmic-teal);
  font-family: 'JetBrains Mono', monospace;
}

.adaptive-details {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.adaptive-metric {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.metric-name {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  width: 100px;
  text-transform: capitalize;
  font-family: 'JetBrains Mono', monospace;
}

.metric-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cosmic-teal), var(--magenta));
  border-radius: 3px;
}

.evolution-timeline {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 1rem;
}

.evolution-timeline h4 {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.timeline-events {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-event {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'JetBrains Mono', monospace;
}

.event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.event-dot.emergent { background: var(--cosmic-teal); }
.event-dot.kilo { background: var(--chrome-silver); }
.event-dot.berrry { background: var(--pink); }

/* App Store Vibes Tracker */
.app-store-vibes-tracker {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-store-vibes-tracker h3 {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--cosmic-teal);
}

.vibes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.vibes-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vibes-card.emergent-card {
  border-color: var(--cosmic-teal);
  background: rgba(0, 212, 170, 0.1);
}

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

.vibes-icon {
  font-size: 1.2rem;
}

.vibes-name {
  flex: 1;
  font-weight: 700;
  font-size: 0.9rem;
}

.vibes-score {
  font-size: 0.8rem;
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
}

.metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.metric-label {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  width: 80px;
  text-transform: capitalize;
  font-family: 'JetBrains Mono', monospace;
}

.emergent-edge {
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: rgba(0, 212, 170, 0.15);
  border-radius: 8px;
  font-size: 0.6rem;
  color: var(--cosmic-teal);
  font-family: 'JetBrains Mono', monospace;
}

/* Grok Engagement Tracker */
.grok-engagement-tracker {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.grok-engagement-tracker h3 {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--purple);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
  max-height: 200px;
  overflow-y: auto;
}

.timeline-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.6rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 10px;
  border-left: 3px solid var(--purple);
}

.timeline-item.v5-item {
  background: rgba(192, 192, 192, 0.15);
  border-left-color: var(--chrome-silver);
}

.timeline-version {
  background: var(--purple);
  color: #fff;
  padding: 0.15rem 0.4rem;
  border-radius: 8px;
  font-size: 0.55rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.timeline-quote {
  flex: 1;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  font-family: 'JetBrains Mono', monospace;
}

.timeline-date {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'JetBrains Mono', monospace;
}

.suggestions-btn {
  display: block;
  margin: 0 auto 0.75rem;
  background: transparent;
  border: 1px solid var(--chrome-silver);
  color: var(--chrome-silver);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.suggestions-btn:hover {
  background: rgba(192, 192, 192, 0.1);
}

.suggestions-panel {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.suggestion-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
}

.suggestion-status {
  color: var(--green);
}

.grok-counter {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
}

.counter-value {
  color: var(--cyan);
  font-weight: 700;
}

.grok-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
}

.replit-showdown-btn, .summon-grok-btn {
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  border: none;
}

.replit-showdown-btn {
  background: linear-gradient(135deg, #f26207, var(--gold));
  color: #fff;
}

.summon-grok-btn {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
}

.replit-secret, .grok-typing {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(139, 92, 246, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.65rem;
  white-space: nowrap;
  animation: fadeIn 0.3s ease;
}

/* Community Stats */
.community-stats {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.community-stats h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--cyan);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-item.emergent-stat .stat-value {
  color: var(--cosmic-teal);
}

.stat-item.kilo-stat .stat-value {
  color: var(--chrome-silver);
}

.stat-item.fine-stat .stat-value {
  color: var(--fine-teal);
}

.stat-item.showdown-stat .stat-value {
  color: var(--gold);
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'JetBrains Mono', monospace;
}

/* Hot Takes */
.hot-take-section {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hot-take-title {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.hot-take-mode-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.mode-btn {
  padding: 0.3rem 0.6rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.mode-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--magenta));
  border-color: var(--gold);
  color: #fff;
}

.hot-take-content {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.hot-take-content.animating {
  opacity: 0.3;
}

.hot-take-text {
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-family: 'JetBrains Mono', monospace;
}

.grok-quote-section {
  background: rgba(139, 92, 246, 0.15);
  border-radius: 10px;
  padding: 0.6rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.grok-quote-label {
  display: block;
  font-size: 0.6rem;
  color: var(--purple);
  margin-bottom: 0.2rem;
  font-family: 'JetBrains Mono', monospace;
}

.grok-quote-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  font-family: 'JetBrains Mono', monospace;
}

.hot-take-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.generate-button, .share-button {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  border: none;
}

.generate-button {
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: #000;
}

.share-button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.generate-button:hover, .share-button:hover {
  transform: scale(1.05);
}

/* Leaderboard */
.leaderboard {
  background: var(--bg-card);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-toggle {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Orbitron', sans-serif;
}

.toggle-arrow {
  transition: transform 0.3s ease;
}

.leaderboard-content {
  padding: 0 1rem 1rem;
  animation: slideDown 0.3s ease;
}

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

.leaderboard-filters {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'JetBrains Mono', monospace;
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-color: var(--cyan);
  color: #fff;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.7rem;
}

.leaderboard-table th {
  text-align: left;
  padding: 0.5rem 0.25rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'JetBrains Mono', monospace;
}

.leaderboard-table td {
  padding: 0.4rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.verified-row {
  background: rgba(16, 185, 129, 0.08);
}

.special-row {
  background: rgba(255, 71, 87, 0.08);
}

.emergent-row {
  background: rgba(0, 212, 170, 0.1);
}

.kilo-row {
  background: rgba(192, 192, 192, 0.08);
}

.champion-row {
  background: linear-gradient(135deg, rgba(255, 217, 61, 0.15), rgba(255, 71, 87, 0.1));
}

.rank-cell {
  font-size: 0.95rem;
  position: relative;
}

.champion-badge, .appstore-champ, .ai-champ, .evolution-king {
  margin-left: 0.2rem;
  font-size: 0.65rem;
}

.name-cell {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
}

.row-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: #fff;
}

.trending-flame, .grok-fav, .robot-badge {
  margin-left: 0.15rem;
  font-size: 0.6rem;
}

.votes-cell {
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
}

.winrate-cell {
  font-family: 'JetBrains Mono', monospace;
  color: var(--magenta);
}

.adaptive-cell {
  font-family: 'JetBrains Mono', monospace;
  color: var(--cosmic-teal);
}

.status-cell {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
  color: var(--pink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  text-shadow: 0 0 20px var(--pink);
}

.footer-credit {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'JetBrains Mono', monospace;
}

.footer-tagline {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-v5 {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  color: var(--chrome-silver);
  font-family: 'JetBrains Mono', monospace;
}

.footer-versions {
  margin-top: 0.75rem;
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
}

.footer-versions a {
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-versions a:hover {
  text-shadow: 0 0 10px var(--cyan);
}

.current-version {
  color: var(--gold);
}

.footer-question {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--cyan);
  font-style: italic;
}

.footer-ready {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  color: var(--cosmic-teal);
  font-family: 'JetBrains Mono', monospace;
}

/* Confetti */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti-particle {
  position: absolute;
  border-radius: 50%;
  animation: confetti-fall 2.5s ease-out forwards;
}

.confetti-particle.strawberry, .confetti-particle.cosmic, .confetti-particle.robot {
  font-size: 1.2rem;
  background: transparent !important;
}

.confetti-particle.chrome {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8) !important;
  box-shadow: 0 0 5px rgba(192, 192, 192, 0.5);
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .arena-container {
    flex-direction: column;
  }
  
  .vs-container {
    transform: rotate(90deg);
    padding: 0.25rem;
    margin: -0.5rem 0;
  }
  
  .startup-card {
    max-width: 100%;
    min-height: auto;
  }
  
  .leaderboard-table {
    font-size: 0.6rem;
  }
  
  .leaderboard-table th,
  .leaderboard-table td {
    padding: 0.3rem 0.1rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  
  .stat-value {
    font-size: 1.1rem;
  }
  
  .selector-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .selector-column {
    max-width: 100%;
  }
  
  .selector-vs {
    display: none;
  }
  
  .quick-picks {
    gap: 0.3rem;
  }
  
  .quick-pick-btn {
    padding: 0.35rem 0.45rem;
    font-size: 0.55rem;
  }
  
  .showdown-cards {
    flex-direction: column;
  }
  
  .showdown-vs {
    margin: 0.5rem 0;
  }
  
  .grok-badges-container {
    gap: 0.3rem;
  }
  
  .grok-badge, .emergent-badge, .ai-showdown-badge, .adaptive-badge {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
  }
  
  .arena-buttons {
    gap: 0.4rem;
  }
  
  .random-button, .trending-button, .emergent-button, .kilo-button {
    padding: 0.6rem 0.9rem;
    font-size: 0.7rem;
  }
}