/*
Theme Name: LuckWinFut
Theme URI: https://luckwinfut.com
Author: LuckWinFut
Author URI: https://luckwinfut.com
Description: Free Social Casino Games - Entertainment Only. No Real Money. No Real Prizes. 18+ Only.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luckwinfut
Tags: casino, social, entertainment, dark, games
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #14141e;
  --bg-card-hover: #1a1a28;
  --gold: #c9a227;
  --gold-light: #e8bc3a;
  --gold-dark: #a8861e;
  --text-primary: #f0ede4;
  --text-secondary: #9a9790;
  --text-muted: #5a5855;
  --green: #2d6a4f;
  --green-light: #40916c;
  --red: #9b2226;
  --border: rgba(201, 162, 39, 0.15);
  --border-subtle: rgba(255,255,255,0.06);
  --shadow-gold: 0 0 40px rgba(201,162,39,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
  --transition: 0.25s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

button { cursor: pointer; font-family: inherit; border: none; outline: none; }

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: #1a0a0a;
  border-bottom: 1px solid rgba(155, 34, 38, 0.4);
  padding: 7px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.announcement-bar .warn { color: #e8573a; font-weight: 700; }
.announcement-bar a { color: #e8bc3a; font-weight: 600; }
.announcement-bar span { opacity: 0.7; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }

.btn-nav-play {
  background: var(--gold);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: 6px;
  transition: all var(--transition);
}
.btn-nav-play:hover {
  background: var(--gold-light);
  color: #0a0a0f;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,162,39,0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,162,39,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(45,106,79,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(155,34,38,0.07) 0%, transparent 50%),
    var(--bg-primary);
}

/* Floating card decorations */
.hero-deco {
  position: absolute;
  opacity: 0.07;
  font-size: 48px;
  animation: float 6s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}
.hero-deco:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.hero-deco:nth-child(2) { top: 20%; right: 10%; animation-delay: 1.5s; }
.hero-deco:nth-child(3) { bottom: 25%; left: 12%; animation-delay: 3s; }
.hero-deco:nth-child(4) { bottom: 20%; right: 8%; animation-delay: 4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.hero-title .gold { color: var(--gold); }

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--gold-light);
  color: #0a0a0f;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,162,39,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.15);
}

.hero-trust {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust span { display: flex; align-items: center; gap: 5px; }

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid var(--border-subtle);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   SECTION SHARED
   ============================================ */
.section { padding: 80px 40px; max-width: 1100px; margin: 0 auto; }
.section-full { padding: 80px 40px; }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 500px;
}

/* ============================================
   GAMES GRID
   ============================================ */
#games { background: var(--bg-primary); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px 20px 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.game-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.game-card:hover::before { opacity: 1; }

.game-icon {
  width: 60px;
  height: 60px;
  background: rgba(201,162,39,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  border: 1px solid rgba(201,162,39,0.12);
}

.game-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 8px;
}
.game-desc {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.5;
}
.game-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.badge-free {
  background: rgba(45,106,79,0.2);
  border: 1px solid rgba(64,145,108,0.3);
  color: #40916c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.btn-play {
  background: var(--gold);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 5px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.btn-play:hover {
  background: var(--gold-light);
  transform: scale(1.05);
}

.games-disclaimer {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ============================================
   RESPONSIBLE PLAY SECTION
   ============================================ */
.responsible-section {
  background: linear-gradient(135deg, rgba(155,34,38,0.06) 0%, rgba(10,10,15,0) 60%),
              var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.responsible-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 40px;
}

.responsible-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.responsible-header h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
}
.responsible-icon { font-size: 28px; }

.responsible-intro {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 36px;
  max-width: 600px;
}

.responsible-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.responsible-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color var(--transition);
}
.responsible-card:hover { border-color: var(--border); }
.responsible-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.responsible-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.helpline-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.helpline-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
}
.helpline-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================
   LEGAL DISCLAIMER
   ============================================ */
.legal-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 40px;
}
.legal-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.legal-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 750px;
}
.legal-badges {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.legal-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(201,162,39,0.07);
  border: 1px solid rgba(201,162,39,0.15);
  padding: 4px 12px;
  border-radius: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 40px 30px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.footer-brand-name span { color: var(--gold); }
.footer-brand-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-text {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-bottom-badges {
  display: flex;
  gap: 8px;
}
.footer-mini-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 3px;
}

/* ============================================
   MODAL / GAME OVERLAY
   ============================================ */
.game-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.game-modal {
  background: #0f0f1a;
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  position: relative;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.modal-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-close {
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }

.modal-warn {
  margin: 16px 24px;
  background: rgba(201,162,39,0.07);
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.modal-coins-bar {
  margin: 0 24px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}
.modal-coins-value {
  font-weight: 700;
  color: var(--gold);
  font-size: 15px;
}

.modal-body {
  padding: 0 24px 24px;
}

/* ============================================
   SLOTS GAME
   ============================================ */
.slots-reels {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 8px 0 24px;
}
.reel-window {
  width: 100px;
  height: 100px;
  background: #1a1a28;
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s ease;
}
.reel-window.win-flash {
  border-color: var(--gold);
  animation: winFlash 0.5s ease 3;
}
@keyframes winFlash {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 20px rgba(201,162,39,0.6); }
}
.reel-symbol {
  transition: transform 0.1s ease;
}
.reel-spinning {
  animation: reelSpin 0.08s linear infinite;
}
@keyframes reelSpin {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-10px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

.slots-bet-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.slots-bet-label { font-size: 13px; color: var(--text-secondary); }
.bet-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.bet-btn:hover, .bet-btn.active {
  background: rgba(201,162,39,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-spin {
  display: block;
  width: 100%;
  background: var(--gold);
  color: #0a0a0f;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.05em;
  padding: 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-spin:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,162,39,0.4);
}
.btn-spin:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.slots-result {
  text-align: center;
  min-height: 28px;
  font-weight: 700;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 16px;
}

.paytable {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px;
}
.paytable-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.paytable-row:last-child { border-bottom: none; }
.paytable-row .symbols { font-size: 14px; }
.paytable-row .mult { color: var(--gold); font-weight: 700; }

/* ============================================
   BLACKJACK GAME
   ============================================ */
.bj-section-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 8px;
}
.bj-cards {
  min-height: 90px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.bj-hand-area { margin-bottom: 20px; }

.playing-card {
  width: 56px;
  height: 80px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  animation: cardDeal 0.3s ease;
  position: relative;
  overflow: hidden;
}
@keyframes cardDeal {
  from { transform: scale(0.7) translateY(-20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.playing-card .suit { font-size: 22px; }
.playing-card.red { color: #c0392b; }
.playing-card.black { color: #1a1a1a; }
.playing-card.face-down {
  background: linear-gradient(135deg, #1a2a4a 25%, #243554 25%, #243554 50%, #1a2a4a 50%, #1a2a4a 75%, #243554 75%);
  background-size: 14px 14px;
  border: 2px solid rgba(255,255,255,0.1);
}
.card-value {
  font-size: 18px;
  font-weight: 900;
  display: block;
}
.card-suit-sm { font-size: 12px; display: block; }

.bj-score {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.bj-score strong { color: var(--gold); font-size: 16px; }

.bj-message {
  text-align: center;
  min-height: 28px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.bj-message.win { color: #40916c; }
.bj-message.lose { color: #e63946; }
.bj-message.push { color: var(--gold); }

.bj-bet-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}
.bj-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.btn-bj {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-deal {
  background: var(--gold);
  color: #0a0a0f;
}
.btn-deal:hover { background: var(--gold-light); }
.btn-hit {
  background: rgba(64,145,108,0.2);
  color: #40916c;
  border: 1px solid rgba(64,145,108,0.3);
}
.btn-hit:hover { background: rgba(64,145,108,0.35); }
.btn-stand {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-stand:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.btn-bj:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================
   ROULETTE GAME
   ============================================ */
.roulette-wheel-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.roulette-wheel-svg {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 0 20px rgba(201,162,39,0.2));
}
.roulette-wheel-svg.spinning {
  animation: wheelSpin 3s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}
@keyframes wheelSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(1440deg); }
}

.roulette-result-num {
  text-align: center;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-muted);
  min-height: 24px;
}
.roulette-result-num strong { font-size: 20px; color: var(--gold); }

.roulette-message {
  text-align: center;
  min-height: 28px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}
.roulette-message.win { color: #40916c; }
.roulette-message.lose { color: #e63946; }

.roulette-bet-types {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.rbet-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.rbet-btn.selected {
  background: rgba(201,162,39,0.15);
  border-color: var(--gold);
  color: var(--gold);
}
.rbet-btn.red-btn { color: #c0392b; }
.rbet-btn.red-btn.selected { background: rgba(192,57,43,0.15); border-color: #c0392b; }
.rbet-btn.black-btn { color: var(--text-secondary); }

.roulette-num-label {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.roulette-numbers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}
.rnum-btn {
  aspect-ratio: 1;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rnum-btn.num-red { background: rgba(192,57,43,0.2); color: #e74c3c; }
.rnum-btn.num-black { background: rgba(255,255,255,0.07); color: var(--text-secondary); }
.rnum-btn.num-green { background: rgba(45,106,79,0.3); color: #40916c; }
.rnum-btn.selected {
  outline: 2px solid var(--gold);
  transform: scale(1.1);
}

.roulette-spin-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   VIDEO POKER GAME
   ============================================ */
.poker-title-sub {
  text-align: center;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
}
.poker-section-label {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.poker-cards {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.poker-card-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hold-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
  text-transform: uppercase;
}
.poker-card-wrap.held .hold-label { opacity: 1; }
.poker-card-wrap .playing-card {
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
}
.poker-card-wrap.held .playing-card {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 4px 16px rgba(201,162,39,0.4);
}

.poker-message {
  text-align: center;
  min-height: 28px;
  font-weight: 700;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
}

.poker-bet-row { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 16px; }
.poker-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; }
.btn-poker-deal {
  background: var(--gold);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-poker-deal:hover { background: var(--gold-light); }
.btn-poker-draw {
  background: rgba(64,145,108,0.2);
  border: 1px solid rgba(64,145,108,0.3);
  color: #40916c;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-poker-draw:hover { background: rgba(64,145,108,0.35); }
.btn-poker-deal:disabled, .btn-poker-draw:disabled { opacity: 0.4; cursor: not-allowed; }

.poker-paytable {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px;
}
.poker-pay-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.poker-pay-row:last-child { border-bottom: none; }
.poker-pay-row .hand-name { color: var(--text-secondary); }
.poker-pay-row .pay-mult { color: var(--gold); font-weight: 700; }
.poker-pay-row.active-hand { color: var(--gold); }
.poker-pay-row.active-hand .hand-name { color: var(--gold); font-weight: 700; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 600px) {
  .site-nav { padding: 0 16px; }
  .nav-links { display: none; }
  .games-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .section, .responsible-inner, .legal-section { padding: 50px 16px; }
  .section-full { padding: 50px 16px; }
  .stats-strip { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 40px 16px 24px; }
  .responsible-grid { grid-template-columns: 1fr; }
  .slots-reels .reel-window { width: 80px; height: 80px; font-size: 38px; }
  .roulette-wheel-svg { width: 160px; height: 160px; }
}

/* ============================================
   SMOOTH SCROLL TARGET OFFSET
   ============================================ */
#games-section, #safe-play, #responsible { scroll-margin-top: 70px; }

/* ============================================
   SAFE PLAY INFO SECTION
   ============================================ */
#safe-play {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 40px;
}
.safe-play-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.safe-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px;
}
.safe-card-icon { font-size: 28px; margin-bottom: 12px; }
.safe-card-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.safe-card-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 700px) {
  .safe-play-grid { grid-template-columns: 1fr; }
  #safe-play { padding: 50px 16px; }
}
