/* ============================================
   ScoreJam AI - Authentication Pages Styles
   ============================================ */

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
}

/* Prevent scroll */
html,
body {
  height: 100vh;
  overflow: hidden;
}

/* ============================================
   Animations
   ============================================ */

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.15;
    transform: scale(1.1);
  }
}

.animate-pulse-slow {
  animation: pulse-slow 8s ease-in-out infinite;
}

.animate-pulse-slow-delay {
  animation: pulse-slow 8s ease-in-out infinite;
  animation-delay: 2s;
}

.animate-pulse-slow-delay-2 {
  animation: pulse-slow 8s ease-in-out infinite;
  animation-delay: 4s;
}

/* ============================================
   Split Layout
   ============================================ */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
}

@media (max-width: 1024px) {
  .split-layout {
    grid-template-columns: 1fr;
  }
  .left-section {
    display: none;
  }
}

/* ============================================
   Left Section - Visual
   ============================================ */

.left-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
}

/* ============================================
   Right Section - Form
   ============================================ */

.right-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(20px);
  overflow-y: auto;
}

.auth-card {
  background: transparent;
}

/* ============================================
   Buttons - Deep Water Style
   ============================================ */

.auth-button {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.9) 0%,
    rgba(17, 24, 39, 0.95) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow:
    0 4px 16px rgba(30, 58, 138, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 24px rgba(30, 58, 138, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(148, 163, 184, 0.5);
}

.auth-button-secondary {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(10px);
}

.auth-button-secondary:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(148, 163, 184, 0.4);
}

/* ============================================
   Input Fields
   ============================================ */

.auth-input {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.auth-input:focus {
  outline: none;
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.auth-input::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

/* ============================================
   Background Pattern
   ============================================ */

.grid-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.02) 1px, transparent 0);
  background-size: 40px 40px;
}
