/* AIORI Cyberpunk Neon Theme */

:root {
  /* Neon Colors */
  --neon-pink: #FF2D92;
  --neon-cyan: #00F5FF;
  --neon-yellow: #FFE500;
  --neon-green: #39FF14;
  --neon-orange: #FF6B00;

  /* Background Colors */
  --void: #0A0A0F;
  --void-lighter: #0F0F18;

  /* Typography */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

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

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--void);
  color: #ffffff;
}

/* Background Images */
.bg-left {
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-image: url('Resources/left-bg.png');
  background-size: cover;
  background-position: top center;
  z-index: 0;
}

.bg-right {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('Resources/right-bg.png');
  background-size: cover;
  background-position: top center;
  z-index: 0;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.9) 100%);
  z-index: 1;
}

/* Ambient Glow Effects */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 2;
}

.glow-cyan {
  top: 10%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: rgba(0, 245, 255, 0.08);
}

.glow-pink {
  bottom: 10%;
  right: 20%;
  width: 350px;
  height: 350px;
  background: rgba(255, 45, 146, 0.08);
}

/* Circuit Decoration Lines */
.circuit-line {
  position: fixed;
  height: 1px;
  pointer-events: none;
  z-index: 3;
}

.line-1 {
  top: 20%;
  left: 0;
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.5;
}

.line-2 {
  top: 35%;
  right: 0;
  width: 180px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
  opacity: 0.4;
}

.line-3 {
  bottom: 30%;
  left: 5%;
  width: 100px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  opacity: 0.3;
}

.line-4 {
  top: 60%;
  right: 0;
  width: 140px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.4;
}

.line-5 {
  bottom: 15%;
  right: 10%;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
  opacity: 0.3;
}

.line-6 {
  top: 80%;
  left: 0;
  width: 160px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.35;
}

/* Main Container */
.container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

/* Logo */
.logo-wrapper {
  margin-bottom: 2rem;
  animation: float 6s ease-in-out infinite;
}

.logo {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.4));
  animation: glow-pulse 3s ease-in-out infinite;
}

/* Subheader */
.subheader {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 2rem;
  color: #ffffff;
}

.subheader span {
  display: block;
  background: linear-gradient(135deg, #00F5FF 0%, #39FF14 25%, #FFE500 50%, #FF6B00 75%, #FF2D92 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Form Card */
.form-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.4) 0%, rgba(10, 10, 15, 0.6) 100%);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 245, 255, 0.15), 0 0 100px rgba(0, 245, 255, 0.1);
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.5;
}

.form-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #00F5FF 0%, #39FF14 50%, #FF2D92 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-bottom: 2rem;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-group {
  position: relative;
}

.input-neon {
  width: 100%;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  transition: all 0.3s ease;
  outline: none;
}

.input-neon::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.input-neon:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 2px rgba(0, 245, 255, 0.1), 0 0 20px rgba(0, 245, 255, 0.15);
}

.input-neon:hover:not(:focus) {
  border-color: rgba(0, 245, 255, 0.5);
}

/* Neon Button */
.btn-neon {
  --btn-color: var(--neon-cyan);
  position: relative;
  width: 100%;
  padding: 1rem 2rem;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neon-cyan);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.btn-neon::before,
.btn-neon::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.btn-neon::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--btn-color);
  border-left: 2px solid var(--btn-color);
}

.btn-neon::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid var(--btn-color);
  border-right: 2px solid var(--btn-color);
}

.btn-corners::before,
.btn-corners::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.btn-corners::before {
  top: 0;
  right: 0;
  border-top: 2px solid var(--btn-color);
  border-right: 2px solid var(--btn-color);
}

.btn-corners::after {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid var(--btn-color);
  border-left: 2px solid var(--btn-color);
}

.btn-neon:hover {
  background: rgba(0, 245, 255, 0.1);
  filter: drop-shadow(0 0 15px var(--neon-cyan));
}

.btn-neon:hover::before,
.btn-neon:hover::after,
.btn-neon:hover .btn-corners::before,
.btn-neon:hover .btn-corners::after {
  width: 16px;
  height: 16px;
}

.btn-neon:active {
  transform: scale(0.98);
}

/* Node Decoration */
.node-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse-neon 2s ease-in-out infinite;
}

.node-dot:nth-child(3) {
  animation-delay: 0.5s;
}

.node-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
}

.node-line.short {
  width: 25px;
  background: linear-gradient(90deg, rgba(0, 245, 255, 0.5), transparent);
}

.node-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 255, 0.5);
}

/* Success Message */
.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(57, 255, 20, 0.1);
  border: 2px solid var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
  animation: success-pulse 2s ease-in-out infinite;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: var(--neon-green);
  filter: drop-shadow(0 0 10px var(--neon-green));
}

#success-message h2 {
  background: linear-gradient(135deg, #39FF14 0%, #00F5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hidden State */
.hidden {
  display: none !important;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(0, 245, 255, 0.7));
  }
}

@keyframes pulse-neon {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

@keyframes success-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.5);
  }
}

/* Selection */
::selection {
  background: rgba(0, 245, 255, 0.3);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .bg-left {
    display: none;
  }

  .bg-right {
    width: 100%;
  }

  .logo {
    width: 140px;
  }

  .form-card {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }

  .form-card h2 {
    font-size: 1.25rem;
  }

  .glow-cyan, .glow-pink {
    width: 250px;
    height: 250px;
  }

  .circuit-line {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  .logo {
    width: 120px;
  }

  .form-card {
    padding: 1.5rem 1.25rem;
  }

  .btn-neon {
    padding: 0.875rem 1.5rem;
    font-size: 0.8rem;
  }
}
