/* ===== CYBERPAD STUDIO - LOGIN & REGISTER CSS ===== */

body {
  font-family: 'Rajdhani', sans-serif;
  margin: 0; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; background-color: #050505;
}

/* 1. Breathing Background Effect */
body::before {
  content: ""; position: absolute;
  top: -5%; left: -5%; width: 110vw; height: 110vh;
  background-image: url('../assets/login\ background.png');
  background-size: cover; background-position: center;
  filter: blur(5px) brightness(0.4) contrast(1.1);
  z-index: -1;
  animation: bgBreathe 20s infinite alternate ease-in-out;
}

@keyframes bgBreathe {
  0% { transform: scale(1); filter: blur(5px) brightness(0.4) contrast(1.1); }
  100% { transform: scale(1.05); filter: blur(8px) brightness(0.3) contrast(1.2); }
}

/* 2. Pulsing Glass Panel (MET ECHTE 3D DEPTH) */
.glass-panel {
  background: rgba(15, 18, 28, 0.65);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 245, 255, 0.3);
  animation: panelGlow 4s infinite alternate ease-in-out;
  transform-style: preserve-3d;
}

.glass-panel > * {
  transform: translateZ(40px);
  transform-style: preserve-3d;
}

@keyframes panelGlow {
  0% { box-shadow: 0 0 30px rgba(0, 245, 255, 0.1), inset 0 0 20px rgba(0, 245, 255, 0.05); }
  100% { box-shadow: 0 0 50px rgba(0, 245, 255, 0.25), inset 0 0 30px rgba(0, 245, 255, 0.1); }
}

/* 🔥 HIER IS DE WITTE CYBERPAD TEKST 🔥 */
.neon-text {
  font-family: 'Orbitron', sans-serif; 
  color: #ffffff; /* Tekst is nu wit! */
  text-shadow: 0 0 15px rgba(0, 245, 255, 0.8), 0 0 30px rgba(0, 245, 255, 0.4); /* Blauwe glow achter de witte letters */
  letter-spacing: 2px;
}

/* 3. Staggered Entrance Animations */
.fade-in-up {
  opacity: 0; transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* 4. Neon Flicker Logo */
.wave-logo {
  animation: neonFlicker 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards, pulseWave 2s infinite alternate 1.5s;
  opacity: 0;
}
@keyframes neonFlicker {
  0%, 10%, 20% { opacity: 0.1; filter: drop-shadow(0 0 0 rgba(0,245,255,0)); }
  5%, 15% { opacity: 1; filter: drop-shadow(0 0 20px rgba(0,245,255,1)); }
  30% { opacity: 0.5; filter: drop-shadow(0 0 10px rgba(0,245,255,0.5)); }
  100% { opacity: 1; filter: drop-shadow(0 0 15px rgba(0,245,255,0.8)); }
}
@keyframes pulseWave {
  0% { filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5)); transform: scale(1); }
  100% { filter: drop-shadow(0 0 25px rgba(0, 245, 255, 0.9)); transform: scale(1.05); }
}

/* 5. Shimmering Gradient Button */
.btn-gradient {
  background: linear-gradient(90deg, #00f5ff, #0055ff, #00f5ff);
  background-size: 200% auto; color: #000;
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
  transition: all 0.3s ease;
  animation: shimmerBtn 3s linear infinite;
}
@keyframes shimmerBtn { to { background-position: 200% center; } }
.btn-gradient:hover { box-shadow: 0 0 35px rgba(0, 245, 255, 0.7); transform: translateY(-2px); }
.btn-gradient:active { transform: translateY(1px) scale(0.98); }

/* Input Fields Customization */
.input-field {
  background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(0, 245, 255, 0.2);
  color: #fff; transition: all 0.3s ease;
}
.input-field:focus {
  outline: none; border-color: #00f5ff;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3); background: rgba(0, 245, 255, 0.05);
}

/* 6. Glitch Hover Effect */
.glitch-hover { transition: all 0.2s ease; }
.glitch-hover:hover {
  animation: rgbGlitch 0.3s infinite linear alternate-reverse; color: #fff;
}
@keyframes rgbGlitch {
  0% { text-shadow: -2px 0 #00f5ff, 2px 0 #ff00ff; transform: translate(0); }
  20% { text-shadow: 2px 0 #00f5ff, -2px 0 #ff00ff; transform: translate(-1px, 1px); }
  40% { text-shadow: -2px 0 #00f5ff, 2px 0 #ff00ff; transform: translate(1px, -1px); }
  60% { text-shadow: 2px 0 #00f5ff, -2px 0 #ff00ff; transform: translate(0); }
  80% { text-shadow: -2px 0 #00f5ff, 2px 0 #ff00ff; transform: translate(-1px, 0); }
  100% { text-shadow: 2px 0 #00f5ff, -2px 0 #ff00ff; transform: translate(1px, 0); }
}

/* 7. Neon Dust Particles */
#particles-container {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1; overflow: hidden;
}
.particle {
  position: absolute; bottom: -10px; background: #00f5ff;
  border-radius: 50%; box-shadow: 0 0 10px #00f5ff, 0 0 20px #00f5ff;
  opacity: 0; animation: floatUp linear infinite;
}
.particle.magenta {
  background: #ff00ff; box-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
}
@keyframes floatUp {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.5; }
  100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

/* ==========================================
   🛠️ CHROME AUTOFILL FIX (NUCLEAR FORCE)
   ========================================== */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 1000px #0a0e17 inset !important;
    -webkit-text-fill-color: #00f5ff !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* ==========================================
   8. PREMIUM SOCIAL AUTH BUTTONS
   ========================================== */
.social-auth-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 15px; 
  background: linear-gradient(145deg, rgba(20, 25, 35, 0.6), rgba(10, 13, 20, 0.8));
  border-radius: 12px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

/* Glans effect (lichtflits) die over de knop schiet bij hover */
.social-auth-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: all 0.6s ease;
}
.social-auth-btn:hover::before { left: 100%; }
.social-auth-btn:active { transform: translateY(1px); }

/* Het doosje rondom het icoontje */
.social-icon-box {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; justify-content: center; align-items: center;
  font-size: 15px;
  transition: all 0.3s ease;
}

/* ===== GOOGLE STYLING (Cyber-Cyan) ===== */
.social-auth-btn.google-btn { border: 1px solid rgba(0, 245, 255, 0.2); }
.social-auth-btn.google-btn .social-icon-box { 
  background: rgba(0, 245, 255, 0.05); border: 1px solid rgba(0, 245, 255, 0.3); color: #00f5ff; 
}
.social-auth-btn.google-btn:hover { 
  border-color: #00f5ff; background: rgba(0, 245, 255, 0.05); box-shadow: 0 5px 20px rgba(0, 245, 255, 0.2); transform: translateY(-3px);
}
.social-auth-btn.google-btn:hover .social-icon-box { 
  background: #00f5ff; color: #000; box-shadow: 0 0 15px rgba(0, 245, 255, 0.6); transform: scale(1.1) rotate(5deg); 
}

/* ===== FACEBOOK STYLING (Neon-Blue) ===== */
.social-auth-btn.facebook-btn { border: 1px solid rgba(0, 102, 255, 0.2); }
.social-auth-btn.facebook-btn .social-icon-box { 
  background: rgba(0, 102, 255, 0.05); border: 1px solid rgba(0, 102, 255, 0.3); color: #0088ff; 
}
.social-auth-btn.facebook-btn:hover { 
  border-color: #0088ff; background: rgba(0, 102, 255, 0.05); box-shadow: 0 5px 20px rgba(0, 102, 255, 0.2); transform: translateY(-3px);
}
.social-auth-btn.facebook-btn:hover .social-icon-box { 
  background: #0088ff; color: #000; box-shadow: 0 0 15px rgba(0, 102, 255, 0.6); transform: scale(1.1) rotate(-5deg); 
}

/* ========================================================
   📱 VERBETERDE MOBILE RESPONSIVENESS (STYLE.CSS)
======================================================== */
@media (max-width: 768px) {
  
  /* 1. Achtergrond & Container */
  body {
    padding: 15px;
    display: flex;
    align-items: center; /* Zorgt dat de box verticaal in het midden staat */
    justify-content: center;
  }

  .glass-panel {
    width: 100% !important;
    max-width: 380px;
    padding: 40px 25px !important; /* Meer ademruimte boven en onder */
    border-radius: 20px !important;
    transform-style: flat !important; 
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.15) !important;
  }

  /* 2. Logo & Tekst */
  .wave-logo {
    width: 50px !important; /* Iets subtieler op mobiel */
    margin-bottom: 15px !important;
  }

  .neon-text {
    font-size: 24px !important;
    letter-spacing: 3px !important;
    margin-bottom: 5px !important;
  }

  /* 3. INPUT VELDEN FIX (Icoontjes & Tekst scheiden) */
  .input-group {
    position: relative;
    margin-bottom: 20px !important;
    width: 100%;
  }

  .input-field {
    width: 100% !important;
    padding: 14px 15px 14px 45px !important; /* 45px padding links voor het icoontje */
    font-size: 16px !important; /* Voorkomt zoom op iPhone */
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }

  /* Positioneer de icoontjes in de input velden */
  .input-group i, .input-group .icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00f5ff;
    font-size: 18px;
    pointer-events: none; /* Zorgt dat je door het icoon heen kunt klikken op de input */
  }

  /* 4. Knoppen & Links */
  .btn-gradient {
    width: 100% !important;
    padding: 15px !important;
    font-size: 14px !important;
    letter-spacing: 2px !important;
    margin-top: 10px !important;
    border-radius: 10px !important;
    text-transform: uppercase;
  }

  .footer-links {
    margin-top: 25px !important;
    font-size: 13px !important;
    line-height: 1.8;
  }

  .footer-links a {
    color: #00f5ff;
    text-decoration: none;
    font-weight: 600;
  }
}

/* Fix voor hele kleine schermen (iPhone SE) */
@media (max-width: 380px) {
  .glass-panel {
    padding: 30px 20px !important;
  }
  .neon-text {
    font-size: 20px !important;
  }
}