@tailwind base;
@tailwind components;
@tailwind utilities;

/* Import additional CSS files */
@import './animations.css';
@import './components.css';
@import './utilities.css';

/* GTA 6 Night Style Color Palette */
:root {
  --midnight-black: #0B0D1A;
  --midnight-blue: #1A1B3A;
  --electric-pink: #FF006E;
  --electric-cyan: #00F5FF;
  --pure-white: #FFFFFF;
  --off-white: #F8F9FA;
  --subtle-purple: #8B5CF6;
  --dark-glass: rgba(26, 27, 58, 0.8);
  --scroll: 0%;
}

/* Dark Base Styles */
html {
  scroll-behavior: smooth;
  background: var(--midnight-black);
}

body {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background: linear-gradient(135deg, var(--midnight-black) 0%, var(--midnight-blue) 50%, var(--midnight-black) 100%);
  color: var(--pure-white);
  line-height: 1.6;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-family: 'Inter', sans-serif;
}

h1 {
  font-size: 4.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pure-white) 0%, var(--electric-pink) 50%, var(--electric-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(255, 0, 110, 0.3);
}

h2 {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--electric-pink) 0%, var(--electric-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--pure-white);
}

h4 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--electric-cyan);
}

h5 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--electric-pink);
}

h6 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--subtle-purple);
}

p {
  line-height: 1.7;
  color: var(--off-white);
  font-size: 1rem;
}

/* Glass Morphism Effects */
.glass-card {
  background: var(--dark-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.neon-glow-pink {
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.4);
}

.neon-glow-cyan {
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.neon-glow-purple {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Gradient Backgrounds */
.night-gradient {
  background: linear-gradient(135deg, 
    var(--midnight-black) 0%, 
    var(--midnight-blue) 25%, 
    rgba(255, 0, 110, 0.1) 50%, 
    var(--midnight-blue) 75%, 
    var(--midnight-black) 100%);
}

.city-lights {
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

/* Subtle Particle Effects */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.particle:nth-child(1) { 
  width: 2px; height: 2px; 
  top: 20%; left: 20%; 
  animation-delay: 0s;
  background: var(--electric-pink);
  opacity: 0.6;
}

.particle:nth-child(2) { 
  width: 1px; height: 1px; 
  top: 60%; left: 80%; 
  animation-delay: 3s;
  background: var(--electric-cyan);
  opacity: 0.4;
}

.particle:nth-child(3) { 
  width: 3px; height: 3px; 
  top: 80%; left: 40%; 
  animation-delay: 6s;
  background: var(--subtle-purple);
  opacity: 0.3;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.3; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 0.8; }
}

/* Modern Progress Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(26, 27, 58, 0.5);
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--electric-pink), var(--electric-cyan), var(--subtle-purple));
  width: var(--scroll, 0%);
  transition: width 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--midnight-blue);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--electric-pink), var(--electric-cyan));
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 0, 110, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--electric-cyan), var(--subtle-purple));
}

/* Modern Button Styles */
.modern-button {
  background: linear-gradient(135deg, var(--electric-pink), var(--electric-cyan));
  border: none;
  color: var(--pure-white);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.modern-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 0, 110, 0.4);
}

.modern-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.modern-button:hover::before {
  left: 100%;
}

.secondary-button {
  background: transparent;
  border: 2px solid var(--electric-pink);
  color: var(--electric-pink);
  font-weight: 600;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: var(--electric-pink);
  color: var(--pure-white);
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.4);
}

/* Modern Card Hover Effects */
.modern-card {
  transition: all 0.4s ease;
  border-radius: 16px;
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 30px rgba(255, 0, 110, 0.2);
}

/* City Grid Pattern */
.city-grid {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Modern Form Elements */
.modern-input {
  background: rgba(26, 27, 58, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--pure-white);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modern-input:focus {
  outline: none;
  border-color: var(--electric-pink);
  box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
}

.modern-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Sophisticated Animation */
.sophisticated-fade {
  animation: sophisticatedFade 0.8s ease-out forwards;
}

@keyframes sophisticatedFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Status Indicators */
.status-online {
  background: linear-gradient(135deg, var(--electric-cyan), var(--subtle-purple));
  animation: pulse 2s ease-in-out infinite;
}

.status-offline {
  background: linear-gradient(135deg, #666, #999);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Modern Typography Utilities */
.text-gradient-pink {
  background: linear-gradient(135deg, var(--electric-pink), var(--subtle-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--electric-cyan), var(--electric-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 2rem; }
  h4 { font-size: 1.5rem; }
}

/* Modern Loading States */
.shimmer {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Modal and Popup Styles */
.modal-backdrop {
  background: rgba(11, 13, 26, 0.8);
  backdrop-filter: blur(10px);
}

.modal-content {
  background: var(--dark-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 40px rgba(255, 0, 110, 0.1);
}

/* Cookie Banner Specific Styles */
.cookie-banner {
  background: rgba(26, 27, 58, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 0, 110, 0.2);
}