/* =============================================
   GOLDEN DECK SOCIAL — STYLES
   Color scheme: Deep Forest Green / Gold
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Lora:wght@400;500;600&display=swap');

:root {
  --forest-deep:    #061209;
  --forest:         #0a1e10;
  --forest-mid:     #0f2a17;
  --forest-light:   #1a3d24;
  --gold:           #c9a84c;
  --gold-soft:      #e0c06a;
  --gold-bright:    #f0d080;
  --gold-dim:       #8a6e30;
  --crimson:        #8b1a1a;
  --foreground:     #f0ead6;
  --card-border:    rgba(201,168,76,0.18);
  --card-bg:        rgba(10,30,16,0.85);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  background-color: var(--forest-deep);
  color: var(--foreground);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(20,70,30,0.55) 0%, transparent 70%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.025) 40px,
      rgba(201,168,76,0.025) 41px
    );
}

/* ---- TYPOGRAPHY ---- */
.font-display { font-family: 'Cinzel', serif; }

.text-gold-gradient {
  font-family: 'Cinzel', serif;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gold-gradient {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-dim) 100%);
}

/* ---- CARDS ---- */
.velvet-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s;
}
.velvet-card:hover { border-color: rgba(201,168,76,0.4); }

/* ---- LAYOUT UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.flex-wrap { flex-wrap: wrap; }
.min-h-screen { min-height: 100vh; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  background: rgba(6,18,9,0.88);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
nav { display: flex; align-items: center; gap: 2rem; }
nav a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,234,214,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--gold); }
.header-cta {
  display: inline-flex;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-dim) 100%);
  color: var(--forest-deep);
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.header-cta:hover { opacity: 0.88; }
.badge-21 { height: 40px; width: 40px; }
.mobile-nav-toggle { display: none; }

/* ---- HERO ---- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 1.5rem;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(15,42,23,0.7) 0%, transparent 80%);
  pointer-events: none;
}
.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-family: 'Cinzel', serif;
}
.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}
.hero-divider {
  width: 6rem;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(240,234,214,0.8);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-dim) 100%);
  color: var(--forest-deep);
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-secondary:hover { background: rgba(201,168,76,0.1); transform: translateY(-1px); }
.hero-disclaimer {
  margin-top: 2.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: rgba(240,234,214,0.35);
  font-family: 'Cinzel', serif;
}

/* ---- SECTIONS ---- */
section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- GRID LAYOUTS ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: center; }

/* ---- GAME CARD ---- */
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.game-card:hover {
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-3px);
}
.game-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.25s;
}
.game-card:hover .icon { transform: scale(1.12); }
.game-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--gold-soft);
  margin-bottom: 0.75rem;
}
.game-card p { color: rgba(240,234,214,0.65); line-height: 1.6; font-size: 0.95rem; }

/* ---- PROMISE CARD ---- */
.promise-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.promise-icon { font-size: 1.4rem; color: var(--gold); flex-shrink: 0; margin-top: 0.1rem; }
.promise-item h4 { font-family: 'Cinzel', serif; color: var(--gold-soft); margin-bottom: 0.25rem; font-size: 0.95rem; }
.promise-item p { font-size: 0.85rem; color: rgba(240,234,214,0.55); }

/* ---- FAQ ---- */
.faq-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 6px; padding: 1.5rem; margin-bottom: 1rem; }
.faq-item dt { font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--gold-soft); margin-bottom: 0.5rem; }
.faq-item dd { color: rgba(240,234,214,0.72); line-height: 1.65; font-size: 0.95rem; }

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid rgba(201,168,76,0.2);
  background: rgba(6,18,9,0.9);
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-disclaimer {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
}
.footer-disclaimer .disclaimer-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  margin-bottom: 0.5rem;
}
.footer-disclaimer p { font-size: 0.85rem; color: rgba(240,234,214,0.75); line-height: 1.6; max-width: 700px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand-name { font-family: 'Cinzel', serif; letter-spacing: 0.2em; background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.75rem; font-size: 0.95rem; }
.footer-brand-desc { font-size: 0.85rem; color: rgba(240,234,214,0.55); line-height: 1.6; }
.footer-col-title { font-size: 0.65rem; letter-spacing: 0.3em; color: var(--gold); font-family: 'Cinzel', serif; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(240,234,214,0.65); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li span { font-size: 0.82rem; color: rgba(240,234,214,0.5); }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(201,168,76,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.75rem; color: rgba(240,234,214,0.4); }
.footer-bottom .badge { letter-spacing: 0.2em; font-family: 'Cinzel', serif; }

/* ---- GAMES PAGE ---- */
.games-hero { padding: 4rem 1.5rem 2rem; text-align: center; }
.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem 4rem; }

/* ---- GAME WIDGET ---- */
.game-widget {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.75rem;
}
.game-widget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.game-widget-header h3 { font-family: 'Cinzel', serif; font-size: 1.4rem; background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.chips-display { font-size: 0.85rem; }
.chips-display span:first-child { color: rgba(240,234,214,0.55); }
.chips-display span:last-child { color: var(--gold); font-weight: 700; font-family: 'Cinzel', serif; }

/* ---- GAME BUTTONS ---- */
.game-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
  letter-spacing: 0.03em;
}
.game-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.game-btn:not(:disabled):hover { opacity: 0.9; transform: translateY(-1px); }
.game-btn.primary { background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-dim) 100%); color: var(--forest-deep); }
.game-btn.danger { background: var(--crimson); color: #fff; }
.game-btn.outline { background: transparent; border: 1px solid rgba(201,168,76,0.4); color: var(--gold); }
.game-btn.outline.active { background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-dim) 100%); color: var(--forest-deep); border-color: var(--gold); }

/* ---- PLAYING CARDS ---- */
.playing-card {
  width: 50px;
  height: 72px;
  border-radius: 5px;
  background: #f5f0e8;
  border: 1px solid #d4c9a8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  gap: 2px;
}
.playing-card.red { color: #c0392b; }
.playing-card.hidden {
  background: linear-gradient(135deg, var(--forest-mid) 25%, var(--forest-light) 100%);
  border-color: var(--gold-dim);
  color: transparent;
}
.playing-card.hidden::after { content: '🂠'; font-size: 1.8rem; filter: none; }
.card-area { display: flex; gap: 0.5rem; min-height: 80px; flex-wrap: wrap; align-items: flex-start; }
.hand-label { font-size: 0.65rem; letter-spacing: 0.25em; color: rgba(240,234,214,0.45); margin-bottom: 0.5rem; font-family: 'Cinzel', serif; }

/* ---- ROULETTE WHEEL ---- */
.roulette-wheel-wrap { display: flex; justify-content: center; margin: 1rem 0; }
.roulette-wheel-outer {
  position: relative;
  width: 200px;
  height: 200px;
}
.roulette-wheel-svg {
  width: 100%;
  height: 100%;
  transition: transform 2.5s cubic-bezier(0.17, 0.67, 0.12, 1);
}
.roulette-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 18px solid var(--gold);
  z-index: 5;
}
.roulette-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.roulette-hub {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-dim) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--forest-deep);
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
}

/* ---- SLOTS ---- */
.slots-display { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1.25rem; }
.slot-reel {
  aspect-ratio: 1;
  background: var(--forest-deep);
  border: 2px solid var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
  transition: transform 0.1s;
}

/* ---- STATUS MESSAGE ---- */
.status-msg {
  text-align: center;
  color: var(--gold-soft);
  font-size: 0.9rem;
  margin: 0.75rem 0;
  min-height: 1.4rem;
  line-height: 1.4;
}

/* ---- BET BUTTONS ROW ---- */
.bet-row { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; align-items: center; margin-top: 0.75rem; }
.bet-chip {
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  border: 1px solid rgba(201,168,76,0.35);
  background: transparent;
  color: var(--gold-soft);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s;
}
.bet-chip:hover { border-color: var(--gold); }
.bet-chip.active { background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-dim) 100%); color: var(--forest-deep); border-color: var(--gold); }
.bet-chip:disabled { opacity: 0.3; cursor: not-allowed; }

/* ---- ROULETTE BET GRID ---- */
.roulette-bets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin: 0.75rem 0; }

/* ---- PAGE CONTENT (legal pages) ---- */
.page-content { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.page-content h1 { font-family: 'Cinzel', serif; font-size: 2.5rem; background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 2rem; }
.page-content h2 { font-family: 'Cinzel', serif; font-size: 1.4rem; color: var(--gold-soft); margin: 2rem 0 0.75rem; }
.page-content p { color: rgba(240,234,214,0.75); line-height: 1.75; margin-bottom: 1rem; font-size: 0.95rem; }
.page-content ul { color: rgba(240,234,214,0.75); line-height: 1.75; margin-bottom: 1rem; padding-left: 1.5rem; font-size: 0.95rem; }
.page-content ul li { margin-bottom: 0.4rem; }
.page-content a { color: var(--gold); text-decoration: underline; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .games-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 5rem 1.25rem; }
  .header-cta { display: none; }
  section { padding: 3rem 1.25rem; }
}
