/* ============================================================
   NigeriaFunClub — Fortune Reels (Slot) Stylesheet
   ============================================================ */

.slot-page {
  background: radial-gradient(ellipse at 30% 0%, #2D1B69 0%, transparent 50%),
              radial-gradient(ellipse at 70% 100%, #0d3320 0%, transparent 50%),
              linear-gradient(180deg, #0d0520 0%, #100825 100%);
  min-height: 100vh;
}

/* ── Game Header ── */
.slot-game-header {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 90px 24px 0;
  max-width: 1400px; margin: 0 auto;
}
.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.25);
  color: var(--gold); padding: 10px 18px;
  border-radius: 50px; font-size: 0.85rem;
  font-weight: 600; text-decoration: none;
  transition: var(--transition);
}
.btn-back:hover { background: rgba(255,215,0,0.15); }
.slot-game-title-wrap { text-align: center; flex: 1; }
.slot-game-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.5);
  margin-bottom: 4px;
}
.slot-game-title i { font-size: 0.8em; }
.slot-game-sub { color: var(--text-muted); font-size: 0.82rem; }
.slot-free-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,200,83,0.15);
  border: 1px solid rgba(0,200,83,0.4);
  color: var(--green-light);
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700;
}

/* ── Notice Bar ── */
.slot-notice-bar {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,135,81,0.1);
  border: 1px solid rgba(0,135,81,0.3);
  border-radius: var(--radius-md);
  margin: 16px 24px;
  padding: 10px 20px;
  max-width: 1352px; margin-left: auto; margin-right: auto;
  font-size: 0.82rem; color: var(--text-light);
}
.slot-notice-bar i { color: var(--green-light); flex-shrink: 0; }
.slot-notice-bar strong { color: var(--green-light); }

/* ── Arena Layout ── */
.slot-main { padding-bottom: 40px; }
.slot-arena {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: start;
}

/* ── Panels ── */
.slot-panel { display: flex; flex-direction: column; gap: 16px; }
.panel-card {
  background: rgba(45,27,105,0.4);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
}
.panel-title {
  font-family: var(--font-heading);
  font-size: 0.88rem; font-weight: 700;
  color: var(--gold); margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(255,215,0,0.15);
  padding-bottom: 8px;
}
.win-table { list-style: none; }
.win-table li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.82rem;
}
.win-table li:last-child { border-bottom: none; }
.wt-syms { font-size: 0.75rem; }
.wt-mult { color: var(--gold); font-weight: 700; font-size: 0.8rem; }
.wt-any .wt-syms { color: var(--text-muted); font-style: italic; font-size: 0.7rem; }
.session-stats {}
.ss-row {
  display: flex; justify-content: space-between;
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.82rem; color: var(--text-muted);
}
.ss-row:last-child { border: none; }
.ss-row span:last-child { color: var(--gold); font-weight: 600; }
.recent-spins { max-height: 260px; overflow-y: auto; }
.no-spins-msg { color: var(--text-muted); font-size: 0.78rem; text-align: center; padding: 16px 0; }
.spin-record {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.78rem;
}
.spin-record .syms { font-size: 0.9rem; letter-spacing: 2px; }
.spin-record .result { font-weight: 700; }
.spin-record .result.won { color: var(--gold); }
.spin-record .result.lost { color: rgba(255,100,100,0.7); }
.panel-free { background: rgba(0,135,81,0.12); border-color: rgba(0,135,81,0.3); }
.daily-bonus-box { text-align: center; }
.daily-bonus-icon { font-size: 2.5rem; margin-bottom: 8px; }
.daily-bonus-text { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 12px; line-height: 1.5; }
.btn-daily-claim {
  width: 100%; padding: 10px;
  background: linear-gradient(135deg, var(--green-ng), var(--green-mid));
  border: none; border-radius: 50px;
  color: white; font-weight: 700; font-size: 0.82rem;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-daily-claim:hover { transform: scale(1.03); box-shadow: 0 4px 16px rgba(0,200,83,0.4); }

/* ── Slot Machine ── */
.slot-machine-wrap { position: relative; }
.slot-machine {
  background: linear-gradient(180deg, #3a2070 0%, #2a1560 30%, #1e0f4a 100%);
  border: 3px solid var(--gold);
  border-radius: 24px;
  padding: 16px 20px 20px;
  box-shadow:
    0 0 40px rgba(255,215,0,0.25),
    0 0 80px rgba(45,27,105,0.5),
    inset 0 0 30px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.slot-machine::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 30px,
    rgba(255,255,255,0.015) 30px, rgba(255,255,255,0.015) 31px
  );
  pointer-events: none;
}

/* Lights */
.slot-lights {
  display: flex; gap: 6px;
  justify-content: center;
  padding: 8px 0;
  flex-wrap: wrap;
}
.slot-lights-bottom { padding: 8px 0 4px; }
.sl {
  width: 12px; height: 12px; border-radius: 50%;
  animation: lightBlink 1.5s infinite;
}
.sl.r { background: #FF4444; box-shadow: 0 0 8px #FF4444; }
.sl.y { background: #FFD700; box-shadow: 0 0 8px #FFD700; animation-delay: 0.3s; }
.sl.g { background: #00E676; box-shadow: 0 0 8px #00E676; animation-delay: 0.6s; }
@keyframes lightBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.slot-lights.active .sl { animation-duration: 0.2s !important; }

/* Top label */
.slot-top-label {
  text-align: center; margin-bottom: 12px;
  padding: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  border: 1px solid rgba(255,215,0,0.2);
}
.slot-title-text {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255,215,0,0.6);
  letter-spacing: 2px;
}

/* Balance Bar */
.slot-balance-bar {
  display: flex; justify-content: space-between;
  gap: 8px; margin-bottom: 12px;
}
.balance-item {
  flex: 1; background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 10px; padding: 10px;
  text-align: center;
}
.balance-label {
  font-size: 0.7rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 4px; display: flex; align-items: center;
  justify-content: center; gap: 4px;
}
.balance-label i { color: var(--gold); }
.balance-value {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 900;
  color: var(--white);
}
.balance-value.bet-value { color: #FFB300; }
.balance-value.win-value { color: #00E676; }

/* Reels */
.slot-reels-container { margin-bottom: 14px; }
.slot-reels-frame {
  background: #0a0320;
  border: 3px solid rgba(255,215,0,0.3);
  border-radius: 14px;
  padding: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}
.reel-scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.15) 3px, rgba(0,0,0,0.15) 4px
  );
}
.win-line-indicator {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px; z-index: 6;
  transform: translateY(-50%);
  background: rgba(255,215,0,0);
  transition: background 0.3s;
}
.win-line-indicator.active {
  background: rgba(255,215,0,0.7);
  box-shadow: 0 0 10px rgba(255,215,0,0.8);
}
.reels-wrapper {
  display: flex; gap: 0;
  align-items: stretch;
}
.reel-divider { width: 3px; background: rgba(255,215,0,0.15); flex-shrink: 0; }
.reel-col {
  flex: 1; overflow: hidden;
  height: 160px;
  position: relative;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0) 20%,
    rgba(0,0,0,0) 80%,
    rgba(0,0,0,0.6) 100%
  );
}
.reel-strip {
  display: flex; flex-direction: column;
  transition: transform 0.1s linear;
}
.reel-symbol {
  height: 160px; width: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}
.reel-symbol.win-symbol {
  animation: symbolWin 0.4s ease infinite;
}
@keyframes symbolWin {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.15); filter: brightness(1.5) drop-shadow(0 0 10px gold); }
}

/* Win Message */
.slot-win-message {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 20;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
}
.slot-win-message.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.win-msg-inner {
  background: linear-gradient(135deg, rgba(20,5,50,0.95), rgba(45,27,105,0.95));
  border: 3px solid var(--gold);
  border-radius: 16px; padding: 20px 32px;
  text-align: center;
  box-shadow: 0 0 40px rgba(255,215,0,0.5);
}
.win-msg-title {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 900;
  color: var(--gold); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 6px;
}
.win-msg-amount {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 900;
  color: #00E676;
  text-shadow: 0 0 20px rgba(0,230,118,0.6);
}

/* Controls */
.slot-controls {
  display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap;
  justify-content: center;
}
.bet-controls {
  display: flex; align-items: center; gap: 6px;
}
.btn-bet-minus, .btn-bet-plus {
  width: 40px; height: 40px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 50%; color: var(--gold);
  font-size: 1.3rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.btn-bet-minus:hover, .btn-bet-plus:hover {
  background: rgba(255,215,0,0.25);
  transform: scale(1.1);
}
.bet-display-box {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 8px; padding: 6px 14px;
  text-align: center; min-width: 70px;
}
.bet-label { font-size: 0.62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.bet-amount { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #FFB300; }

.spin-btn-wrap {}
.btn-spin {
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, #FF4444, #CC0000);
  border: 3px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 20px rgba(255,50,50,0.5),
              0 0 0 4px rgba(255,70,70,0.2),
              inset 0 2px 4px rgba(255,255,255,0.2);
}
.btn-spin:hover:not(:disabled) {
  transform: scale(1.06);
  box-shadow: 0 6px 30px rgba(255,50,50,0.7),
              0 0 0 6px rgba(255,70,70,0.3);
}
.btn-spin:active:not(:disabled) { transform: scale(0.95); }
.btn-spin:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.spin-btn-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; color: white;
}
.spin-icon { font-size: 1.2rem; }
.spin-icon.spinning { animation: spinIcon 0.5s linear infinite; }
@keyframes spinIcon { from { transform: rotate(0); } to { transform: rotate(360deg); } }
#spinBtnText { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; }

.auto-controls { display: flex; flex-direction: column; gap: 8px; }
.btn-max-bet {
  padding: 8px 14px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 50px; color: var(--gold);
  font-size: 0.75rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  letter-spacing: 0.5px;
}
.btn-max-bet:hover { background: rgba(255,215,0,0.2); }
.btn-refill {
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--green-ng), var(--green-mid));
  border: none; border-radius: 50px;
  color: white; font-size: 0.75rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: 4px;
  animation: pulse-glow 1.5s infinite;
}
.btn-refill:hover { transform: scale(1.05); }

/* Celebration Overlay */
.celebrate-overlay {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 10;
  overflow: hidden; border-radius: 24px;
}
.confetti-piece {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 2px;
  animation: confettiFall 1.5s linear forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(-20px) rotate(0); opacity: 1; }
  100% { transform: translateY(300px) rotate(720deg); opacity: 0; }
}

/* ── Responsible Notice ── */
.slot-responsible-notice {
  max-width: 1100px; margin: 20px auto;
  padding: 0 20px;
}
.srn-inner {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(0,135,81,0.1);
  border: 1px solid rgba(0,135,81,0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.85rem; color: var(--text-light); line-height: 1.6;
}
.srn-icon { color: var(--green-light); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.srn-inner strong { color: var(--green-light); }
.srn-inner a { color: var(--gold); text-decoration: none; }

/* ── Slot Footer ── */
.slot-footer {
  background: rgba(5,2,15,0.95);
  border-top: 1px solid rgba(255,215,0,0.1);
  padding: 20px 0;
}
.slot-footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 12px; margin-bottom: 12px;
}
.slot-footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.95rem;
  color: var(--gold); font-weight: 700;
}
.slot-footer-links { display: flex; gap: 16px; }
.slot-footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; }
.slot-footer-links a:hover { color: var(--gold); }
.slot-footer-notice { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-muted); }
.slot-footer-legal { color: rgba(255,255,255,0.3); font-size: 0.73rem; text-align: center; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .slot-arena {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .slot-panel-left, .slot-panel-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .slot-arena { padding: 0 12px; }
  .slot-machine { padding: 12px; }
  .reel-symbol { font-size: 2.5rem; height: 120px; }
  .reel-col { height: 120px; }
  .balance-value { font-size: 1rem; }
  .btn-spin { width: 76px; height: 76px; }
  .slot-panel-left, .slot-panel-right { grid-template-columns: 1fr; }
  .slot-game-header { padding: 88px 12px 0; }
}
