/**
 * Tótem FOTRIEM — tema publicitario claro (sin dorado ni fondos oscuros)
 */
@import 'variables.css';

:root {
  --brand-red: #E31837;
  --brand-red-dark: #B8122C;
  --brand-blue: #003DA5;
  --brand-blue-light: #1E5BB8;
  --brand-sky: #E8F2FF;
  --brand-white: #FFFFFF;
  --brand-bg: #F7FAFF;
  --brand-text: #0D1B3D;
  --brand-muted: #4A5D7A;
  --font-display: 'Outfit', 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --shadow-soft: 0 12px 40px rgba(0, 61, 165, 0.1);
  --shadow-cta: 0 14px 36px rgba(227, 24, 55, 0.35);
}

/* Solo tótem: fondo claro global */
body.kiosk-page.kiosk-theme-light {
  font-family: var(--font-body);
  background: linear-gradient(160deg, #ffffff 0%, var(--brand-bg) 40%, var(--brand-sky) 100%);
  color: var(--brand-text);
  overflow: hidden;
}

body.kiosk-page.kiosk-theme-light a {
  color: var(--brand-blue);
}

.kiosk-bg-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(227, 24, 55, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(0, 61, 165, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(30, 91, 184, 0.08) 0%, transparent 45%);
}

.kiosk-bg-pattern::before,
.kiosk-bg-pattern::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.kiosk-bg-pattern::before {
  width: 280px;
  height: 280px;
  top: 10%;
  right: -80px;
  background: rgba(227, 24, 55, 0.15);
  animation: blob-float 12s ease-in-out infinite;
}

.kiosk-bg-pattern::after {
  width: 320px;
  height: 320px;
  bottom: 15%;
  left: -100px;
  background: rgba(0, 61, 165, 0.12);
  animation: blob-float 14s ease-in-out infinite reverse;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 16px); }
}

.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:
    max(3.25rem, calc(env(safe-area-inset-top) + 2.5rem))
    clamp(1rem, 4vw, 1.5rem)
    max(3.5rem, calc(env(safe-area-inset-bottom) + 2.75rem));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.screen.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* —— Bienvenida premium animada —— */
.screen-welcome-promo {
  justify-content: center;
  overflow: hidden;
}

.screen-welcome-promo .kiosk-bg-pattern {
  opacity: 0.35;
}

.welcome-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.welcome-mesh {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(125deg, rgba(227, 24, 55, 0.14) 0%, transparent 42%),
    linear-gradient(235deg, rgba(0, 61, 165, 0.16) 0%, transparent 48%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.9) 0%, rgba(232, 242, 255, 0.85) 100%);
  animation: mesh-shift 14s ease-in-out infinite alternate;
}

@keyframes mesh-shift {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.08) rotate(2deg); }
}

.welcome-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.65;
}

.welcome-orb--red {
  width: min(45vw, 320px);
  height: min(45vw, 320px);
  top: -8%;
  right: -6%;
  background: rgba(227, 24, 55, 0.45);
  animation: orb-drift-a 11s ease-in-out infinite;
}

.welcome-orb--blue {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  bottom: -12%;
  left: -10%;
  background: rgba(0, 61, 165, 0.4);
  animation: orb-drift-b 13s ease-in-out infinite;
}

.welcome-orb--white {
  width: min(35vw, 240px);
  height: min(35vw, 240px);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.85);
  animation: orb-pulse 6s ease-in-out infinite;
}

@keyframes orb-drift-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, 20px); }
}

@keyframes orb-drift-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -16px); }
}

@keyframes orb-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.12); }
}

.welcome-sparkles {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}

.welcome-sparkles i {
  position: absolute;
  color: var(--brand-red);
  font-size: 1rem;
  animation: sparkle-twinkle 3s ease-in-out infinite;
}

.welcome-sparkles i:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.welcome-sparkles i:nth-child(2) { top: 22%; right: 14%; font-size: 0.75rem; animation-delay: 1s; color: var(--brand-blue); }
.welcome-sparkles i:nth-child(3) { bottom: 28%; left: 18%; font-size: 1.2rem; animation-delay: 0.5s; }

@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.welcome-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(680px, 94vw);
  margin: auto 0;
  flex-shrink: 0;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.welcome-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.1rem, 2.8vh, 1.65rem);
  width: 100%;
  padding: clamp(1.75rem, 4vh, 2.5rem) clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 24px 64px rgba(0, 61, 165, 0.14),
    0 0 0 1px rgba(0, 61, 165, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.welcome-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-white);
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  box-shadow: 0 6px 20px rgba(227, 24, 55, 0.25);
}

.welcome-logo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem 0;
}

.welcome-logo-ring {
  position: absolute;
  width: min(100%, 420px);
  aspect-ratio: 1;
  max-height: 220px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--brand-red);
  border-right-color: rgba(0, 61, 165, 0.35);
  border-bottom-color: var(--brand-blue);
  border-left-color: rgba(227, 24, 55, 0.2);
  opacity: 0.55;
  animation: logo-ring-spin 10s linear infinite;
}

@keyframes logo-ring-spin {
  to { transform: rotate(360deg); }
}

.welcome-logo-frame {
  position: relative;
  z-index: 1;
  padding: clamp(1rem, 2.5vh, 1.35rem) clamp(1.25rem, 4vw, 2rem);
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, var(--brand-sky) 100%);
  border: 2px solid rgba(0, 61, 165, 0.12);
  box-shadow:
    0 16px 40px rgba(0, 61, 165, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.welcome-logo-hero {
  display: block;
  width: auto;
  max-width: min(400px, 82vw);
  max-height: clamp(110px, 26vh, 190px);
  height: auto;
  object-fit: contain;
}

.welcome-title-hero {
  margin: 0;
  font-family: 'Bebas Neue', var(--font-display), sans-serif;
  font-size: clamp(2.4rem, 8vw, 3.75rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
  max-width: 14ch;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.8));
}

.welcome-lead {
  margin: 0;
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--brand-text);
  max-width: 28ch;
}

.welcome-lead strong {
  color: var(--brand-red);
  font-weight: 700;
}

.btn-cta-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: hidden;
  min-height: clamp(60px, 8vh, 72px);
  padding: 1rem 2.75rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #ff3d5a 40%, var(--brand-red-dark) 100%);
  background-size: 200% 200%;
  color: var(--brand-white);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(227, 24, 55, 0.4);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  animation: cta-gradient 4s ease infinite, cta-pulse 2.5s ease-in-out infinite;
}

.btn-cta-hero__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: cta-shine 3s ease-in-out infinite;
}

@keyframes cta-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes cta-shine {
  0%, 100% { left: -100%; }
  45%, 55% { left: 140%; }
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 14px 36px rgba(227, 24, 55, 0.35); transform: scale(1); }
  50% { box-shadow: 0 20px 48px rgba(227, 24, 55, 0.5); transform: scale(1.02); }
}

.btn-cta-hero:active {
  transform: scale(0.97);
  animation: none;
}

.btn-cta-hero i {
  font-size: 1.1em;
  position: relative;
  z-index: 1;
}

.btn-cta-hero span:not(.btn-cta-hero__shine) {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .welcome-mesh,
  .welcome-orb,
  .welcome-logo-ring,
  .welcome-sparkles i,
  .btn-cta-hero,
  .btn-cta-hero__shine {
    animation: none !important;
  }
}

/* Pantallas bajas */
@media (max-height: 720px) {
  .welcome-card {
    padding: 1.25rem 1.25rem;
    gap: 0.85rem;
    border-radius: 22px;
  }

  .welcome-logo-hero {
    max-height: clamp(90px, 22vh, 130px);
    max-width: min(320px, 78vw);
  }

  .welcome-logo-frame {
    padding: 0.75rem 1rem;
  }

  .welcome-title-hero {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
  }

  .welcome-lead {
    font-size: 1rem;
  }

  .btn-cta-hero {
    min-height: 54px;
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
  }

  .welcome-chip {
    font-size: 0.72rem;
    padding: 0.4rem 0.9rem;
  }

  .roulette-heading {
    font-size: 1.25rem;
  }

  .roulette-wrap {
    width: min(300px, 78vw);
    height: min(
      300px,
      calc(100dvh - var(--fotriem-site-header-h, 88px) - 220px),
      78vw
    );
  }

  .btn-spin-roulette {
    min-height: 56px;
    padding: 0.85rem 1.75rem;
  }

  .form-container {
    padding: 1.15rem;
  }

  .form-group {
    margin-bottom: 0.9rem;
  }

  .form-group input {
    min-height: 50px;
    font-size: 1rem;
  }
}

@media (min-height: 900px) {
  .welcome-card {
    padding: 2.75rem 2.5rem;
    gap: 1.85rem;
  }

  .welcome-logo-hero {
    max-height: 200px;
  }
}

/* Admin + footer */
.kiosk-admin-link {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(0, 61, 165, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-soft);
}

.kiosk-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0.75rem 1rem max(0.75rem, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brand-muted);
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
}

/* Botones globales */
.btn-kiosk-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: var(--touch-min);
  padding: 1rem 2.25rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: var(--brand-white);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s ease;
}

.btn-kiosk-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-kiosk-ghost {
  margin-top: 0.75rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--brand-blue);
  border-radius: 999px;
  background: var(--brand-white);
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
}

/* Términos */
.screen-terms {
  justify-content: flex-start;
  padding-top: 2rem;
}

.terms-panel {
  width: min(640px, 94vw);
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(0, 61, 165, 0.1);
}

.terms-title {
  font-family: var(--font-display);
  color: var(--brand-blue);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.terms-body {
  max-height: 42vh;
  overflow-y: auto;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--brand-text);
  margin-bottom: 1.25rem;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  cursor: pointer;
  color: var(--brand-text);
}

.terms-check input {
  width: 1.4rem;
  height: 1.4rem;
  accent-color: var(--brand-red);
}

/* Formulario */
.form-screen {
  justify-content: flex-start;
  padding-top: max(3.5rem, calc(env(safe-area-inset-top) + 2.75rem));
}

.form-container {
  width: min(560px, 100%);
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 4vw, 1.75rem);
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(227, 24, 55, 0.12);
}

.form-title-light,
.form-screen h2 {
  font-family: var(--font-display);
  color: var(--brand-blue);
  text-align: center;
  margin-bottom: 1.25rem;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 800;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input {
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 1.15rem;
  font-size: 1.1rem;
  font-family: var(--font-body);
  background: var(--brand-bg);
  border: 2px solid rgba(0, 61, 165, 0.15);
  border-radius: 14px;
  color: var(--brand-text);
  outline: none;
}

.form-group input::placeholder {
  color: #8A9BB5;
}

.form-group input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(227, 24, 55, 0.12);
}

.form-group input.error {
  border-color: #DC2626;
}

.field-error {
  color: #DC2626;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.screen-roulette {
  justify-content: center;
  padding:
    clamp(0.35rem, 1vh, 0.75rem)
    clamp(0.85rem, 3vw, 1.25rem)
    max(1.25rem, calc(env(safe-area-inset-bottom) + 0.75rem));
  overflow-y: auto;
}

.roulette-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1vh, 0.65rem);
  width: 100%;
  max-width: min(980px, 100%);
  min-height: 0;
  flex: 1;
  margin: auto 0;
}

.roulette-layout__head {
  flex-shrink: 0;
  text-align: center;
  width: 100%;
}

.roulette-stage {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.35rem);
  align-items: center;
  width: 100%;
  min-height: 0;
}

.roulette-showcase {
  --showcase-accent: var(--brand-red);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(0.85rem, 2vw, 1.1rem);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(0, 61, 165, 0.12);
  box-shadow: 0 16px 40px rgba(0, 61, 165, 0.12);
  min-height: 0;
}

.roulette-showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-white);
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
}

.roulette-showcase__hook {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--brand-blue);
}

.roulette-showcase__card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 0.75rem;
  background: linear-gradient(160deg, #fff 0%, var(--brand-sky) 100%);
  border: 2px solid color-mix(in srgb, var(--showcase-accent) 35%, var(--brand-blue));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--showcase-accent) 25%, transparent);
}

.roulette-showcase__shine {
  display: none;
}

.roulette-showcase__image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--brand-bg);
  margin-bottom: 0.65rem;
}

.roulette-showcase__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.roulette-showcase__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--brand-white);
  font-size: 2.5rem;
}

.roulette-showcase__name {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 2.2vw, 1rem);
  font-weight: 800;
  color: var(--brand-text);
  line-height: 1.2;
}

.roulette-showcase__desc {
  margin: 0;
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  color: var(--brand-muted);
  line-height: 1.35;
}

.roulette-showcase__dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.roulette-showcase__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 61, 165, 0.2);
  transition: transform 0.25s, background 0.25s;
}

.roulette-showcase__dot.is-active {
  background: var(--brand-red);
  transform: scale(1.25);
}

.roulette-showcase__hint {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-muted);
  text-align: center;
}

.roulette-showcase__hint i {
  color: var(--brand-red);
  margin-right: 0.25rem;
}

.roulette-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.45rem, 1.2vh, 0.75rem);
  min-width: 0;
}

.roulette-heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.8vw, 1.85rem);
  font-weight: 900;
  color: var(--brand-red);
  text-align: center;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.15;
}

.roulette-sub {
  color: var(--brand-muted);
  font-size: clamp(0.82rem, 2vw, 0.98rem);
  font-weight: 600;
  text-align: center;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  line-height: 1.3;
}

.roulette-wrap {
  position: relative;
  flex-shrink: 1;
  min-height: 0;
  width: min(340px, 100%);
  height: min(
    340px,
    calc(100dvh - var(--fotriem-site-header-h, 88px) - 260px),
    78vw
  );
  max-width: min(340px, 100%);
  aspect-ratio: 1;
}

.roulette-ring-glow {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 24, 55, 0.15) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  animation: ring-glow-pulse 2s ease-in-out infinite;
}

.roulette-wrap.is-spinning .roulette-ring-glow {
  opacity: 1;
  animation: ring-glow-spin 0.5s ease-in-out infinite alternate;
}

@keyframes ring-glow-pulse {
  0%, 100% { transform: scale(0.98); opacity: 0.45; }
  50% { transform: scale(1.02); opacity: 0.75; }
}

@keyframes ring-glow-spin {
  from { transform: scale(1); filter: hue-rotate(0deg); }
  to { transform: scale(1.06); filter: hue-rotate(15deg); }
}

.roulette-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 30px solid var(--brand-red);
  z-index: 6;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.roulette-wrap.is-spinning .roulette-pointer {
  animation: pointer-bounce 0.35s ease-in-out infinite alternate;
}

@keyframes pointer-bounce {
  from { transform: translateX(-50%) translateY(0); }
  to { transform: translateX(-50%) translateY(4px); }
}

#roulette-canvas {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: none;
  box-shadow: none;
}

.roulette-wrap.is-spinning #roulette-canvas {
  filter: none;
}

.btn-spin-roulette {
  flex-shrink: 0;
  position: relative;
  z-index: 12;
  width: min(100%, 340px);
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
}

.btn-spin-roulette .fa-dharmachakra {
  animation: none;
}

.roulette-wrap.is-spinning ~ .btn-spin-roulette .fa-dharmachakra,
.btn-spin-roulette.is-spinning .fa-dharmachakra {
  animation: spin-icon-fast 0.6s linear infinite;
}

@keyframes spin-icon-fast {
  to { transform: rotate(360deg); }
}

@media (max-width: 820px) {
  .roulette-stage {
    grid-template-columns: 1fr;
  }

  .roulette-showcase {
    order: -1;
  }

  .screen-roulette .roulette-showcase__card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0.5rem 0.75rem;
    align-items: center;
    text-align: left;
  }

  .screen-roulette .roulette-showcase__image-wrap {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 3;
  }

  .screen-roulette .roulette-showcase__name {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .screen-roulette .roulette-showcase__desc {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .roulette-showcase__hook {
    font-size: 0.88rem;
  }

  .roulette-wrap {
    width: min(300px, 88vw);
    height: min(300px, calc(100dvh - var(--fotriem-site-header-h, 88px) - 320px), 88vw);
  }
}

@keyframes spin-icon-idle {
  to { transform: rotate(360deg); }
}

/* Premio */
.screen-prize-won {
  gap: 1.25rem;
}

.prize-won-card {
  width: min(560px, 92vw);
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 3px solid var(--brand-red);
  box-shadow: 0 20px 56px rgba(227, 24, 55, 0.18);
  position: relative;
  overflow: hidden;
}

.prize-won-card::before {
  content: '🎉';
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 2rem;
  opacity: 0.35;
}

.prize-won-label {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.9rem;
}

.prize-won-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 900;
  color: var(--brand-blue);
  margin: 0.35rem 0 1rem;
}

.prize-won-image-wrap {
  margin: 0 auto 1rem;
  max-width: 300px;
  background: var(--brand-bg);
  border-radius: 16px;
  padding: 0.75rem;
}

.prize-won-image {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.prize-won-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  font-weight: 900;
  color: var(--brand-red);
  line-height: 1.15;
}

.prize-won-desc {
  color: var(--brand-muted);
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.countdown-reset--light {
  color: var(--brand-muted);
  font-weight: 600;
}

/* Loading */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.loading-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.loader-ring {
  width: 72px;
  height: 72px;
  border: 4px solid rgba(0, 61, 165, 0.15);
  border-top-color: var(--brand-red);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loading-text {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 1.1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Carrusel / atracción */
.promo-slideshow {
  position: relative;
  overflow: hidden;
  background: var(--brand-bg);
}

.promo-slideshow--fullscreen {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.promo-slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
}

.promo-slideshow__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.promo-slideshow--fullscreen .promo-slideshow__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0D1B3D 0%, #003DA5 100%);
}

.promo-slideshow--fullscreen .promo-slideshow__slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.promo-dots--overlay {
  position: absolute;
  bottom: max(5rem, 12vh);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.promo-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.promo-dot.is-active {
  background: var(--brand-red);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(227, 24, 55, 0.6);
}

.attraction-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #0D1B3D;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.attraction-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.attraction-touch-hint {
  position: absolute;
  bottom: max(2rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-white);
  background: var(--brand-red);
  border: none;
  border-radius: 999px;
  box-shadow: var(--shadow-cta);
  animation: hint-pulse 2s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.04); }
}

body.attraction-active .welcome-layout {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.attraction-active .kiosk-admin-link {
  opacity: 0;
  pointer-events: none;
}

@media (min-height: 900px) {
  .welcome-logo-hero {
    max-height: 160px;
    max-width: 300px;
  }

  .welcome-layout {
    gap: 1.75rem;
  }
}

/* —— Panel de profesiones (deslizable) —— */
.screen-profession {
  justify-content: flex-start;
  padding-top: max(0.5rem, calc(env(safe-area-inset-top) + 0.35rem));
  padding-bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4.25rem));
  overflow-x: hidden;
  overflow-y: auto;
}

.profession-panel {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 1vh, 0.65rem);
  min-height: 0;
  flex: 1;
  max-height: calc(100dvh - var(--fotriem-site-header-h, 88px) - 2.5rem);
}

.profession-panel__head {
  text-align: center;
  flex-shrink: 0;
  padding: 0 0.5rem;
}

.profession-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.2vw, 1.45rem);
  font-weight: 800;
  color: var(--brand-blue);
  margin: 0 0 0.2rem;
}

.profession-panel__title i {
  color: var(--brand-red);
  margin-right: 0.35rem;
}

.profession-panel__sub {
  margin: 0;
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  color: var(--brand-muted);
  font-weight: 600;
  line-height: 1.3;
}

.profession-scroll-wrap {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  max-height: min(
    400px,
    calc(100dvh - var(--fotriem-site-header-h, 88px) - 270px)
  );
}

.profession-scroll-wrap::before,
.profession-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 2;
  pointer-events: none;
}

.profession-scroll-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--brand-bg), transparent);
}

.profession-scroll-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--brand-bg), transparent);
}

.profession-scroll {
  display: flex;
  gap: clamp(0.55rem, 1.8vw, 0.85rem);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: clamp(0.75rem, 3vw, 1.25rem);
  padding: 0.25rem clamp(0.75rem, 3vw, 1.25rem) 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  height: 100%;
  max-height: 100%;
  align-items: stretch;
}

.profession-scroll::-webkit-scrollbar {
  height: 6px;
}

.profession-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 61, 165, 0.25);
  border-radius: 999px;
}

.profession-card {
  flex: 0 0 min(250px, 72vw);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--brand-white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  min-height: 0;
  max-height: 100%;
  height: auto;
}

.profession-card:active {
  transform: scale(0.98);
}

.profession-card.is-selected {
  box-shadow:
    0 0 0 3px var(--brand-white),
    0 0 0 6px var(--brand-red),
    0 16px 40px rgba(227, 24, 55, 0.25);
  transform: translateY(-4px);
}

.profession-card__num {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand-white);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.profession-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 0.75rem 0.5rem;
}

.profession-card__icon {
  font-size: clamp(2rem, 6vw, 2.75rem);
  opacity: 0.95;
}

.profession-card__title {
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1.85vw, 0.82rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0 0.75rem 0.35rem;
  margin: 0;
  min-height: 2.4em;
}

.profession-card__list {
  list-style: none;
  margin: 0;
  padding: 0 0.75rem 0.5rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  font-size: clamp(0.62rem, 1.6vw, 0.72rem);
  line-height: 1.35;
}

.profession-card__list li {
  position: relative;
  padding-left: 0.85rem;
  margin-bottom: 0.35rem;
}

.profession-card__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  opacity: 0.85;
}

.profession-card__footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-white);
  background: rgba(0, 0, 0, 0.22);
}

.profession-card__footer i {
  font-size: 0.85rem;
  opacity: 0.9;
}

.profession-card__pick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-white);
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.2s;
}

.profession-card.is-selected .profession-card__pick {
  opacity: 1;
  background: rgba(0, 0, 0, 0.35);
}

.profession-card--navy .profession-card__num { background: #1a2744; }
.profession-card--navy .profession-card__icon { color: #1a2744; }
.profession-card--navy .profession-card__title { color: #1a2744; }
.profession-card--navy { background: linear-gradient(180deg, #fff 0%, #eef2f8 100%); }
.profession-card--navy .profession-card__list { color: #334155; }
.profession-card--navy .profession-card__footer { background: #1a2744; }

.profession-card--blue .profession-card__num { background: #1e5bb8; }
.profession-card--blue .profession-card__icon { color: #003da5; }
.profession-card--blue .profession-card__title { color: #003da5; }
.profession-card--blue { background: linear-gradient(180deg, #fff 0%, #e8f2ff 100%); }
.profession-card--blue .profession-card__list { color: #1e3a5f; }
.profession-card--blue .profession-card__footer { background: #003da5; }

.profession-card--green .profession-card__num { background: #059669; }
.profession-card--green .profession-card__icon { color: #047857; }
.profession-card--green .profession-card__title { color: #065f46; }
.profession-card--green { background: linear-gradient(180deg, #fff 0%, #ecfdf5 100%); }
.profession-card--green .profession-card__list { color: #14532d; }
.profession-card--green .profession-card__footer { background: #059669; }

.profession-card--purple .profession-card__num { background: #7c3aed; }
.profession-card--purple .profession-card__icon { color: #6d28d9; }
.profession-card--purple .profession-card__title { color: #5b21b6; }
.profession-card--purple { background: linear-gradient(180deg, #fff 0%, #f5f3ff 100%); }
.profession-card--purple .profession-card__list { color: #4c1d95; }
.profession-card--purple .profession-card__footer { background: #7c3aed; }

.profession-card--orange .profession-card__num { background: #ea580c; }
.profession-card--orange .profession-card__icon { color: #c2410c; }
.profession-card--orange .profession-card__title { color: #9a3412; }
.profession-card--orange { background: linear-gradient(180deg, #fff 0%, #fff7ed 100%); }
.profession-card--orange .profession-card__list { color: #7c2d12; }
.profession-card--orange .profession-card__footer { background: #ea580c; }

.profession-card--rose .profession-card__num { background: #e11d48; }
.profession-card--rose .profession-card__icon { color: #be123c; }
.profession-card--rose .profession-card__title { color: #9f1239; }
.profession-card--rose { background: linear-gradient(180deg, #fff 0%, #fff1f2 100%); }
.profession-card--rose .profession-card__list { color: #881337; }
.profession-card--rose .profession-card__footer { background: #e11d48; }

.profession-notice {
  flex-shrink: 0;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 clamp(0.5rem, 2vw, 1rem);
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 2px solid #f97316;
  background: #fff7ed;
  color: #9a3412;
  font-size: clamp(0.68rem, 1.8vw, 0.8rem);
  line-height: 1.4;
}

.profession-notice[hidden] {
  display: none !important;
}

.profession-notice i {
  color: #ea580c;
  font-size: 1.15rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.profession-notice p {
  margin: 0;
}

.profession-panel__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  z-index: 12;
  padding: 0.35rem 0.75rem 0.5rem;
  margin-top: auto;
  background: linear-gradient(180deg, transparent 0%, rgba(247, 250, 255, 0.92) 35%);
}

.profession-panel__actions .btn-kiosk-primary {
  width: min(100%, 380px);
  margin: 0;
  min-height: 56px;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.profession-panel__actions .btn-kiosk-ghost {
  margin-top: 0;
  width: min(100%, 380px);
}

.form-profession-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.15rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-sky), #fff);
  border: 2px solid rgba(0, 61, 165, 0.15);
}

.form-profession-chip__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
  width: 100%;
}

.form-profession-chip__value {
  flex: 1;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1.3;
}

.form-profession-chip__change {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 2px solid var(--brand-blue);
  background: var(--brand-white);
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.screen-welcome-roulette {
  overflow: hidden;
}

.welcome-roulette-scene {
  position: relative;
  text-align: center;
  width: min(560px, 94vw);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 64px rgba(0, 61, 165, 0.18);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.welcome-roulette-rays {
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    rgba(227, 24, 55, 0.08) 0deg,
    rgba(255, 255, 255, 0.15) 60deg,
    rgba(0, 61, 165, 0.1) 120deg,
    rgba(255, 255, 255, 0.12) 180deg,
    rgba(227, 24, 55, 0.08) 240deg,
    rgba(0, 61, 165, 0.1) 300deg,
    rgba(227, 24, 55, 0.08) 360deg
  );
  animation: welcome-rays-spin 12s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes welcome-rays-spin {
  to { transform: rotate(360deg); }
}

.welcome-roulette-confetti span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confetti-fall 3s ease-in-out infinite;
}

.welcome-roulette-confetti span:nth-child(1) { top: 10%; left: 15%; background: var(--brand-red); }
.welcome-roulette-confetti span:nth-child(2) { top: 20%; right: 20%; background: var(--brand-blue); animation-delay: 0.4s; }
.welcome-roulette-confetti span:nth-child(3) { top: 60%; left: 10%; background: #fbbf24; animation-delay: 0.8s; }
.welcome-roulette-confetti span:nth-child(4) { top: 70%; right: 12%; background: var(--brand-red); animation-delay: 1.2s; }
.welcome-roulette-confetti span:nth-child(5) { top: 30%; left: 80%; background: var(--brand-blue-light); animation-delay: 0.6s; }
.welcome-roulette-confetti span:nth-child(6) { top: 85%; left: 45%; background: #22c55e; animation-delay: 1s; }

@keyframes confetti-fall {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
  50% { transform: translateY(12px) rotate(180deg); opacity: 1; }
}

.welcome-roulette-pre {
  position: relative;
  z-index: 1;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.welcome-roulette-name {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.welcome-roulette-tagline {
  position: relative;
  z-index: 1;
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 600;
  color: var(--brand-text);
}

.welcome-roulette-action {
  position: relative;
  z-index: 1;
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 800;
  color: var(--brand-blue);
}

.btn-welcome-roulette {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-width: min(100%, 320px);
  font-size: clamp(1.05rem, 3vw, 1.25rem) !important;
  padding: 1.1rem 2rem !important;
  animation: welcome-btn-pulse 2s ease-in-out infinite;
}

.btn-welcome-roulette__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: btn-shine-move 2.5s ease-in-out infinite;
}

@keyframes welcome-btn-pulse {
  0%, 100% { box-shadow: var(--shadow-cta); }
  50% { box-shadow: 0 18px 48px rgba(227, 24, 55, 0.5); }
}

@keyframes btn-shine-move {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@media (max-height: 720px) {
  .profession-panel__sub {
    display: none;
  }

  .profession-scroll-wrap {
    max-height: min(
      320px,
      calc(100dvh - var(--fotriem-site-header-h, 88px) - 230px)
    );
  }

  .profession-card__icon-wrap {
    padding-top: 1rem;
  }

  .profession-panel__actions .btn-kiosk-primary {
    min-height: 52px;
    padding: 0.75rem 1.5rem;
  }
}
