/* ============================================================
   GATES OF OLYMPUS™ - OFFICIAL PRAGMATIC PLAY WEBGL STYLING
   Clean Luxury Aesthetic, Anti-Slop Typography & Hardware UI
   ============================================================ */

:root {
  --gold: #f5c518;
  --gold-light: #fff8d1;
  --gold-glow: #ffd700;
  --gold-dark: #b8860b;
  --gold-bronze: #854d0e;
  --cyan: #00f0ff;
  --blue: #38bdf8;
  --green: #10b981;
  --emerald: #059669;
  --red: #ef4444;
  --ruby: #e11d48;
  --purple: #8b5cf6;
  --dark-bg: #070211;
  --cockpit-bg: rgba(9, 3, 20, 0.95);
  --glass-border: rgba(245, 197, 24, 0.35);
  --ink: #ffffff;
  --ink-dim: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #05010b;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  touch-action: manipulation;
}

/* ============================================================
   FULLSCREEN WEBGL CANVAS CONTAINER
   ============================================================ */
#webgl-canvas-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  background: #05010b;
}

#webgl-canvas-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   TOP NAVIGATION BAR
   ============================================================ */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(12, 5, 25, 0.98) 0%, rgba(12, 5, 25, 0.7) 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.brand-badge .icon-bolt {
  font-size: 15px;
  animation: boltFlicker 2s infinite ease-in-out;
}

@keyframes boltFlicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.user-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 12, 40, 0.85);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  white-space: nowrap;
}

.user-status-pill .user-name {
  color: #e2e8f0;
  font-weight: 600;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-status-pill .user-bal {
  color: #34d399;
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* PROMINENT ALWAYS-VISIBLE TARIK SALDO BUTTON */
.btn-nav-cashier {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1.5px solid #34d399;
  border-radius: 18px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4), 0 0 10px rgba(52, 211, 153, 0.3);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: transform 0.15s ease;
}

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

.btn-sys-round {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-sys-round:active {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0.92);
}

/* ============================================================
   SIDE FEATURE CONTROLS (BUY FREE SPINS & ANTE BET)
   Desktop: Left sidebar
   Mobile: Upper left corner (never touches Zeus or Reels)
   ============================================================ */
.side-features-container {
  position: fixed;
  left: 8px;
  top: 48px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 96px;
}

@media (min-width: 861px) {
  .side-features-container {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 125px;
    gap: 12px;
  }
}

.btn-feature-card {
  width: 100%;
  background: #140b26;
  border: 1px solid #ffd700;
  border-radius: 6px;
  padding: 3px 5px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: transform 0.12s ease;
}

.btn-feature-card:active {
  transform: scale(0.96);
}

.btn-feature-card.buy-fs {
  background: #1e0938;
  border-color: #ffd700;
}

.btn-feature-card.buy-fs .feature-title {
  color: #ffd700;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.3px;
  margin-bottom: 1px;
}

.btn-feature-card.buy-fs .feature-cost {
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
}

.btn-feature-card.ante-bet {
  background: #0d1527;
  border-color: #38bdf8;
}

.btn-feature-card.ante-bet.active {
  border-color: #10b981;
  background: #064e3b;
}

.btn-feature-card.ante-bet .feature-title {
  color: #38bdf8;
  font-size: 8px;
  font-weight: 900;
}

.btn-feature-card.ante-bet.active .feature-title {
  color: #34d399;
}

.btn-feature-card.ante-bet .feature-desc {
  font-size: 7.5px;
  color: #94a3b8;
  margin-top: 1px;
}

@media (max-width: 860px) {
  .btn-feature-card.ante-bet .feature-desc {
    display: none;
  }
}

/* HIDE FEATURE CONTROLS DURING FREE SPINS ROUNDS */
body.in-free-spins .side-features-container {
  display: none !important;
}

/* ============================================================
   FREE SPINS HUD HEADER BANNER
   ============================================================ */
.fs-hud-banner {
  position: fixed;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  display: none;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.95) 0%, rgba(136, 19, 55, 0.95) 100%);
  border: 1.5px solid #ffd700;
  border-radius: 25px;
  padding: 5px 16px;
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.6), 0 0 15px rgba(255, 215, 0, 0.4);
  animation: pulseFsBanner 1.5s infinite alternate ease-in-out;
  white-space: nowrap;
}

.fs-hud-banner.active {
  display: flex;
}

@keyframes pulseFsBanner {
  0% { transform: translateX(-50%) scale(0.98); }
  100% { transform: translateX(-50%) scale(1.02); }
}

.fs-hud-title {
  font-size: 11px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.fs-hud-count {
  font-size: 13.5px;
  font-weight: 900;
  color: #ffd700;
}

.fs-hud-mult {
  font-size: 11.5px;
  font-weight: 900;
  color: #00f0ff;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 10px;
}

/* ============================================================
   AUTHENTIC PRAGMATIC PLAY BOTTOM COCKPIT
   ============================================================ */
.bottom-cockpit {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #090314;
  border-top: 1.5px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.9);
}

.cockpit-left-cluster {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  background: rgba(22, 10, 42, 0.7);
  min-width: 86px;
  max-width: 106px;
  flex-shrink: 0;
}

.cockpit-left-cluster:active {
  background: rgba(255, 215, 0, 0.15);
  border-color: #ffd700;
}

.cockpit-data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  line-height: 1.2;
}

.cockpit-lbl {
  color: #94a3b8;
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.cockpit-val {
  color: #ffffff;
  font-weight: 900;
  font-size: 10.5px;
  letter-spacing: 0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cockpit-val.gold {
  color: #ffd700;
}

/* CENTER WIN DISPLAY */
.cockpit-center-win {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  flex: 1;
  min-width: 0;
}

.win-banner-title {
  font-size: 8px;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: 1px;
  white-space: nowrap;
}

.win-banner-val {
  font-size: 12px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 0.3px;
  min-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* RIGHT CONTROLS CLUSTER (SPIN & BET STEPPERS & MAX BET) */
.cockpit-spin-cluster {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.btn-max-bet {
  background: #b45309;
  border: 1px solid #ffd700;
  border-radius: 6px;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 900;
  padding: 4px 5px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: transform 0.1s ease;
  white-space: nowrap;
}

.btn-max-bet:active {
  transform: scale(0.92);
  background: #ffd700;
  color: #000;
}

.btn-step-round {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #180b2a;
  border: 1px solid #ffd700;
  color: #ffd700;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.btn-step-round:active {
  transform: scale(0.9);
  background: #ffd700;
  color: #000;
}

/* PRAGMATIC PLAY CIRCULAR SPIN BUTTON */
.btn-pragmatic-spin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffd700 0%, #b45309 80%, #78350f 100%);
  border: 2px solid #fff8d1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
  padding: 2px;
}

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

.spin-inner-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #20083b 0%, #0e021a 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.spin-arrow-svg {
  width: 24px;
  height: 24px;
  fill: #ffd700;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
  transition: transform 0.5s ease;
}

.btn-pragmatic-spin.spinning .spin-arrow-svg {
  animation: spinRotate 0.5s linear infinite;
}

@keyframes spinRotate {
  to { transform: rotate(360deg); }
}

/* ============================================================
   CUSTOM BET SELECTOR MODAL
   ============================================================ */
.bet-modal-box {
  width: 100%;
  max-width: 380px;
  background: #140b28;
  border: 2px solid #ffd700;
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 215, 0, 0.3);
}

.bet-modal-title {
  font-size: 15px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.bet-input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #090414;
  border: 1.5px solid #ffd700;
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 14px;
}

.bet-currency-prefix {
  font-size: 16px;
  font-weight: 900;
  color: #ffd700;
}

.bet-modal-input {
  width: 180px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
}

.quick-chips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.chip-btn {
  background: #1f1038;
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 8px;
  color: #ffd700;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 4px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.chip-btn:active {
  background: #ffd700;
  color: #120324;
  transform: scale(0.95);
}

.chip-btn.chip-max {
  grid-column: span 2;
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  color: #ffffff;
  border-color: #ffd700;
  font-weight: 900;
}

.bet-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-apply-bet {
  width: 100%;
  padding: 11px 0;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid #34d399;
  border-radius: 10px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 900;
  cursor: pointer;
}

.btn-close-bet-modal {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px;
}

/* ============================================================
   MAGNIFICENT PRAGMATIC-STYLE WIN CELEBRATION (SENSATIONAL!)
   ============================================================ */
.big-win-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(30, 8, 55, 0.95) 0%, rgba(5, 1, 12, 0.98) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.big-win-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.sunburst-rays {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 215, 0, 0.15) 0deg 15deg,
    transparent 15deg 30deg
  );
  animation: rotateRays 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes rotateRays {
  to { transform: rotate(360deg); }
}

.big-win-card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.big-win-overlay.show .big-win-card {
  transform: scale(1);
}

.big-win-title {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #ffd700 45%, #b45309 85%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8)) drop-shadow(0 6px 15px rgba(0, 0, 0, 0.9));
  animation: pulseWinTitle 1s ease-in-out infinite alternate;
}

@keyframes pulseWinTitle {
  0% { transform: scale(0.96); filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.7)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 35px rgba(255, 215, 0, 1)); }
}

.big-win-amount {
  font-size: 38px;
  font-weight: 900;
  color: #34d399;
  margin-top: 12px;
  text-shadow: 0 0 25px rgba(52, 211, 153, 0.9), 0 4px 10px rgba(0, 0, 0, 0.9);
  letter-spacing: 1px;
}

.big-win-tap-hint {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  margin-top: 18px;
  letter-spacing: 1px;
  opacity: 0.8;
  animation: blinkHint 1.2s infinite alternate;
}

@keyframes blinkHint {
  from { opacity: 0.4; }
  to { opacity: 0.9; }
}

/* ============================================================
   FREE SPINS MODALS
   ============================================================ */
.fs-intro-modal, .fs-outro-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(35, 10, 65, 0.96) 0%, rgba(6, 1, 15, 0.98) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.fs-intro-modal.show, .fs-outro-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.fs-modal-box {
  width: 100%;
  max-width: 400px;
  background: #140a2a;
  border: 2px solid #ffd700;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 215, 0, 0.35);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.fs-intro-modal.show .fs-modal-box, .fs-outro-modal.show .fs-modal-box {
  transform: scale(1);
}

.fs-laurel-badge {
  font-size: 48px;
  margin-bottom: 10px;
}

.fs-modal-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.fs-modal-subtitle {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
}

.fs-modal-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 20px;
}

.fs-modal-desc b {
  color: #38bdf8;
}

.fs-modal-win-amt {
  font-size: 30px;
  font-weight: 900;
  color: #34d399;
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.8);
  margin-bottom: 20px;
}

.btn-fs-start {
  width: 100%;
  padding: 12px 0;
  background: radial-gradient(circle at 50% 30%, #ffd700 0%, #b45309 100%);
  border: 1.5px solid #fff8d1;
  border-radius: 12px;
  color: #16062b;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
}

/* ============================================================
   CASHIER / WITHDRAW MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cashier-box {
  width: 100%;
  max-width: 390px;
  background: #140d28;
  border: 1.5px solid #ffd700;
  border-radius: 18px;
  padding: 22px 18px;
  color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 215, 0, 0.3);
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal-overlay.show .cashier-box {
  transform: scale(1);
}

.cashier-title {
  font-size: 16px;
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 14px;
}

.cashier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
}

.cashier-row span {
  color: #94a3b8;
}

.cashier-row b {
  color: #f8fafc;
  font-weight: 700;
}

.cashier-row b.gold {
  color: #ffd700;
}

.cashier-row b.green {
  color: #34d399;
}

.cashier-input-group {
  margin: 12px 0 8px;
  text-align: left;
}

.cashier-input-lbl {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
}

.cashier-input {
  width: 100%;
  padding: 9px 12px;
  background: #090614;
  border: 1.5px solid #ffd700;
  border-radius: 8px;
  color: #ffd700;
  font-size: 15px;
  font-weight: 900;
  outline: none;
  text-align: center;
}

.cashier-desc {
  font-size: 11px;
  color: #94a3b8;
  margin: 10px 0 16px;
  line-height: 1.4;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 8px 10px;
}

.btn-withdraw-now {
  width: 100%;
  padding: 11px 0;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1.5px solid #34d399;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  margin-bottom: 8px;
}

.btn-withdraw-now:active {
  transform: scale(0.98);
}

.btn-cancel-refund {
  width: 100%;
  padding: 9px 0;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  border-radius: 10px;
  color: #fca5a5;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 8px;
}

.btn-close-modal {
  width: 100%;
  padding: 7px 0;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.frame-loader {
  position: fixed;
  inset: 0;
  background: #080410;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity 0.5s ease;
}

.frame-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 215, 0, 0.2);
  border-top-color: #ffd700;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 14px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-title {
  font-size: 14px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 1px;
}

.loader-subtitle {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 5px;
}

/* ============================================================
   RESPONSIVE DESIGN (IPHONE PORTRAIT SPECIFICS)
   Strict non-overlapping layout:
   - Cards stay on upper left (x=8px, y=48px, width 105px)
   - Zeus stands on cloud at upper right (feet at y=200px, x=w-75px, full body visible!)
   - Reels grid starts cleanly at y=205px down to bottom cockpit
   ============================================================ */
@media (max-width: 860px) {
  .side-features-container {
    left: 8px;
    top: 48px;
    transform: none;
    flex-direction: column;
    width: 104px;
    gap: 4px;
  }

  .btn-feature-card {
    padding: 4px 6px;
    border-radius: 8px;
  }

  .btn-feature-card .feature-title {
    font-size: 8.5px;
  }

  .btn-feature-card .feature-cost {
    font-size: 9.5px;
  }

  .btn-feature-card.ante-bet .feature-desc {
    display: none;
  }

  .bottom-cockpit {
    height: 64px;
    padding: 0 10px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .cockpit-val {
    font-size: 11.5px;
  }

  .win-banner-val {
    font-size: 13.5px;
  }

  .btn-pragmatic-spin {
    width: 48px;
    height: 48px;
  }

  .btn-step-round {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .btn-max-bet {
    padding: 5px 6px;
    font-size: 9.5px;
  }

  .big-win-title {
    font-size: 32px;
  }

  .big-win-amount {
    font-size: 26px;
  }
}
