/* =========================================================
   PiccadillyAceClub.com — Main Stylesheet
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS Custom Properties
   --------------------------------------------------------- */
:root {
  --navy-950: #070e1a;
  --navy-900: #0c1520;
  --navy-800: #111f33;
  --navy-700: #172948;
  --navy-600: #1e3560;
  --navy-500: #254278;

  --gold-300: #e8c868;
  --gold-400: #d4a832;
  --gold-500: #c8a84b;
  --gold-600: #a8882a;
  --gold-700: #886810;

  --crimson-400: #d44444;
  --crimson-500: #b83232;
  --crimson-600: #962020;

  --emerald-400: #3aaa6a;
  --emerald-500: #2d8a50;
  --emerald-600: #1e6838;

  --ivory-100: #fdf9f2;
  --ivory-200: #f5f0e4;
  --ivory-300: #ede5d0;
  --ivory-400: #d8cebc;

  --slate-400: #8fa8c0;
  --slate-500: #6a8aaa;
  --slate-600: #4a6a8a;
  --slate-700: #2e4a66;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 24px rgba(200,168,75,0.25);

  --transition: 200ms ease;
  --transition-slow: 400ms ease;

  --max-width: 1200px;
  --section-gap: 96px;
}

/* ---------------------------------------------------------
   2. Reset & Base
   --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--navy-900);
  color: var(--ivory-200);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------------------------------------------------------
   3. Typography
   --------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ivory-100);
}

.heading-display {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

.heading-section {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.heading-card {
  font-size: 1.3rem;
}

.text-gold {
  color: var(--gold-400);
}

.text-muted {
  color: var(--slate-400);
}

.text-center {
  text-align: center;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--slate-400);
  max-width: 640px;
}

/* ---------------------------------------------------------
   4. Layout Utilities
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-block {
  padding: var(--section-gap) 0;
}

.section-block.dark-surface {
  background-color: var(--navy-800);
}

.section-block.navy-deep {
  background-color: var(--navy-950);
}

.section-header {
  margin-bottom: 56px;
}

.section-header .lead-text {
  margin: 16px auto 0;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ---------------------------------------------------------
   5. Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(200,168,75,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--ivory-200);
  border: 1.5px solid var(--slate-600);
}

.btn-secondary:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: var(--ivory-200);
  border: 1.5px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold-500);
  color: var(--gold-300);
}

.btn-danger {
  background: linear-gradient(135deg, var(--crimson-500), var(--crimson-600));
  color: #fff;
}

.btn-danger:hover {
  background: linear-gradient(135deg, var(--crimson-400), var(--crimson-500));
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------------------------------------------------------
   6. Header
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: all var(--transition-slow);
}

.site-header.header-scrolled {
  background: rgba(7, 14, 26, 0.95);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(200,168,75,0.15);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--slate-400);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
  line-height: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-400);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active-link {
  color: var(--ivory-100);
  background: rgba(255,255,255,0.06);
}

.nav-link.contact-highlight {
  color: var(--gold-400);
  border: 1px solid rgba(200,168,75,0.3);
}

.nav-link.contact-highlight:hover {
  background: rgba(200,168,75,0.12);
  border-color: var(--gold-400);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--transition);
}

.nav-dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--navy-800);
  border: 1px solid rgba(200,168,75,0.2);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--slate-400);
  transition: all var(--transition);
}

.dropdown-item:hover {
  background: rgba(200,168,75,0.1);
  color: var(--gold-300);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  background: rgba(200,168,75,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Mobile hamburger */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ivory-200);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger-btn.open-state .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open-state .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open-state .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-950);
  z-index: 850;
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav.visible-menu {
  display: flex;
}

.mobile-nav-link {
  display: block;
  padding: 14px 16px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ivory-200);
  border-radius: var(--radius-md);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}

.mobile-nav-link:hover {
  background: rgba(200,168,75,0.1);
  color: var(--gold-300);
}

.mobile-nav-section {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  padding: 16px 16px 8px;
}

/* ---------------------------------------------------------
   7. Hero Section
   --------------------------------------------------------- */
.hero-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(7,14,26,0.92) 0%, rgba(17,31,51,0.88) 50%, rgba(12,21,32,0.9) 100%),
    url('images/hero.png') center/cover no-repeat;
  padding-top: 90px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200,168,75,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(45,138,80,0.05) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(184,50,50,0.04) 0%, transparent 35%);
  pointer-events: none;
}

.hero-cards-bg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 700px;
  opacity: 0.08;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.floating-card-shape {
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  border-radius: 12px;
  animation: float-card 6s ease-in-out infinite;
}

.floating-card-shape:nth-child(2) { animation-delay: -2s; }
.floating-card-shape:nth-child(3) { animation-delay: -4s; }

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(200,168,75,0.12);
  border: 1px solid rgba(200,168,75,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--slate-400);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats-row {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--slate-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--slate-500);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce-scroll 2s ease-in-out infinite;
}

.scroll-chevron {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--slate-600);
  border-bottom: 2px solid var(--slate-600);
  transform: rotate(45deg);
}

@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------------------------------------------------------
   8. Games Section
   --------------------------------------------------------- */
.games-section {
  padding: var(--section-gap) 0;
  background: var(--navy-950);
}

.game-card {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-slow);
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200,168,75,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), var(--shadow-gold);
}

.game-card-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.game-card-visual.poker-theme {
  background: linear-gradient(135deg, #0d2a1a, #1a4a2e);
}

.game-card-visual.slots-theme {
  background: linear-gradient(135deg, #1a1a0d, #3a3a0a);
}

.game-card-visual.blackjack-theme {
  background: linear-gradient(135deg, #1a0d0d, #3a1a1a);
}

.game-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05), transparent 70%);
}

.game-card-body {
  padding: 28px;
}

.game-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(200,168,75,0.12);
  color: var(--gold-400);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.game-card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.game-card-desc {
  color: var(--slate-400);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.game-card-players {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.game-card-players span {
  color: var(--emerald-400);
  font-weight: 600;
}

/* ---------------------------------------------------------
   9. Benefits Section
   --------------------------------------------------------- */
.benefits-section {
  padding: var(--section-gap) 0;
  background: var(--navy-800);
}

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.benefit-item:hover {
  background: rgba(200,168,75,0.05);
  border-color: rgba(200,168,75,0.2);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(200,168,75,0.2), rgba(200,168,75,0.05));
  border: 1px solid rgba(200,168,75,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.benefit-title {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  color: var(--ivory-100);
}

.benefit-desc {
  font-size: 0.88rem;
  color: var(--slate-400);
  line-height: 1.65;
}

/* ---------------------------------------------------------
   10. Marquee / Announcement
   --------------------------------------------------------- */
.marquee-ribbon {
  background: linear-gradient(90deg, var(--gold-700), var(--gold-600), var(--gold-700));
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.marquee-separator {
  color: var(--navy-700);
  font-weight: 300;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------
   11. CTA Banner
   --------------------------------------------------------- */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(200,168,75,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(45,138,80,0.06) 0%, transparent 50%);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-banner-subtitle {
  color: var(--slate-400);
  font-size: 1.05rem;
  margin: 0 auto 36px;
  max-width: 560px;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------
   12. Footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand-col .brand-name {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.footer-brand-tagline {
  font-size: 0.78rem;
  color: var(--slate-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--slate-400);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-contact-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--slate-400);
  line-height: 1.5;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-icon {
  flex-shrink: 0;
  font-size: 0.95rem;
  margin-top: 2px;
}

.footer-contact-text {
  flex: 1;
}

.footer-col-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 20px;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--slate-400);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--ivory-200);
}

.footer-disclaimer-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px 0;
}

.footer-disclaimer-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.footer-disclaimer-text {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-disclaimer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-disclaimer-link {
  font-size: 0.8rem;
  color: var(--slate-400);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 100px;
  transition: all var(--transition);
}

.footer-disclaimer-link:hover {
  color: var(--ivory-200);
  border-color: rgba(255,255,255,0.25);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.footer-age-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(184,50,50,0.15);
  border: 1px solid rgba(184,50,50,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--crimson-400);
  letter-spacing: 0.06em;
}

/* ---------------------------------------------------------
   13. Age Verification Modal
   --------------------------------------------------------- */
.age-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 26, 0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.age-modal-overlay.hidden-layer {
  display: none;
}

.age-modal-box {
  background: var(--navy-800);
  border: 1px solid rgba(200,168,75,0.3);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8), var(--shadow-gold);
  animation: modal-enter 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.age-modal-emblem {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(200,168,75,0.2), rgba(200,168,75,0.05));
  border: 2px solid rgba(200,168,75,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 28px;
}

.age-modal-title {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.age-modal-subtitle {
  color: var(--slate-400);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.age-modal-check-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.age-modal-check-label:hover {
  border-color: rgba(200,168,75,0.3);
  background: rgba(200,168,75,0.06);
}

.age-checkbox {
  width: 22px;
  height: 22px;
  accent-color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}

.age-check-text {
  font-size: 0.9rem;
  color: var(--ivory-200);
  line-height: 1.55;
}

.age-check-text strong {
  color: var(--gold-400);
}

.age-modal-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 20px;
}

.age-modal-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.age-modal-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.age-modal-disclaimer {
  font-size: 0.78rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.age-modal-disclaimer a {
  color: var(--slate-500);
  text-decoration: underline;
}

/* ---------------------------------------------------------
   14. Cookie Consent Banner
   --------------------------------------------------------- */
.cookie-ribbon {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: rgba(17, 31, 51, 0.97);
  border-top: 1px solid rgba(200,168,75,0.2);
  backdrop-filter: blur(12px);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.cookie-ribbon.visible-ribbon {
  transform: translateY(0);
}

.cookie-ribbon-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-ribbon-text {
  flex: 1;
  min-width: 280px;
}

.cookie-ribbon-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ivory-200);
  margin-bottom: 4px;
}

.cookie-ribbon-desc {
  font-size: 0.82rem;
  color: var(--slate-400);
  line-height: 1.55;
}

.cookie-ribbon-desc a {
  color: var(--gold-400);
  text-decoration: underline;
}

.cookie-ribbon-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   15. Inner Page Hero
   --------------------------------------------------------- */
.inner-hero {
  padding: 140px 0 64px;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 100%);
  position: relative;
  overflow: hidden;
}

.inner-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(200,168,75,0.05), transparent 60%);
  pointer-events: none;
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.inner-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-bottom: 16px;
}

.breadcrumb-sep { color: var(--slate-700); }

.breadcrumb-current { color: var(--gold-400); }

.inner-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.inner-hero-subtitle {
  font-size: 1.05rem;
  color: var(--slate-400);
  line-height: 1.7;
}

/* ---------------------------------------------------------
   16. Content Pages (prose, articles, legal)
   --------------------------------------------------------- */
.prose-wrapper {
  padding: 64px 0;
}

.prose-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.prose-main h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  color: var(--gold-400);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,168,75,0.15);
}

.prose-main h2:first-child { margin-top: 0; }

.prose-main h3 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
  color: var(--ivory-100);
}

.prose-main p {
  color: var(--slate-400);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.prose-main ul,
.prose-main ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.prose-main ul { list-style: disc; }
.prose-main ol { list-style: decimal; }

.prose-main li {
  color: var(--slate-400);
  line-height: 1.75;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.prose-main strong {
  color: var(--ivory-200);
}

.prose-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sidebar-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}

.sidebar-nav-link {
  display: block;
  font-size: 0.88rem;
  color: var(--slate-400);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--transition);
}

.sidebar-nav-link:last-child { border-bottom: none; }

.sidebar-nav-link:hover {
  color: var(--gold-400);
}

/* Info callout boxes */
.info-callout {
  background: rgba(200,168,75,0.08);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.info-callout p {
  margin: 0;
  color: var(--ivory-300) !important;
}

.warning-callout {
  background: rgba(184,50,50,0.08);
  border-left: 3px solid var(--crimson-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.warning-callout p { margin: 0; }

/* ---------------------------------------------------------
   17. How It Works Steps
   --------------------------------------------------------- */
.steps-track {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
  padding-bottom: 40px;
}

.step-row:last-child { padding-bottom: 0; }

.step-row:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 80px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-700), transparent);
}

.step-number-circle {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  border: 2px solid var(--gold-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-400);
  flex-shrink: 0;
}

.step-content-block {
  padding-top: 16px;
}

.step-content-block h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step-content-block p {
  color: var(--slate-400);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------------------------------------------------------
   18. FAQ Accordion
   --------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-entry {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-entry:last-child { border-bottom: none; }

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--navy-800);
  color: var(--ivory-200);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  transition: background var(--transition);
}

.faq-question-btn:hover {
  background: rgba(200,168,75,0.06);
}

.faq-question-btn.open-question {
  background: rgba(200,168,75,0.08);
  color: var(--gold-300);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
  margin-bottom: 4px;
}

.faq-question-btn.open-question .faq-chevron {
  transform: rotate(-135deg);
  margin-bottom: -4px;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}

.faq-answer-panel.open-panel {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--slate-400);
  font-size: 0.9rem;
  line-height: 1.75;
  background: rgba(200,168,75,0.04);
}

/* ---------------------------------------------------------
   19. Contact Form
   --------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,168,75,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 0.9rem;
  color: var(--ivory-200);
}

.contact-form-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-400);
  letter-spacing: 0.04em;
}

.form-input,
.form-textarea,
.form-select {
  background: var(--navy-700);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--ivory-200);
  font-size: 0.92rem;
  transition: border-color var(--transition);
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold-500);
  background: rgba(255,255,255,0.04);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--slate-600);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-select option {
  background: var(--navy-800);
  color: var(--ivory-200);
}

.form-success-message {
  display: none;
  padding: 16px 20px;
  background: rgba(45,138,80,0.15);
  border: 1px solid var(--emerald-500);
  border-radius: var(--radius-md);
  color: var(--emerald-400);
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ---------------------------------------------------------
   20. Community Page
   --------------------------------------------------------- */
.community-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.community-feature-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-slow);
}

.community-feature-card:hover {
  border-color: rgba(200,168,75,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.community-feature-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.community-feature-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.community-feature-desc {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.7;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard-table th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.leaderboard-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--slate-400);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.leaderboard-table tr:hover td {
  background: rgba(200,168,75,0.04);
}

.leaderboard-rank {
  font-weight: 700;
  color: var(--gold-400);
  font-family: var(--font-heading);
}

.leaderboard-name {
  color: var(--ivory-200);
  font-weight: 500;
}

.leaderboard-coins {
  color: var(--emerald-400);
  font-weight: 600;
}

/* ---------------------------------------------------------
   21. Help Center
   --------------------------------------------------------- */
.help-search-bar {
  display: flex;
  gap: 0;
  max-width: 560px;
  margin: 0 auto 48px;
  background: var(--navy-700);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.help-search-bar:focus-within {
  border-color: var(--gold-500);
}

.help-search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 20px;
  color: var(--ivory-200);
  font-size: 0.95rem;
}

.help-search-input:focus { outline: none; }

.help-search-input::placeholder { color: var(--slate-600); }

.help-search-btn {
  padding: 14px 22px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.help-search-btn:hover { background: var(--gold-400); }

.help-category-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  display: block;
}

.help-category-card:hover {
  border-color: rgba(200,168,75,0.25);
  transform: translateY(-4px);
}

.help-cat-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.help-cat-title {
  font-size: 1.05rem;
  font-family: var(--font-heading);
  color: var(--ivory-100);
  margin-bottom: 8px;
}

.help-cat-desc {
  font-size: 0.85rem;
  color: var(--slate-400);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   22. Responsible Gaming
   --------------------------------------------------------- */
.rg-self-check {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin: 32px 0;
}

.rg-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.rg-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--slate-400);
}

.rg-check-bullet {
  width: 8px;
  height: 8px;
  background: var(--crimson-400);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.rg-resource-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.rg-resource-card {
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}

.rg-resource-card:hover {
  border-color: rgba(200,168,75,0.2);
}

.rg-resource-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ivory-100);
  margin-bottom: 6px;
}

.rg-resource-desc {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 14px;
  line-height: 1.6;
}

.rg-resource-link {
  font-size: 0.82rem;
  color: var(--gold-400);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------------------------------------------------------
   23. Game Pages
   --------------------------------------------------------- */
.game-page-wrapper {
  min-height: 100vh;
  background: var(--navy-950);
  padding-top: 80px;
}

.game-stage-header {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-950) 100%);
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.game-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.game-title-block h1 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.game-title-block p {
  font-size: 0.85rem;
  color: var(--slate-400);
}

.coin-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(200,168,75,0.1);
  border: 1.5px solid rgba(200,168,75,0.3);
  border-radius: var(--radius-lg);
}

.coin-icon {
  font-size: 1.3rem;
}

.coin-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.coin-amount {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--gold-400);
  line-height: 1;
}

.game-arena {
  padding: 40px 0;
}

.game-message-bar {
  text-align: center;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ivory-200);
  margin-bottom: 24px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.game-message-bar.win-glow {
  background: rgba(45,138,80,0.2);
  color: var(--emerald-400);
  border: 1px solid rgba(45,138,80,0.4);
}

.game-message-bar.lose-dim {
  background: rgba(184,50,50,0.15);
  color: var(--crimson-400);
  border: 1px solid rgba(184,50,50,0.3);
}

/* ---------------------------------------------------------
   24. Poker Game
   --------------------------------------------------------- */
.poker-table {
  background: radial-gradient(ellipse at center, #1a4a2e 0%, #0d2a1a 100%);
  border: 4px solid #2a5a35;
  border-radius: 24px;
  padding: 40px;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,0,0,0.6);
}

.poker-hand {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.playing-card {
  width: 90px;
  height: 130px;
  background: #fefefe;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.15);
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  user-select: none;
}

.playing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}

.playing-card.held-card {
  transform: translateY(-16px);
  box-shadow: 0 16px 32px rgba(200,168,75,0.4), 0 0 0 2px var(--gold-400);
}

.playing-card.face-down-card {
  background: linear-gradient(135deg, #1a3a6a, #0d2040);
  cursor: default;
}

.card-rank-top {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.card-rank-bottom {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  transform: rotate(180deg);
}

.card-center-suit {
  font-size: 2.2rem;
  line-height: 1;
}

.card-red { color: #c0392b; }
.card-black { color: #1a1a2e; }

.held-badge {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition);
}

.playing-card.held-card .held-badge {
  opacity: 1;
}

.poker-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
}

.poker-control-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.poker-paytable {
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 24px;
}

.paytable-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
  text-align: center;
}

.paytable-rows {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
}

.paytable-hand {
  font-size: 0.8rem;
  color: var(--slate-400);
}

.paytable-payout {
  font-size: 0.8rem;
  color: var(--gold-300);
  font-weight: 600;
  text-align: right;
}

.paytable-hand.highlighted-hand,
.paytable-payout.highlighted-pay {
  color: var(--gold-400);
  font-weight: 700;
}

/* ---------------------------------------------------------
   25. Slots Game
   --------------------------------------------------------- */
.slots-machine {
  max-width: 600px;
  margin: 0 auto;
}

.slots-cabinet {
  background: linear-gradient(160deg, #2a1a08, #1a1008);
  border: 3px solid #8a6020;
  border-radius: 24px;
  padding: 32px;
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.5), 0 8px 32px rgba(0,0,0,0.7);
}

.slots-brand {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold-400);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(200,168,75,0.4);
}

.slots-window {
  background: #0a0a08;
  border: 3px solid #5a4010;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.slot-reel-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  height: 220px;
}

.slot-reel-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slot-reel-inner.spinning-reel {
  animation: spin-reel 0.1s linear infinite;
}

@keyframes spin-reel {
  from { transform: translateY(0); }
  to { transform: translateY(-68px); }
}

.slot-cell {
  height: 68px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
  transition: transform 0.1s;
}

.slot-cell.winning-cell {
  background: rgba(200,168,75,0.2);
  border: 2px solid var(--gold-500);
  animation: flash-win 0.5s ease-in-out infinite alternate;
}

@keyframes flash-win {
  from { background: rgba(200,168,75,0.15); }
  to { background: rgba(200,168,75,0.35); }
}

.slots-payline-indicator {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(200,168,75,0.4);
  top: calc(50% - 1px);
  pointer-events: none;
  z-index: 5;
}

.slots-bet-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.bet-option {
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--slate-400);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.bet-option:hover,
.bet-option.active-bet {
  background: rgba(200,168,75,0.15);
  border-color: var(--gold-500);
  color: var(--gold-400);
}

.slots-spin-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #c8a84b, #a8882a);
  color: var(--navy-900);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.slots-spin-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #e8c868, #c8a84b);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,168,75,0.4);
}

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

.slots-paytable {
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 20px;
}

.slots-pay-rows {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 20px;
  align-items: center;
}

.slots-pay-combo {
  font-size: 1.1rem;
  letter-spacing: 4px;
}

.slots-pay-amount {
  font-size: 0.85rem;
  color: var(--gold-400);
  font-weight: 600;
  text-align: right;
}

/* ---------------------------------------------------------
   26. Blackjack Game
   --------------------------------------------------------- */
.blackjack-table {
  background: radial-gradient(ellipse at center, #1a2a1a 0%, #0d1a0d 100%);
  border: 4px solid #2a4a2a;
  border-radius: 24px;
  padding: 32px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,0,0,0.7);
}

.bj-zone {
  margin-bottom: 28px;
}

.bj-zone-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 12px;
}

.bj-hand-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 110px;
  align-items: flex-start;
}

.bj-card {
  width: 75px;
  height: 105px;
  background: #fefefe;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
  position: relative;
  flex-shrink: 0;
}

.bj-card.face-down-bj {
  background: linear-gradient(135deg, #1a3a6a, #0d2040);
}

.bj-card .card-rank-top { font-size: 0.85rem; }
.bj-card .card-rank-bottom { font-size: 0.85rem; }
.bj-card .card-center-suit { font-size: 1.8rem; }

.bj-score-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(0,0,0,0.5);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ivory-200);
  margin-top: 8px;
}

.bj-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 20px 0;
}

.bj-bet-panel {
  margin-bottom: 24px;
}

.bj-bet-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 12px;
  text-align: center;
}

.bj-chip-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.bj-chip {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 3px dashed rgba(255,255,255,0.4);
  transition: all var(--transition);
  font-family: inherit;
  color: #fff;
}

.bj-chip:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.bj-chip.chip-10 { background: radial-gradient(circle, #c0392b, #922b21); }
.bj-chip.chip-25 { background: radial-gradient(circle, #27ae60, #1e8449); }
.bj-chip.chip-50 { background: radial-gradient(circle, #2980b9, #1a5276); }
.bj-chip.chip-100 { background: radial-gradient(circle, #8e44ad, #6c3483); }
.bj-chip.chip-250 { background: radial-gradient(circle, #c8a84b, #a8882a); color: var(--navy-900); }

.bj-current-bet {
  text-align: center;
  font-size: 0.88rem;
  color: var(--slate-400);
  margin-bottom: 16px;
}

.bj-current-bet strong {
  color: var(--gold-400);
  font-size: 1.1rem;
}

.bj-action-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------
   27. Page-specific: About
   --------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: rgba(200,168,75,0.2);
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--navy-900);
}

.team-name {
  font-size: 1rem;
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--gold-500);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: rgba(200,168,75,0.2);
}

.value-symbol {
  font-size: 2rem;
  margin-bottom: 14px;
}

.value-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.value-desc {
  font-size: 0.88rem;
  color: var(--slate-400);
  line-height: 1.65;
}

/* ---------------------------------------------------------
   28. Animations
   --------------------------------------------------------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-up {
  opacity: 0;
  animation: fade-up 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Win animation */
@keyframes celebrate-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  70% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

.celebrate-pop { animation: celebrate-pop 0.5s ease; }

/* ---------------------------------------------------------
   29. Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-four {
    grid-template-columns: repeat(2, 1fr);
  }

  .prose-layout {
    grid-template-columns: 1fr;
  }

  .prose-sidebar {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  .primary-nav,
  .header-actions {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .grid-three,
  .grid-two,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .grid-four {
    grid-template-columns: 1fr;
  }

  .community-features-grid {
    grid-template-columns: 1fr;
  }

  .rg-resource-cards {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .poker-table,
  .slots-cabinet,
  .blackjack-table {
    padding: 20px;
  }

  .playing-card {
    width: 70px;
    height: 100px;
  }

  .card-center-suit { font-size: 1.8rem; }

  .bj-chip {
    width: 48px;
    height: 48px;
    font-size: 0.78rem;
  }

  .game-stage-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .steps-track {
    gap: 0;
  }

  .step-row {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  .age-modal-box {
    padding: 32px 24px;
  }

  .cookie-ribbon-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-ribbon-actions {
    width: 100%;
  }

  .cookie-ribbon-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .inner-hero {
    padding: 120px 0 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 24px 20px;
  }

  .hero-wrapper {
    padding-bottom: 64px;
  }
}

@media (max-width: 480px) {
  .poker-hand {
    gap: 8px;
  }

  .playing-card {
    width: 58px;
    height: 84px;
  }

  .card-rank-top,
  .card-rank-bottom {
    font-size: 0.75rem;
    top: 4px;
    left: 5px;
  }

  .card-center-suit { font-size: 1.4rem; }

  .bj-card {
    width: 62px;
    height: 88px;
  }
}
