@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --bg-color: #0b0c10;
  --text-color: #f8f9fa;
  --glass-bg: #24252a;
  --glass-border: rgba(255, 255, 255, 0.08);
  --accent-primary: #8a2be2; /* Purple */
  --accent-secondary: #00d2ff; /* Cyan */
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Glowing Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: var(--accent-primary);
  top: -100px;
  left: -100px;
  opacity: 0.5;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  bottom: -150px;
  right: -100px;
  opacity: 0.4;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(30px) scale(1.1); }
}

/* Main Container */
.container {
  width: 100%;
  max-width: 500px;
  padding: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo */
.logo {
  max-width: 200px;
  margin-bottom: 24px;
  animation: pulse 4s infinite ease-in-out;
  mix-blend-mode: lighten;
}

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

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fcf9ef;
  letter-spacing: -1px;
}

p {
  font-size: 1.1rem;
  color: rgba(252, 249, 239, 0.7);
  margin-bottom: 32px;
  line-height: 1.5;
  font-weight: 300;
}

/* Form Styles */
.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input[type="email"] {
  width: 100%;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-color);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}

input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

input[type="email"]:focus {
  border-color: var(--accent-secondary);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

button {
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

button::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

button:hover::before {
  opacity: 1;
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* States */
.message {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.3s ease;
  height: 0;
  overflow: hidden;
}

.message.show {
  opacity: 1;
  height: auto;
  margin-top: 16px;
}

.message.success {
  color: #4ade80;
}

.message.error {
  color: #f87171;
}

@media (max-width: 600px) {
  .container {
    width: 90%;
    padding: 30px 20px;
  }
  
  h1 {
    font-size: 2rem;
  }
}
