/* Golden Luxury Theme - Auth Pages */
body.dark-gold-theme {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 25%, #1a1a1a 50%, #3d3d3d 75%, #1a1a1a 100%);
  background-attachment: fixed;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  animation: goldenBackgroundShift 15s ease-in-out infinite;
}

@keyframes goldenBackgroundShift {
  0%, 100% { 
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 25%, #1a1a1a 50%, #3d3d3d 75%, #1a1a1a 100%);
  }
  25% { 
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 25%, #3d3d3d 50%, #1a1a1a 75%, #2d2d2d 100%);
  }
  50% { 
    background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 25%, #2d2d2d 50%, #1a1a1a 75%, #3d3d3d 100%);
  }
  75% { 
    background: linear-gradient(135deg, #3d3d3d 0%, #1a1a1a 25%, #1a1a1a 50%, #2d2d2d 75%, #1a1a1a 100%);
  }
}

/* Golden Geometric Shapes */
.golden-diamond {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.3));
  transform: rotate(45deg);
  z-index: 0;
  animation: diamondFloat 12s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.golden-diamond-1 {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.golden-diamond-2 {
  top: 70%;
  right: 12%;
  animation-delay: 4s;
}

.golden-diamond-3 {
  bottom: 25%;
  left: 15%;
  animation-delay: 8s;
}

.golden-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(255, 215, 0, 0.2);
  z-index: 0;
  animation: triangleFloat 10s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

.golden-triangle-1 {
  top: 25%;
  right: 8%;
  animation-delay: 2s;
}

.golden-triangle-2 {
  bottom: 15%;
  right: 25%;
  animation-delay: 6s;
}

.golden-hexagon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.25));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 0;
  animation: hexagonFloat 14s ease-in-out infinite;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

.golden-hexagon-1 {
  top: 45%;
  left: 5%;
  animation-delay: 1s;
}

.golden-hexagon-2 {
  top: 20%;
  right: 20%;
  animation-delay: 5s;
}

.golden-hexagon-3 {
  bottom: 35%;
  left: 30%;
  animation-delay: 9s;
}

@keyframes diamondFloat {
  0%, 100% { 
    transform: rotate(45deg) translateY(0px) scale(1);
    opacity: 0.2;
  }
  25% { 
    transform: rotate(45deg) translateY(-20px) scale(1.1);
    opacity: 0.4;
  }
  50% { 
    transform: rotate(45deg) translateY(-40px) scale(0.9);
    opacity: 0.3;
  }
  75% { 
    transform: rotate(45deg) translateY(-20px) scale(1.05);
    opacity: 0.5;
  }
}

@keyframes triangleFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.2;
  }
  33% { 
    transform: translateY(-25px) rotate(120deg);
    opacity: 0.4;
  }
  66% { 
    transform: translateY(-50px) rotate(240deg);
    opacity: 0.3;
  }
}

@keyframes hexagonFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.15;
  }
  20% { 
    transform: translateY(-15px) rotate(72deg) scale(1.1);
    opacity: 0.3;
  }
  40% { 
    transform: translateY(-30px) rotate(144deg) scale(0.9);
    opacity: 0.25;
  }
  60% { 
    transform: translateY(-45px) rotate(216deg) scale(1.05);
    opacity: 0.35;
  }
  80% { 
    transform: translateY(-30px) rotate(288deg) scale(0.95);
    opacity: 0.2;
  }
}

/* Golden Sparkles */
.golden-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #ffd700, #ffb347);
  border-radius: 50%;
  opacity: 0.8;
  animation: sparkleFloat 8s linear infinite;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.golden-sparkle:nth-child(1) { 
  top: 10%; 
  left: 10%; 
  animation-delay: 0s;
  animation-duration: 12s;
}
.golden-sparkle:nth-child(2) { 
  top: 30%; 
  right: 15%; 
  animation-delay: 2s;
  animation-duration: 14s;
}
.golden-sparkle:nth-child(3) { 
  bottom: 30%; 
  left: 12%; 
  animation-delay: 4s;
  animation-duration: 16s;
}
.golden-sparkle:nth-child(4) { 
  bottom: 10%; 
  right: 8%; 
  animation-delay: 6s;
  animation-duration: 10s;
}
.golden-sparkle:nth-child(5) { 
  top: 60%; 
  left: 50%; 
  animation-delay: 8s;
  animation-duration: 18s;
}

@keyframes sparkleFloat {
  0% { 
    transform: translateY(0px) translateX(0px) scale(0.3);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  90% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% { 
    transform: translateY(-100vh) translateX(30px) scale(0.3);
    opacity: 0;
  }
}

/* Golden Orbs */
.golden-orb {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
  border-radius: 50%;
  z-index: 0;
  animation: orbFloat 20s ease-in-out infinite;
  box-shadow: 
    0 0 30px rgba(255, 215, 0, 0.2),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.golden-orb-1 {
  top: 20%;
  right: 5%;
  animation-delay: 0s;
}

.golden-orb-2 {
  bottom: 20%;
  left: 5%;
  animation-delay: 10s;
}

@keyframes orbFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    opacity: 0.1;
  }
  25% { 
    transform: translateY(-30px) scale(1.1);
    opacity: 0.2;
  }
  50% { 
    transform: translateY(-60px) scale(0.9);
    opacity: 0.15;
  }
  75% { 
    transform: translateY(-30px) scale(1.05);
    opacity: 0.25;
  }
}

/* Golden Luxury Card */
.dark-gold-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 165, 0, 0.02));
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 2px solid rgba(255, 215, 0, 0.2);
  padding: 3rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 215, 0, 0.1),
    inset 0 1px 0 rgba(255, 215, 0, 0.2);
  position: relative;
  z-index: 1;
  overflow: hidden;
  animation: goldenCardEntrance 1s ease-out;
  transition: all 0.4s ease;
}

.dark-gold-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(255, 215, 0, 0.3),
    inset 0 1px 0 rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.4);
}

.dark-gold-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.8), transparent);
  animation: goldenBorderGlow 4s ease-in-out infinite;
}

.dark-gold-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  animation: goldenRotate 25s linear infinite;
  z-index: -1;
}

@keyframes goldenCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes goldenBorderGlow {
  0%, 100% { 
    opacity: 0.3;
    transform: scaleX(0.8);
  }
  50% { 
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes goldenRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Golden Typography */
.gold-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #ffd700, #ffb347, #ff8c00, #ffd700);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldenGradientShift 4s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
  letter-spacing: -0.02em;
  animation: goldenTitleEntrance 1.2s ease-out, goldenGradientShift 4s ease-in-out infinite 1.2s;
}

.gold-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 400;
  animation: goldenSubtitleEntrance 1.4s ease-out;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes goldenGradientShift {
  0%, 100% { 
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
  25% { 
    background-position: 50% 0%;
    filter: hue-rotate(10deg);
  }
  50% { 
    background-position: 100% 50%;
    filter: hue-rotate(20deg);
  }
  75% { 
    background-position: 50% 100%;
    filter: hue-rotate(10deg);
  }
}

@keyframes goldenTitleEntrance {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.8);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes goldenSubtitleEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Golden Form Elements */
.dark-gold-input {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 165, 0, 0.02)) !important;
  border: 2px solid rgba(255, 215, 0, 0.2) !important;
  border-radius: 12px;
  padding: 1rem 1.5rem !important;
  color: #fff !important;
  font-size: 1rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dark-gold-input:focus {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.04)) !important;
  border-color: rgba(255, 215, 0, 0.6) !important;
  box-shadow: 
    0 0 0 3px rgba(255, 215, 0, 0.2),
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 215, 0, 0.1) !important;
  transform: translateY(-3px);
}

.dark-gold-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.input-group-text {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05)) !important;
  border: 2px solid rgba(255, 215, 0, 0.2) !important;
  border-right: none !important;
  color: #ffd700;
  border-radius: 12px 0 0 12px !important;
  padding: 1rem 1.2rem !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.input-group:focus-within .input-group-text {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.1)) !important;
  border-color: rgba(255, 215, 0, 0.6) !important;
  color: #ffb347;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

/* Golden Button */
.gold-btn {
  background: linear-gradient(135deg, #ffd700, #ffb347, #ff8c00, #ffd700);
  background-size: 300% 300%;
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 25px rgba(255, 215, 0, 0.4),
    0 0 0 2px rgba(255, 215, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: goldenButtonGradient 3s ease-in-out infinite;
  text-transform: uppercase;
}

.gold-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.gold-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 15px 35px rgba(255, 215, 0, 0.5),
    0 0 0 3px rgba(255, 215, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

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

.gold-btn:active {
  transform: translateY(-2px) scale(1.02);
}

@keyframes goldenButtonGradient {
  0%, 100% { 
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
  25% { 
    background-position: 50% 0%;
    filter: hue-rotate(5deg);
  }
  50% { 
    background-position: 100% 50%;
    filter: hue-rotate(10deg);
  }
  75% { 
    background-position: 50% 100%;
    filter: hue-rotate(5deg);
  }
}

/* Golden Links */
.gold-link {
  color: #ffd700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.gold-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ffb347, #ff8c00);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.gold-link:hover {
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.gold-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Modern Success Card */
.success-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3.5rem;
  text-align: center;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 90%;
  width: 500px;
  position: relative;
  overflow: hidden;
  animation: cardEntrance 0.8s ease-out;
}

.success-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
  animation: borderGlow 3s ease-in-out infinite;
}

.congrats-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
  letter-spacing: -0.02em;
}

.welcome-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.credential-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.credential-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.credential-label {
  color: #6366f1;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.credential-value {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Additional Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Form Animation Classes */
.form-group {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #6366f1;
  animation: spin 1s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .dark-gold-card, .success-card {
    padding: 2rem 1.5rem;
    margin: 1rem;
    border-radius: 20px;
  }
  
  .gold-title, .congrats-title {
    font-size: 2.2rem;
  }
  
  .welcome-text {
    font-size: 1.3rem;
  }
  
  .dark-gold-input,
  .gold-btn {
    padding: 0.8rem 1.2rem !important;
  }
  
  .golden-diamond,
  .golden-triangle,
  .golden-hexagon {
    display: none;
  }
  
  .golden-sparkle {
    display: none;
  }
  
  .golden-orb {
    display: none;
  }
}

@media (max-width: 480px) {
  .dark-gold-card, .success-card {
    padding: 1.5rem 1rem;
    margin: 0.5rem;
  }
  
  .gold-title, .congrats-title {
    font-size: 1.8rem;
  }
  
  .welcome-text {
    font-size: 1.1rem;
  }
} 