/* ==================== BACKGROUND & CONTAINER ==================== */

/* Nur auf der Login-Seite anwenden */
body:has(.form-auth) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) !important;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  animation: psychedelicBackground 10s ease-in-out infinite;
}

@keyframes psychedelicBackground {
  0%, 100% {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  }
  25% {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
  }
  50% {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 50%, #667eea 100%);
  }
  75% {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 50%, #30cfd0 100%);
  }
}

/* Nur den Container mit der Row stylen, nicht die Navbar */
body:has(.form-auth) .container:has(.form-auth) {
  position: relative;
  z-index: 10;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Navbar Container explizit zurücksetzen */
body:has(.form-auth) nav .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ==================== FORM STYLING ==================== */

.form-auth {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.6s ease-out, formGlow 5s ease-in-out infinite;
  position: relative;
  z-index: 10;
}

@keyframes formGlow {
  0%, 100% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(102, 126, 234, 0.3),
                inset 0 0 20px rgba(102, 126, 234, 0.1);
  }
  33% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 50px rgba(240, 147, 251, 0.5),
                inset 0 0 20px rgba(240, 147, 251, 0.2);
  }
  66% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 45px rgba(67, 233, 123, 0.4),
                inset 0 0 20px rgba(67, 233, 123, 0.15);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-auth img {
  animation: floatLogo 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(102, 126, 234, 0.3));
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.form-auth h6 {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  background-size: 200% 200%;
}

@keyframes rainbowText {
  0% {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }
  25% {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  }
  50% {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  }
  75% {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  }
  100% {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }
}

/* ==================== INPUT STYLING ==================== */

.form-control {
  border: 2px solid #e0e7ff;
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fafbff;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  background-color: white;
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: #a0aec0;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* ==================== BUTTON STYLING ==================== */

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 12px;
  padding: 0.9rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* ==================== TEXT STYLING ==================== */

.text-success {
  color: #10b981 !important;
  font-size: 0.95rem;
}

.text-danger {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.text-muted {
  color: #6b7280 !important;
}

.text-muted a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.text-muted a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* ==================== ROCKET ANIMATION ==================== */

.rocket {
  position: fixed;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.1s linear;
}

.rocket::before {
  content: '🚀';
  font-size: 30px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Raketen-Trail-Effekt */
.rocket::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 30px;
  background: linear-gradient(to bottom, 
    rgba(255, 200, 50, 0.8),
    rgba(255, 100, 50, 0.6),
    transparent
  );
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 150, 50, 0.8);
}

/* Verbindungslinien zwischen Raketen */
.rocket-connection {
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* ==================== PSYCHEDELISCHE FEUER-PARTIKEL ==================== */

.fire-particle {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  filter: blur(2px);
  animation: particleFloat linear forwards;
  box-shadow: 0 0 20px currentColor;
}

@keyframes particleFloat {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.2) rotate(720deg);
  }
}

/* Psychedelische Muster */
.pattern-particle {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: mandalaPattern 3s ease-out forwards;
  box-shadow: 0 0 15px currentColor;
}

@keyframes mandalaPattern {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.5);
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translate(var(--px), var(--py)) scale(2);
  }
}

/* Trippy Spiralen */
.spiral-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: spiralMotion 4s ease-out forwards;
  filter: blur(1px);
  box-shadow: 0 0 20px currentColor, inset 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes spiralMotion {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--sx), var(--sy)) scale(0) rotate(var(--rotation));
  }
}

/* Kaleidoskop-Effekt */
.kaleidoscope-particle {
  position: fixed;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 1;
  animation: kaleidoscopeEffect 2.5s ease-out forwards;
  filter: brightness(1.5) saturate(2);
}

@keyframes kaleidoscopeEffect {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
    border-radius: 50%;
  }
  33% {
    border-radius: 0%;
    transform: translate(var(--kx1), var(--ky1)) rotate(120deg) scale(1.5);
  }
  66% {
    border-radius: 30%;
    transform: translate(var(--kx2), var(--ky2)) rotate(240deg) scale(1);
  }
  100% {
    opacity: 0;
    border-radius: 50%;
    transform: translate(var(--kx3), var(--ky3)) rotate(360deg) scale(0);
  }
}

/* Wellen-Effekt */
.wave-particle {
  position: fixed;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid currentColor;
  pointer-events: none;
  z-index: 1;
  animation: waveExpand 2s ease-out forwards;
  background: transparent;
}

@keyframes waveExpand {
  0% {
    opacity: 1;
    transform: scale(0.5);
  }
  100% {
    opacity: 0;
    transform: scale(10);
  }
}

/* ==================== ROCKET GAME STYLES ==================== */

/* Start Button */
.btn-rocket-game {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(102, 126, 234, 0.6);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(102, 126, 234, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-rocket-game:hover {
  transform: scale(1.08);
  background: rgba(255, 100, 100, 0.15);
  border-color: rgba(255, 68, 68, 0.8);
  color: rgba(200, 30, 30, 1);
  box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
}

.btn-rocket-game:active {
  transform: scale(1.02);
  box-shadow: 0 2px 6px rgba(255, 68, 68, 0.3);
}

/* Highscore Board */
#highscore-board {
  position: fixed;
  top: 140px;
  left: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  padding: 15px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37),
              inset 0 0 20px rgba(255, 255, 255, 0.1);
  z-index: 9998;
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

#highscore-board h3 {
  color: #fff;
  text-align: center;
  margin: 0 0 15px 0;
  font-size: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5),
               0 0 20px rgba(255, 215, 0, 0.6);
  font-weight: bold;
  letter-spacing: 1px;
}

#highscore-list {
  color: #fff;
}

#highscore-list ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

#highscore-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 5px;
  margin-bottom: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#highscore-list li:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

#highscore-list .rank {
  font-size: 16px;
  min-width: 30px;
  font-weight: bold;
}

#highscore-list .name {
  flex: 1;
  padding: 0 10px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

#highscore-list .score {
  font-weight: bold;
  color: #44ff44;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  text-shadow: 0 0 5px rgba(68, 255, 68, 0.5);
}

#highscore-list .loading,
#highscore-list .no-scores,
#highscore-list .error {
  text-align: center;
  padding: 10px;
  color: #999;
  font-size: 13px;
}

#highscore-list .error {
  color: #ff6b6b;
}

/* Game UI Container */
#game-ui {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
}

#game-ui * {
  pointer-events: auto;
}

/* HUD */
#game-hud {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  min-width: 250px;
}

.hud-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.hud-item:last-child {
  margin-bottom: 0;
}

.hud-label {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hud-value {
  color: #44ff44;
  text-shadow: 0 0 10px rgba(68, 255, 68, 0.8);
  font-family: 'Courier New', monospace;
}

/* Reload Indicator */
#reload-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 68, 68, 0.95);
  color: white;
  padding: 30px 60px;
  border-radius: 20px;
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 10px 40px rgba(255, 68, 68, 0.6);
  animation: pulseReload 0.5s ease-in-out infinite;
  z-index: 10001;
  display: none;
}

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

/* Ammo Bar */
#ammo-bar-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  text-align: center;
}

#ammo-bar {
  width: 400px;
  height: 30px;
  background: rgba(0, 0, 0, 0.7);
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  position: relative;
}

#ammo-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #44ff44, #00cc00);
  transition: width 0.3s ease;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

#ammo-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: ammoShine 2s linear infinite;
}

@keyframes ammoShine {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

#ammo-bar.empty {
  animation: ammoEmpty 0.5s ease-in-out infinite;
  border-color: #ff4444;
}

@keyframes ammoEmpty {
  0%, 100% {
    box-shadow: 0 5px 20px rgba(255, 68, 68, 0.5);
  }
  50% {
    box-shadow: 0 5px 30px rgba(255, 68, 68, 0.8);
  }
}

#ammo-bar.reloading {
  border-color: #4488ff;
  animation: ammoReloading 0.5s ease-in-out infinite;
}

@keyframes ammoReloading {
  0%, 100% {
    box-shadow: 0 5px 20px rgba(68, 136, 255, 0.5);
  }
  50% {
    box-shadow: 0 5px 30px rgba(68, 136, 255, 0.9);
  }
}

#ammo-text {
  margin-top: 10px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  font-family: 'Courier New', monospace;
}

#ammo-count {
  color: #44ff44;
  text-shadow: 0 0 10px rgba(68, 255, 68, 0.8);
}

/* Game Over Screen */
#game-over-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10002;
}

#game-over-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 50px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: gameOverAppear 0.5s ease-out;
}

@keyframes gameOverAppear {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#game-over-content h1 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

#game-over-content p {
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
}

#final-score {
  color: #ffff00;
  font-size: 72px;
  margin: 20px 0;
  text-shadow: 0 0 30px rgba(255, 255, 0, 0.8);
  font-weight: bold;
}

#game-over-content button {
  margin: 10px;
  padding: 15px 40px;
  font-size: 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

#play-again-btn {
  background: linear-gradient(135deg, #44ff44 0%, #00aa00 100%);
  color: white;
}

#play-again-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(68, 255, 68, 0.5);
}

#close-game-btn {
  background: linear-gradient(135deg, #ff4444 0%, #aa0000 100%);
  color: white;
}

#close-game-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(255, 68, 68, 0.5);
}

/* Crosshair */
#game-crosshair {
  position: fixed;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
}

#game-crosshair::before,
#game-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

#game-crosshair::before {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

#game-crosshair::after {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

/* Game Rocket */
.game-rocket {
  position: fixed;
  width: 40px;
  height: 40px;
  cursor: crosshair;
  z-index: 9998;
  transition: transform 0.05s linear;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.game-rocket::before {
  content: '🚀';
  font-size: 35px;
  display: block;
  animation: rocketBounce 0.3s ease-in-out infinite;
}

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

.big-rocket {
  width: 80px !important;
  height: 80px !important;
}

.big-rocket::before {
  font-size: 70px !important;
}

/* Collectible */
.game-collectible {
  position: fixed;
  width: 30px;
  height: 30px;
  font-size: 25px;
  cursor: pointer;
  z-index: 9999;
  animation: collectibleFloat 1s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(68, 255, 68, 0.8));
  transition: opacity 0.3s ease;
}

@keyframes collectibleFloat {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) scale(1.2) rotate(180deg);
  }
}

.game-collectible:hover {
  transform: scale(1.5) !important;
}

/* Bomb */
.game-bomb {
  position: fixed;
  width: 40px;
  height: 40px;
  font-size: 35px;
  cursor: crosshair;
  z-index: 9999;
  animation: bombPulse 0.5s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(255, 100, 0, 0.8));
  transition: opacity 0.3s ease;
  transform: translate(-50%, -50%);
}

@keyframes bombPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.game-bomb:hover {
  transform: translate(-50%, -50%) scale(1.3) !important;
  filter: drop-shadow(0 0 25px rgba(255, 100, 0, 1));
}

/* Bomb Explosion Wave */
.bomb-explosion-wave {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 100, 0, 0.8) 0%, rgba(255, 200, 0, 0.4) 50%, transparent 100%);
  pointer-events: none;
  z-index: 9996;
  transform: translate(-50%, -50%);
  animation: bombWaveExpand 1s ease-out forwards;
}

@keyframes bombWaveExpand {
  0% {
    width: 50px;
    height: 50px;
    opacity: 1;
  }
  100% {
    width: 800px;
    height: 800px;
    opacity: 0;
  }
}

/* Bomb Explosion Particles */
.bomb-explosion-particle {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  animation: bombParticleExplode 1.5s ease-out forwards;
  box-shadow: 0 0 20px currentColor;
}

@keyframes bombParticleExplode {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.3);
  }
}

/* Explosion Particles */
.explosion-particle {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  animation: explode 1s ease-out forwards;
  box-shadow: 0 0 20px currentColor;
}

@keyframes explode {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0);
  }
}

/* Hit Particles */
.hit-particle {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  animation: hitEffect 0.5s ease-out forwards;
  box-shadow: 0 0 15px currentColor;
}

@keyframes hitEffect {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.5);
  }
}

/* Shoot Flash */
.shoot-flash {
  position: fixed;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 0, 0.5) 50%, transparent 100%);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  animation: shootFlash 0.2s ease-out forwards;
}

@keyframes shootFlash {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}

/* Collect Particles */
.collect-particle {
  position: fixed;
  font-size: 20px;
  pointer-events: none;
  z-index: 9999;
  animation: collectEffect 0.8s ease-out forwards;
}

@keyframes collectEffect {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0);
  }
}

/* Points Popup */
.points-popup {
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  font-size: 24px;
  font-weight: bold;
  color: #ffff00;
  text-shadow: 0 0 10px rgba(255, 255, 0, 0.8),
               0 2px 4px rgba(0, 0, 0, 0.8),
               0 0 20px rgba(255, 255, 0, 0.5);
  animation: pointsFloat 1s ease-out forwards;
  font-family: 'Arial Black', sans-serif;
  transform: translate(-50%, -50%);
}

.points-popup.medium-points {
  font-size: 28px;
  color: #ff9900;
  text-shadow: 0 0 10px rgba(255, 153, 0, 0.8),
               0 2px 4px rgba(0, 0, 0, 0.8),
               0 0 20px rgba(255, 153, 0, 0.5);
}

.points-popup.big-points {
  font-size: 36px;
  color: #ff00ff;
  text-shadow: 0 0 15px rgba(255, 0, 255, 0.8),
               0 2px 6px rgba(0, 0, 0, 0.9),
               0 0 30px rgba(255, 0, 255, 0.6);
  animation: pointsFloatBig 1s ease-out forwards;
}

@keyframes pointsFloat {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
  }
  20% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -100px) scale(1);
  }
}

@keyframes pointsFloatBig {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
  }
  15% {
    transform: translate(-50%, -50%) scale(1.3);
  }
  25% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -120px) scale(1.2);
  }
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
  .form-auth {
    padding: 2rem 1.5rem;
  }
  
  .form-auth img {
    width: 150px !important;
    height: 150px !important;
  }
  
  .form-auth h6 {
    font-size: 1.5rem;
  }

  #game-hud {
    top: 10px;
    right: 10px;
    padding: 15px;
    min-width: 200px;
  }

  .hud-item {
    font-size: 14px;
  }

  #reload-indicator {
    font-size: 24px;
    padding: 20px 40px;
  }

  #ammo-bar {
    width: 300px;
    height: 25px;
  }

  #ammo-bar-container {
    bottom: 20px;
  }

  #ammo-text {
    font-size: 14px;
    margin-top: 8px;
  }

  #game-over-content {
    padding: 30px;
  }

  #game-over-content h1 {
    font-size: 32px;
  }

  #final-score {
    font-size: 48px;
  }

  .btn-rocket-game {
    padding: 5px 14px;
    font-size: 11px;
  }

  #highscore-board {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    padding: 12px 15px;
    min-width: 180px;
    margin: 60px auto 40px auto;
  }

  #highscore-board h3 {
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
  }

  #highscore-list li {
    padding: 6px 3px;
    font-size: 12px;
  }

  #highscore-list .rank {
    font-size: 14px;
    min-width: 25px;
  }

  #highscore-list .name {
    font-size: 12px;
    padding: 0 5px;
  }

  #highscore-list .score {
    font-size: 12px;
  }
}

