html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-image: url('/games/slot8/symbols/fondo4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
}


/* ===== BACK TO LOBBY BUTTON ===== */
.back-to-lobby {
  position: fixed;
  top: 76px;
  left: 16px;
  z-index: 9999;

  padding: 10px 14px;
  border-radius: 12px;

  background: linear-gradient(135deg, #2a2a2a, #3e3e3e);
  color: #f1c40f; /* Dorado */
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;

  display: flex;
  align-items: center;
  gap: 6px;

  box-shadow:
    0 4px 10px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.08);

  transition: all 0.25s ease;
  opacity: 0.85;
  filter: brightness(1.1);
  text-shadow: 0 0 5px rgba(255, 200, 50, 0.8), 0 0 10px rgba(255, 200, 50, 0.5); /* Brillo dorado */
}

/* Hover */
.back-to-lobby:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(255,255,255,0.15);
  filter: brightness(1.3); /* Aumenta el brillo en hover */
  text-shadow: 0 0 10px rgba(255, 223, 77, 1), 0 0 15px rgba(255, 223, 77, 0.7); /* Efecto de fuego */
}

/* Active click */
.back-to-lobby:active {
  transform: translateY(0);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.8),
    inset 0 0 0 1px rgba(255,255,255,0.1);
}

/* Fuego o Brillo */
@keyframes fireGlow {
  0% {
    text-shadow: 0 0 5px rgba(255, 200, 50, 0.8), 0 0 10px rgba(255, 200, 50, 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 223, 77, 1), 0 0 25px rgba(255, 223, 77, 0.7);
  }
  100% {
    text-shadow: 0 0 5px rgba(255, 200, 50, 0.8), 0 0 10px rgba(255, 200, 50, 0.5);
  }
}

/* Aplica el efecto de fuego */
.back-to-lobby:hover {
  animation: fireGlow 1.5s infinite; /* Efecto fuego en hover */
}



.top-panel {
  width: 100%; /* instead of fixed width like 1300px */
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  padding: 15px;
  border-bottom: 2px solid #fff;
  font-size: 28px;
  font-weight: bold;
  text-shadow: 1px 1px 2px black;

  /* Change background to match slot grid */
  background: #1b1b2f; /* Or use same gradient as slot background if ap>
}
.controls {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  background: #1b1b2f; /* Match slot-grid bg */
  padding: 20px;
  border-radius: 12px;
}




.controls-button {
  background-color: #ff0400; /* light blue */
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 0 #2268a8; /* bottom shadow for "pop" */
  transition: all 0.1s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.controls-button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #b0a30d;
}

/* ===== Base Reset ===== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
/*   background: linear-gradient(135deg, #1c1c3c, #3a0066); */
  color: white;
  text-align: center;
}

/* ===== PANEL DE INFORMACION PRECIOS ETC ===== */
.top-panel {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  background: rgba(208, 174, 5, 0.4);
  border-bottom: 2px solid #ffffff22;
  font-size: 18px;
}

/* ===== Slot Grid ===== */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, 170px);
  grid-template-rows: repeat(4, 170px);
  gap: 8px;
  justify-content: center;
  margin: 30px auto;
}

/* Slot image styles */
.slot-grid img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(255, 1, 1, 0.2);
  background-color: #222;

  /* Animation effect */
  animation: slotSpin 0.5s ease-in-out;
  transition: transform 0.3s ease;
}

/* Hover effect (optional) */
.slot-grid img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Keyframes for spinning animation */
@keyframes slotSpin {
  0% {
    transform: scale(0.8) rotateX(90deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotateX(10deg);
    opacity: 0.7;
  }
  100% {
    transform: scale(1) rotateX(0deg);
    opacity: 1;
  }
}


/* Grid symbol animation */
.slot-symbol {
  position: relative;
  animation: fall 0.6s ease-out;
}

/* Image styling (optional visual polish) */
.slot-symbol img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
  background-color: #111;
}

/* Fall down effect */
@keyframes fall {
  0% {
    transform: translateY(-150px);
    opacity: 0;
  }
  60% {
    transform: translateY(20px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
  }
}

/* Win highlight effect */
.highlight {
  border: 3px solid #ffd700;
  box-shadow: 0 0 10px #ffd700;
}

.win-animation {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
@keyframes fall {
  0% {
    transform: translateY(-150px);
  }
  60% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

.slot-symbol {
  position: relative;
  opacity: 1; /* ပုံတွေ default တင်လာချင်တယ်ဆိုရင် ဒီလိုထား */
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, 170px);
  grid-template-rows: repeat(4, 170px);
  gap: 8px;
  justify-content: center;
  margin: 30px auto;







  /* 🎇 BORDE EFECTO VENTANA */
  padding: 12px;
  border: 4px solid #ded307;
  border-radius: 20px;
  box-shadow:
    0 0 15px rgb(246, 233, 1),
    0 0 30px rgb(4, 4, 4),
    0 0 60px rgb(255, 255, 255);
  background-color: rgba(0, 0, 0, 0.6); /* optional backdrop */
  transition: all 0.3s ease-in-out;
}
.slot-grid.win-glow {
  box-shadow:
    0 0 20px rgb(233, 249, 4),
    0 0 40px rgb(0, 0, 0),
    0 0 80px rgb(255, 255, 255);
  border-color: rgb(216, 219, 11);
}
@keyframes floatPulse {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* GANANCIAS PARPADEO */
.slot-symbol.highlight {
  border: 3px solid #aac817;
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  z-index: 5;
}

/* Combined Animation */
.slot-symbol.win-animation {
  animation: winBounceFloat 1.5s ease-in-out infinite;
}

/* New animation: bounce + float + pulse */
@keyframes winBounceFloat {
  0% {
    transform: translateY(0px) scale(1);
    opacity: 1;
  }
  20% {
    transform: translateY(-8px) scale(1.05);
    opacity: 0.95;
  }
  40% {
    transform: translateY(-4px) scale(0.97);
    opacity: 0.9;
  }
  60% {
    transform: translateY(-10px) scale(1.08);
    opacity: 1;
  }
  80% {
    transform: translateY(-6px) scale(0.99);
    opacity: 0.92;
  }
  100% {
    transform: translateY(0px) scale(1);
    opacity: 1;
  }
}


/* =========================
   CONTROLS LAYOUT
========================= */
.controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 900px;
  margin: 30px auto;
  gap: 30px;
}

/* =========================
   GRUPOS IZQ / DER
========================= */
.bet-controls,
.line-controls {
  display: flex;
  gap: 14px;
}

.bet-controls {
  justify-self: start;
}

.line-controls {
  justify-self: end;
}

/* =========================
   BOTONES + / −
========================= */
.bet-controls button,
.line-controls button {
  width: 64px;
  height: 64px;

  font-size: 26px;
  font-weight: 900;
  color: #dbef02;

  background: radial-gradient(circle at top, #2a2f3a, #0c0f14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;

  box-shadow:
    0 6px 16px rgba(255, 204, 0, 0.9),
    inset 0 0 8px rgba(255, 255, 255, 0.06);

  cursor: pointer;
  transition: all 0.2s ease;
}

.bet-controls button:hover,
.line-controls button:hover {
  transform: translateY(-2px) scale(1.07);
  box-shadow:
    0 12px 26px rgb(255, 204, 0),
    inset 0 0 14px rgba(255, 251, 0, 0.551);
}

.bet-controls button:active,
.line-controls button:active {
  transform: translateY(2px) scale(0.95);
  box-shadow:
    inset 0 5px 14px rgba(0, 0, 0, 0.95);
}

/* =========================
   BOTÓN SPIN (CENTRO 🎰)
========================= */
.spin-btn {
  justify-self: center;

  width: 260px;
  height: 90px;

  font-size: 30px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #2a1500;

  background: radial-gradient(
    circle at top,
    #ffffff,
    #d4c006,
    #ffdd00
  );

  border: none;
  border-radius: 999px;

  box-shadow:
    0 20px 45px rgba(208, 204, 177, 0.85),
    0 0 28px rgba(145, 132, 68, 0.75),
    inset 0 -8px 14px rgba(0, 0, 0, 0.35),
    inset 0 6px 10px rgba(255, 255, 255, 0.55);

  cursor: pointer;
  transition: all 0.25s ease;
}

/* Hover */
.spin-btn:hover {
  transform: translateY(-4px) scale(1.12);
  box-shadow:
    0 28px 65px rgb(251, 253, 247),
    0 0 40px rgba(6, 6, 5, 0.9),
    inset 0 -8px 18px rgba(255, 255, 255, 0.5);
}

/* Click */
.spin-btn:active {
  transform: translateY(4px) scale(0.96);
  box-shadow:
    inset 0 12px 20px rgba(0, 0, 0, 0.65);
}



#coin-animation-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.coin {
  position: absolute;
  bottom: 0;
  width: 30px;
  height: 30px;
  background: url('img/coin.png') no-repeat center center / contain;
  animation: flyUp 1s ease-out forwards;
}

@keyframes flyUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-600px);
    opacity: 0;
  }
}


/* top info responsive */
.top-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 10px;
  width: 120%;
}


/* Controls group (➖ 🎰 ➕) center + spacing */
.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

/* Control buttons style (➖ ➕) */
.control-btn {
  font-size: 1.2rem;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: #ffbb00;
  border: none;
  cursor: pointer;
}

/* Spin button highlight */
.spin-btn {
  font-size: 1.2rem;
  padding: 10px 24px;
  border-radius: 8px;
  background-color: #decf25;
  border: none;
  cursor: pointer;
  font-weight: bold;
}


/* FONDO DEL GRID */

.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns */
  grid-template-rows: repeat(4, 1fr);    /* 4 rows */
  gap: 5px;
  max-width: 600px;
  height: 500px; /* ✅ fix: set a fixed height */
  margin: 0 auto;
  background-color: #ffffffa5;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 0 10px #000;
}

.slot-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #aca6a6;
  border-radius: 8px;
}

.slot-item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ✅ fix: don't overflow */
}



/* =========================
   RESPONSIVE MOBILE
========================= */
@media (max-width: 600px) {

  html, body {
    width: 100%;
    height: 100%;
    min-height: 100svh; /* mejor que vh en mobile moderno */
    margin: 0;
    padding: 0;
    overflow-x: hidden;

  }

/* ===== TOP PANEL MOBILE ULTRA ===== */
.top-panel {
  position: sticky;
  top: 0;
  z-index: 50;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 6px 10px;
  width: 100%;

  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 9px;
}

/* Items */
.top-panel > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 52px;
}

/* Texto (Credit, Bet, etc) */
.top-panel > div {
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Valores */
.top-panel span {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255,255,255,0.25);
}

/* Destacar WIN */
#win {
  color: #00ff9c;
  text-shadow: 0 0 8px rgba(0, 255, 156, 0.6);
}

/* Free Spins */
#freeSpins {
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Ultra phones */
@media (max-width: 360px) {
  .top-panel {
    padding: 4px 6px;
  }

  .top-panel span {
    font-size: 12px;
  }
}











/* ===== SLOT GRID (RESPONSIVE FIX – NO SCROLL / NO JUMP) ===== */
.slot-grid {
  display: grid;
  margin: 128px auto 16px !important;

  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);

  width: 95vw;
  max-width: 360px;

  aspect-ratio: 5 / 4; /* 🔥 mantiene tamaño fijo */
  height: auto;

  gap: 4px;
  padding: 8px;
  margin: 12px auto;

  overflow: hidden; /* 🚫 nada puede empujar el layout */
}

.slot-item {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.slot-item img,
.slot-item video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block; /* evita micro saltos */
}







  /* ===== CONTROLS ===== */
  .controls {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    margin: 20px auto;
  }

  /* Agrupar botones izquierda / derecha */
  .bet-controls,
  .line-controls {
    justify-content: center;
    gap: 12px;
  }

  /* ===== BOTONES + / − ===== */
  .bet-controls button,
  .line-controls button {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  /* ===== SPIN BUTTON ===== */
  .spin-btn {
    width: 220px;
    height: 72px;
    font-size: 24px;
    letter-spacing: 2px;
  }

  .spin-btn:hover {
    transform: scale(1.05);
  }

  /* ===== COIN EFFECT ===== */
  .coin {
    width: 20px;
    height: 20px;
  }
}




/* =========================
   CASINO ALERT
========================= */
.win-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 10000;

  min-width: 260px;
  padding: 22px 30px;

  background: radial-gradient(circle at top, #e0e036d1, #c49c18, #b2ba67);
  color: #2a1500;

  font-size: 26px;
  font-weight: 900;
  text-align: center;
  border-radius: 20px;

  box-shadow:
    0 20px 50px rgba(35, 34, 32, 0.9),
    0 0 40px rgba(120, 126, 83, 0.8),
    inset 0 -8px 14px rgba(0, 0, 0, 0.35);

  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}

/* Show animation */
.win-alert.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: winPulse 1.4s ease-in-out infinite;
}

/* Hide */
.win-alert.hidden {
  display: none;
}

@keyframes winPulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
  100% { transform: translate(-50%, -50%) scale(1); }
}













/* ===== CREDIT BASE ===== */
#credit {
  display: inline-block;
  font-weight: 900;
  transition: color 0.3s ease;
}

/* ===== CREDIT WIN EFFECT ===== */
#credit.credit-win {
  color: #00ff88;
  animation: creditPulse 0.9s ease-out;
  text-shadow: 0 0 12px rgba(0,255,136,.8);
}

@keyframes creditPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}






/* =========================
   CREDIT ALERT
========================= */
.credit-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 10000;

  min-width: 260px;
  padding: 22px 30px;

  background: radial-gradient(circle at top, #fff3b0, #ffb703, #fb8500);
  color: #2a1500;

  font-size: 26px;
  font-weight: 900;
  text-align: center;
  border-radius: 20px;

  box-shadow:
    0 20px 50px rgba(255, 180, 0, 0.9),
    0 0 40px rgba(255, 220, 0, 0.8),
    inset 0 -8px 14px rgba(0, 0, 0, 0.35);

  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}

/* Show animation */
.credit-alert.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: winPulse 1.4s ease-in-out infinite;
}

/* Hide */
.credit-alert.hidden {
  display: none;
}

@keyframes winPulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
  100% { transform: translate(-50%, -50%) scale(1); }
}
/* =============================== */
/* ESTILO DE CAÍDA RÁPIDA Y DESORDENADA CON EFECTOS LLAMATIVOS Y REALISMO */
/* =============================== */
.slot-symbol {
  position: relative;
  overflow: hidden;
  max-height: 200px; /* Ajusta el tamaño máximo del contenedor */
}

/* Fondo del contenedor para simular la base */
.slot-symbol::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px; /* Ajusta la altura para simular la base */
  background: rgba(0, 0, 0, 0.2); /* Color oscuro para simular el fondo */
  border-radius: 5px; /* Borde redondeado para un efecto más suave */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Sombra sutil para mayor realismo */
}

/* Estilo de las imágenes */
.slot-symbol img {
  position: relative;
  opacity: 0;
  max-width: 100%;
  max-height: 100%;
  animation: fall 0.3s ease-out forwards; /* Caída rápida sin retrasos complejos */
}

/* La animación de caída rápida */
@keyframes fall {
  0% {
    top: -140px; /* Empieza cerca de la parte superior del contenedor */
    opacity: 0;
  }
  100% {
    top: 0; /* Termina en su posición final dentro del contenedor */
    opacity: 1;
  }
}

/* Efecto de brillo y resplandor (destellos) - Eliminar en móvil */
@keyframes glow {
  0% {
    filter: brightness(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)); /* Brillo normal */
  }
  50% {
    filter: brightness(2) drop-shadow(0 0 25px rgba(255, 255, 255, 1)); /* Aumento de brillo más fuerte */
  }
  100% {
    filter: brightness(1.5) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)); /* Brillo intenso pero no tan fuerte */
  }
}

/* Aplicar retraso aleatorio en cada imagen */
.slot-symbol img {
  animation-delay: calc(0.1s * var(--i)) !important; /* Asegura un retraso aleatorio */
}

/* =============================== */
/* ESTILO ESPECÍFICO PARA MÓVILES */
/* =============================== */
@media (max-width: 600px) {

  /* Acelerar la caída de las imágenes en dispositivos móviles */
  .slot-symbol img {
    animation: fall 0.2s ease-out forwards; /* Acelerar la caída */
  }

  /* Eliminar el efecto de "randomFall" y "glow" en móviles para mejorar el rendimiento */
  @keyframes fall {
    0% {
      top: -100px; /* Asegurar que empiece más cerca */
      opacity: 0;
    }
    100% {
      top: 0;
      opacity: 1;
    }
  }

  /* Ajustar tamaño máximo de las imágenes para móviles */
  .slot-symbol {
    max-height: 150px; /* Reducir altura en dispositivos móviles */
  }

  /* Reducir la velocidad de la animación */
  .slot-symbol img {
    animation-duration: 0.15s !important; /* Hacer la caída más rápida */
  }
}


/* ===============================
   CONTENEDOR PRINCIPAL
   =============================== */
.controls {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

/* ===============================
   GRUPOS DE BOTONES - +
   =============================== */
.bet-controls,
.line-controls {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
}

/* ===============================
   BOTONES + -
   =============================== */
.bet-controls button,
.line-controls button {
  width: 42px;
  height: 42px;
  font-size: 20px;
  border-radius: 10px;
  border: none;
  background: #1e1e1e;
  color: #fff;
  cursor: pointer;
}

.bet-controls button:active,
.line-controls button:active {
  transform: scale(0.9);
}

/* ===============================
   BOTÓN SPIN (DESTACADO)
   =============================== */
.spin-btn {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.spin-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.spin-btn:active {
  transform: scale(0.94);
}

/* ===============================
   RESPONSIVE MOBILE
   =============================== */
@media (max-width: 480px) {
  .controls {
    gap: 10px;
  }

  .spin-btn {
    width: 90px;
    height: 90px;
  }

  .bet-controls button,
  .line-controls button {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}


/* ===============================
   SPIN BUTTON REAL
   =============================== */
.spin-btn {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;               /* 🔴 recorta la imagen */
  background: radial-gradient(circle at top, #ffd700, #b8860b);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.6),
    inset 0 3px 6px rgba(255, 255, 255, 0.5),
    inset 0 -6px 10px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen dentro */
.spin-btn img {
  width: 92%;
  height: 92%;
  object-fit: cover;
  border-radius: 50%;
}

/* Hover (desktop) */
.spin-btn:hover {
  transform: scale(1.05);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(255, 215, 0, 0.8),
    inset 0 3px 6px rgba(255, 255, 255, 0.6);
}

/* Click */
.spin-btn:active {
  transform: scale(0.92);
  box-shadow:
    inset 0 6px 12px rgba(0, 0, 0, 0.7),
    inset 0 -3px 6px rgba(255, 255, 255, 0.2);
}

/* Mobile */
@media (max-width: 480px) {
  .spin-btn {
    width: 90px;
    height: 90px;
  }
}


