@import 'variables.css';

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tech-lines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(212,175,55,0.03) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(15,43,70,0.4) 50%, transparent 50.5%);
  background-size: 80px 80px;
  opacity: 0.6;
}

.kiosk-app {
  position: relative;
  z-index: 2;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.screen.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kiosk-header {
  text-align: center;
  margin-bottom: 2rem;
}

.kiosk-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  margin-bottom: 0;
  border-radius: 10px;
}

.kiosk-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-premium));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.kiosk-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray-muted);
  font-weight: 300;
}

.btn-premium {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: var(--touch-min);
  min-width: min(400px, 90vw);
  padding: 1.25rem 2.5rem;
  border: 2px solid var(--gold-premium);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(212,175,55,0.2) 0%, rgba(15,43,70,0.8) 100%);
  color: var(--gold-bright);
  cursor: pointer;
  box-shadow: var(--glow-gold);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(247,215,116,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-premium:hover::before,
.btn-premium:active::before {
  transform: translateX(100%);
}

.btn-premium:active {
  transform: scale(0.97);
  box-shadow: var(--glow-gold-strong);
}

.btn-secondary {
  background: transparent;
  border-color: var(--blue-tech);
  color: var(--white-soft);
  min-width: auto;
  font-size: 1rem;
  margin-top: 1rem;
}

/* Formulario */
.form-screen {
  justify-content: flex-start;
  padding-top: 1.5rem;
  overflow-y: auto;
}

.form-container {
  width: min(600px, 100%);
  flex: 1;
}

.form-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--gold-bright);
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--gold-premium);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  min-height: 56px;
  padding: 0.875rem 1.25rem;
  font-size: 1.1rem;
  font-family: var(--font-body);
  background: rgba(15, 43, 70, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  color: var(--white-soft);
  outline: none;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold-premium);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group input.error,
.form-group select.error {
  border-color: #e74c3c;
}

.field-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

/* Éxito */
.success-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
}

.success-icon circle {
  stroke: var(--gold-premium);
  stroke-width: 3;
  fill: none;
}

.success-icon path {
  stroke: var(--green-success);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  text-align: center;
  color: var(--gold-bright);
  max-width: 500px;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.success-sub {
  text-align: center;
  color: var(--gray-muted);
  font-size: 1.1rem;
  max-width: 450px;
  margin-bottom: 2rem;
}

.countdown-reset {
  font-size: 0.9rem;
  color: var(--gray-muted);
  margin-top: 1rem;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.loading-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.loader-ring {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--gold-bright);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modo atracción */
.attraction-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--black-deep) 0%, var(--blue-tech) 50%, var(--black-deep) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}

.attraction-overlay.active {
  opacity: 1;
  visibility: visible;
}

.attraction-phrase {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-premium));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 2rem;
  min-height: 4rem;
}

.attraction-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-box {
  text-align: center;
  padding: 1.5rem 2rem;
  background: rgba(15, 43, 70, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  min-width: 140px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-muted);
  margin-top: 0.25rem;
}

/* ——— Pantalla bienvenida (premium / logo protagonista) ——— */
.screen-welcome-hero {
  background: linear-gradient(180deg, #03060c 0%, #050a14 38%, #0a1220 62%, #050a14 100%);
}

body.kiosk-page:has(#screen-welcome.active) #particles-js,
body.kiosk-page:has(#screen-welcome.active) .tech-lines {
  opacity: 0.18;
}

.welcome-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 55% at 50% 32%, transparent 0%, rgba(3, 6, 12, 0.55) 55%, rgba(3, 6, 12, 0.92) 100%);
}

.welcome-spotlight {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(95vw, 720px);
  height: min(55vh, 520px);
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(247, 215, 116, 0.14) 0%,
    rgba(212, 175, 55, 0.06) 35%,
    transparent 68%
  );
  filter: blur(8px);
  animation: spotlight-breathe 5s ease-in-out infinite;
}

@keyframes spotlight-breathe {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

#screen-welcome {
  position: relative;
  justify-content: center;
  padding: max(4.5rem, 10vh) 1.5rem max(5.5rem, 12vh);
  overflow: hidden;
}

.welcome-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.welcome-arc {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  filter: blur(0.5px);
}

.welcome-arc--left {
  width: min(140vw, 900px);
  height: min(140vw, 900px);
  left: -55%;
  top: 8%;
  border-color: rgba(212, 175, 55, 0.14);
  box-shadow: 0 0 48px rgba(212, 175, 55, 0.1);
  animation: welcome-arc-drift 18s ease-in-out infinite;
  opacity: 0.7;
}

.welcome-arc--right {
  width: min(80vw, 520px);
  height: min(80vw, 520px);
  right: -35%;
  bottom: 5%;
  border-color: rgba(247, 215, 116, 0.08);
  animation: welcome-arc-drift 22s ease-in-out infinite reverse;
  opacity: 0.6;
}

.welcome-halftone {
  position: absolute;
  width: min(280px, 45vw);
  height: min(280px, 45vw);
  opacity: 0.28;
  background-image: radial-gradient(circle, rgba(212, 175, 55, 0.55) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
}

.welcome-halftone--tl {
  top: 4%;
  left: 3%;
  animation: welcome-shimmer 8s ease-in-out infinite;
}

.welcome-halftone--br {
  bottom: 8%;
  right: 4%;
  animation: welcome-shimmer 10s ease-in-out infinite 1s;
}

.welcome-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 60%, #000 20%, transparent 75%);
}

@keyframes welcome-arc-drift {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.85; }
  50% { transform: rotate(6deg) scale(1.03); opacity: 1; }
}

@keyframes welcome-shimmer {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.55; }
}

.welcome-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 2.8vh, 1.75rem);
  width: min(720px, 96vw);
  margin: 0 auto;
}

/* Escenario del logo — elemento principal */
.welcome-logo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(520px, 92vw);
  min-height: clamp(200px, 32vh, 380px);
  margin-bottom: clamp(0.25rem, 1vh, 0.75rem);
}

.welcome-logo-glow {
  position: absolute;
  width: 115%;
  height: 115%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(247, 215, 116, 0.35) 0%,
    rgba(212, 175, 55, 0.12) 40%,
    transparent 70%
  );
  filter: blur(28px);
  animation: logo-glow-breathe 4s ease-in-out infinite;
}

.welcome-logo-orbit {
  position: absolute;
  width: 108%;
  height: 108%;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow:
    0 0 24px rgba(212, 175, 55, 0.15),
    inset 0 0 20px rgba(212, 175, 55, 0.05);
  animation: logo-orbit-spin 24s linear infinite;
}

.welcome-logo-shine {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 65% at center, #000 30%, transparent 72%);
}

.welcome-logo-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 248, 220, 0.08) 42%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 248, 220, 0.08) 58%,
    transparent 100%
  );
  transform: skewX(-12deg);
  animation: logo-shine-sweep 5s ease-in-out infinite;
}

@keyframes logo-glow-breathe {
  0%, 100% { opacity: 0.65; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes logo-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes logo-shine-sweep {
  0%, 72% { left: -120%; opacity: 0; }
  78% { opacity: 1; }
  100% { left: 140%; opacity: 0; }
}

.welcome-logo-ring {
  position: relative;
  z-index: 2;
  padding: 0;
  border: none;
  background: transparent;
  will-change: transform;
}

.welcome-logo {
  display: block;
  width: min(480px, 90vw);
  height: auto;
  max-height: clamp(200px, 34vh, 360px);
  object-fit: contain;
  filter:
    drop-shadow(0 0 40px rgba(212, 175, 55, 0.45))
    drop-shadow(0 16px 48px rgba(0, 0, 0, 0.55));
}

.welcome-divider {
  width: min(120px, 28vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.65), transparent);
  opacity: 0.85;
}

.welcome-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1rem;
}

.welcome-eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.6vh, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.95);
}

.welcome-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.8vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  max-width: 20ch;
  letter-spacing: 0.02em;
}

.welcome-tagline {
  margin: 0.15rem 0 0;
  font-family: var(--font-primary);
  font-size: clamp(0.95rem, 2.2vh, 1.2rem);
  font-weight: 300;
  color: rgba(245, 245, 245, 0.75);
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.welcome-tagline-accent {
  color: var(--gold-bright);
  font-weight: 600;
}

.btn-welcome-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(0.75rem, 2.5vh, 1.5rem);
  padding: 1.05rem 2.75rem 1.05rem 1.05rem;
  min-height: var(--touch-min);
  min-width: min(300px, 82vw);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 999px;
  background: rgba(5, 10, 20, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vh, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.18);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}

.btn-welcome-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-premium), var(--gold-bright));
  color: var(--black-deep);
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(247, 215, 116, 0.45);
}

.btn-welcome-cta:active {
  transform: scale(0.97);
}

.btn-welcome-cta:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 0 48px rgba(247, 215, 116, 0.4);
}

.kiosk-admin-link {
  position: fixed;
  top: max(1.25rem, env(safe-area-inset-top));
  right: max(1.25rem, env(safe-area-inset-right));
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(10, 10, 10, 0.65);
  color: var(--gold-premium);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.kiosk-admin-link:hover,
.kiosk-admin-link:focus {
  color: var(--gold-bright);
  border-color: var(--gold-premium);
  background: rgba(212, 175, 55, 0.12);
}

.kiosk-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--gray-muted);
  background: linear-gradient(transparent, rgba(10,10,10,0.9));
}

/* ——— Responsive tótem ——— */
@media (max-width: 900px) {
  .screen {
    padding: 1.5rem 1rem;
    padding-top: max(1.5rem, env(safe-area-inset-top));
    padding-bottom: max(4.5rem, env(safe-area-inset-bottom));
  }

  #screen-welcome {
    padding: 4rem 1rem 5rem;
  }

  .kiosk-admin-link {
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
  }

  .attraction-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .welcome-layout {
    width: 100%;
    gap: 1.25rem;
  }

  .welcome-title {
    max-width: none;
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  .btn-welcome-cta,
  .btn-premium {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 1rem 1.5rem;
  }

  .btn-welcome-cta {
    padding-right: 1.25rem;
  }

  .form-container {
    width: 100%;
    padding-bottom: 1rem;
  }

  .form-group input,
  .form-group select {
    font-size: 16px; /* evita zoom iOS al enfocar */
    min-height: 52px;
  }

  .success-icon {
    width: 96px;
    height: 96px;
  }

  .kiosk-footer {
    font-size: 0.75rem;
    padding: 0.75rem;
  }
}

@media (max-width: 380px) {
  .kiosk-admin-link span {
    display: none;
  }

  .kiosk-admin-link {
    padding: 0.55rem;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .screen {
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #screen-welcome {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .welcome-layout {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 95vw;
  }

  .welcome-logo-ring {
    max-width: 42%;
  }

  .welcome-logo {
    max-height: 100px;
  }

  .form-screen {
    padding-top: 0.75rem;
  }

  .form-title {
    margin-bottom: 0.75rem;
  }

  .form-group {
    margin-bottom: 0.85rem;
  }
}

@media (orientation: portrait) {
  .form-screen {
    padding-bottom: max(5rem, env(safe-area-inset-bottom));
  }
}

@media (min-width: 1024px) and (min-height: 900px) {
  .welcome-layout {
    width: min(560px, 50vw);
  }

  .form-container {
    width: min(640px, 55vw);
  }
}

/*
 * Pantallas tótem vertical (caso principal en feria)
 * Ej.: 1080×1920, 1440×2560, monitores touch 32"–55" en portrait
 */
@media (orientation: portrait) and (min-width: 600px) and (min-height: 900px) {
  .welcome-layout {
    width: min(680px, 78vw);
    gap: clamp(1.75rem, 4vh, 2.5rem);
  }

  .welcome-logo-stage {
    min-height: clamp(240px, 36vh, 420px);
    width: min(580px, 86vw);
  }

  .welcome-logo {
    width: min(540px, 86vw);
    max-height: clamp(240px, 38vh, 420px);
  }

  .welcome-title {
    font-size: clamp(1.85rem, 4.2vh, 2.75rem);
  }

  .welcome-tagline {
    font-size: clamp(1.05rem, 2.4vh, 1.35rem);
  }

  .btn-welcome-cta {
    min-height: clamp(68px, 8vh, 88px);
    font-size: clamp(1.05rem, 2.5vh, 1.3rem);
  }

  .form-container {
    width: min(720px, 82vw);
    max-width: 720px;
  }

  .form-title {
    font-size: clamp(1.5rem, 3.2vh, 2.25rem);
    margin-bottom: clamp(1.25rem, 3vh, 2rem);
  }

  .form-group {
    margin-bottom: clamp(1.1rem, 2.5vh, 1.75rem);
  }

  .form-group label {
    font-size: clamp(1rem, 2vh, 1.2rem);
  }

  .form-group input,
  .form-group select {
    min-height: clamp(60px, 7vh, 80px);
    font-size: clamp(1.15rem, 2.2vh, 1.45rem);
    padding: 1rem 1.35rem;
  }

  .success-icon {
    width: clamp(120px, 14vh, 180px);
    height: clamp(120px, 14vh, 180px);
  }

  .success-text {
    font-size: clamp(1.5rem, 4vh, 2.75rem);
    max-width: min(600px, 85vw);
  }

  .success-sub {
    font-size: clamp(1.05rem, 2.2vh, 1.45rem);
  }

  .attraction-phrase {
    font-size: clamp(2rem, 6vh, 4rem);
  }

  .stat-number {
    font-size: clamp(2.5rem, 5vh, 4.5rem);
  }

  .stat-box {
    min-width: clamp(160px, 28vw, 220px);
    padding: clamp(1.25rem, 3vh, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  }

  .kiosk-footer {
    font-size: clamp(0.85rem, 1.8vh, 1.05rem);
    padding: clamp(0.85rem, 2vh, 1.25rem);
  }
}

/* Tótem 4K vertical o pantallas muy altas */
@media (orientation: portrait) and (min-height: 1600px) {
  .welcome-layout {
    width: min(720px, 70vw);
  }

  .form-container {
    width: min(800px, 75vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-premium::before { display: none; }
  .loader-ring { animation: none; border-top-color: var(--gold-premium); }
  .welcome-arc,
  .welcome-halftone,
  .welcome-spotlight,
  .welcome-logo-glow,
  .welcome-logo-orbit,
  .welcome-logo-shine::after {
    animation: none;
  }
}
