/* ==========================================================================
   BAKE OR DIE (1989 COIN-OP EDITION) - RETRO ARCADE CSS STYLESHEET
   ========================================================================== */

/* Variables de Paleta y Efectos Retro */
:root {
  --bg-cabinet: #0e0d13;
  --bg-screen: #0a090e;
  --bg-bezel: #1b1a24;
  --neon-yellow: #ffe600;
  --neon-yellow-glow: rgba(255, 230, 0, 0.45);
  --neon-red: #ff2a4b;
  --neon-red-glow: rgba(255, 42, 75, 0.6);
  --neon-cyan: #00f0ff;
  --pure-white: #ffffff;
  --carbon-dark: #121118;
  --metal-gray: #4b4b58;
  --metal-light: #8e8e9e;
  --ticket-paper: #1a1914;
  --ticket-border: #ffe600;
  
  /* Pasteles Reposteros */
  --pastel-pink: #ff85a1;
  --pastel-cream: #fff3c9;
  --pastel-choco: #5d3a1a;
  --pastel-mint: #70ebb3;
}

/* Reset y Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

body {
  background-color: #060508;
  background-image: 
    radial-gradient(circle at 50% 30%, #1c192c 0%, #060508 80%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 4px);
  color: var(--pure-white);
  font-family: 'Courier New', Courier, 'Lucida Console', Monaco, monospace;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  overflow-x: hidden;
}

/* ==========================================================================
   ESTRUCTURA DEL GABINETE ARCADE (COIN-OP CABINET)
   ========================================================================== */

.arcade-cabinet {
  width: 100%;
  max-width: 960px;
  background: linear-gradient(180deg, #242230 0%, #15141e 15%, #0d0c13 100%);
  border: 8px solid #36334a;
  border-radius: 24px 24px 14px 14px;
  box-shadow: 
    0 0 0 4px #0a090e,
    0 20px 50px rgba(0, 0, 0, 0.9),
    inset 0 2px 4px rgba(255, 255, 255, 0.2),
    inset 0 -4px 8px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 1. Marquesina Superior Iluminada (Marquee) */
.marquee {
  position: relative;
  background: linear-gradient(180deg, #111 0%, #222 50%, #0a0a0a 100%);
  border: 4px solid #3d3b4d;
  border-bottom: 6px solid #000;
  border-radius: 16px 16px 0 0;
  padding: 16px 20px;
  box-shadow: 
    inset 0 0 20px rgba(255, 230, 0, 0.15),
    0 4px 12px rgba(0,0,0,0.8);
  text-align: center;
  overflow: hidden;
}

/* Tornillos de fijación retro */
.marquee-screw {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 35% 35%, #ddd 20%, #444 80%);
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.8);
}
.screw-tl { top: 8px; left: 12px; }
.screw-tr { top: 8px; right: 12px; }
.screw-bl { bottom: 8px; left: 12px; }
.screw-br { bottom: 8px; right: 12px; }

.marquee-sub {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--neon-cyan);
  text-shadow: 0 0 6px var(--neon-cyan);
  font-weight: bold;
  margin-bottom: 4px;
}

.marquee-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 6px;
  line-height: 1;
  text-transform: uppercase;
  margin: 4px 0 10px;
}

.word-bake {
  color: var(--neon-yellow);
  text-shadow: 
    3px 3px 0px #b38600,
    0 0 16px var(--neon-yellow-glow),
    0 0 32px var(--neon-yellow-glow);
}

.word-or {
  color: #fff;
  font-size: 0.6em;
  padding: 0 8px;
  vertical-align: middle;
  text-shadow: 2px 2px 0px #666;
}

.word-die {
  color: var(--neon-red);
  text-shadow: 
    3px 3px 0px #8b0018,
    0 0 16px var(--neon-red-glow),
    0 0 32px var(--neon-red-glow);
}

/* Fila de Bombillas de la Marquesina */
.marquee-lights {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.bulb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffec64;
  box-shadow: 0 0 8px #ffee55;
  animation: bulbBlink 1.4s infinite alternate ease-in-out;
}
.bulb:nth-child(even) {
  background: #ff5277;
  box-shadow: 0 0 8px #ff2a4b;
  animation-delay: 0.7s;
}

@keyframes bulbBlink {
  0% { opacity: 0.35; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.1); filter: brightness(1.3); }
}

/* 2. Bisel de la Pantalla (Bezel) */
.screen-bezel {
  padding: 16px 20px;
  background: radial-gradient(ellipse at center, #1b1926 0%, #0d0c14 100%);
  border-left: 6px solid #282637;
  border-right: 6px solid #282637;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   HUD RETRO SUPERIOR (HEADS-UP DISPLAY)
   ========================================================================== */

.arcade-hud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #09080e;
  border: 3px solid #2c2a3d;
  border-bottom: 4px solid var(--neon-yellow);
  padding: 10px 16px;
  border-radius: 8px 8px 0 0;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
  margin-bottom: 12px;
}

.hud-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #14131d;
  border: 2px solid #252433;
  padding: 6px 8px;
  border-radius: 4px;
}

.hud-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: #9390a8;
  font-weight: 700;
  margin-bottom: 4px;
}

.hud-value {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: bold;
  letter-spacing: 3px;
  font-family: 'Courier New', monospace;
}

.hud-stage .hud-value {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.hud-time .hud-value {
  color: var(--neon-yellow);
  text-shadow: 0 0 12px var(--neon-yellow-glow);
}

.hud-score .hud-value {
  color: #55ff88;
  text-shadow: 0 0 10px rgba(85, 255, 136, 0.5);
}

.hud-hiscore .hud-value {
  color: #ffaa33;
  text-shadow: 0 0 8px rgba(255, 170, 51, 0.5);
}

/* Alerta cuando queda poco tiempo */
.hud-time.danger-time .hud-value {
  color: var(--neon-red) !important;
  text-shadow: 0 0 15px var(--neon-red) !important;
  animation: alertPulse 0.4s infinite alternate;
}

@keyframes alertPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 8px var(--neon-red)); }
}

/* ==========================================================================
   VIEWPORT PRINCIPAL: CANVAS DE JUEGO + COMANDA LATERAL
   ========================================================================== */

.game-viewport {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 16px;
  background: #07070b;
  border: 4px solid #201e2c;
  border-radius: 8px;
  padding: 12px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.95);
}

/* Contenedor del Canvas de Juego */
.canvas-container {
  position: relative;
  width: 100%;
  aspect-ratio: 540 / 640;
  max-height: 640px;
  background: #0b0a11;
  border: 3px solid #312e45;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

#gameCanvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #0c0b12;
}

/* Filtro CRT Retro con Scanlines y Aberración */
.crt-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.4) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.04));
  background-size: 100% 3px, 6px 100%;
  box-shadow: 
    inset 0 0 60px rgba(0, 0, 0, 0.8),
    inset 0 0 10px rgba(0, 240, 255, 0.15);
  border-radius: 4px;
}

/* Notificación Flotante de Combo */
.float-banner {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(14, 13, 20, 0.95);
  border: 3px solid var(--neon-yellow);
  padding: 10px 18px;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--neon-yellow);
  text-shadow: 0 0 10px var(--neon-yellow-glow);
  box-shadow: 0 0 20px rgba(255, 230, 0, 0.4);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
}
.float-banner.hidden {
  opacity: 0;
  transform: translate(-50%, -70%) scale(0.8);
}

/* ==========================================================================
   PANEL LATERAL: "PEDIDO" (COMANDA RETRO)
   ========================================================================== */

.order-ticket {
  background: var(--ticket-paper);
  border: 3px dashed var(--ticket-border);
  box-shadow: 
    0 0 14px var(--neon-yellow-glow),
    inset 0 0 15px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  color: #fff;
}

.ticket-clip {
  width: 40px;
  height: 12px;
  background: #b0afbe;
  border: 2px solid #5a5966;
  border-radius: 4px;
  margin: -20px auto 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.ticket-header {
  text-align: center;
  border-bottom: 2px dashed #4b4731;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.ticket-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-yellow);
  background: #2b2816;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--neon-yellow);
  margin-bottom: 6px;
}

.ticket-title {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

/* Mini-temporizador de la Comanda (12 Segundos) */
.ticket-timer-container {
  margin-bottom: 12px;
  background: #11100b;
  padding: 8px;
  border: 1px solid #38341b;
  border-radius: 4px;
}

.ticket-timer-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #d1cda8;
  margin-bottom: 6px;
}

#ticket-timer-digits {
  color: var(--neon-yellow);
  font-size: 13px;
  font-family: 'Courier New', monospace;
}

.ticket-progress-bar {
  width: 100%;
  height: 10px;
  background: #272417;
  border: 1px solid #4a4529;
  border-radius: 3px;
  overflow: hidden;
}

.ticket-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #55ff88 0%, var(--neon-yellow) 70%, var(--neon-red) 100%);
  transition: width 0.1s linear;
}

.ticket-progress-fill.rush {
  background: var(--neon-red) !important;
  box-shadow: 0 0 8px var(--neon-red);
}

/* Vista previa del Pastel Solicitado */
.ticket-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0f0e15;
  border: 2px solid #2f2c3d;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 12px;
}

#recipeCanvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6));
}

/* Lista de Ingredientes */
.ticket-checklist {
  flex: 1;
  background: #121118;
  border: 2px solid #23212f;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.checklist-header {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: bold;
  color: #9a97ad;
  border-bottom: 1px dashed #343242;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.ingredients-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ingredient-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: #1a1824;
  border-left: 4px solid #ff4466;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.ingredient-item.completed {
  border-left-color: #55ff88;
  background: #12241b;
  text-decoration: none;
  color: #a3f7c2;
}

.ingredient-item.completed .item-check {
  color: #55ff88;
  text-shadow: 0 0 6px #55ff88;
}

.item-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-icon {
  font-size: 16px;
}

.item-counter {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: 1px;
}

/* Advertencia de Alimañas */
.ticket-hazard-warning {
  background: #260a0f;
  border: 2px solid var(--neon-red);
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: hazardBlink 1.2s infinite alternate;
}

@keyframes hazardBlink {
  0% { border-color: #8b0018; box-shadow: 0 0 4px rgba(255,42,75,0.2); }
  100% { border-color: var(--neon-red); box-shadow: 0 0 12px var(--neon-red-glow); }
}

.hazard-icon {
  font-size: 18px;
}

.hazard-text {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ff99aa;
  line-height: 1.3;
}

/* ==========================================================================
   BARRA DE CONTROLES ARCADE Y BOTONERA
   ========================================================================== */

.arcade-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #100f17;
  border: 3px solid #2a273a;
  border-top: 4px solid #3c3852;
  border-radius: 0 0 8px 8px;
  padding: 10px 16px;
  margin-top: 10px;
  gap: 12px;
}

.arcade-btn-group,
.arcade-actions {
  display: flex;
  gap: 10px;
}

.arcade-btn {
  background: linear-gradient(180deg, #3d3a52 0%, #1e1d29 100%);
  color: #fff;
  border: 2px solid #5a5675;
  border-bottom: 4px solid #14131c;
  padding: 8px 14px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
  transition: transform 0.05s, border-bottom 0.05s;
}

.arcade-btn:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
}

.arcade-btn-dir {
  background: linear-gradient(180deg, #ff9900 0%, #a85800 100%);
  border-color: #ffbe66;
  border-bottom-color: #663300;
  color: #fff;
  font-size: 14px;
}

.arcade-btn-action {
  background: linear-gradient(180deg, #00b4d8 0%, #0077b6 100%);
  border-color: #90e0ef;
  border-bottom-color: #03045e;
}

.control-help {
  font-size: 11px;
  color: #8c89a0;
  letter-spacing: 1px;
  text-align: center;
}

.key-tag {
  background: #252333;
  border: 1px solid #484461;
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--neon-yellow);
  font-weight: bold;
}

/* ==========================================================================
   PUERTA DE MONEDAS DEL GABINETE (COIN DOOR)
   ========================================================================== */

.cabinet-coin-door {
  background: #0a090e;
  border-top: 5px solid #201e2c;
  border-radius: 0 0 16px 16px;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coin-slot-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.coin-insert-text {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--neon-red);
  font-weight: 900;
  text-shadow: 0 0 6px var(--neon-red-glow);
  animation: insertCoinBlink 1s infinite steps(2, start);
}

@keyframes insertCoinBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.coin-slots {
  display: flex;
  gap: 8px;
}

.coin-chute, .coin-return {
  background: #1d1c24;
  border: 2px solid #3c3a4a;
  padding: 4px 8px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #828096;
  border-radius: 3px;
}

.cabinet-badge {
  font-size: 9px;
  letter-spacing: 2px;
  color: #555366;
  font-weight: bold;
}

/* ==========================================================================
   MODALES RETRO: DERROTA Y EASTER EGG
   ========================================================================== */

.game-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 5, 9, 0.88);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.game-modal.hidden {
  display: none !important;
}

/* Pantalla de Derrota */
.defeat-modal .defeat-content {
  background: radial-gradient(circle at center, #26050a 0%, #0d0103 100%);
  border: 5px solid var(--neon-red);
  border-radius: 12px;
  padding: 30px 24px;
  max-width: 580px;
  width: 100%;
  text-align: center;
  box-shadow: 
    0 0 35px var(--neon-red-glow),
    inset 0 0 30px rgba(0,0,0,0.9);
  position: relative;
  animation: modalShake 0.4s ease-out;
}

@keyframes modalShake {
  0% { transform: scale(0.8) translateY(-20px); opacity: 0; }
  60% { transform: scale(1.05) translateY(5px); opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}

.skull-pixel {
  font-size: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 10px var(--neon-red));
}

.defeat-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 3px 3px 0px #8b0018, 0 0 20px var(--neon-red);
  margin-bottom: 14px;
}

/* Cita Célebre de Impacto Solicitada por el Usuario */
.defeat-quote-box {
  background: #110003;
  border: 2px dashed #ff4466;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 6px;
}

.defeat-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 900;
  color: var(--neon-red);
  letter-spacing: 2px;
  line-height: 1.4;
  text-shadow: 0 0 12px var(--neon-red-glow);
  text-transform: uppercase;
}

.defeat-reason {
  color: #ff99aa;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.defeat-stats {
  background: #180508;
  border: 1px solid #4a0c16;
  border-radius: 6px;
  padding: 12px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #e0d0d4;
  letter-spacing: 1px;
}

.stat-row strong {
  color: var(--neon-yellow);
  font-family: 'Courier New', monospace;
  font-size: 15px;
}

.arcade-btn-large {
  font-size: 16px;
  padding: 14px 28px;
  background: linear-gradient(180deg, #ff2a4b 0%, #b80020 100%);
  border-color: #ff8598;
  border-bottom-color: #5c000f;
  color: #fff;
  letter-spacing: 3px;
  font-weight: 900;
}

.pulse-btn {
  animation: btnGlowPulse 1s infinite alternate;
}

@keyframes btnGlowPulse {
  0% { box-shadow: 0 0 10px rgba(255, 42, 75, 0.4); transform: scale(1); }
  100% { box-shadow: 0 0 25px rgba(255, 42, 75, 0.85); transform: scale(1.03); }
}

/* ==========================================================================
   EASTER EGG MODAL: "LINKIDX"
   ========================================================================== */

.easter-egg-modal .easter-egg-box {
  background: radial-gradient(circle at center, #1b1633 0%, #090714 100%);
  border: 5px solid var(--neon-yellow);
  border-radius: 12px;
  padding: 30px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 
    0 0 40px var(--neon-yellow-glow),
    inset 0 0 30px rgba(0, 0, 0, 0.9);
  position: relative;
  animation: easterGlitch 0.5s ease;
}

@keyframes easterGlitch {
  0% { transform: scale(0.6) rotate(-3deg); filter: hue-rotate(90deg); }
  50% { transform: scale(1.1) rotate(2deg); filter: hue-rotate(-90deg); }
  100% { transform: scale(1) rotate(0deg); filter: none; }
}

.easter-egg-stars {
  font-size: 20px;
  color: var(--neon-yellow);
  letter-spacing: 8px;
  margin-bottom: 8px;
  text-shadow: 0 0 10px var(--neon-yellow);
}

.easter-egg-tag {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px var(--neon-cyan);
  margin-bottom: 12px;
}

.easter-egg-banner {
  background: #0f0a20;
  border: 3px dashed var(--neon-yellow);
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 8px;
}

.easter-egg-author {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1.3;
}

.easter-egg-author .aka {
  font-size: 0.65em;
  color: #bbb;
  font-weight: normal;
}

.glitch-author {
  color: var(--neon-yellow);
  text-shadow: 
    2px 2px 0px #ff0055,
    -2px -2px 0px #00f0ff,
    0 0 15px var(--neon-yellow-glow);
}

.easter-egg-desc {
  font-size: 13px;
  color: #c9c3e0;
  margin-bottom: 16px;
}

.easter-egg-chef-art {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

#easterEggCanvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 0 12px rgba(255, 230, 0, 0.7));
}

.easter-egg-buff {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #55ff88;
  text-shadow: 0 0 8px #55ff88;
  margin-bottom: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET Y MÓVIL)
   ========================================================================== */

@media (max-width: 820px) {
  .game-viewport {
    grid-template-columns: 1fr;
  }
  
  .order-ticket {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .ticket-header, .ticket-timer-container, .ticket-checklist {
    flex: 1 1 45%;
  }

  .ticket-hazard-warning {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .arcade-hud {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .marquee-title {
    font-size: 1.8rem;
    letter-spacing: 3px;
  }
}
