/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: var(--z-dropdown);
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  padding: 12px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 24px;
  color: var(--gold-primary);
  animation: float 3s ease-in-out infinite;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 2px;
}

/* Language Selector */
.language-selector {
  display: flex;
  background: rgba(10, 14, 26, 0.6);
  border-radius: 30px;
  padding: 3px;
  border: 1px solid var(--border-gold);
}

.lang-btn {
  padding: 6px 16px;
  border-radius: 25px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: #0a0e1a;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: #0a0e1a;
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 168, 67, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--border-gold-hover);
}

.btn-secondary:hover {
  background: rgba(212, 168, 67, 0.1);
  border-color: var(--gold-primary);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  pointer-events: none;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: var(--z-modal);
}

.loading-overlay.active {
  display: flex;
}

.orbital-spinner {
  position: relative;
  width: 120px;
  height: 120px;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}

.orbit-1 {
  inset: 0;
  border-top-color: var(--gold-primary);
  animation: spin 1.5s linear infinite;
}

.orbit-2 {
  inset: 15px;
  border-right-color: var(--gold-light);
  animation: spin 2s linear infinite reverse;
}

.orbit-3 {
  inset: 30px;
  border-bottom-color: var(--gold-dark);
  animation: spin 1s linear infinite;
}

.spinner-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold-primary);
  animation: glowPulse 2s ease-in-out infinite;
}

.loading-text {
  margin-top: 30px;
  color: var(--text-secondary);
  font-size: 16px;
  animation: fadeIn 1s ease;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 14px;
  animation: slideDown 0.3s ease;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--gold-primary); }

.section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--gold-primary);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
  margin: 30px 0;
}
