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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  background: #002b0f;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}

.screen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  overflow: hidden;
  animation: fadeIn .4s ease;
}

.screen.active {
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- SPLASH ---------- */
#splash {
  background: #000;
}

.splash-bg {
  position: absolute;
  inset: 0;
  background: url('assets/im/splashb.jpg') center center / cover no-repeat;
  background-size: auto 100%;
  background-position: center;
}

.splash-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.splash-particles .star {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  animation: starTwinkle 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.2); }
}

.splash-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 8vh;
}

.btn-comenzar {
  background: rgba(10, 50, 80, 0.35);
  color: #fff;
  font-size: clamp(25px, 4.7vw, 38px);
  font-weight: 700;
  letter-spacing: 4.7px;
  padding: 22px 78px;
  border: 2px solid #4de3c7;
  border-radius: 14px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 25px rgba(77, 227, 199, 0.5), inset 0 0 15px rgba(77, 227, 199, 0.2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-comenzar:hover,
.btn-comenzar:active {
  transform: scale(1.05);
  background: rgba(77, 227, 199, 0.25);
  box-shadow: 0 0 35px rgba(77, 227, 199, 0.9), inset 0 0 20px rgba(77, 227, 199, 0.35);
}

/* ---------- INSTRUCCIONES ---------- */
#opciones {
  background: #000;
}

.instruccion-bg {
  position: absolute;
  inset: 0;
  background: url('assets/im/instb.jpg') center center / cover no-repeat;
  background-size: auto 100%;
  background-position: center;
}

.opciones-texto-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translateY(-7vh);
}

.opciones-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20vh 5vw 0;
  gap: 32px;
  min-height: 100vh;
}

.opciones-texto {
  color: #ffd700;
  text-align: center;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 400;
  font-family: 'Ultra', sans-serif;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  max-width: 800px;
  margin: 0;
  padding: 0 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 420px;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 22px;
  background: rgba(0, 120, 38, 0.95);
  color: #fff;
  font-size: clamp(19px, 4.8vw, 24px);
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 1.5px;
  border: 3px solid #007826;
  border-radius: 14px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.menu-btn:not(.disabled):hover,
.menu-btn:not(.disabled):active {
  transform: scale(1.05);
  background: rgba(0, 120, 38, 0.4);
  color: #007826;
  box-shadow: none;
}

.menu-btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: #888;
  box-shadow: none;
}

.menu-btn-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #007826;
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 15px;
}

.menu-btn.disabled .menu-btn-icon {
  background: #888;
  color: #222;
}

.menu-btn-text {
  flex: 1;
}

/* ---------- REY 360 ---------- */
#rey360 {
  background: url('assets/im/backper.jpg') center center / cover no-repeat;
  padding: 70px 16px 30px;
  overflow: hidden;
}

/* Faint tech grid background */
.hud-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(77, 227, 199, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 227, 199, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
}

.hud-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid #4de3c7;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(77, 227, 199, 0.55));
}
.hud-tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.hud-tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.hud-bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.hud-br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.screen-title {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(10px, 1.1vw, 36px);
  font-weight: 400;
  font-family: 'Ultra', sans-serif;
  letter-spacing: 3px;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.55);
  z-index: 5;
  text-transform: uppercase;
  text-align: center;
  max-width: 90vw;
  line-height: 1.3;
}

.btn-back {
  position: absolute;
  top: 25px;
  left: 25px;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 10;
  padding: 0;
}

.btn-back img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.btn-back:hover,
.btn-back:active {
  transform: scale(1.1);
}

.btn-music {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #4de3c7;
  border: 2px solid #4de3c7;
  font-size: 24px;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.btn-music:hover {
  transform: scale(1.1);
}
.btn-music:active {
  transform: scale(0.95);
}

.btn-music img {
  width: 50%;
  height: 50%;
}

.btn-music.audio-on {
  background: rgba(76, 175, 80, 0.7);
  border-color: #81c784;
  color: #4de3c7;
}

.btn-music.audio-off {
  background: rgba(244, 67, 54, 0.7);
  border-color: #e57373;
  color: #4de3c7;
}

.btn-play {
  position: absolute;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 2px solid #ffd700;
  border-radius: 30px;
  padding: 10px 19px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-play:hover {
  background: rgba(255, 215, 0, 0.3);
  transform: scale(1.05);
}

.btn-play:active {
  transform: scale(0.95);
}

.soccer-icon {
  width: 19px;
  height: 19px;
  pointer-events: none;
}

.btn-play img,
.btn-play span {
  pointer-events: none;
}

.model-container {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

model-viewer {
  width: 100%;
  height: 100%;
  background: transparent;
  --poster-color: transparent;
  filter: drop-shadow(0 0 40px rgba(77, 227, 199, 0.35));
}

/* ---------- CANVAS 3D ---------- */
#rey-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  touch-action: none;
  filter: drop-shadow(0 0 35px rgba(77, 227, 199, 0.45));
}

.loader {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(0, 15, 25, 0.55);
  color: #aadfd3;
  font-size: 12px;
  letter-spacing: 2px;
  transition: opacity .4s ease;
}
.loader.hidden { opacity: 0; pointer-events: none; }
.loader-inner {
  width: 46px; height: 46px;
  border: 3px solid rgba(77,227,199,0.2);
  border-top-color: #4de3c7;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  box-shadow: 0 0 18px rgba(77,227,199,0.4);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- PARTICLES ---------- */
.particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particles span {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #8ff6e0;
  text-shadow: 0 0 11px #4de3c7, 0 0 20px #4de3c7, 0 0 32px #4de3c7;
  opacity: 0;
  animation: floatUp linear infinite;
}

.particles span::before {
  content: "$";
}

@keyframes floatUp {
  0%   { transform: translateY(0) scale(0.6); opacity: 0; }
  10%  { opacity: 0.45; }
  90%  { opacity: 0.45; }
  100% { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}

.particles span:nth-child(1)  { left: 4%;  bottom: -10px; animation-duration: 14s; animation-delay: 0s;  width:3px;height:3px; }
.particles span:nth-child(2)  { left: 11%; bottom: -10px; animation-duration: 18s; animation-delay: 2s; }
.particles span:nth-child(3)  { left: 17%; bottom: -10px; animation-duration: 12s; animation-delay: 4s;  width:2px;height:2px; }
.particles span:nth-child(4)  { left: 23%; bottom: -10px; animation-duration: 20s; animation-delay: 1s; }
.particles span:nth-child(5)  { left: 29%; bottom: -10px; animation-duration: 16s; animation-delay: 6s; }
.particles span:nth-child(6)  { left: 34%; bottom: -10px; animation-duration: 22s; animation-delay: 3s;  width:5px;height:5px; }
.particles span:nth-child(7)  { left: 40%; bottom: -10px; animation-duration: 13s; animation-delay: 0s; }
.particles span:nth-child(8)  { left: 45%; bottom: -10px; animation-duration: 19s; animation-delay: 5s; }
.particles span:nth-child(9)  { left: 51%; bottom: -10px; animation-duration: 15s; animation-delay: 2s;  width:3px;height:3px; }
.particles span:nth-child(10) { left: 56%; bottom: -10px; animation-duration: 17s; animation-delay: 7s; }
.particles span:nth-child(11) { left: 61%; bottom: -10px; animation-duration: 21s; animation-delay: 1s; }
.particles span:nth-child(12) { left: 66%; bottom: -10px; animation-duration: 14s; animation-delay: 4s;  width:4px;height:4px; }
.particles span:nth-child(13) { left: 71%; bottom: -10px; animation-duration: 18s; animation-delay: 8s; }
.particles span:nth-child(14) { left: 76%; bottom: -10px; animation-duration: 12s; animation-delay: 2s; }
.particles span:nth-child(15) { left: 81%; bottom: -10px; animation-duration: 20s; animation-delay: 5s; }
.particles span:nth-child(16) { left: 86%; bottom: -10px; animation-duration: 15s; animation-delay: 3s;  width:3px;height:3px; }
.particles span:nth-child(17) { left: 91%; bottom: -10px; animation-duration: 22s; animation-delay: 0s; }
.particles span:nth-child(18) { left: 96%; bottom: -10px; animation-duration: 16s; animation-delay: 6s; }
.particles span:nth-child(19) { left: 7%;  bottom: -10px; animation-duration: 19s; animation-delay: 9s;  width:2px;height:2px; }
.particles span:nth-child(20) { left: 14%; bottom: -10px; animation-duration: 13s; animation-delay: 3s; }
.particles span:nth-child(21) { left: 48%; bottom: -10px; animation-duration: 24s; animation-delay: 1s;  width:5px;height:5px; }
.particles span:nth-child(22) { left: 63%; bottom: -10px; animation-duration: 11s; animation-delay: 4s; }
.particles span:nth-child(23) { left: 78%; bottom: -10px; animation-duration: 17s; animation-delay: 7s; }
.particles span:nth-child(24) { left: 88%; bottom: -10px; animation-duration: 23s; animation-delay: 2s;  width:3px;height:3px; }
.particles span:nth-child(25) { left: 38%; bottom: -10px; animation-duration: 14s; animation-delay: 5s; }

/* ---------- HOTSPOTS ANCLADOS AL MODELO ---------- */
.hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.Hotspot {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  --hs-color: #4de3c7;
  transform: translate(-50%, -50%);
  transition: opacity .25s ease;
  will-change: transform, opacity;
}

.Hotspot[data-visible="false"] {
  opacity: 0;
  pointer-events: none;
}

.hot-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd700;
  box-shadow:
    0 0 0 3px rgba(255, 215, 0, 0.25),
    0 0 10px #ffd700,
    0 0 18px #ffd700;
  animation: hotPulse 2s ease-in-out infinite;
  pointer-events: auto;
  cursor: pointer;
}

/* Ondas animadas alrededor del hot-dot solo para móvil */
@media (max-width: 640px) {
  .hot-dot::before,
  .hot-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffd700;
    opacity: 0;
  }

  .hot-dot::before {
    animation: ripple 2s ease-out infinite;
  }

  .hot-dot::after {
    animation: ripple 2s ease-out infinite 1s;
  }
}

@keyframes ripple {
  0% {
    width: 10px;
    height: 10px;
    opacity: 0.4;
  }
  50% {
    width: 20px;
    height: 20px;
    opacity: 0.2;
  }
  100% {
    width: 24px;
    height: 24px;
    opacity: 0;
  }
}

@keyframes hotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25), 0 0 10px #ffd700, 0 0 18px #ffd700; }
  50%      { box-shadow: 0 0 0 6px rgba(255, 215, 0, 0.15), 0 0 16px #ffd700, 0 0 28px #ffd700; }
}

.hot-label {
  position: absolute;
  top: 50%;
  width: 160px;
  padding: 9px 14px;
  background: linear-gradient(135deg, rgba(0, 120, 38, 0.82), rgba(0, 77, 26, 0.82));
  border: 1.5px solid var(--hs-color);
  border-radius: 14px;
  color: #e6fbf6;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 0 12px rgba(77, 227, 199, 0.35),
    0 0 26px rgba(77, 227, 199, 0.15),
    inset 0 0 10px rgba(77, 227, 199, 0.1);
  text-shadow: 0 0 6px rgba(77, 227, 199, 0.35);
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.3s ease, width 0.3s ease, padding 0.3s ease, font-size 0.3s ease, z-index 0s, opacity 0.3s ease;
  z-index: 5;
}

.hot-label.expanded {
  width: 280px;
  padding: 16px 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  z-index: 10;
  box-shadow:
    0 0 20px rgba(77, 227, 199, 0.6),
    0 0 40px rgba(77, 227, 199, 0.3),
    inset 0 0 15px rgba(77, 227, 199, 0.2);
}

.hot-close {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  font-size: 20px;
  font-weight: 700;
  color: #ffd700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hot-close:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.1);
}

.hot-close:active {
  transform: scale(0.95);
}

/* Mostrar X de cierre solo en móvil */
@media (max-width: 640px) {
  .hot-close {
    display: block;
  }
}

/* Ocultar hot-labels por defecto en móvil, mostrar al hacer click en hot-dot */
@media (max-width: 640px) {
  .hot-label {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
  }

  .hot-label.visible {
    opacity: 1;
    pointer-events: auto;
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto;
    min-width: 200px;
    max-width: 85vw;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    z-index: 100;
  }

  .hot-label.visible.expanded {
    padding: 20px 28px;
    font-size: 20px;
  }
}

/* Connector line */
.hot-label::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 1.5px;
  background: var(--hs-color);
  box-shadow: 0 0 6px var(--hs-color);
  transform: translateY(-50%);
}

.side-right .hot-label {
  left: 30px;
  transform: translateY(-50%);
}
.side-right .hot-label::before {
  left: -22px;
}

.side-left .hot-label {
  right: 30px;
  transform: translateY(-50%);
}
.side-left .hot-label::before {
  right: -22px;
}

.progress-bar {
  display: block;
  width: 60%;
  height: 6px;
  max-height: 6px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}

.progress-inner {
  height: 100%;
  background: #4de3c7;
  transition: width .2s ease;
}

.hint {
  text-align: center;
  font-size: 17px;
  color: #ffd700;
  letter-spacing: 1px;
  padding: 10px 0 4px;
  opacity: 0.8;
  z-index: 100;
}

/* ---------- INDICADOR AUTO-ROTACIÓN ---------- */
.autorotate-hint {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  background: rgba(0, 120, 38, 0.85);
  border: 2px solid rgba(77, 227, 199, 0.4);
  border-radius: 30px;
  color: #4de3c7;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
}

body.model-autorotating .autorotate-hint {
  animation: pulseFade 2s ease-in-out infinite;
}

@keyframes pulseFade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---------- RESPONSIVE ---------- */
/* Móvil pequeño (<=375px) - iPhone SE vertical */
@media (max-width: 375px) {
  .menu-buttons { gap: 28px; }
  .btn-comenzar { font-size: 22px; padding: 16px 47px; letter-spacing: 3.1px; }
  .hint {
    position: absolute;
    bottom: 25px;
    left: 25px;
    text-align: left;
    padding: 0;
  }
  .menu-btn { font-size: 14px; padding: 12px 16px; gap: 12px; }
  .menu-btn-icon { font-size: 16px; }
  .hot-label { width: 90px; font-size: 10px; padding: 5px 7px; }
  .screen-title { font-size: 18px; letter-spacing: 1.5px; }
  .autorotate-hint { font-size: 16px; padding: 12px 18px; }
}

/* Móvil (376px - 640px) */
@media (min-width: 376px) and (max-width: 640px) {
  .menu-buttons { gap: 28px; }
  .hot-label {
    width: 110px;
    padding: 6px 9px;
    font-size: 12px;
    border-radius: 10px;
  }
  .side-right .hot-label { left: 12px; }
  .side-left  .hot-label { right: 12px; }
  .hot-label::before { width: 8px; }
  .side-right .hot-label::before { left: -8px; }
  .side-left  .hot-label::before { right: -8px; }
  .hot-dot { width: 9px; height: 9px; }
  .hud-corner { width: 38px; height: 38px; }
  .screen-title { left: 50%; transform: translateX(-50%); font-size: 20px; letter-spacing: 1.8px; }
  .autorotate-hint { bottom: 55px; font-size: 18px; padding: 14px 22px; border-radius: 24px; }
  .btn-comenzar { font-size: 29px; padding: 22px 70px; letter-spacing: 3.9px; }
  .menu-buttons { max-width: 380px; }
  .side-right .hot-label { left: 25px; }
  .side-left .hot-label { right: 25px; }
  .hint {
    position: absolute;
    bottom: 25px;
    left: 25px;
    text-align: left;
    padding: 0;
  }
}

/* iPhone XR específico (414px) */
@media (width: 414px) {
  .screen-title { font-size: 18px; letter-spacing: 1.6px; }
}

/* Móvil horizontal (landscape) - altura pequeña indica landscape */
@media (max-width: 640px) and (max-height: 500px) {
  /* Ocultar hot-labels por defecto */
  .hot-label {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    width: auto;
    min-width: 180px;
    max-width: 80vw;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 14px;
  }

  .hot-label.visible {
    opacity: 1;
    pointer-events: auto;
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 100;
  }

  .hot-label.visible.expanded {
    padding: 16px 24px;
    font-size: 18px;
  }

  .side-right .hot-label { left: 12px; }
  .side-left  .hot-label { right: 12px; }
  .hot-label::before { width: 8px; }
  .side-right .hot-label::before { left: -8px; }
  .side-left  .hot-label::before { right: -8px; }
  .hot-dot { width: 4px; height: 4px; }
  .autorotate-hint {
    font-size: 14px;
    padding: 12px 20px;
    bottom: 50px;
  }
  .screen-title { font-size: 14px; letter-spacing: 0.8px; }
  .btn-back { width: 36px; height: 36px; font-size: 18px; }
  .btn-music { width: 36px; height: 36px; font-size: 16px; }
  .btn-comenzar {
    font-size: 12px;
    padding: 10px 30px;
    letter-spacing: 1.8px;
  }

  /* Mejorar botones del instructivo en móvil horizontal */
  .menu-buttons {
    gap: 32px;
    max-width: 500px;
    padding: 0 20px;
  }

  .menu-btn {
    padding: 12px 18px;
    font-size: 14px;
    letter-spacing: 1.2px;
  }
}

/* Tablet pequeña (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
  .splash-bg {
    background-size: auto 100%;
  }
  .hot-label { width: 130px; font-size: 13px; padding: 7px 11px; }
  .side-right .hot-label { left: 35px; }
  .side-left .hot-label { right: 35px; }
  .hot-label::before { width: 28px; }
  .side-right .hot-label::before { left: -28px; }
  .side-left .hot-label::before { right: -28px; }
  .screen-title { font-size: 22px; letter-spacing: 2px; }
  .autorotate-hint { font-size: 19px; padding: 16px 26px; }
  .menu-buttons { max-width: 400px; }
  .btn-comenzar { font-size: 25px; padding: 18px 70px; letter-spacing: 3.9px; }
}

/* iPad mini y tablets pequeñas (769px - 900px) */
@media (min-width: 769px) and (max-width: 900px) {
  .splash-bg {
    background-size: auto 100%;
  }
  .hot-label { width: 150px; font-size: 14px; padding: 8px 12px; }
  .side-right .hot-label { left: 40px; }
  .side-left .hot-label { right: 40px; }
  .hot-label::before { width: 32px; }
  .side-right .hot-label::before { left: -32px; }
  .side-left .hot-label::before { right: -32px; }
  .screen-title { font-size: 24px; letter-spacing: 2.2px; }
  .autorotate-hint { font-size: 20px; padding: 18px 28px; }
  .menu-buttons { max-width: 450px; }
  .btn-comenzar { font-size: 26px; padding: 21px 78px; letter-spacing: 3.9px; }
}

/* Tablet grande y desktop pequeño (901px - 1200px) */
@media (min-width: 901px) and (max-width: 1200px) {
  .splash-bg {
    background-size: auto 100%;
  }
  .instruccion-bg {
    background-size: auto 100%;
  }
  .menu-buttons { max-width: 480px; gap: 64px; }
  .btn-comenzar { font-size: 29px; padding: 22px 86px; letter-spacing: 3.9px; }

  .hot-label {
    width: 170px;
    font-size: 15px;
    padding: 10px 14px;
  }
  .side-right .hot-label { left: 70px; }
  .side-left .hot-label { right: 70px; }
  .hot-label::before { width: 55px; }
  .side-right .hot-label::before { left: -55px; }
  .side-left .hot-label::before { right: -55px; }
  .screen-title { font-size: 26px; letter-spacing: 2.5px; }
  .autorotate-hint { font-size: 21px; padding: 19px 30px; }
}

/* Desktop grande (>1200px) */
@media (min-width: 1201px) {
  .splash-bg {
    background-size: auto 100%;
  }
  .instruccion-bg {
    background-size: auto 100%;
  }
  .menu-buttons { max-width: 500px; gap: 64px; }
  .btn-comenzar { font-size: 31px; padding: 25px 94px; letter-spacing: 4.7px; }

  .hot-label {
    width: 190px;
    font-size: 16px;
    padding: 11px 16px;
  }
  .side-right .hot-label { left: 105px; }
  .side-left .hot-label { right: 105px; }
  .hot-label::before { width: 75px; }
  .side-right .hot-label::before { left: -75px; }
  .side-left .hot-label::before { right: -75px; }
  .screen-title { font-size: 30px; letter-spacing: 2.8px; }
  .autorotate-hint { font-size: 22px; padding: 20px 32px; }
}
