:root {
  --gold-primary: #d4af37;
  --gold-light: #f5d77f;
  --gold-dark: #99731e;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --bg-card: rgba(18, 24, 38, 0.68);
  --bg-card-border: rgba(212, 175, 55, 0.35);
  --bg-input: rgba(10, 15, 26, 0.75);
  --bg-input-border: rgba(255, 255, 255, 0.15);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #060a12;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Background Stage */
.bg-scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.bg-image {
  position: absolute;
  inset: 0;
  background-image: url('/assets/molina-76.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Top Navigation */
.top-nav {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.7) 0%, rgba(6, 10, 18, 0.3) 60%, transparent 100%);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  background: rgba(10, 15, 26, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-logo {
  max-height: 44px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.nav-title-wrap {
  display: flex;
  flex-direction: column;
}

.nav-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.nav-sub {
  font-size: 10.5px;
  letter-spacing: 2.5px;
  color: var(--gold-light);
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.nav-badge {
  font-size: 11px;
  letter-spacing: 1px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

/* Main Stage */
.main-stage {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px 40px;
}

/* Floating Glass Card (Variante 2) */
.glass-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1.5px solid var(--bg-card-border);
  border-radius: 28px;
  padding: 44px 38px 36px;
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 
    0 30px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(212, 175, 55, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.glass-card:hover {
  box-shadow: 
    0 35px 70px -15px rgba(0, 0, 0, 0.85),
    0 0 65px rgba(212, 175, 55, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

/* Luxury Emblem Header */
.emblem-header {
  text-align: center;
  margin-bottom: 26px;
}

.luxury-shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.shield-inner {
  width: 54px;
  height: 54px;
  border: 2px solid var(--gold-primary);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(10, 15, 26, 0.4) 100%);
  box-shadow: 0 0 20px var(--gold-glow);
  position: relative;
}

.crown-icon {
  font-size: 13px;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: -2px;
}

.shield-letter {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.hotel-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hotel-category {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
}

.gold-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  margin: 14px auto 12px;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f1f5f9;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.section-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  text-align: center;
}

/* Forms & Inputs */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 18px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.25s ease;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 14px 46px 14px 48px;
  background: var(--bg-input);
  border: 1px solid var(--bg-input-border);
  border-radius: 30px;
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

input:focus {
  border-color: var(--gold-primary);
  background: rgba(14, 21, 36, 0.9);
  box-shadow: 
    0 0 0 3px rgba(212, 175, 55, 0.2),
    0 0 20px rgba(212, 175, 55, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

input:focus + .input-icon,
.input-container:focus-within .input-icon {
  color: var(--gold-primary);
}

input::placeholder {
  color: #64748b;
  font-size: 13px;
}

.toggle-password {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.toggle-password:hover {
  color: var(--gold-primary);
}

.eye-icon {
  width: 18px;
  height: 18px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 2px 6px;
}

.remember-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.remember-wrap input {
  accent-color: var(--gold-primary);
  cursor: pointer;
}

/* Button & Links (Variante 2 Pill Shape) */
.btn-gold {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(180deg, #242c3d 0%, #151b27 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 30px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  margin-top: 6px;
}

.btn-gold:hover {
  background: linear-gradient(180deg, #2f3a50 0%, #1b2333 100%);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

.btn-gold:active {
  transform: translateY(1px);
}

.btn-gold.secondary {
  margin-top: 18px;
  font-size: 12px;
}

.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-gold.loading .btn-text {
  display: none;
}

.btn-gold.loading .btn-loader {
  display: inline-block;
}

.link-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.link-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

.link-btn.highlight {
  color: var(--gold-primary);
  font-weight: 600;
}

.link-btn.highlight:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.card-footer-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Alerts */
.alert-box {
  padding: 12px 18px;
  border-radius: 20px;
  font-size: 12.5px;
  line-height: 1.4;
  margin-bottom: 16px;
  text-align: center;
}

.alert-box.error {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.alert-box.success {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

/* Pending Notice Card */
.pending-card {
  text-align: center;
  padding: 10px 0;
}

.pending-icon-wrap {
  width: 58px;
  height: 58px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

.pending-icon {
  width: 28px;
  height: 28px;
}

.pending-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 8px;
}

.pending-text {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 10px;
}

.pending-sub {
  font-size: 11.5px;
  color: var(--gold-primary);
  line-height: 1.4;
  margin-bottom: 14px;
}

/* Bottom Footer */
.bottom-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 14px 16px;
  font-size: 11px;
  color: #e2e8f0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

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

@media (max-width: 600px) {
  .top-nav {
    padding: 16px 20px;
  }
  .glass-card {
    padding: 32px 22px;
    border-radius: 22px;
  }
}
