body {
  background: black;
  color: #22c55e;
  font-family: monospace;
  text-align: center;
  margin: 0;
  padding: 2rem;
}
.step {
  display: none;
}
.step.active {
  display: block;
}
.question {
  margin-bottom: 1rem;
}
.passport-card {
  border: 1px solid #22c55e;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 10px;
  background: #000;
}
.passport-card img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 1rem;
}
button {
  margin: 0.25rem;
  padding: 0.5rem 1rem;
  background: #14532d;
  border: 1px solid #22c55e;
  color: #22c55e;
  border-radius: 6px;
  cursor: pointer;
}
button:hover {
  background: #166534;
}
.seal {
  margin: 2rem auto;
  font-size: 1.5rem;
  animation: pulse 1s infinite;
}
.error {
  color: red;
}
#gas-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-radial-gradient(circle at center, #39ff14 0%, #003300 20%, #000000 40%);
  animation: toxicFlicker 0.15s infinite;
  z-index: 99;
}
@keyframes toxicFlicker {
  0%, 100% { opacity: 0.3; filter: hue-rotate(0deg); }
  50% { opacity: 0.7; filter: hue-rotate(90deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}


#gas-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, #39ff14aa 0%, #00ff8855 40%, #001100cc 100%);
  overflow: hidden;
  animation: toxicPulse 0.2s infinite alternate;
  z-index: 99;
  backdrop-filter: blur(3px);
}

.bubble {
  position: absolute;
  bottom: -50px;
  background: #00ff88;
  border-radius: 50%;
  opacity: 0.4;
  animation: riseBubble 5s infinite ease-in;
}

@keyframes toxicPulse {
  0% { filter: hue-rotate(0deg) brightness(0.9); }
  100% { filter: hue-rotate(20deg) brightness(1.2); }
}

@keyframes riseBubble {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-120vh) scale(1);
    opacity: 0;
  }
}

#gas-mask {
  position: fixed;
  bottom: 10px;
  left: 10px;
  font-size: 2rem;
  color: #00ff88;
  z-index: 100;
  display: none;
  animation: gasGlow 1s infinite alternate;
}

@keyframes gasGlow {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}


.progress-bar {
  width: 100%;
  height: 10px;
  background: #333;
  margin: 1rem auto;
  border-radius: 20px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #39ff14, #00ffaa);
  animation: fillProgress 3s forwards;
}
@keyframes fillProgress {
  to { width: 100%; }
}

input[type="radio"]:checked + label {
  animation: pulse 0.3s ease;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

#preview-blur {
  margin-top: 1rem;
  filter: blur(6px);
  opacity: 0.6;
  width: 300px;
  margin-bottom: 1rem;
}

#seal-typing {
  font-family: monospace;
  white-space: pre;
  font-size: 1.1rem;
  min-height: 2rem;
}

#proceed-btn {
  opacity: 0.4;
  pointer-events: none;
  transition: all 0.3s ease;
}

textarea#meme-input {
  margin: 1rem auto;
  width: 300px;
  height: 60px;
  background: #111;
  color: #22ff88;
  border: 1px solid #22ff88;
  padding: 8px;
  border-radius: 6px;
  font-family: monospace;
}
.share-buttons {
  margin: 1rem auto;
}
.share-buttons button {
  margin: 0.3rem;
}

#nuclear-fart {
  display: none;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: radial-gradient(circle, #ff4500 10%, #000000 90%);
  z-index: 200;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  animation: pulseExplosion 0.25s infinite;
}

@keyframes pulseExplosion {
  0% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 0.7; transform: scale(1); }
}

.leaderboard.radioactive {
  background: rgba(0,255,0,0.1);
  border: 1px solid #39ff14;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 2rem;
  animation: glowBoard 1.2s infinite alternate;
}
@keyframes glowBoard {
  0% { box-shadow: 0 0 5px #39ff14; }
  100% { box-shadow: 0 0 20px #00ff88; }
}


.passport-card {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 12px;
  border: 3px solid #39ff14;
  box-shadow: 0 0 20px rgba(0,255,135,0.25);
  font-family: 'Courier New', Courier, monospace;
  position: relative;
  overflow: hidden;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,255,135,0.02),
    rgba(0,255,135,0.02) 10px,
    transparent 10px,
    transparent 20px
  );
}

.passport-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: url('logo.png') center center no-repeat;
  background-size: 200px;
  opacity: 0.025;
  z-index: 0;
}

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

.passport-card img {
  width: 120px;
  border-radius: 50%;
  border: 2px dashed #39ff14;
  margin-bottom: 0.8rem;
  background: #000;
}

.passport-card p {
  font-size: 1rem;
  border-bottom: 1px dotted #333;
  padding: 0.2rem 0;
  margin: 0.3rem 0;
}

.passport-stamp {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 100px;
  opacity: 0.1;
  transform: rotate(-12deg);
  z-index: 0;
}

@media print {
  .passport-stamp-print {
    display: block;
  }
}

#nuclear-fart-reaction {
  display: none;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: radial-gradient(circle, #ff6a00 10%, #ff0000 90%);
  z-index: 200;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  animation: pulseExplosionReaction 0.25s infinite alternate;
}

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

@keyframes fartModeEffect {
  0% { background-color: #39ff14; }
  50% { background-color: #ff0000; }
  100% { background-color: #39ff14; }
}

.scroll-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  border-top: 1px dashed #22ff88;
  border-bottom: 1px dashed #22ff88;
  margin: 1.5rem auto;
  padding: 0.5rem;
  max-width: 600px;
}

.scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 15s linear infinite;
  color: #00ffaa;
  font-style: italic;
}

@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


.step-indicator {
  font-size: 1rem;
  margin-top: -1rem;
  margin-bottom: 1rem;
  color: #00ffaa;
  font-style: italic;
  animation: pulseLive 1.4s infinite alternate;
}

.lore-line {
  font-size: 1rem;
  color: #22ff88;
  margin: 1rem 0;
  font-style: italic;
}

.rare-chance {
  font-size: 0.9rem;
  color: #ff66cc;
  margin-bottom: 1.5rem;
  animation: pulseLive 2s infinite alternate;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.danger-btn {
  background: #7f1d1d;
  border: 1px solid #f87171;
  color: #f87171;
}
.danger-btn:hover {
  background: #991b1b;
}

.temptation-note {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #ffaaaa;
  font-style: italic;
}

.temptation-btn {
  background: #ff0000;
  color: white;
  font-weight: bold;
  animation: pulseExplosionReaction 1s infinite alternate;
}

.step-indicator {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #00ffaa;
  font-style: italic;
  animation: pulseLive 1.4s infinite alternate;
}

#flan-reward {
  display: none;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: radial-gradient(circle, #ff66cc 0%, #ffccf2 100%);
  z-index: 999;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: pulseFlan 0.4s infinite alternate;
  font-size: 1.6rem;
  color: white;
  font-weight: bold;
  font-style: italic;
}

.flan-text {
  padding: 2rem;
  background: rgba(255,255,255,0.1);
  border: 2px dashed white;
  border-radius: 20px;
}

@keyframes pulseFlan {
  0% { filter: hue-rotate(0deg); opacity: 0.8; }
  100% { filter: hue-rotate(20deg); opacity: 1; }
}

.flan-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flan-hips {
  width: 60px;
  height: 80px;
  border-radius: 50% 50% 40% 40%;
  background: #ff66cc;
  animation: bounceHips 0.5s infinite alternate;
  box-shadow: 0 0 15px #ff99dd;
  margin-bottom: 1rem;
}

.flan-gas {
  font-size: 2rem;
  animation: fartWave 0.5s infinite alternate;
}

.flan-count {
  font-size: 2rem;
  margin-top: 1rem;
  animation: countdownStep 3s steps(3) forwards;
}

@keyframes bounceHips {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes fartWave {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(15px); opacity: 0.6; }
}

@keyframes countdownStep {
  0% { content: "1️⃣"; }
  33% { content: "2️⃣"; }
  66% { content: "3️⃣"; }
  100% { content: "💥"; }
}

.hidden-room {
  display: none;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #00ffaa;
  padding: 2rem;
  border: 2px solid #00ffaa;
  border-radius: 12px;
  z-index: 2000;
  max-width: 500px;
  text-align: center;
  font-family: monospace;
  box-shadow: 0 0 15px #00ffaa88;
}
.hidden-room ul {
  text-align: left;
  margin-top: 1rem;
}

#legend-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #111;
  color: #00ffaa;
  padding: 0.7rem 0.9rem;
  font-size: 1.2rem;
  border: 2px solid #00ffaa;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2001;
  transition: all 0.2s ease;
}
#legend-icon:hover {
  background: #00ffaa;
  color: black;
}
