/* Custom Tailwind config */
@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Press+Start+2P&display=swap');

:root {
  --sega-blue: #0066CC;
  --sega-red: #FF0000;
  --navy: #1a1a2e;
  --cyan: #00FFFF;
}

.bg-navy {
  background-color: var(--navy);
}

.text-sega-blue {
  color: var(--sega-blue);
}

.bg-sega-blue {
  background-color: var(--sega-blue);
}

.text-sega-red {
  color: var(--sega-red);
}

.bg-sega-red {
  background-color: var(--sega-red);
}

.text-cyan {
  color: var(--cyan);
}

.bg-cyan {
  background-color: var(--cyan);
}

.border-cyan {
  border-color: var(--cyan);
}

.border-sega-blue {
  border-color: var(--sega-blue);
}

.border-sega-red {
  border-color: var(--sega-red);
}

.font-orbitron {
  font-family: 'Orbitron', monospace;
}

.font-pixel {
  font-family: 'Press Start 2P', monospace;
}

/* Scanlines effect */
.scanlines {
  background: linear-gradient(
    transparent 50%, 
    rgba(0, 255, 255, 0.03) 50%
  );
  background-size: 100% 4px;
  animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/* Blast processing animation */
.blast-processing {
  animation: blastPulse 2s ease-in-out infinite;
  text-shadow: 0 0 20px var(--sega-red), 0 0 40px var(--sega-red);
}

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

/* Power button glow */
.power-button {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.power-button:hover {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

/* Feature cards glow */
.feature-card {
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0, 255, 255, 0.3);
}

/* Game cards */
.game-card {
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.game-card:hover {
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

/* Terminal styling */
.terminal {
  background: linear-gradient(45deg, #000000, #001100);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  font-family: 'Courier New', monospace;
}

.terminal-header {
  border-bottom: 1px solid var(--cyan);
  padding-bottom: 8px;
}

/* Retro background pattern */
body {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 0, 0, 0.1) 0%, transparent 50%);
  background-size: 200px 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blast-processing {
    font-size: 3rem;
  }
  
  .scanlines {
    background-size: 100% 2px;
  }
  
  @keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(2px); }
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: var(--cyan);
  color: var(--navy);
}

::-moz-selection {
  background: var(--cyan);
  color: var(--navy);
}