/* MERGE-BLOCK: casino.css — casino sfeer & UI */
.casino-floor {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.08), transparent 55%);
}

#game-wrap > .gamble-overlay,
#game-wrap > .jackpot-modal {
  z-index: 50;
}

.casino-neon-bar {
  position: absolute;
  top: calc(4px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 18;
  pointer-events: none;
  opacity: 0.85;
}

.neon-text {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: rgba(253, 230, 138, 0.75);
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.45);
  animation: neon-pulse 3s ease-in-out infinite;
}

@keyframes neon-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hud-jackpot .hud-value {
  color: #fcd34d;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.45);
  font-size: clamp(12px, 3.5vw, 16px);
}

.hud-vip-wrap .hud-value {
  font-size: clamp(11px, 3vw, 14px);
  font-weight: 800;
}

.casino-lobby-banner {
  margin-bottom: 16px;
  padding: 16px;
  border-color: rgba(251, 191, 36, 0.25);
  background: linear-gradient(135deg, rgba(26, 10, 46, 0.9), rgba(15, 23, 42, 0.85));
}

.lobby-tagline {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fde68a;
  line-height: 1.4;
}

.lobby-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lobby-perks span {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: rgba(253, 230, 138, 0.9);
}

/* —— Casino vloer tegels —— */
.casino-floor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
  padding: 14px;
  border-radius: 20px;
  background-color: #0a0612;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(251, 191, 36, 0.04) 47px,
      rgba(251, 191, 36, 0.04) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(251, 191, 36, 0.04) 47px,
      rgba(251, 191, 36, 0.04) 48px
    ),
    radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.12), transparent 55%);
  border: 1px solid rgba(251, 191, 36, 0.15);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
}

.floor-hint {
  margin: 14px 4px 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.floor-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 148px;
  padding: 16px 12px 14px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  color: #f8fafc;
  background: linear-gradient(165deg, var(--tile-light) 0%, var(--tile-frame) 45%, #050010 100%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -8px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  touch-action: manipulation;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.floor-tile-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14) 0%,
    transparent 42%,
    transparent 100%
  );
  pointer-events: none;
}

.floor-tile::after {
  content: '';
  position: absolute;
  inset: auto 8px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--tile-accent);
  opacity: 0.55;
  box-shadow: 0 0 12px var(--tile-accent);
  transition: opacity 0.2s ease, height 0.2s ease;
}

.floor-tile-icon {
  font-size: 2.35rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
  z-index: 1;
}

.floor-tile-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  z-index: 1;
}

.floor-tile-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--tile-accent);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.floor-tile-desc {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  z-index: 1;
}

.floor-tile-live {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.22);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.25);
  z-index: 2;
}

.floor-tile:hover,
.floor-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.45),
    0 0 24px color-mix(in srgb, var(--tile-accent) 35%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  outline: none;
}

.floor-tile:hover::after,
.floor-tile:focus-visible::after {
  opacity: 0.9;
  height: 4px;
}

.floor-tile:active {
  transform: translateY(-1px) scale(0.98);
}

.floor-tile.active {
  border-color: rgba(251, 191, 36, 0.65);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(251, 191, 36, 0.35),
    0 0 28px rgba(251, 191, 36, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.floor-tile.active::after {
  opacity: 1;
  height: 5px;
  background: #fbbf24;
}

@media (min-width: 520px) {
  .casino-floor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .floor-tile {
    min-height: 160px;
  }
}

.gamble-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 0, 16, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gamble-overlay.hidden { display: none; }

.gamble-card {
  width: min(340px, 100%);
  padding: 24px 20px 16px;
  border-radius: 20px;
  border: 2px solid rgba(251, 191, 36, 0.5);
  background: rgba(26, 10, 46, 0.96);
  box-shadow: 0 0 48px rgba(251, 191, 36, 0.25);
  text-align: center;
  animation: gamble-in 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes gamble-in {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.gamble-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fde68a;
  letter-spacing: 0.05em;
}

.gamble-amount {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: #86efac;
}

.gamble-hint {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-secondary);
}

.gamble-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gamble-actions .btn { min-height: 48px; font-size: 15px; }

.gamble-timer {
  margin-top: 14px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.gamble-timer-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #fbbf24, #ef4444);
  transform-origin: left center;
}

.jackpot-modal {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.5);
}

.jackpot-modal.hidden { display: none; }

.jackpot-modal-inner {
  padding: 28px 36px;
  border-radius: 20px;
  border: 3px solid #fbbf24;
  background: linear-gradient(180deg, #4c1d95, #1a0533);
  box-shadow: 0 0 60px rgba(251, 191, 36, 0.5);
  animation: jackpot-pop 0.5s cubic-bezier(0.34, 1.5, 0.64, 1);
  text-align: center;
}

@keyframes jackpot-pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.jackpot-modal-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #fde68a;
  letter-spacing: 0.08em;
}

.jackpot-modal-amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
}

.bj-action-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 16px 10px;
  pointer-events: auto;
}

.bj-btn {
  flex: 1;
  max-width: 120px;
  min-height: 52px !important;
  font-size: 13px !important;
}

.bj-bet-label {
  font-size: 12px;
  color: var(--text-secondary);
  align-self: center;
  pointer-events: none;
}

.coin-chip { min-width: 120px; }

.coin-chip-face {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: -3px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35), 0 1px 3px rgba(0, 0, 0, 0.35);
}

.coin-chip-face.heads {
  background: radial-gradient(circle at 32% 28%, #fef3c7, #fbbf24 55%, #b45309);
  border: 1.5px solid #fde68a;
  position: relative;
}

.coin-chip-face.heads::after {
  content: '♔';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #78350f;
  line-height: 1;
}

.coin-chip-face.tails {
  background: radial-gradient(circle at 32% 28%, #f8fafc, #94a3b8 55%, #475569);
  border: 1.5px solid #e2e8f0;
  position: relative;
}

.coin-chip-face.tails::after {
  content: '€';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}

.bet-chip.active .coin-chip-face.heads {
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.bet-chip.active .coin-chip-face.tails {
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.45);
}

#game-hud {
  flex-wrap: wrap;
}

.hud-pill {
  max-width: 100px;
  min-width: 72px;
}

@media (max-width: 380px) {
  .casino-neon-bar { display: none; }
  .hud-pill { min-width: 64px; max-width: 88px; }
}
/* END-MERGE-BLOCK */
