/* slot2.css - Sleek, Compact & Fully Mobile Responsive HTML5 Canvas Slot Engine */

.slot-container-wrapper {
  background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.2) 0%, rgba(15, 28, 27, 0.98) 100%);
  border: 1px solid var(--emerald-light);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.9), 0 0 35px var(--emerald-glow);
  position: relative;
  overflow: hidden;
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
}

.slot-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.slot-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slot-title-box svg {
  width: 26px;
  height: 26px;
  fill: var(--gold-accent);
  filter: drop-shadow(0 0 6px var(--gold-accent));
}

.slot-title-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.slot-stats-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.stat-pill {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 90px;
}

.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  font-weight: 700;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--emerald-light);
}

.stat-value.gold {
  color: var(--gold-light);
}

/* Responsive Canvas Stage */
.canvas-stage-wrapper {
  position: relative;
  width: 100%;
  height: clamp(230px, 45vh, 340px);
  background: #030707;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--emerald-primary);
  box-shadow: inset 0 0 35px rgba(0,0,0,0.95), 0 0 15px var(--emerald-glow);
  overflow: hidden;
}

#slotCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Compact Controls Footer */
.slot-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin-top: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.bet-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bet-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.bet-btn:hover {
  border-color: var(--emerald-primary);
  color: var(--emerald-light);
  background: var(--bg-card);
}

.bet-display {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  min-width: 50px;
  text-align: center;
}

.spin-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-spin {
  padding: 0.75rem 2.25rem;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold-accent) 0%, #b45309 100%);
  color: #000;
  font-weight: 800;
  border: 1px solid var(--gold-light);
  cursor: pointer;
  box-shadow: 0 0 20px var(--gold-glow);
  transition: all var(--transition-fast);
}

.btn-spin:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 100%);
}

.btn-spin:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-autospin {
  padding: 0.75rem 1.15rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-autospin:hover {
  border-color: var(--emerald-primary);
  color: var(--emerald-light);
}

.btn-autospin.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald-primary);
  color: var(--emerald-light);
}

/* Paylines Info Line */
.paylines-info {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

.paylines-disclaimer {
  display: block;
  margin-top: 0.4rem;
  padding: 0.45rem 0.75rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  font-size: 0.82rem;
}

.paylines-disclaimer strong {
  color: var(--emerald-light);
}

/* Game Start Overlay with Generated Cover Image Background */
.game-disclaimer-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(7, 13, 13, 0.45) 0%, rgba(7, 13, 13, 0.85) 100%), url('../images/slot_play_cover.webp') center/cover no-repeat;
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  border-radius: var(--radius-xl);
}

.game-play-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1.1rem 2.8rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-accent) 0%, #b45309 100%);
  color: #000;
  border: 2px solid var(--gold-light);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.8), 0 0 60px rgba(16, 185, 129, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: playPulse 2s infinite;
}

.game-play-start-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #fef08a 0%, var(--gold-accent) 100%);
}

.game-play-start-btn svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

@keyframes playPulse {
  0% { box-shadow: 0 0 25px rgba(245, 158, 11, 0.7); }
  50% { box-shadow: 0 0 45px rgba(245, 158, 11, 1), 0 0 25px rgba(52, 211, 153, 0.8); }
  100% { box-shadow: 0 0 25px rgba(245, 158, 11, 0.7); }
}

/* Sound Toggle */
.sound-toggle-btn {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.sound-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
}

/* Slot Disclaimer Banner */
.slot-disclaimer-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-left: 4px solid var(--emerald-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin: 0 auto 1.5rem auto;
  max-width: 880px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slot-disclaimer-banner .disclaimer-icon {
  flex-shrink: 0;
  fill: var(--emerald-light);
  margin-top: 2px;
}

.slot-disclaimer-banner strong {
  color: #ffffff;
}

/* MOBILE SLOT ENGINE RESPONSIVE STYLES */
@media (max-width: 768px) {
  .slot-container-wrapper { padding: 1rem 0.85rem; border-radius: var(--radius-lg); }
  .slot-header-bar { flex-direction: column; align-items: stretch; text-align: center; gap: 0.5rem; }
  .slot-title-box { justify-content: center; }
  .slot-stats-group { justify-content: center; width: 100%; }
  .stat-pill { min-width: 75px; padding: 0.25rem 0.5rem; align-items: center; }
  .slot-controls-bar { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .bet-controls, .spin-actions { justify-content: center; width: 100%; }
  .btn-spin { width: 100%; padding: 0.85rem 1.5rem; }
  .btn-autospin { width: 100%; }
  .game-play-start-btn { padding: 0.95rem 2rem; font-size: 1.15rem; }
  .slot-disclaimer-banner { font-size: 0.82rem; padding: 0.75rem 1rem; margin-bottom: 1rem; }
}

