/* ========================================
   GAME PAGES - Specific Styles
   ======================================== */

/* Game Hero */
.game-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.1);
}

.game-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 18, 0.7) 0%,
    rgba(10, 10, 18, 0.85) 50%,
    rgba(10, 10, 18, 0.95) 100%
  );
}

.game-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.game-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 120px 20px 60px;
  max-width: 800px;
}

.game-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white-80);
  margin-bottom: 24px;
}

.game-hero-title {
  font-family: var(--font-orbitron);
  font-size: clamp(48px, 12vw, 96px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.game-hero-tagline {
  font-family: var(--font-orbitron);
  font-size: clamp(18px, 4vw, 28px);
  color: var(--white-60);
  margin-bottom: 40px;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.game-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
}

.game-hero-stat {
  text-align: center;
}

.game-hero-stat-value {
  display: block;
  font-family: var(--font-orbitron);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
}

.game-hero-stat-label {
  font-size: 12px;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid var(--white-30);
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Game Showcase */
.game-showcase {
  padding: 100px 0;
  background: var(--bg-dark);
}

.game-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.game-screenshot-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--white-10);
}

.game-screenshot {
  width: 100%;
  display: block;
}

.game-screenshot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.game-screenshot-frame:hover .game-screenshot-overlay {
  opacity: 1;
}

.play-video-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 45, 117, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.play-video-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(255, 45, 117, 0.5);
}

.game-showcase-title {
  font-family: var(--font-orbitron);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.game-showcase-description {
  color: var(--white-70);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.game-showcase-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.game-showcase-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white-80);
  font-size: 16px;
}

/* How to Play */
.game-howto {
  padding: 100px 0;
  background: var(--bg-card);
}

.howto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.howto-card {
  background: var(--bg-dark);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.howto-card:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
}

.howto-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.howto-title {
  font-family: var(--font-orbitron);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.howto-description {
  color: var(--white-60);
  font-size: 14px;
  line-height: 1.6;
}

/* Power-ups */
.game-powerups {
  padding: 100px 0;
  background: var(--bg-dark);
}

.powerups-container {
  margin-top: 60px;
}

.powerups-category-title {
  font-family: var(--font-orbitron);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.powerup-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.3s;
}

.powerup-card.positive {
  border-color: rgba(57, 255, 20, 0.2);
}

.powerup-card.positive:hover {
  border-color: var(--green);
  background: rgba(57, 255, 20, 0.05);
}

.powerup-card.negative {
  border-color: rgba(255, 45, 117, 0.2);
}

.powerup-card.negative:hover {
  border-color: var(--pink);
  background: rgba(255, 45, 117, 0.05);
}

.powerup-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-orbitron);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.powerup-card.positive .powerup-icon {
  background: rgba(57, 255, 20, 0.15);
  color: var(--green);
}

.powerup-card.negative .powerup-icon {
  background: rgba(255, 45, 117, 0.15);
  color: var(--pink);
}

.powerup-info h4 {
  font-family: var(--font-orbitron);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.powerup-info p {
  font-size: 12px;
  color: var(--white-50);
}

/* Terrain */
.game-terrain {
  padding: 100px 0;
  background: var(--bg-card);
}

.terrain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.terrain-card {
  background: var(--bg-dark);
  border: 1px solid var(--white-10);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.terrain-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.terrain-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.terrain-card h4 {
  font-family: var(--font-orbitron);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.terrain-card p {
  font-size: 12px;
  color: var(--white-50);
  line-height: 1.5;
}

/* Game CTA */
.game-cta {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.game-cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.game-cta-title {
  font-family: var(--font-orbitron);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
}

.game-cta-subtitle {
  color: var(--white-60);
  font-size: 18px;
  margin-bottom: 48px;
}

.game-cta-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.game-cta-step {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white-80);
}

.game-cta-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-orbitron);
  font-weight: 700;
}

.game-cta-step-arrow {
  color: var(--white-30);
}

/* Coming Soon */
.coming-soon-hero .game-hero-content {
  padding-top: 160px;
}

.coming-soon-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 18, 0.8) 0%,
    rgba(10, 10, 18, 0.9) 100%
  );
}

.coming-soon-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.coming-soon-notify {
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: 20px;
  padding: 40px;
  margin-top: 60px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon-notify h3 {
  font-family: var(--font-orbitron);
  font-size: 20px;
  margin-bottom: 24px;
}

.notify-form {
  display: flex;
  gap: 12px;
}

.notify-input {
  flex: 1;
  background: var(--bg-dark);
  border: 1px solid var(--white-20);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-size: 14px;
}

.notify-input:focus {
  outline: none;
  border-color: var(--cyan);
}

.notify-privacy {
  font-size: 12px;
  color: var(--white-40);
  margin-top: 16px;
}

/* Game Preview */
.game-preview {
  padding: 100px 0;
  background: var(--bg-card);
}

.preview-content {
  max-width: 900px;
  margin: 40px auto 0;
}

.preview-description {
  font-size: 18px;
  color: var(--white-70);
  text-align: center;
  line-height: 1.8;
  margin-bottom: 60px;
}

.preview-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.preview-feature {
  text-align: center;
}

.preview-feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.preview-feature h4 {
  font-family: var(--font-orbitron);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.preview-feature p {
  color: var(--white-60);
  font-size: 14px;
}

/* Other Games */
.other-games {
  padding: 80px 0;
  background: var(--bg-dark);
}

.other-games-title {
  font-family: var(--font-orbitron);
  font-size: 24px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--white-60);
}

.other-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.other-game-card {
  display: block;
  background: var(--bg-card);
  border: 2px solid var(--white-10);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.other-game-card:hover {
  transform: translateY(-4px);
}

.other-game-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.other-game-info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.other-game-info h4 {
  font-family: var(--font-orbitron);
  font-size: 16px;
  font-weight: 700;
}

.other-game-status {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.other-game-status.available {
  background: rgba(57, 255, 20, 0.15);
  color: var(--green);
}

.other-game-status.coming {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white-60);
}

/* ========================================
   GAME VISUALS - Power-ups & Terrain
   Couleurs exactes du jeu (game-renderer.js)
   ======================================== */

/* Variables de couleurs du jeu */
:root {
  /* Terrains */
  --game-grass: rgb(60, 180, 75);
  --game-floor: rgb(240, 235, 220);
  --game-wood: rgb(139, 90, 43);
  --game-glass: rgb(180, 230, 255);
  --game-glass-border: rgb(150, 220, 255);
  --game-steel: rgb(20, 20, 30);
  --game-steel-inner: rgb(50, 50, 60);
  --game-steel-highlight: rgb(70, 70, 80);
  --game-ice: rgb(180, 230, 255);
  --game-ice-border: rgb(200, 255, 255);
  --game-trap: rgb(220, 80, 60);
  --game-portal: rgb(255, 230, 130);
  --game-electricity: rgb(255, 215, 0);
  --game-teleport: rgb(220, 160, 255);

  /* Power-ups */
  --game-powerup-bg: rgb(255, 210, 160);
  --game-powerup-positive: rgb(100, 220, 130);
  --game-powerup-negative: rgb(230, 90, 90);
  --game-bomb-dark: rgb(30, 30, 35);
  --game-bomb-gray: rgb(70, 70, 80);
  --game-bomb-fuse: rgb(255, 160, 60);
  --game-curse: rgb(150, 50, 180);

  /* Joueurs */
  --game-player-yellow: rgb(255, 220, 60);
  --game-player-blue: rgb(80, 140, 255);
  --game-player-pink: rgb(255, 120, 200);
  --game-player-orange: rgb(255, 140, 50);
}

/* Cartes avec visuels de jeu */
.game-visual-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-visual-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Container visuel power-up */
.powerup-visual {
  width: 64px;
  height: 64px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.powerup-visual-bg {
  position: absolute;
  inset: 0;
  background: var(--game-powerup-bg);
  border-radius: 50%;
  box-shadow:
    2px 2px 0 rgba(0, 0, 0, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  animation: powerup-pulse 2s ease-in-out infinite;
}

.negative-bg {
  background: var(--game-powerup-negative) !important;
}

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

.powerup-visual-text {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: var(--game-powerup-positive);
  color: #000;
  font-family: var(--font-orbitron);
  font-weight: 700;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 8px;
  z-index: 10;
}

.negative-visual .powerup-visual-text {
  background: var(--game-powerup-negative);
  color: #fff;
}

/* === ICONES POWER-UP === */

/* Bombe */
.powerup-bomb-icon {
  position: relative;
  z-index: 5;
}

.powerup-bomb-icon .bomb-body {
  width: 32px;
  height: 32px;
  background: var(--game-bomb-dark);
  border-radius: 50%;
  position: relative;
  box-shadow: inset 3px 3px 0 var(--game-bomb-gray);
}

.powerup-bomb-icon .bomb-body::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 8px;
  width: 8px;
  height: 8px;
  background: rgba(100, 100, 100, 0.5);
  border-radius: 50%;
}

.powerup-bomb-icon .bomb-fuse {
  position: absolute;
  top: -8px;
  right: 8px;
  width: 12px;
  height: 12px;
  background: var(--game-bomb-fuse);
  border-radius: 50%;
  animation: fuse-glow 0.5s ease-in-out infinite alternate;
}

@keyframes fuse-glow {
  0% { box-shadow: 0 0 4px var(--game-bomb-fuse); }
  100% { box-shadow: 0 0 12px var(--game-bomb-fuse), 0 0 20px rgba(255, 160, 60, 0.5); }
}

/* Portee */
.powerup-range-icon {
  position: relative;
  z-index: 5;
  width: 36px;
  height: 36px;
}

.powerup-range-icon .range-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--game-bomb-fuse);
  border-radius: 50%;
}

.powerup-range-icon .range-arrow {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--game-bomb-fuse);
}

.range-arrow.range-up { top: 0; left: 50%; transform: translateX(-50%); }
.range-arrow.range-down { bottom: 0; left: 50%; transform: translateX(-50%); }
.range-arrow.range-left { left: 0; top: 50%; transform: translateY(-50%); }
.range-arrow.range-right { right: 0; top: 50%; transform: translateY(-50%); }

.powerup-range-icon .range-minus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 4px;
  background: #fff;
}

/* Vitesse */
.powerup-speed-icon {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.powerup-speed-icon .speed-shoe {
  width: 24px;
  height: 16px;
  background: rgb(0, 204, 0);
  border-radius: 4px 12px 4px 4px;
  position: relative;
}

.powerup-speed-icon .speed-shoe::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 6px;
  background: rgb(0, 150, 0);
  border-radius: 2px;
}

.powerup-speed-icon span {
  font-family: var(--font-orbitron);
  font-weight: 700;
  font-size: 14px;
  color: #000;
  margin-top: 4px;
}

.negative-icon .speed-shoe {
  background: rgb(204, 51, 51);
}

.negative-icon .speed-shoe::after {
  background: rgb(150, 30, 30);
}

/* Vie */
.powerup-life-icon {
  position: relative;
  z-index: 5;
}

.powerup-life-icon .life-cross {
  position: relative;
  width: 6px;
  height: 28px;
  background: rgb(51, 204, 51);
}

.powerup-life-icon .life-cross::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 6px;
  background: rgb(51, 204, 51);
}

/* Bouclier */
.powerup-shield-icon {
  position: relative;
  z-index: 5;
}

.powerup-shield-icon .shield-shape {
  width: 28px;
  height: 32px;
  background: rgb(128, 128, 255);
  clip-path: polygon(50% 0%, 100% 25%, 100% 60%, 50% 100%, 0% 60%, 0% 25%);
  border: 2px solid rgb(80, 80, 200);
}

/* Push */
.powerup-push-icon {
  position: relative;
  z-index: 5;
}

.powerup-push-icon .push-fist {
  width: 28px;
  height: 28px;
  background: rgb(128, 128, 255);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.powerup-push-icon .push-fist::after {
  content: '+1';
  font-family: var(--font-orbitron);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

/* Degats */
.powerup-damage-icon {
  position: relative;
  z-index: 5;
}

.powerup-damage-icon .damage-explosion {
  width: 32px;
  height: 32px;
  background: rgb(255, 180, 80);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Timer */
.powerup-timer-icon {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.powerup-timer-icon .timer-clock {
  width: 24px;
  height: 24px;
  background: var(--game-bomb-gray);
  border-radius: 50%;
  border: 3px solid var(--game-bomb-dark);
  position: relative;
}

.powerup-timer-icon .timer-clock::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 8px;
  background: #fff;
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(45deg);
}

.powerup-timer-icon span {
  font-family: var(--font-orbitron);
  font-weight: 700;
  font-size: 12px;
  color: rgb(51, 204, 51);
  margin-top: 2px;
}

.negative-icon.powerup-timer-icon span {
  color: rgb(204, 51, 51);
}

/* Piege */
.powerup-trap-icon {
  position: relative;
  z-index: 5;
}

.powerup-trap-icon .trap-shape {
  width: 28px;
  height: 28px;
  background: var(--game-curse);
  border-radius: 50%;
  position: relative;
}

.powerup-trap-icon .trap-shape::before,
.powerup-trap-icon .trap-shape::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 10px;
  background: rgb(100, 30, 130);
}

.powerup-trap-icon .trap-shape::before {
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}

.powerup-trap-icon .trap-shape::after {
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
}

/* Malediction */
.powerup-curse-icon {
  position: relative;
  z-index: 5;
}

.powerup-curse-icon .curse-face {
  width: 32px;
  height: 32px;
  background: var(--game-curse);
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 8px rgba(200, 0, 200, 0.5);
}

.powerup-curse-icon .curse-eye {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  top: 10px;
}

.powerup-curse-icon .curse-eye.left { left: 7px; }
.powerup-curse-icon .curse-eye.right { right: 7px; }

.powerup-curse-icon .curse-mouth {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 4px;
  background: #fff;
}

/* === VISUELS TERRAIN === */

.terrain-visual {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  position: relative;
}

/* Bois */
.terrain-wood-block {
  width: 100%;
  height: 100%;
  background: var(--game-floor);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  padding: 2px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.wood-brick {
  background: var(--game-wood);
  border-radius: 2px;
}

.wood-brick.r2:first-of-type {
  margin-left: 8px;
}

/* Verre */
.terrain-glass-block {
  width: 100%;
  height: 100%;
  background: var(--game-glass);
  border-radius: 4px;
  border: 3px solid var(--game-glass-border);
  position: relative;
  overflow: hidden;
}

.terrain-glass-block .glass-shine {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
}

/* Acier */
.terrain-steel-block {
  width: 100%;
  height: 100%;
  background: var(--game-steel);
  border-radius: 4px;
  padding: 4px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.terrain-steel-block .steel-inner {
  width: 100%;
  height: 100%;
  background: var(--game-steel-inner);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terrain-steel-block .steel-highlight {
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  background: var(--game-steel-highlight);
  border-radius: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Glace */
.terrain-ice-block {
  width: 100%;
  height: 100%;
  background: var(--game-ice);
  border-radius: 4px;
  border: 2px solid var(--game-ice-border);
  position: relative;
  overflow: hidden;
}

.terrain-ice-block .ice-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: var(--game-ice-border);
  border-radius: 4px;
}

.ice-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  animation: sparkle 1.5s ease-in-out infinite;
}

.ice-sparkle.s1 { top: 8px; left: 8px; animation-delay: 0s; }
.ice-sparkle.s2 { top: 16px; right: 12px; animation-delay: 0.5s; }
.ice-sparkle.s3 { bottom: 12px; left: 20px; animation-delay: 1s; }

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

/* Electricite */
.terrain-electricity-block {
  width: 100%;
  height: 100%;
  background: var(--game-grass);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.electricity-bolt {
  width: 24px;
  height: 40px;
  background: var(--game-electricity);
  clip-path: polygon(50% 0%, 30% 40%, 55% 40%, 45% 100%, 70% 50%, 45% 50%);
  animation: bolt-flash 0.8s ease-in-out infinite;
}

@keyframes bolt-flash {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px var(--game-electricity)); }
  50% { opacity: 0.7; filter: drop-shadow(0 0 8px var(--game-electricity)); }
}

/* Piege terrain */
.terrain-trap-block {
  width: 100%;
  height: 100%;
  background: var(--game-grass);
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  padding: 8px;
}

.trap-spike {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--game-trap);
}

/* Portail/Teleporteur */
.terrain-portal-block {
  width: 100%;
  height: 100%;
  background: var(--game-grass);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portal-ring {
  position: absolute;
  border-radius: 4px;
  background: var(--game-portal);
  animation: portal-pulse 2s ease-in-out infinite;
}

.portal-ring.r1 { width: 56px; height: 56px; opacity: 0.3; }
.portal-ring.r2 { width: 48px; height: 48px; opacity: 0.4; animation-delay: 0.1s; }
.portal-ring.r3 { width: 40px; height: 40px; opacity: 0.5; animation-delay: 0.2s; }
.portal-ring.r4 { width: 32px; height: 32px; opacity: 0.6; animation-delay: 0.3s; }
.portal-ring.r5 { width: 24px; height: 24px; opacity: 0.8; animation-delay: 0.4s; }

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

.portal-orb {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: portal-orbit 3s linear infinite;
}

.portal-orb.o1 { animation-delay: 0s; }
.portal-orb.o2 { animation-delay: 0.75s; }
.portal-orb.o3 { animation-delay: 1.5s; }
.portal-orb.o4 { animation-delay: 2.25s; }

@keyframes portal-orbit {
  0% { transform: rotate(0deg) translateX(20px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(20px) rotate(-360deg); }
}

/* Retrecissement */
.terrain-shrink-block {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shrink-border {
  position: absolute;
  inset: 4px;
  border: 3px dashed rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: shrink-pulse 1.5s ease-in-out infinite;
}

@keyframes shrink-pulse {
  0%, 100% { inset: 4px; opacity: 1; }
  50% { inset: 8px; opacity: 0.5; }
}

.shrink-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
}

.shrink-arrow.a1 { top: 4px; left: 50%; transform: translateX(-50%); border-bottom-color: #fff; }
.shrink-arrow.a2 { bottom: 4px; left: 50%; transform: translateX(-50%); border-top-color: #fff; }
.shrink-arrow.a3 { left: 4px; top: 50%; transform: translateY(-50%); border-right-color: #fff; }
.shrink-arrow.a4 { right: 4px; top: 50%; transform: translateY(-50%); border-left-color: #fff; }

/* Navbar active state */
.navbar-link.active {
  color: var(--pink);
}

/* ========================================
   GAME MODES - Snake & Live Risk
   ======================================== */

.game-modes {
  padding: 100px 0;
  background: var(--bg-card);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.mode-card {
  background: var(--bg-dark);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}

.mode-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
}

.mode-card:hover::before {
  opacity: 1;
}

.mode-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mode-title {
  font-family: var(--font-orbitron);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mode-description {
  color: var(--white-60);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.mode-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white-10);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mode-tag.highlight {
  background: rgba(57, 255, 20, 0.1);
  border-color: rgba(57, 255, 20, 0.3);
  color: var(--green);
}

/* ========================================
   CUSTOMIZATION - Snake
   ======================================== */

.game-custom {
  padding: 100px 0;
  background: var(--bg-dark);
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.custom-card {
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.custom-card:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
}

.custom-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.custom-title {
  font-family: var(--font-orbitron);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.custom-description {
  color: var(--white-60);
  font-size: 14px;
  line-height: 1.6;
}

/* ========================================
   ALLIANCES - Live Risk
   ======================================== */

.game-alliances {
  padding: 100px 0;
  background: var(--bg-dark);
}

.alliances-container {
  margin-top: 60px;
}

.alliances-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.alliance-category {
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  padding: 32px;
}

.alliance-category-title {
  font-family: var(--font-orbitron);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alliance-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.alliance-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-dark);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.alliance-item:hover {
  border-color: var(--white-20);
}

.alliance-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alliance-info h4 {
  font-family: var(--font-orbitron);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.alliance-info p {
  font-size: 12px;
  color: var(--white-50);
  line-height: 1.5;
}

/* ========================================
   WORLD EVENTS - Live Risk
   ======================================== */

.game-events {
  padding: 100px 0;
  background: var(--bg-card);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.event-card {
  background: var(--bg-dark);
  border: 1px solid var(--white-10);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.event-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  pointer-events: none;
}

.event-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.event-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.event-name {
  font-family: var(--font-orbitron);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.event-effect {
  font-size: 12px;
  color: var(--white-50);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* ========================================
   CONTINENTS - Live Risk
   ======================================== */

.game-continents {
  padding: 100px 0;
  background: var(--bg-dark);
}

.continents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.continent-card {
  background: var(--bg-card);
  border: 2px solid var(--white-10);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}

.continent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.continent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.continent-name {
  font-family: var(--font-orbitron);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.continent-bonus {
  background: rgba(57, 255, 20, 0.15);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.continent-card p {
  color: var(--white-50);
  font-size: 13px;
  line-height: 1.5;
}

/* ========================================
   ARENA TYPES - Snake
   ======================================== */

.game-arenas {
  padding: 100px 0;
  background: var(--bg-card);
}

.arenas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.arena-card {
  background: var(--bg-dark);
  border: 1px solid var(--white-10);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.arena-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}

.arena-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.arena-name {
  font-family: var(--font-orbitron);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.arena-description {
  font-size: 12px;
  color: var(--white-50);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .game-hero-stats {
    gap: 24px;
  }

  .game-hero-stat-value {
    font-size: 24px;
  }

  .game-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .game-showcase-visual {
    order: -1;
  }

  .game-cta-steps {
    flex-direction: column;
  }

  .game-cta-step-arrow {
    transform: rotate(90deg);
  }

  .notify-form {
    flex-direction: column;
  }

  .powerup-visual {
    width: 48px;
    height: 48px;
  }

  .terrain-visual {
    width: 48px;
    height: 48px;
  }

  .alliances-grid {
    grid-template-columns: 1fr;
  }

  .modes-grid {
    grid-template-columns: 1fr;
  }

  .custom-grid {
    grid-template-columns: 1fr;
  }

  .continents-grid {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .arenas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

  .arenas-grid {
    grid-template-columns: 1fr;
  }
}
