/* ── RESET & BASE ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #0a0005;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 8px 16px;
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(200,0,50,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255,0,80,0.1) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 90%, rgba(180,0,0,0.12) 0%, transparent 40%),
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,0,50,0.03) 40px, rgba(255,0,50,0.03) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,0,50,0.02) 40px, rgba(255,0,50,0.02) 41px);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at  8% 12%, rgba(255,200,200,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 65%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 55%  8%, rgba(255,200,200,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 78%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 45%, rgba(255,200,200,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 35%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 88%, rgba(255,150,150,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 55%, rgba(255,255,255,0.2) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── SCORE BAR ── */
.score-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  justify-content: center;
}

.score-item {
  background: rgba(180,0,0,0.3);
  border: 2px solid rgba(255,50,50,0.5);
  border-radius: 6px;
  padding: 5px 16px;
  text-align: center;
  flex: 1;
  max-width: 110px;
  box-shadow:
    0 0 12px rgba(255,0,50,0.25),
    0 0 30px rgba(255,0,50,0.1),
    inset 0 1px 0 rgba(255,150,150,0.15);
}

.score-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
}

.score-value {
  font-family: 'Press Start 2P', monospace;
      font-size: 0.65rem;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  line-height: 1.1;
      margin-top: 3px;
}

/* ── MACHINE WRAPPER ── */
.machine-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

/* ── MACHINE BODY ── */
.machine {
  width: 100%;
  background: linear-gradient(180deg, #cc0000 0%, #b30000 40%, #990000 100%);
  border-radius: 10px 10px 0 0;
  box-shadow:
    0 0 0 3px #770000,
    0 0 25px rgba(255,0,50,0.4),
    0 0 60px rgba(200,0,30,0.2),
    0 8px 40px rgba(0,0,0,0.8),
    inset 2px 0 0 rgba(255,180,180,0.12),
    inset -2px 0 0 rgba(0,0,0,0.3);
  overflow: visible;
  position: relative;
}

/* ── TOP MARQUEE ── */
.machine-top {
  background: #e4002b;
  padding: 6px 16px 4px;
  text-align: center;
  border-radius: 8px 8px 0 0;
  border-bottom: 4px solid #cc0000;
  position: relative;
  overflow: hidden;

}

.machine-top::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 4px;
  background: #cc0000;
  box-shadow: 0 0 8px rgba(255,50,50,0.8), 0 0 20px rgba(255,0,50,0.5);
}

.brand-logo {
  display: block;
  height: clamp(32px, 8vw, 67px);
  width: auto;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  object-fit: contain;
    width: 92%;
        margin-left: 1px;
}

.brand-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.5rem;
color: #ffffff;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  z-index: 1;
  margin-top: 1px;
}

/* ── MACHINE INNER BODY ── */
.machine-body {
  position: relative;
  padding: 6px;
}

.machine-body::before,
.machine-body::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 10px;
  z-index: 20;
}
.machine-body::before { left: 0;  background: linear-gradient(90deg, rgba(0,0,0,0.4), transparent); }
.machine-body::after  { right: 0; background: linear-gradient(90deg, transparent, rgba(0,0,0,0.4)); }

/* ── GLASS FRAME ── */
.glass-frame {
  border: 4px solid #660000;
  border-radius: 3px;
  box-shadow:
    0 0 15px rgba(255,0,50,0.3),
    0 0 40px rgba(200,0,30,0.15),
    inset 0 0 0 1px rgba(255,100,100,0.15);
  overflow: hidden;
}

/* ── GLASS AREA ── */
.glass-area {
  position: relative;
  aspect-ratio: 420 / 310;
  width: 100%;
  background: linear-gradient(180deg,
    rgba(5,0,20,0.92) 0%,
    rgba(10,0,30,0.9) 50%,
    rgba(8,0,25,0.95) 100%);
  overflow: hidden;
}

.glass-area::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 35%, rgba(255,255,255,0.02) 100%);
  pointer-events: none;
  z-index: 50;
}

/* ── NEON SCAN LINES ── */
.neon-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.neon-line {
  position: absolute;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,0,50,0.25), transparent);
  animation: scanRed 5s linear infinite;
  opacity: 0;
}
.neon-line:nth-child(1) { animation-delay: 0s; }
.neon-line:nth-child(2) { animation-delay: 1.8s; }
.neon-line:nth-child(3) { animation-delay: 3.5s; }

@keyframes scanRed {
  0%   { top: -2%;  opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 0.4; }
  100% { top: 102%; opacity: 0; }
}

.corner {
  position: absolute;
  width: 32px; height: 32px;
  z-index: 5;
  pointer-events: none;
}
.corner.tl { top: 5px; left: 5px;  border-top: 2px solid rgba(255,50,80,0.7); border-left:  2px solid rgba(255,50,80,0.7); }
.corner.tr { top: 5px; right: 5px; border-top: 2px solid rgba(255,50,80,0.7); border-right: 2px solid rgba(255,50,80,0.7); }

/* ── RAIL ── */
.rail {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background: linear-gradient(180deg, #555 0%, #333 40%, #1a1a1a 100%);
  border-bottom: 3px solid #111;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(0,0,0,0.7), 0 0 6px rgba(255,0,50,0.1);
}

/* ── CLAW ASSEMBLY ── */
#clawAssembly {
  position: absolute;
  top: 0; left: 50px;
  width: 60px;
  z-index: 20;
  transition: left 0.1s linear;
}

.claw-wire {
  width: 3px;
  background: linear-gradient(180deg, #999, #555);
  margin: 0 auto;
  transition: height 0.15s linear;
  box-shadow: 0 0 4px rgba(255,100,100,0.2);
}

.claw-head { width: 40px; margin: 0 auto; }

.claw-center {
  width: 14px; height: 10px;
  background: linear-gradient(180deg, #999, #555);
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 6px rgba(255,100,100,0.2);
}

.claw-arms { display: flex; justify-content: center; gap: 2px; margin-top: 2px; }

.claw-arm {
  width: 12px; height: 20px;
  background: linear-gradient(180deg, #aaa, #666);
  border-radius: 0 0 8px 8px;
  transform-origin: top center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.claw-arm.left  { transform: rotate(-20deg); border-radius: 0 0 2px 8px; }
.claw-arm.right { transform: rotate(20deg);  border-radius: 0 0 8px 2px; }
.claw-arm.open.left    { transform: rotate(-40deg); }
.claw-arm.open.right   { transform: rotate(40deg); }
.claw-arm.closed.left  { transform: rotate(-5deg); }
.claw-arm.closed.right { transform: rotate(5deg); }

/* ── PLUSHIES AREA ── */
#plushiesArea {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  padding: 8px;
}

/* ── ITEM CON IMAGEN PNG ── */
.plushie {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  user-select: none;
}

.plushie img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.55)) drop-shadow(0 0 4px rgba(255,50,50,0.15));
  transition: filter 0.15s;
}

.plushie:hover img {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.7)) drop-shadow(0 0 8px rgba(255,50,80,0.35));
}

.plushie.fallback {
  background: rgba(20,0,0,0.85);
  border: 2px solid rgba(255,50,50,0.5);
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #ff5566;
  font-size: 0.5rem;
  text-align: center;
  padding: 3px;
  line-height: 1.2;
  box-shadow: 0 0 10px rgba(255,0,50,0.2);
}

/* ── CHUTE ── */
.chute {
  position: absolute;
  right: 0; bottom: 0;
  width: 72px; height: 100%;
  border-left: 2px solid rgba(255,50,50,0.2);
  background: linear-gradient(90deg, rgba(200,0,30,0.04), rgba(200,0,30,0.1));
  display: flex; align-items: center; justify-content: center;
}

.chute-label {
  writing-mode: vertical-lr;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

.chute-opening {
  position: absolute;
  bottom: 0; right: 0;
  width: 72px; height: 48px;
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(255,50,50,0.5);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 0 15px rgba(255,0,50,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.floor {
  position: absolute;
  bottom: 0; left: 0; right: 72px;
  height: 6px;
  background: linear-gradient(90deg, #cc0000, #880000);
  opacity: 0.5;
  box-shadow: 0 0 8px rgba(255,0,50,0.4);
}

/* ── GRABBED ITEM ── */
.grabbed {
  position: absolute;
  z-index: 25;
  pointer-events: none;
}

.grabbed img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,100,100,0.6));
}

/* ── CONTROLS ── */
.controls {
  background: linear-gradient(180deg, #8a0000 0%, #660000 100%);
  padding: 10px 16px;
  border-top: 3px solid #440000;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,100,100,0.1), 0 0 15px rgba(255,0,50,0.1);
}

.controls::before {
  content: '⬤  ⬤';
  position: absolute;
  top: 4px; left: 8px;
  color: rgba(0,0,0,0.35);
  font-size: 0.3rem;
  letter-spacing: 6px;
}
.controls::after {
  content: '⬤  ⬤';
  position: absolute;
  top: 4px; right: 8px;
  color: rgba(0,0,0,0.35);
  font-size: 0.3rem;
  letter-spacing: 6px;
}

.btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 180px;
  margin: 0 auto 6px;
}

.btn {
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.08s;
  min-height: 42px;
  touch-action: manipulation;
  letter-spacing: 1px;
}

.btn:active { transform: scale(0.91) translateY(2px); }

.btn-dir {
  background: linear-gradient(180deg, #2a2a2a 0%, #111 100%);
  color: #ff5577;
  border: 2px solid rgba(255,50,80,0.4);
  box-shadow: 0 3px 0 #000, 0 5px 10px rgba(0,0,0,0.5), 0 0 8px rgba(255,0,50,0.1);
  text-shadow: 0 0 8px rgba(255,50,80,0.6);
}
.btn-dir:hover {
  background: linear-gradient(180deg, #333 0%, #1a1a1a 100%);
  border-color: rgba(255,50,80,0.7);
}
.btn-dir:active { box-shadow: 0 1px 0 #000; }

.btn-drop {
  background: linear-gradient(180deg, #ff2244 0%, #cc0022 50%, #990011 100%);
  color: white;
  border: 2px solid rgba(255,100,130,0.6);
  box-shadow:
    0 3px 0 #550000,
    0 5px 14px rgba(0,0,0,0.5),
    0 0 20px rgba(255,0,50,0.5),
    0 0 40px rgba(255,0,50,0.15);
  font-size: 0.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255,200,200,0.5);
  animation: dropBtnGlow 2s ease-in-out infinite alternate;
}

@keyframes dropBtnGlow {
  from { box-shadow: 0 3px 0 #550000, 0 5px 14px rgba(0,0,0,0.5), 0 0 15px rgba(255,0,50,0.3); }
  to   { box-shadow: 0 3px 0 #550000, 0 5px 14px rgba(0,0,0,0.5), 0 0 30px rgba(255,0,50,0.7), 0 0 60px rgba(255,0,30,0.25); }
}

.btn-drop:hover:not(:disabled)  { background: linear-gradient(180deg, #ff3355 0%, #dd0033 50%, #aa0022 100%); }
.btn-drop:active:not(:disabled) { box-shadow: 0 1px 0 #550000; animation: none; }
.btn-drop:disabled { opacity: 0.4; cursor: not-allowed; animation: none; }

.btn-empty { background: transparent; border: none; cursor: default; pointer-events: none; }

.credits-info {
  text-align: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.36rem;
    color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ── COIN SLOT ── */
.coin-slot-panel {
  background: linear-gradient(180deg, #660000 0%, #440000 100%);
  padding: 6px 16px;
  border-top: 3px solid #330000;
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.coin-slot {
  width: 44px; height: 6px;
  background: #110000;
  border-radius: 3px;
  border: 2px solid #330000;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.9);
}

.coin-slot-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
}

/* ── WIN TRAY ── */
.win-tray {
  width: 100%;
  min-height: 56px;
  background: linear-gradient(180deg, #330000, #1a0000);
  border: 4px solid #660000;
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 8px 12px;
  display: flex; flex-wrap: wrap;
  gap: 6px; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7), 0 0 20px rgba(255,0,50,0.15);
}

.tray-label {
  width: 100%;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.56rem;
  color: rgb(255, 255, 255);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

.won-item {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,50,50,0.3);
  border-radius: 6px;
  padding: 3px;
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 10px rgba(255,0,50,0.2);
}

.won-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255,50,50,0.4));
}

@keyframes popIn {
  from { transform: scale(0) rotate(-20deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}

/* ── MESSAGES ── */
.message {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.9);
  border: 2px solid;
  border-radius: 4px;
  padding: 12px 20px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  text-align: center;
  z-index: 100;
  pointer-events: none;
  animation: fadeInOut 2s ease forwards;
  line-height: 1.8;
  letter-spacing: 1px;
}

.message.win {
  border-color: #ff3355;
  color: #ff3355;
  text-shadow: 0 0 15px #ff3355, 0 0 30px rgba(255,0,50,0.5);
  box-shadow: 0 0 30px rgba(255,0,50,0.4);
}

.message.miss {
  border-color: rgba(255,100,100,0.5);
  color: rgba(255,120,120,0.8);
  text-shadow: 0 0 10px rgba(255,80,80,0.4);
}

@keyframes fadeInOut {
  0%   { opacity: 0; transform: translate(-50%, -60%); }
  20%  { opacity: 1; transform: translate(-50%, -50%); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -40%); }
}

/* ── GAME OVER OVERLAY ── */
.gameover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 100;
  animation: fadeIn 0.35s ease forwards;
  backdrop-filter: blur(2px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.gameover-text {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.45rem, 2vw, 0.65rem);
  text-align: center;
  white-space: pre;
  line-height: 2;
  letter-spacing: 1px;
  padding: 0 12px;
}

.gameover-text.win {
  color: #ff3355;
  text-shadow: 0 0 15px #ff3355, 0 0 30px rgba(255,0,50,0.5);
}

.gameover-text.miss {
  color: rgba(255,120,120,0.85);
  text-shadow: 0 0 10px rgba(255,80,80,0.4);
}

.gameover-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 12px;
}

.go-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(0.8rem, 3vw, 1rem);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.08s, box-shadow 0.08s;
  white-space: nowrap;
}

.go-btn:active { transform: scale(0.93) translateY(2px); }

.go-btn-replay {
  background: linear-gradient(180deg, #2a2a2a 0%, #111 100%);
  color: #ff5577;
  border: 2px solid rgba(255,50,80,0.5);
  box-shadow: 0 3px 0 #000, 0 0 12px rgba(255,0,50,0.2);
}

.go-btn-replay:hover {
  border-color: rgba(255,50,80,0.9);
  box-shadow: 0 3px 0 #000, 0 0 20px rgba(255,0,50,0.4);
}

.go-btn-buy {
  background: linear-gradient(180deg, #ff2244 0%, #cc0022 50%, #990011 100%);
  color: #fff;
  border: 2px solid rgba(255,100,130,0.6);
  box-shadow: 0 3px 0 #550000, 0 0 20px rgba(255,0,50,0.45);
  text-shadow: 0 0 8px rgba(255,200,200,0.4);
}

.go-btn-buy:hover {
  background: linear-gradient(180deg, #ff3355 0%, #dd0033 50%, #aa0022 100%);
  box-shadow: 0 3px 0 #550000, 0 0 30px rgba(255,0,50,0.7);
}

/* ── WHEELS ── */
.machine-base {
  display: flex;
  justify-content: space-between;
  padding: 3px 20px 0;
  width: 100%;
  max-width: 432px;
}

.wheel {
  width: 22px; height: 11px;
  background: linear-gradient(180deg, #444, #1a1a1a);
  border-radius: 0 0 11px 11px;
  border: 2px solid #111;
  border-top: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}


/* ── PRIZE MODAL ── */
.prize-modal {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 24px 22px;
  width: min(320px, 88vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7);
  animation: modalPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalPop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.prize-modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: 900;
  color: #111111;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 4px;
}

.prize-modal-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(0.85rem, 3.5vw, 1rem);
  font-weight: 600;
  color: #111111;
  text-align: center;
  margin-bottom: 16px;
}

.prize-modal-divider {
  width: 100%;
  height: 1px;
  background: #e5e5e5;
  margin-bottom: 16px;
}

.prize-modal-code-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111111;
  margin-bottom: 4px;
}

.prize-modal-code {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 900;
  color: #cc0022;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.prize-modal-note {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(0.65rem, 2.5vw, 0.75rem);
  color: #555555;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.4;
  padding: 0 4px;
}

.prize-modal-btn {
  display: block;
  width: 100%;
  background: #cc0022;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 3.5vw, 1rem);
  letter-spacing: 0.5px;
  padding: 13px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: background 0.15s;
}

.prize-modal-btn:hover {
  background: #aa0018;
}

.prize-modal-replay {
  background: none;
  border: none;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
  transition: color 0.15s;
}

.prize-modal-replay:hover {
  color: #cc0022;
}

@media (max-width: 768px) {
  .brand-logo {

   height: clamp(41px, 20vw, 70px);
           width: 92%;
        margin-left: 1px;
  
  }
  .machine-top{

    padding: 0px 0px 0px;
  }
}