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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #e2e8f0;
  background: #0a0a0f;
  background-image: 
    radial-gradient(circle at 25% 25%, #1a1a2e 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, #16213e 0%, transparent 50%),
    linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Simple Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: none;
  padding: 12px 20px 8px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-toggle {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(30px);
  padding: 80px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.3s ease;
  z-index: 998;
}

.nav-menu.active {
  right: 0;
}

.nav-item {
  padding: 16px 20px;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(30, 30, 50, 0.5);
}

.nav-item:hover,
.nav-item.active {
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.1);
}

/* Main Content */
.main-content {
  padding-top: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  opacity: 0.6;
}

.logo-container {
  text-align: center;
  margin-bottom: 30px;
}

.main-logo {
  width: 300px;
  height: 90px;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
  transition: all 0.3s ease;
  max-width: 90%;
}

.main-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}

.auth-container {
  width: 100%;
}

.auth-tabs {
  display: flex;
  margin-bottom: 30px;
  background: rgba(30, 30, 50, 0.6);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  background: none;
  border: none;
  color: #94a3b8;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.tab-btn:hover:not(.active) {
  color: #e2e8f0;
  background: rgba(0, 212, 255, 0.1);
}

.auth-form-container {
  background: rgba(30, 30, 50, 0.8);
  backdrop-filter: blur(20px);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 
    0 0 30px rgba(0, 212, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.auth-form h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 30px;
  font-weight: 400;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #e2e8f0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 16px;
  background: rgba(15, 15, 35, 0.8);
  color: #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-group input::placeholder {
  color: #64748b;
}

.form-group input:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 
    0 0 0 3px rgba(0, 212, 255, 0.1),
    0 0 20px rgba(0, 212, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: rgba(15, 15, 35, 0.95);
  transform: translateY(-1px);
}

.auth-btn {
  width: 100%;
  position: relative;
  padding: 18px 40px;
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #ff0080 100%);
  color: white;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 25px rgba(0, 212, 255, 0.3),
    0 0 30px rgba(0, 212, 255, 0.2);
  margin: 20px 0;
}

.auth-btn::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;
}

.auth-btn:hover::before {
  left: 100%;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 12px 35px rgba(0, 212, 255, 0.4),
    0 0 40px rgba(0, 212, 255, 0.3);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(124, 58, 237, 0.3), rgba(255, 0, 128, 0.3));
  border-radius: 16px;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.auth-btn:hover .btn-glow {
  opacity: 1;
}

.form-footer {
  text-align: center;
  margin-top: 20px;
}

.forgot-link {
  color: #00d4ff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.forgot-link:hover {
  color: #ff0080;
  text-shadow: 0 0 10px rgba(255, 0, 128, 0.3);
}

.terms-text {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.quick-actions {
  background: rgba(30, 30, 50, 0.6);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.quick-actions h3 {
  margin-bottom: 20px;
  color: #e2e8f0;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: rgba(15, 15, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: #94a3b8;
  transition: all 0.3s ease;
  min-width: 120px;
}

.quick-btn:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: #00d4ff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.quick-icon {
  font-size: 1.5rem;
}

.quick-btn span:last-child {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-menu {
    width: 100%;
    right: -100%;
  }
  
  .main-content {
    padding: 100px 20px 50px;
  }
  
  .container {
    padding: 30px 25px;
    margin: 0;
    border-radius: 20px;
  }
  
  .main-logo {
    width: 250px;
    height: 75px;
  }
  
  .auth-form-container {
    padding: 25px;
  }
  
  .auth-form h2 {
    font-size: 1.5rem;
  }
  
  .form-subtitle {
    font-size: 0.9rem;
  }
  
  .form-group input {
    padding: 14px 18px;
    font-size: 15px;
  }
  
  .auth-btn {
    padding: 16px 32px;
    font-size: 15px;
  }
  
  .quick-actions {
    padding: 20px;
  }
  
  .quick-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .quick-btn {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 10px 15px;
  }
  
  .logo {
    height: 35px;
  }
  
  .main-content {
    padding: 90px 15px 40px;
  }
  
  .container {
    padding: 25px 20px;
  }
  
  .main-logo {
    width: 350px;
    height: 120px;
  }
  
  .auth-form-container {
    padding: 20px;
  }
  
  .auth-form h2 {
    font-size: 1.3rem;
  }
  
  .form-group input {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .auth-btn {
    padding: 14px 28px;
    font-size: 14px;
  }
  
  .quick-actions {
    padding: 18px;
  }
  
  .quick-actions h3 {
    font-size: 1.1rem;
  }
}