/* ============================================
   ONE MORE CAST - v1.0 Stylesheet
   Brand: One More Code Studios
   ============================================ */

/* --- 1. CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --cyan: #00D9FF;
  --cyan-dim: #0099b3;
  --ocean: #001F3F;
  --ocean-deep: #00101f;
  --ocean-mid: #0a1a30;
  --purple: #9D4EDD;
  --purple-dim: #7a3cb0;
  --lime: #3AFF2B;
  --gold: #FFD60A;
  --orange: #FF6B35;

  /* Backgrounds */
  --bg-body: #060e1a;
  --bg-section: #0a1628;
  --bg-card: #0f1f38;
  --bg-card-hover: #142a4a;
  --bg-input: #0c1a2e;
  --bg-nav: rgba(6, 14, 26, 0.92);

  /* Text */
  --text-primary: #e8f0ff;
  --text-secondary: #7aa2d4;
  --text-muted: #4a6a94;
  --text-bright: #ffffff;

  /* Borders */
  --border: rgba(0, 217, 255, 0.1);
  --border-hover: rgba(0, 217, 255, 0.3);

  /* Rarity Colors */
  --rarity-common: #8899aa;
  --rarity-uncommon: #34d399;
  --rarity-rare: #00D9FF;
  --rarity-epic: #9D4EDD;
  --rarity-legendary: #FFD60A;
  --rarity-mythic: #FF6B35;

  /* Spacing */
  --section-pad: 80px 24px;
  --card-radius: 16px;
  --btn-radius: 12px;

  /* Transitions */
  --transition: 0.25s ease;
}

/* --- 2. Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text-bright); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* --- 3. Typography --- */
h1, h2, h3, h4 {
  font-family: 'Fredoka', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-bright);
}
h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.1rem; }
.text-cyan { color: var(--cyan); }
.text-purple { color: var(--purple); }
.text-gold { color: var(--gold); }
.text-lime { color: var(--lime); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* --- 4. Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: var(--section-pad);
  max-width: 1100px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header p {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* --- 5. Ocean Background --- */
.ocean-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background: linear-gradient(180deg, #060e1a 0%, #0a1a30 30%, #0d2240 60%, #0a1628 100%);
}
.ocean-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 217, 255, 0.04) 0%, transparent 60%);
}
.content {
  position: relative;
  z-index: 1;
}

/* --- 6. Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-brand span { color: var(--cyan); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle:hover { color: var(--cyan); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 99;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--cyan); }

/* --- 7. Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #06b6d4);
  color: var(--ocean);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.3);
  color: var(--ocean);
}
.btn-secondary {
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
}
.btn-secondary:hover {
  background: rgba(0, 217, 255, 0.1);
  color: var(--text-bright);
}
.btn-purple {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  color: var(--text-bright);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(157, 78, 221, 0.3);
  color: var(--text-bright);
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.15rem; }

/* --- 8. Badges --- */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-dev {
  background: rgba(255, 214, 10, 0.15);
  color: var(--gold);
}
.badge-new {
  background: rgba(0, 217, 255, 0.15);
  color: var(--cyan);
}
.badge-rarity {
  padding: 3px 10px;
  font-size: 0.7rem;
  border-radius: 6px;
}
.badge-common { background: rgba(136, 153, 170, 0.2); color: var(--rarity-common); }
.badge-uncommon { background: rgba(52, 211, 153, 0.2); color: var(--rarity-uncommon); }
.badge-rare { background: rgba(0, 217, 255, 0.2); color: var(--rarity-rare); }
.badge-epic { background: rgba(157, 78, 221, 0.2); color: var(--rarity-epic); }
.badge-legendary { background: rgba(255, 214, 10, 0.2); color: var(--rarity-legendary); }
.badge-mythic { background: rgba(255, 107, 53, 0.2); color: var(--rarity-mythic); }

/* --- 9. Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}
.card-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- 10. Hero Section --- */
.hero {
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
}
.hero-badge { margin-bottom: 20px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .text-cyan { display: inline; }
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- 11. Stats --- */
.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 24px;
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* --- 12. Features Grid --- */
.features { text-align: center; }
.features .card { text-align: center; }

/* --- 13. Fishing Game --- */
.game-section {
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.game-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 400px;
  margin: 32px auto;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: linear-gradient(180deg, #0a1a30 0%, #061428 30%, #0a2040 60%, #082038 100%);
  cursor: pointer;
  user-select: none;
}

/* Water layers */
.game-water {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 65%;
  background: linear-gradient(180deg, rgba(0, 217, 255, 0.05) 0%, rgba(0, 31, 63, 0.4) 50%, rgba(0, 15, 30, 0.6) 100%);
}
.game-water::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: -100%;
  height: 4px;
  background: repeating-linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.15) 50%, transparent 100%);
  animation: wave-slide 4s linear infinite;
}
.game-water::after {
  content: '';
  position: absolute;
  top: 8px; left: -100%; right: -100%;
  height: 3px;
  background: repeating-linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.08) 50%, transparent 100%);
  animation: wave-slide 6s linear infinite reverse;
}

/* Sky with stars */
.game-sky {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
}
.game-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

/* Fishing rod */
.game-rod {
  position: absolute;
  top: 10%;
  right: 25%;
  width: 3px;
  height: 120px;
  background: linear-gradient(180deg, #8B6914, #a67c1a);
  transform-origin: bottom center;
  transform: rotate(-30deg);
  z-index: 5;
  transition: transform 0.3s ease;
}
.game-rod.casting { transform: rotate(-10deg); }
.game-rod::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #654321;
  border-radius: 2px;
}

/* Fishing line */
.game-line {
  position: absolute;
  top: 10%;
  right: calc(25% + 1px);
  width: 1px;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 4;
  transition: height 0.8s ease;
  transform-origin: top center;
}
.game-line.cast { height: 200px; }

/* Bobber */
.game-bobber {
  position: absolute;
  top: 10%;
  right: calc(25% - 4px);
  width: 10px;
  height: 14px;
  background: #ff4444;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  z-index: 6;
  opacity: 0;
  transition: all 0.8s ease;
}
.game-bobber.cast {
  opacity: 1;
  top: 55%;
}
.game-bobber.bite {
  animation: bobber-dip 0.5s ease-in-out infinite;
}

/* Moon */
.game-moon {
  position: absolute;
  top: 8%;
  left: 15%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffde8, #e8dca0);
  box-shadow: 0 0 20px rgba(255, 253, 220, 0.3), 0 0 60px rgba(255, 253, 220, 0.1);
  z-index: 1;
}

/* Horizon glow */
.game-horizon {
  position: absolute;
  top: 33%;
  left: 0; right: 0;
  height: 8px;
  background: linear-gradient(180deg, rgba(0, 217, 255, 0.08), transparent);
  z-index: 2;
  filter: blur(4px);
}

/* Water surface shimmer */
.game-water-surface {
  position: absolute;
  top: 0; left: -100%; right: -100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, transparent 0%, rgba(0, 217, 255, 0.2) 25%, transparent 50%);
  animation: wave-slide 3s linear infinite;
}

/* Underwater caustics */
.game-caustics {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background:
    radial-gradient(ellipse 80px 40px at 20% 70%, rgba(0, 217, 255, 0.04), transparent),
    radial-gradient(ellipse 60px 30px at 60% 80%, rgba(0, 217, 255, 0.03), transparent),
    radial-gradient(ellipse 100px 50px at 80% 65%, rgba(0, 217, 255, 0.04), transparent);
  animation: caustics-shift 8s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

/* Dock */
.game-dock {
  position: absolute;
  top: 30%;
  left: 0;
  width: 28%;
  height: 6px;
  background: linear-gradient(90deg, #5a3e1b, #7a5a2e);
  z-index: 8;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.game-dock::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4a3015, #6a4a24);
  border-radius: 0 2px 2px 0;
}
.game-dock-post {
  position: absolute;
  top: 30%;
  width: 5px;
  height: 45px;
  background: linear-gradient(180deg, #6a4a24, #4a3015);
  z-index: 7;
  border-radius: 1px;
}

/* Fish swimming in background */
.game-fish-bg {
  position: absolute;
  z-index: 3;
  opacity: 0.35;
  pointer-events: none;
  filter: blur(0.3px);
}

/* Bubbles */
.game-bubbles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.game-bubble {
  position: absolute;
  bottom: 35%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 217, 255, 0.25), rgba(0, 217, 255, 0.05));
  border: 1px solid rgba(0, 217, 255, 0.15);
  animation: bubble-rise 3s ease-out forwards;
}

/* Cast ripple */
.game-cast-ripple {
  position: absolute;
  width: 30px;
  height: 10px;
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 50%;
  z-index: 8;
  animation: ripple-out 1s ease-out forwards;
  pointer-events: none;
}

/* Catch splash */
.game-splash {
  position: absolute;
  top: 50%;
  right: 25%;
  transform: translate(50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.5), rgba(0, 217, 255, 0.1) 50%, transparent 70%);
  opacity: 0;
  z-index: 7;
  pointer-events: none;
}
.game-splash.show {
  animation: splash 0.8s ease-out;
}

/* Bite flash on container */
.game-bite-flash {
  border-color: var(--gold) !important;
  box-shadow: 0 0 20px rgba(255, 214, 10, 0.2), inset 0 0 30px rgba(255, 214, 10, 0.05);
  animation: bite-border-pulse 0.5s ease-in-out infinite;
}

/* Game prompt text */
.game-prompt {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cyan);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
  background: rgba(6, 14, 26, 0.6);
  padding: 8px 20px;
  border-radius: 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 217, 255, 0.1);
  transition: all 0.3s ease;
}
.game-prompt.pulse { animation: text-pulse 1s ease-in-out infinite; }
.game-prompt.urgent { color: var(--gold); border-color: rgba(255, 214, 10, 0.3); }
.game-prompt-icon { margin-right: 6px; }
.game-prompt-shake { animation: prompt-shake 0.15s ease-in-out infinite; }
.game-prompt.casting-text { color: var(--text-secondary); }

/* Particles */
.game-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(0, 217, 255, 0.3);
  border-radius: 50%;
  animation: particle-rise 8s linear infinite;
  z-index: 2;
}

/* --- 14. Catch Modal --- */
.catch-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.catch-overlay.show { display: flex; }

.catch-modal {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--ocean-mid) 100%);
  border: 2px solid var(--border-hover);
  border-radius: 20px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: modal-pop 0.4s ease-out;
}
.catch-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}
.catch-modal-close:hover { color: var(--text-bright); }
.catch-fish-icon {
  font-size: 4rem;
  margin-bottom: 12px;
  display: block;
  animation: fish-bounce 0.6s ease-out;
}
.catch-fish-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.catch-fish-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}
.catch-reward {
  background: rgba(0, 217, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.catch-reward p {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.5;
}
.catch-reward strong { color: var(--gold); }

/* Signup form inside catch modal */
.catch-signup { margin-top: 16px; }
.catch-signup .input-group {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.catch-signup input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}
.catch-signup input[type="email"]:focus {
  border-color: var(--cyan);
}
.catch-signup input[type="email"]::placeholder {
  color: var(--text-muted);
}
.catch-success {
  color: var(--lime);
  font-weight: 600;
  padding: 12px;
  display: none;
}
.catch-success.show { display: block; }
.catch-error {
  color: var(--orange);
  font-size: 0.85rem;
  margin-top: 8px;
  display: none;
}
.catch-error.show { display: block; }
.catch-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* --- 15. Newsletter Section --- */
.newsletter-section {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.05), rgba(157, 78, 221, 0.05));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-section p {
  color: var(--text-secondary);
  margin: 12px 0 24px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--cyan);
}
.newsletter-form input[type="email"]::placeholder {
  color: var(--text-muted);
}
.newsletter-msg {
  margin-top: 12px;
  font-size: 0.85rem;
}
.newsletter-msg.success { color: var(--lime); }
.newsletter-msg.error { color: var(--orange); }

/* --- 16. Biome Cards --- */
.biome-card {
  border-radius: var(--card-radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.biome-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.biome-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.biome-coral { background: linear-gradient(180deg, rgba(255, 107, 53, 0.1), var(--bg-card)); }
.biome-coral::before { background: linear-gradient(90deg, var(--orange), #ff8c5a); }
.biome-crystal { background: linear-gradient(180deg, rgba(0, 217, 255, 0.1), var(--bg-card)); }
.biome-crystal::before { background: linear-gradient(90deg, var(--cyan), #4dd9f0); }
.biome-void { background: linear-gradient(180deg, rgba(157, 78, 221, 0.1), var(--bg-card)); }
.biome-void::before { background: linear-gradient(90deg, var(--purple), #b366e8); }
.biome-storm { background: linear-gradient(180deg, rgba(58, 255, 43, 0.08), var(--bg-card)); }
.biome-storm::before { background: linear-gradient(90deg, var(--lime), #2dd926); }
.biome-nebula { background: linear-gradient(180deg, rgba(255, 214, 10, 0.08), var(--bg-card)); }
.biome-nebula::before { background: linear-gradient(90deg, var(--gold), #ffc107); }

.biome-icon { font-size: 2.5rem; margin-bottom: 12px; }
.biome-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.biome-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.5;
}
.biome-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.biome-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* --- 17. Fish Gallery --- */
.fish-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all var(--transition);
}
.fish-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.fish-card-icon { font-size: 2rem; margin-bottom: 8px; }
.fish-card-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.fish-card-biome {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* --- 18. News/Articles --- */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: all var(--transition);
}
.article-card:hover {
  border-color: var(--border-hover);
}
.article-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.article-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.article-body p { margin-bottom: 12px; }
.article-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.article-tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(0, 217, 255, 0.08);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* --- 19. Community --- */
.discord-cta {
  background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin-bottom: 40px;
}
.discord-cta h2 { margin-bottom: 12px; }
.discord-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  font-size: 1.05rem;
}
.discord-cta .btn {
  background: #fff;
  color: #5865F2;
}
.discord-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #4752c4;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}
.social-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.social-card-icon { font-size: 2rem; margin-bottom: 8px; }
.social-card-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.social-card-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- 20. About --- */
.about-hero {
  text-align: center;
  padding: 140px 24px 60px;
}
.about-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.value-grid { margin-top: 48px; }

/* --- 21. Roadmap --- */
.roadmap {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.roadmap::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.roadmap-item {
  position: relative;
  padding-left: 52px;
  padding-bottom: 32px;
}
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--cyan);
  background: var(--bg-body);
}
.roadmap-item.active .roadmap-dot {
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.4);
}
.roadmap-item.future .roadmap-dot {
  border-color: var(--text-muted);
}
.roadmap-phase {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.roadmap-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- 22. Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 32px;
  text-align: center;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.footer-brand span { color: var(--cyan); }
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.footer-links a:hover { color: var(--cyan); }
.footer-newsletter {
  margin: 24px auto;
  max-width: 380px;
}
.footer-newsletter p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin: 20px auto;
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}
.footer-copy a { color: var(--text-secondary); }
.footer-sister {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-sister a {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* --- 23. Page Header (secondary pages) --- */
.page-header {
  text-align: center;
  padding: 140px 24px 60px;
}
.page-header h1 { margin-bottom: 12px; }
.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto;
}

/* --- 24. Mechanics Section --- */
.mechanic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}
.mechanic-card:hover {
  border-color: var(--border-hover);
}
.mechanic-icon { font-size: 2rem; flex-shrink: 0; }
.mechanic-info { flex: 1; }
.mechanic-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.mechanic-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- 25. Animations --- */
@keyframes wave-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
@keyframes bobber-dip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes fish-swim-right {
  0% { left: -8%; opacity: 0; }
  5% { opacity: 0.35; }
  95% { opacity: 0.35; }
  100% { left: 108%; opacity: 0; }
}
@keyframes fish-swim-left {
  0% { right: -8%; opacity: 0; }
  5% { opacity: 0.35; }
  95% { opacity: 0.35; }
  100% { right: 108%; opacity: 0; }
}
@keyframes caustics-shift {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}
@keyframes bubble-rise {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-120px) scale(0.5); opacity: 0; }
}
@keyframes ripple-out {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(4); opacity: 0; }
}
@keyframes bite-border-pulse {
  0%, 100% { border-color: var(--gold); box-shadow: 0 0 15px rgba(255, 214, 10, 0.15); }
  50% { border-color: var(--orange); box-shadow: 0 0 25px rgba(255, 107, 53, 0.2); }
}
@keyframes prompt-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}
@keyframes splash {
  0% { opacity: 1; transform: translate(50%, -50%) scale(0.5); }
  100% { opacity: 0; transform: translate(50%, -50%) scale(2); }
}
@keyframes text-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes particle-rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  20% { opacity: 0.4; }
  80% { opacity: 0.2; }
  100% { transform: translateY(-200px) translateX(20px); opacity: 0; }
}
@keyframes modal-pop {
  0% { opacity: 0; transform: scale(0.8) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes fish-bounce {
  0% { transform: scale(0) rotate(-20deg); }
  60% { transform: scale(1.2) rotate(5deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* --- 26. Utilities --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none; }

/* --- 27. Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 120px 16px 60px; }
  .page-header { padding: 120px 16px 40px; }
  .section { padding: 60px 16px; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

  .stats { gap: 24px; }
  .stat-number { font-size: 1.8rem; }

  .game-container { height: 320px; }

  .discord-cta { padding: 32px 20px; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }

  .catch-modal { padding: 28px 20px; }
  .catch-signup .input-group { flex-direction: column; }
  .catch-signup .input-group .btn { width: 100%; }

  .mechanic-card { flex-direction: column; text-align: center; }
  .mechanic-icon { margin: 0 auto; }

  .footer-links { gap: 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .game-container { height: 280px; }
  .biome-card { padding: 20px; }
}
