@keyframes pulse-gold {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(197, 165, 114, 0.4);
  }
  50% {
    box-shadow: 0 0 30px 10px rgba(197, 165, 114, 0.2);
  }
}

.animate-pulse-gold {
  animation: pulse-gold 3s infinite;
}

#three-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.85)
    ),
    url("https://images.unsplash.com/photo-1519817650390-64a93db51149?auto=format&fit=crop&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#three-container canvas {
  opacity: 0.6;
}

.tooltip {
  position: relative;
}

.tooltip:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.tooltip:hover:after {
  opacity: 1;
  visibility: visible;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 165, 114, 0.2);
  box-shadow: 0 4px 6px rgba(197, 165, 114, 0.1);
  transition: transform 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-2px);
}

.countdown-number {
  background: linear-gradient(135deg, #c5a572 0%, #e5c992 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

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

.number-update {
  animation: pulse-number 0.3s ease-out;
}

/* Language Toggle */
.lang-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(197, 165, 114, 0.3);
  border-radius: 1rem;
  padding: 0.25rem;
  display: flex;
  gap: 0.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.lang-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #666;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.lang-btn.active {
  background: linear-gradient(135deg, #c5a572 0%, #e5c992 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(197, 165, 114, 0.3);
}

.lang-btn:not(.active):hover {
  background: rgba(197, 165, 114, 0.1);
  color: #c5a572;
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(197, 165, 114, 0.2);
  transition: all 0.3s ease;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.form-input:focus {
  outline: none;
  border-color: #c5a572;
  box-shadow: 0 0 0 2px rgba(197, 165, 114, 0.2);
  background: white;
}

.form-input::placeholder {
  color: #999;
}

.form-button {
  background: linear-gradient(135deg, #c5a572 0%, #e5c992 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 140px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(197, 165, 114, 0.2);
}

.form-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(197, 165, 114, 0.3);
}

.form-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: #cccccc;
}

.form-button.success {
  background: #4caf50;
}

.form-button.error {
  background: #f44336;
}
