
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* TEAM ROCKET MODE styling */
.rocket-mode {
  background-color: #1a0000 !important;
  color: red !important;
  filter: contrast(1.2) brightness(0.8);
}

/* TEAM ROCKET MODE BUTTON */
.team-rocket-toggle button {
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  padding: 14px 28px;
  margin: 20px auto;
  display: block;
  border: 2px solid #ff0033;
  background-color: black;
  color: #ff0033;
  animation: flashRed 1s infinite;
  box-shadow: 0 0 10px #ff0033;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.team-rocket-toggle button:hover {
  filter: brightness(1.2) contrast(1.5);
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff0033;
}

/* FLASH animation for TEAM ROCKET BUTTON */
@keyframes flashRed {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* PAGE GLITCH FLASH (overlay effect when activated) */
body.glitching::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0.8;
  z-index: 999999;
  animation: pageGlitch 0.2s ease-in-out 3;
  pointer-events: none;
}

@keyframes pageGlitch {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0; }
}

/* GLOWING BUTTON (e.g., Get Priority Access) */
.button-glow {
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes rocketShake {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  25% { transform: translate(-50%, -50%) rotate(1deg); }
  50% { transform: translate(-50%, -50%) rotate(-1deg); }
  75% { transform: translate(-50%, -50%) rotate(1deg); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px red; }
  50% { box-shadow: 0 0 20px red; }
}

#rocket-breach {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: black;
  color: red;
  padding: 12px 24px;
  border: 2px solid red;
  border-radius: 12px;
  font-size: 0.7rem;
  font-family: 'Press Start 2P', monospace;
  text-align: center;
  white-space: nowrap;
  z-index: 999;
  animation: rocketShake 0.4s ease-in-out infinite, glowPulse 1.5s ease-in-out infinite;
}
/* 🔴 Return to Normal Mode Button Styling */
.return-to-normal {
  display: none;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 14px;
  background-color: black;
  color: red;
  border: 2px solid red;
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
  box-shadow: 0 0 8px red;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hide Return button initially */
.return-to-normal {
  display: none;
}

/* When rocket mode is active, show the Return button */
body.rocket-mode-active .return-to-normal {
  display: inline-block;
}

/* Hide the Rocket Mode button once it’s activated */
body.rocket-mode-active .team-rocket-toggle {
  display: none;
}

/* --- Floating R visibility --- */
.floating-r-container {
  display: none;
}

body.rocket-mode-active .floating-r-container {
  display: block;
}




