.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.auth-page::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.15) 0%, transparent 40%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.auth-container {
  position: relative;
  z-index: 1;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.auth-card {
  background: linear-gradient(135deg, #1a1a1a 0%, rgba(212, 175, 55, 0.1) 100%);
  border: 2px solid #d4af37;
  border-radius: 2rem;
  padding: 3rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37 0%, #f4e4bc 50%, #d4af37 100%);
}

.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 3rem;
  color: #0a0a0a;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.auth-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  font-family: 'Playfair Display', serif;
  color: #d4af37;
}

.auth-subtitle {
  color: #b8b8b8;
  font-size: 1rem;
}

.auth-form {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9375rem;
}

.form-label i {
  margin-right: 0.5rem;
  color: #d4af37;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background: rgba(10, 10, 10, 0.7);
}

.form-control::placeholder {
  color: #b8b8b8;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-check-input {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.375rem;
  background: rgba(10, 10, 10, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  border-color: #d4af37;
}

.form-check-label {
  color: #b8b8b8;
  font-size: 0.9375rem;
  cursor: pointer;
  user-select: none;
}

.form-check-label a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-check-label a:hover {
  color: #f4e4bc;
  text-decoration: underline;
}

.btn-auth {
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  border: none;
  border-radius: 0.75rem;
  color: #0a0a0a;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.btn-auth:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.btn-auth i {
  font-size: 1.125rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  color: #b8b8b8;
  font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(212, 175, 55, 0.2);
}

.auth-divider span {
  padding: 0 1rem;
}

.social-auth {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-social {
  flex: 1;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.btn-social:hover {
  background: rgba(10, 10, 10, 0.8);
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-social i {
  font-size: 1.25rem;
}

.auth-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.auth-footer-text {
  color: #b8b8b8;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.auth-footer-link {
  color: #d4af37;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.auth-footer-link:hover {
  color: #f4e4bc;
  text-decoration: underline;
}

.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #b8b8b8;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.back-to-home:hover {
  color: #d4af37;
}

.auth-features {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.auth-features-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  text-align: center;
}

.auth-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #b8b8b8;
  font-size: 0.875rem;
}

.auth-feature-icon {
  width: 35px;
  height: 35px;
  min-width: 35px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  font-size: 1rem;
}

.password-toggle {
  position: relative;
}

.password-toggle .form-control {
  padding-right: 3.5rem;
}

.toggle-password-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #b8b8b8;
  cursor: pointer;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
}

.toggle-password-btn:hover {
  color: #d4af37;
}

@media (max-width: 575px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }
  
  .auth-title {
    font-size: 2rem;
  }
  
  .social-auth {
    flex-direction: column;
  }
}
