/**
 * Ph777 Modern Responsive UI Design System
 * Built with /casino-design-system and /ace58-ui-guidance
 * Authentic Rank 1 Brand Palette: Neon Emerald Lime & Sunburst Gold on Obsidian Midnight
 */

:root {
  /* Brand Core Tokens (from brand_palette.json) */
  --brand-primary: #4ADE80;
  --brand-primary-hover: #22C55E;
  --brand-primary-gradient: linear-gradient(135deg, #76D813 0%, #22C55E 100%);
  --brand-primary-subtle: rgba(74, 222, 128, 0.12);
  --brand-primary-border: rgba(74, 222, 128, 0.28);
  --brand-primary-glow: rgba(74, 222, 128, 0.35);

  --brand-secondary: #FBBF24;
  --brand-secondary-hover: #F59E0B;
  --brand-secondary-gradient: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  --brand-secondary-subtle: rgba(251, 191, 36, 0.14);

  --brand-cta: #F59E0B;
  --brand-cta-hover: #D97706;
  --brand-cta-text: #050B14;
  --brand-cta-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);

  /* Surfaces & Backgrounds */
  --surface-bg: #070E1A;
  --surface-card: #0F1E36;
  --surface-card-hover: #152747;
  --surface-card-subtle: #0B172B;
  --surface-header: rgba(7, 14, 26, 0.94);
  --surface-overlay: rgba(5, 11, 20, 0.85);

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dark: #070E1A;

  /* Multi-Color Provider Theming (Strictly Enforced) */
  /* 1. JILI Games: Crimson / Amber */
  --provider-jili-badge: #E11D48;
  --provider-jili-border: #F59E0B;
  --provider-jili-bg: rgba(225, 29, 72, 0.12);
  --provider-jili-tag: #FFE4E6;

  /* 2. PG Soft: Electric Violet / Neon Orange */
  --provider-pg-badge: #8B5CF6;
  --provider-pg-border: #FB923C;
  --provider-pg-bg: rgba(139, 92, 246, 0.12);
  --provider-pg-tag: #EDE9FE;

  /* 3. Live Casino: Royal Deep Blue / Platinum */
  --provider-live-badge: #2563EB;
  --provider-live-border: #E2E8F0;
  --provider-live-bg: rgba(37, 99, 235, 0.12);
  --provider-live-tag: #DBEAFE;

  /* 4. Arcade & Fishing: Aqua Teal / Cyan */
  --provider-arcade-badge: #06B6D4;
  --provider-arcade-border: #14B8A6;
  --provider-arcade-bg: rgba(6, 182, 212, 0.12);
  --provider-arcade-tag: #CFFAFE;

  /* 5. Table & Sabong: Emerald Green / Fiery Orange */
  --provider-specialty-badge: #10B981;
  --provider-specialty-border: #EA580C;
  --provider-specialty-bg: rgba(16, 185, 129, 0.12);
  --provider-specialty-tag: #D1FAE5;

  /* Layout & Sizing Tokens */
  --container-max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  /* Transition Speeds */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-slow: 0.4s ease;
}

/* Base Reset & Fluid Mobile Sizing (Strict 0px Overflow) */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Inter", "Segoe UI", Roboto, sans-serif;
  background-color: var(--surface-bg);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-height: 100vh;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Notification Bar & Age Compliance Ribbon (Strictly DIV, NEVER Heading)
   ========================================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, #061c12 0%, #0d2e1f 50%, #061c12 100%);
  border-bottom: 1px solid var(--brand-primary-border);
  font-size: 0.825rem;
  padding: 0.45rem 1rem;
  text-align: center;
  position: relative;
  z-index: 40;
  width: 100%;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: var(--container-max-width);
  margin: 0 auto;
  text-align: center;
}

.announcement-badge {
  background: var(--brand-primary);
  color: #071426;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement-text {
  color: var(--text-secondary);
  font-weight: 500;
}

.announcement-text strong {
  color: var(--brand-secondary);
}

.announcement-link {
  color: var(--brand-secondary);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* ==========================================================================
   Header & Horizontal Navigation (Copied from phparkk.com layout)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(7, 14, 26, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--brand-primary-border);
  z-index: 100;
  padding: 0.65rem 0;
  transition: all var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-wrapper, .brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo img,
img.brand-logo {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(74, 222, 128, 0.25));
  display: block;
}

/* Desktop Horizontal Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.65rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: #FFF;
  background: rgba(74, 222, 128, 0.12);
  color: var(--brand-primary);
}

.nav-link .dropdown-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--surface-card);
  border: 1px solid var(--brand-primary-border);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 110;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.dropdown-link:hover {
  background: rgba(74, 222, 128, 0.1);
  color: var(--brand-primary);
  padding-left: 0.95rem;
}

.dropdown-tag {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-pill);
  background: rgba(74, 222, 128, 0.2);
  color: var(--brand-primary);
  font-weight: 700;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-ghost-sm {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost-sm:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(74, 222, 128, 0.08);
}

.btn-gold-sm {
  padding: 0.55rem 1.25rem;
  background: var(--brand-secondary-gradient);
  border: none;
  border-radius: var(--radius-pill);
  color: var(--brand-cta-text);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--brand-cta-shadow);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  justify-content: center;
}

.btn-gold-sm:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

/* Mobile Drawer Overlay & Panel */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--surface-card);
  border-left: 1px solid var(--brand-primary-border);
  z-index: 1001;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.8);
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer-overlay.active .mobile-drawer-panel {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
  background: var(--surface-bg);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  color: var(--brand-primary);
  background: var(--brand-primary-subtle);
  border-color: var(--brand-primary-border);
}

/* General Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  min-height: 38px;
}

.btn-md {
  padding: 12px 24px;
  font-size: 15px;
  min-height: 46px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  min-height: 52px;
}

.btn-primary {
  background: var(--brand-secondary-gradient);
  color: var(--brand-cta-text);
  box-shadow: var(--brand-cta-shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
  color: var(--brand-cta-text);
}

.btn-secondary {
  background: var(--brand-primary-subtle);
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
}

.btn-secondary:hover {
  background: var(--brand-primary);
  color: var(--surface-bg);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 64px 0 48px;
  background: radial-gradient(circle at 50% 0%, rgba(74, 222, 128, 0.12) 0%, transparent 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-grid,
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--brand-primary-subtle);
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--brand-primary);
  text-shadow: 0 0 24px var(--brand-primary-glow);
}

.hero-lead {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 560px;
}

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

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item .num {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-secondary);
}

.trust-item .label {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-banner {
  width: 100%;
  max-width: 440px;
  background: var(--surface-card);
  border: 1px solid var(--brand-primary-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(74, 222, 128, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-card-banner::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--brand-secondary) 0%, transparent 70%);
  opacity: 0.2;
}

.hero-visual-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--brand-primary-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(74, 222, 128, 0.15);
  overflow: hidden;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-featured-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-smooth);
  display: block;
}

.hero-visual-card:hover .hero-featured-img {
  transform: scale(1.02);
}

/* Filter Chips (Provider Navigation) */
.filter-section {
  padding: 24px 0 16px;
  position: relative;
  background-color: var(--surface-bg);
}

.filter-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.filter-chips::-webkit-scrollbar {
  height: 4px;
}

.filter-chips::-webkit-scrollbar-thumb {
  background: var(--surface-border);
  border-radius: 4px;
}

.chip-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  background: var(--surface-card);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.chip-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.chip-btn.active {
  background: var(--brand-primary);
  color: var(--surface-bg);
  border-color: var(--brand-primary);
  box-shadow: 0 0 15px var(--brand-primary-glow);
}

/* Game Card Grid & Provider Theming */
.games-section {
  padding: 36px 0 64px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-card:hover {
  transform: translateY(-4px);
}

/* Multi-Color Provider Themes on Cards */
.game-card[data-provider="jili"] {
  border-color: var(--provider-jili-border);
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.12);
}
.game-card[data-provider="jili"]:hover {
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.25);
}
.game-card[data-provider="jili"] .provider-badge {
  background: var(--provider-jili-badge);
  color: #FFFFFF;
}

.game-card[data-provider="pg-soft"] {
  border-color: var(--provider-pg-border);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.12);
}
.game-card[data-provider="pg-soft"]:hover {
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
}
.game-card[data-provider="pg-soft"] .provider-badge {
  background: var(--provider-pg-badge);
  color: #FFFFFF;
}

.game-card[data-provider="live"] {
  border-color: var(--provider-live-border);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.12);
}
.game-card[data-provider="live"]:hover {
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}
.game-card[data-provider="live"] .provider-badge {
  background: var(--provider-live-badge);
  color: #FFFFFF;
}

.game-card[data-provider="arcade"] {
  border-color: var(--provider-arcade-border);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.12);
}
.game-card[data-provider="arcade"]:hover {
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.25);
}
.game-card[data-provider="arcade"] .provider-badge {
  background: var(--provider-arcade-badge);
  color: #FFFFFF;
}

.game-card[data-provider="specialty"] {
  border-color: var(--provider-specialty-border);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.12);
}
.game-card[data-provider="specialty"]:hover {
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25);
}
.game-card[data-provider="specialty"] .provider-badge {
  background: var(--provider-specialty-badge);
  color: #FFFFFF;
}

.game-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.game-card:hover .game-thumb img {
  transform: scale(1.06);
}

.provider-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.rtp-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(7, 14, 26, 0.85);
  backdrop-filter: blur(4px);
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-primary);
}

.game-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.game-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.game-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  margin-top: auto;
}

.game-actions .btn {
  font-size: 13px;
  min-height: 38px;
  padding: 6px 12px;
}

/* Payment Rails Section */
.payments-strip {
  padding: 40px 0;
  background: var(--surface-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 6px;
}

.payment-info .name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 15px;
}

.payment-info .detail {
  font-size: 12px;
  color: var(--brand-primary);
}

/* Content Guide Article Area & Editorial Content (Centered Prose) */
.article-section {
  padding: 48px 0;
}

.editorial-content {
  background: var(--surface-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4rem 0;
}

.content-prose {
  max-width: 920px;
  margin: 0 auto;
}

.article-body {
  background: var(--surface-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-body h1, .content-prose h1 {
  font-size: 32px;
  margin-top: 0;
  color: var(--brand-primary);
}

.article-body h2, .content-prose h2 {
  font-size: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 14px;
}

.article-body h3, .content-prose h3 {
  font-size: 18px;
  color: var(--brand-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.article-body p, .content-prose p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.article-body ul, .article-body ol, .content-prose ul, .content-prose ol {
  margin-bottom: 18px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.article-body li, .content-prose li {
  margin-bottom: 8px;
}

.article-body table, .content-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.article-body th, .article-body td, .content-prose th, .content-prose td {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.article-body th, .content-prose th {
  background: var(--surface-bg);
  color: var(--brand-primary);
  font-weight: 700;
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0;
}

/* 5-Column Open Silo Directory Footer */
.silo-footer {
  background-color: #040910;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 32px;
}

.silo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.silo-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.silo-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.silo-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.silo-links a:hover {
  color: var(--brand-primary);
  padding-left: 4px;
}

/* Compliance Bottom Bar */
.compliance-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.compliance-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.age-gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #EF4444;
  color: #FCA5A5;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
}

.regulatory-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.copyright-text {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Mobile Sticky Bottom Conversion Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: rgba(7, 14, 26, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--brand-primary-border);
  padding: 10px 16px env(safe-area-inset-bottom, 10px);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-info {
  display: flex;
  flex-direction: column;
}

.sticky-info .tag {
  font-size: 11px;
  color: var(--brand-primary);
  font-weight: 700;
}

.sticky-info .val {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 800;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .desktop-nav, .header-actions {
    display: none !important;
  }
  .mobile-nav-toggle, .mobile-toggle {
    display: block !important;
  }
  .hero-grid,
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group, .hero-trust-badges {
    justify-content: center;
  }
  .silo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .silo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .mobile-sticky-bar {
    display: block;
  }
  body {
    padding-bottom: 72px; /* space for sticky bar */
  }
  .article-body {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .silo-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 28px;
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
}

/* Breadcrumb Navigation */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb-trail a {
  color: var(--text-secondary);
}

.breadcrumb-trail a:hover {
  color: var(--brand-primary);
}

.breadcrumb-trail .separator {
  color: var(--text-muted);
  opacity: 0.6;
}

.breadcrumb-trail .current {
  color: var(--brand-primary);
  font-weight: 600;
}

/* E-E-A-T Author & Review Methodology Block */
.author-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--surface-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 32px 0;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary-subtle);
  border: 2px solid var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.author-details h4 {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.author-details .bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.review-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(74, 222, 128, 0.12);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary-border);
}

/* FAQ Accordion UI */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: var(--surface-bg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--brand-primary-subtle);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 21+ Age Gate Interstitial Modal */
.age-gate-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate-dialog {
  background: var(--surface-card);
  border: 1px solid var(--brand-primary-border);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--brand-primary-glow);
}

.age-gate-icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

.age-gate-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.age-gate-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.age-gate-actions .btn {
  flex: 1;
}

/* ==========================================================================
   Ph777 Enhanced Components (Data Tables, Step Cards, FAQ Accordion & Compliance)
   ========================================================================== */

/* Section Headings & Subtitles */
.section-title-wrap {
  margin-bottom: 1.75rem;
}

.section-title-wrap h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Platform Data Tables */
.table-responsive-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
  background: var(--surface-card);
}

.data-table th {
  background: #0D5C3A;
  color: #FFFFFF;
  font-family: inherit;
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--surface-border);
  letter-spacing: 0.02em;
}

.data-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.data-table tr:hover td {
  background: var(--surface-card-hover);
}

.data-table td strong {
  color: var(--text-primary);
}

/* Step-by-Step Registration & Action Process Cards */
.step-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
}

@media (min-width: 640px) {
  .step-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .step-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.step-card:hover {
  border-color: var(--brand-secondary);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.2);
}

.step-number-badge {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--brand-secondary);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Jackpot Meter Box */
.jackpot-meter-box {
  margin-top: 1rem;
  background: #062316;
  border: 1px solid var(--brand-primary-border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.jackpot-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.jackpot-amount {
  font-size: 1.6rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

/* Editorial Content & Prose Typography */
.editorial-content {
  padding: 3.5rem 0 4rem;
  background: var(--surface-bg);
}

.content-prose {
  max-width: 960px;
  margin: 0 auto;
}

.content-prose h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.content-prose h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.content-prose p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.35rem;
}

.content-prose ul,
.content-prose ol {
  margin: 1.25rem 0 1.75rem 1.75rem;
  color: var(--text-secondary);
}

.content-prose li {
  margin-bottom: 0.65rem;
  line-height: 1.65;
}

.content-prose li strong {
  color: var(--text-primary);
}

/* Compliance Seals Row & Disclaimer */
.compliance-seals-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compliance-seal-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--surface-card);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--surface-border);
}

.compliance-disclaimer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 1.5rem 0;
  text-align: center;
}

.hotline-highlight-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  text-align: center;
  margin-top: 1.25rem;
}

/* FAQ Interactive Accordions */
.faq-section {
  padding: 3.5rem 0;
}

.faq-list {
  max-width: 900px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--brand-primary);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question-btn:hover {
  color: var(--brand-primary);
}

.faq-chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--brand-secondary);
  border-bottom: 2px solid var(--brand-secondary);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-question-btn[aria-expanded="true"] .faq-chevron {
  transform: rotate(-135deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: rgba(0, 0, 0, 0.25);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Pagination Container */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.5rem auto 1.5rem;
  text-align: center;
  width: 100%;
}

.page-btn {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover:not(:disabled) {
  background: var(--surface-card-hover);
  color: var(--text-primary);
  border-color: var(--brand-secondary);
  transform: translateY(-1px);
}

.page-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}


