/* DOOM-Inspired 90s Videogame Aesthetic CSS */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323:wght@400&family=Orbitron:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Press Start 2P', monospace;
  background: #1a0f0a;
  color: #ff4444;
  overflow
-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 20% 20%, #2d1b13 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, #1a0f0a 0%, transparent 50%),
    linear-gradient(45deg, #0f0f0f 25%, transparent 25%),
    linear-gradient(-45deg, #1a1a1a 25%, transparent 25%),
    linear-gradient(0deg, transparent 40%, #ff4444 40%, #ff4444 41%, transparent 41%);
  background-size: 300px 300px, 400px 400px, 20px 20px, 20px 20px, 100% 200px;
  animation: doomBackground 15s ease-in-out infinite;
}

@keyframes doomBackground {
  0%, 100% {
    background-position: 0% 0%, 100% 100%, 0 0, 0 0, 0 0;
    filter: contrast(1.1) brightness(0.9);
  }
  50% {
    background-position: 100% 100%, 0% 0%, 10px 10px, -10px 10px, 0 20px;
    filter: contrast(1.2) brightness(1.0);
  }
}

.game-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  border: 4px solid #ff4444;
  border-radius: 0;
  background: rgba(26, 15, 10, 0.95);
  box-shadow:
    0 0 30px #ff4444,
    inset 0 0 30px rgba(255, 68, 68, 0.1),
    inset 0 0 0 2px #8b2635;
  margin-top: 20px;
  margin-bottom: 20px;
  border-style: outset;
  border-width: 6px;
}

.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    transparent 50%,
    rgba(255, 68, 68, 0.05) 50%
  );
  background-size: 100% 3px;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.7;
}

.header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.logo .pixel-border {
  border: 4px outset #ff4444;
  padding: 25px;
  background:
    linear-gradient(45deg, #2d1b13 25%, #1a0f0a 25%, #1a0f0a 50%, #2d1b13 50%, #2d1b13 75%, #1a0f0a 75%);
  background-size: 8px 8px;
  box-shadow:
    inset 0 0 20px rgba(255, 68, 68, 0.2),
    0 0 25px rgba(255, 68, 68, 0.5),
    inset 0 0 0 2px #8b2635;
  position: relative;
}

.logo .pixel-border::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 2px inset #ff6666;
  pointer-events: none;
}

.logo h1 {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: 4px;
  text-shadow:
    0 0 5px #ff4444,
    0 0 10px #ff4444,
    0 0 20px #ff4444,
    2px 2px 0px #8b2635,
    4px 4px 0px #5c1a23;
  animation: doomGlow 2s ease-in-out infinite alternate;
  margin-bottom: 15px;
  color: #ffaaaa;
}

@keyframes doomGlow {
  from {
    text-shadow:
      0 0 5px #ff4444,
      0 0 10px #ff4444,
      0 0 20px #ff4444,
      2px 2px 0px #8b2635,
      4px 4px 0px #5c1a23;
  }
  to {
    text-shadow:
      0 0 10px #ff6666,
      0 0 20px #ff6666,
      0 0 40px #ff6666,
      2px 2px 0px #8b2635,
      4px 4px 0px #5c1a23;
  }
}

.subtitle {
  font-size: 0.8rem;
  color: #ffaa44;
  letter-spacing: 3px;
  text-shadow:
    0 0 5px #ffaa44,
    1px 1px 0px #8b6635;
  font-family: 'Press Start 2P', monospace;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 20px;
  border: 3px inset #ff4444;
  background:
    linear-gradient(90deg, #2d1b13 0%, #1a0f0a 50%, #2d1b13 100%);
  font-size: 0.7rem;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.health, .armor, .ammo {
  flex: 1;
  min-width: 140px;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
}

.health {
  color: #ff4444;
  text-shadow: 0 0 5px #ff4444;
}
.armor {
  color: #44ff44;
  text-shadow: 0 0 5px #44ff44;
}
.ammo {
  color: #ffff44;
  text-shadow: 0 0 5px #ffff44;
}

.character-box {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
  padding: 25px;
  border: 3px outset #ff4444;
  background:
    linear-gradient(135deg, rgba(45, 27, 19, 0.8) 0%, rgba(26, 15, 10, 0.8) 100%);
  flex-wrap: wrap;
  box-shadow:
    inset 0 0 20px rgba(255, 68, 68, 0.1),
    0 0 15px rgba(255, 68, 68, 0.3);
}

.character-sprite {
  font-size: 4.5rem;
  filter:
    drop-shadow(0 0 15px #ff4444)
    drop-shadow(0 0 5px #ffaa44);
  animation: doomBounce 3s ease-in-out infinite;
}

@keyframes doomBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-12px) scale(1.05);
  }
  60% {
    transform: translateY(-6px) scale(1.02);
  }
}

.dialogue-box {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  border: 3px inset #ff4444;
  background:
    linear-gradient(45deg, rgba(26, 15, 10, 0.9) 25%, rgba(45, 27, 19, 0.9) 25%, rgba(45, 27, 19, 0.9) 50%, rgba(26, 15, 10, 0.9) 50%);
  background-size: 12px 12px;
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  line-height: 1.5;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.7);
}

.dialogue-box p {
  margin-bottom: 12px;
  color: #ffaaaa;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
}

.dialogue-box p:last-child {
  margin-bottom: 0;
}

.hover-hint {
  font-size: 0.5rem;
  color: #ffaa44;
  margin-top: 10px;
  opacity: 0.7;
  letter-spacing: 1px;
  animation: pulse 2s ease-in-out infinite;
}

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

.logo {
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.social-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
}

.social-modal.show {
  opacity: 1;
}

.modal-content {
  background:
    linear-gradient(135deg, rgba(45, 27, 19, 0.95) 0%, rgba(26, 15, 10, 0.95) 100%);
  border: 6px outset #ff4444;
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow:
    0 0 50px #ff4444,
    inset 0 0 30px rgba(255, 68, 68, 0.2);
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.social-modal.show .modal-content {
  transform: scale(1);
}

.modal-content h2 {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ffaa44;
  text-shadow:
    0 0 10px #ffaa44,
    1px 1px 0px #8b6635,
    2px 2px 0px #5c4423;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  letter-spacing: 3px;
}

.modal-menu-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-menu-item {
  display: block;
  padding: 18px 25px;
  color: #ff4444;
  text-decoration: none;
  border: 3px outset #ff4444;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  letter-spacing: 2px;
  background:
    linear-gradient(90deg, rgba(26, 15, 10, 0.8) 0%, rgba(45, 27, 19, 0.8) 100%);
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
  font-family: 'Orbitron', monospace;
  font-weight: 400;
  border-radius: 8px;
}

.modal-menu-item:hover {
  background:
    linear-gradient(90deg, #ff4444 0%, #ff6666 100%);
  color: #000;
  border-style: inset;
  box-shadow:
    0 0 25px #ff4444,
    inset 0 0 15px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
  text-shadow: none;
}

.footer-menu {
  margin-bottom: 25px;
  padding: 25px;
  border: 3px outset #ff4444;
  background:
    linear-gradient(180deg, rgba(45, 27, 19, 0.6) 0%, rgba(26, 15, 10, 0.8) 100%);
  box-shadow:
    inset 0 0 20px rgba(255, 68, 68, 0.1),
    0 0 10px rgba(255, 68, 68, 0.2);
}

.social-menu h2, .footer-menu h2 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
  color: #ffaa44;
  text-shadow:
    0 0 8px #ffaa44,
    1px 1px 0px #8b6635,
    2px 2px 0px #5c4423;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  letter-spacing: 2px;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-item {
  display: block;
  padding: 15px 20px;
  color: #ff4444;
  text-decoration: none;
  border: 2px outset #ff4444;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  letter-spacing: 2px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(26, 15, 10, 0.8) 0%, rgba(45, 27, 19, 0.8) 100%);
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
  font-family: 'Orbitron', monospace;
  font-weight: 400;
}

.menu-item:hover {
  background:
    linear-gradient(90deg, #ff4444 0%, #ff6666 100%);
  color: #000;
  border-style: inset;
  box-shadow:
    0 0 20px #ff4444,
    inset 0 0 10px rgba(0, 0, 0, 0.3);
  transform: translateX(8px);
  text-shadow: none;
}

.menu-arrow {
  display: inline-block;
  margin-right: 15px;
  transition: transform 0.2s ease;
  color: #ffaa44;
  text-shadow: 0 0 5px #ffaa44;
}

.menu-item:hover .menu-arrow {
  transform: translateX(8px);
  animation: doomArrowPulse 0.6s ease-in-out infinite;
  color: #000;
  text-shadow: none;
}

@keyframes doomArrowPulse {
  0%, 50% { opacity: 1; transform: translateX(8px) scale(1); }
  25% { opacity: 0.7; transform: translateX(8px) scale(1.2); }
  75% { opacity: 0.9; transform: translateX(8px) scale(0.9); }
}

.credits {
  text-align: center;
  padding: 25px;
  border-top: 3px inset #ff4444;
  background:
    linear-gradient(180deg, rgba(26, 15, 10, 0.9) 0%, rgba(15, 10, 8, 0.9) 100%);
  font-size: 0.6rem;
  color: #888;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .game-container {
    margin: 10px;
    padding: 15px;
  }

  .logo h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .character-box {
    flex-direction: column;
    text-align: center;
  }

  .character-sprite {
    font-size: 3.5rem;
  }

  .dialogue-box {
    min-width: auto;
  }

  .status-bar {
    flex-direction: column;
    gap: 8px;
  }

  .health, .armor, .ammo {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .subtitle {
    font-size: 0.6rem;
  }

  .character-sprite {
    font-size: 3rem;
  }

  .dialogue-box {
    font-size: 1rem;
  }

  .menu-item {
    font-size: 0.7rem;
  }
}

/* Modern Professional pages styles */
.professional-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  color: #1a202c;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

.professional-container h1 {
  color: #1a202c;
  border-bottom: 4px solid #4f46e5;
  padding-bottom: 20px;
  margin-bottom: 40px;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.professional-container h2 {
  color: #2d3748;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 600;
  text-shadow: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.professional-container h3 {
  color: #4a5568;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

.professional-container p {
  margin-bottom: 20px;
  color: #4a5568;
  text-shadow: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
}

.professional-container ul, .professional-container ol {
  margin-bottom: 20px;
  padding
-left: 30px;
}

.professional-container li {
  margin-bottom: 8px;
  color: #666;
  text-shadow: none;
  font-family: 'Segoe UI', sans-serif;
}

.professional-container a {
  color: #3498db;
  text-decoration: none;
}

.professional-container a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-shadow: none;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.back-link:hover {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
  text-decoration: none;
}

.app-info {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 30px;
  border-left: 6px solid #4f46e5;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
}

.contact-info {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 30px;
  border-radius: 12px;
  margin: 30px 0;
  border-left: 6px solid #059669;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.1);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.beta-notice {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 25px;
  border-radius: 12px;
  border-left: 6px solid #f59e0b;
  margin: 30px 0;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
}

@media (max-width: 768px) {
  .professional-container {
    padding: 40px 20px;
  }
  
  .professional-container h1 {
    font-size: 2.5rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}