/* CSS Godmode - Luxe dystopique et critique visuelle */

body {
  background-color: #1a1a1a;
  color: #fefefe;
  font-family: 'Libre Baskerville', serif;
  margin: 0;
  padding: 0;
}

/* Fenêtre popup finale avec image anthropocide */
#anthropocide-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 1rem;
  box-sizing: border-box;
}

#anthropocide-popup img {
  max-width: 80%;
  height: auto;
  border: 4px solid #ffd700;
  box-shadow: 0 0 20px #ffd700aa;
  border-radius: 8px;
}

#anthropocide-popup h2 {
  color: #ffd700;
  font-family: 'Cinzel', serif;
  margin-top: 1rem;
  font-size: 1.25rem;
  text-shadow: 1px 1px 2px #000;
  padding: 0 1rem;
  box-sizing: border-box;
  max-width: 90vw;
  word-wrap: break-word;
}

#anthropocide-popup button {
  animation: fadeInButton 0.4s ease;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-family: 'IBM Plex Mono', monospace;
  background: linear-gradient(145deg, #ffd700, #b8860b);
  color: #1a1a1a;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 0 10px #ffd70080;
  transition: all 0.3s ease;
}}

#anthropocide-popup button:hover {
  background: linear-gradient(145deg, #fff8dc, #ffd700);
  transform: scale(1.05);
}

h1 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
  font-family: 'Cinzel', serif;
  color: #ffd700;
  text-shadow: 1px 1px 2px #000;
  margin-bottom: 1rem;
}

h1 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
}

h1 img.logo-godmode {
  width: 60px;
  height: 60px;
  object-fit: contain;
  image-rendering: auto;
}

p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e0e0e0;
}

header {
  background: #0b0b0b;
  border-bottom: 4px solid #ffd700;
  position: relative;
  overflow: hidden;
}

.ticker-container {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  background: #000;
  color: #ffd700;
  font-family: 'Courier Prime', monospace;
  padding: 0.5rem 0;
  border-bottom: 2px solid #b8860b;
  font-size: 0.85rem;
}

.ticker-text {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 20s linear infinite;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

.nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.5rem 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
}

.nav-item {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-item:hover {
  color: #ffcc00;
}

footer {
  font-size: 0.8rem;
  color: #999;
  border-top: 2px solid #ffd700;
  background: #0d0d0d;
  text-align: center;
  padding: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.social-links a {
  color: #ffd700;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ffffff;
}

.copyright {
  font-style: italic;
  font-size: 0.75rem;
  color: #aaa;
}

.godmode-arnault-header .ticker-container {
  background: black;
  color: white;
}

.godmode-arnault-footer .copyright {
  font-style: italic;
}

.game-container {
  padding: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid #333;
  box-shadow: 0 0 20px #00000088;
  border-radius: 12px;
}

/* Jauge d’Anthropocide */
#anthropocide-meter-container {
  background: #111;
  border: 2px solid #ffd700;
  border-radius: 12px;
  overflow: hidden;
  height: 24px;
  position: relative;
  margin: 1rem 0 2rem;
  box-shadow: 0 0 12px #ffd70088, inset 0 0 5px #ffd70066;
}

#anthropocide-meter-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #00ff66, #ffcc00, #ff0000);
  transition: width 0.4s ease;
  border-radius: 0 12px 12px 0;
}

#anthropocide-meter-label {
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-family: 'Courier Prime', monospace;
  color: #ffd700;
  text-transform: uppercase;
  text-align: left;
  padding-left: 2px;
}

/* Effets console pour le log */
.effects-log {
  background: linear-gradient(135deg, #ffd700 0%, #fff8dc 100%);
  color: #111;
  font-family: 'IBM Plex Mono', monospace;
  padding: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: 2px solid #b8860b;
  box-shadow: inset 0 0 10px #ffd70088;
  white-space: pre-wrap;
  min-height: 100px;
  text-align: left;
  font-size: 0.85rem;
  border-radius: 8px;
  animation: fadeInLog 0.6s ease;
}

/* Boutons effet or + miroir */
.action-button {
  animation: fadeInButton 0.4s ease;}

.action-button:hover {
  background: linear-gradient(145deg, #fff8dc, #ffd700);
  color: #000;
}

/* Grille responsive des sections */
.section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}


@media (max-width: 768px) {
  .section-grid {
    grid-template-columns: 1fr 1fr;
  }
  .action-button {
    font-size: 0.75rem;
    padding: 0.75rem;
  }
}

/* Effets luxueux pour les blocs de section */
.section {
  border: 2px solid transparent;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  border-radius: 12px;
  box-shadow: 0 0 8px #111, 0 0 15px #00000066 inset;
  padding: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.section:hover {
  box-shadow: 0 0 12px #ffd70088, 0 0 30px #ffcc0080 inset;
  transform: translateY(-2px);
  border-color: #ffd700;
  animation: glitch-glow 0.3s ease-in-out alternate infinite;
}

.section h2 {
  color: #ffd700;
  text-shadow: 0 0 6px #ffea00aa, 0 0 12px #ffd70044;
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

/* Slogans flottants décoratifs */
.slogan-glitch {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 0.85rem;
  font-family: 'Courier Prime', monospace;
  color: #ff007f;
  animation: glitch 1s infinite;
}
/* Bouton de sortie vers la réalité */
.return-button {
  display: inline-block;
  margin: 2rem auto;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  background: linear-gradient(145deg, #f2e86d, #c1a600);
  color: #000;
  border: 2px solid #ffd700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 0 12px #ffd700aa, inset 0 0 6px #fff8dc44;
  transition: all 0.3s ease-in-out;
  text-align: center;
  display: block;
}

.return-button:hover {
  background: linear-gradient(145deg, #fffde0, #ffe000);
  box-shadow: 0 0 18px #fff4a0aa, 0 0 25px #ffd700bb inset;
  transform: scale(1.05);
  color: #1a1a1a;
}a

@keyframes fadeInLog {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glitch {
  0% { transform: translate(0, 0); opacity: 1; }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); opacity: 0.8; }
  60% { transform: translate(-1px, 1px); }
  80% { transform: translate(1px, -1px); opacity: 1; }
  100% { transform: translate(0, 0); }
}

@keyframes glitch-glow {
  0% { box-shadow: 0 0 12px #ffd70088, 0 0 30px #ffcc0080 inset; }
  100% { box-shadow: 0 0 18px #ffcc00cc, 0 0 36px #ffd70099 inset; }
}

$1

@keyframes fadeInButton {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
  to { opacity: 1; transform: translateY(0); }
}
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); opacity: 0.8; }
  60% { transform: translate(-1px, 1px); }
  80% { transform: translate(1px, -1px); opacity: 1; }
  100% { transform: translate(0, 0); }
}
