/* ==========================================================================
   casinogamesph.ph Design DNA Stylesheet
   Prefix: bnh3
   Archetype: Bento-Mosaic | Floating Pill Nav | Step-by-Step Decision Hero
   Fonts: Cabinet Grotesk (Headings) + Satoshi (Body)
   Palette: Emerald Dark (#11291F), Surface (#1A3D2E), Mint (#36E298), Lime (#D4E11E)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cabinet+Grotesk:wght@700;800;900&family=Satoshi:wght@400;500;600;700&display=swap');

:root {
  --bnh3-bg: #11291F;
  --bnh3-surface: #1A3D2E;
  --bnh3-surface-hover: #214b38;
  --bnh3-surface-elevated: #24523e;
  --bnh3-border: rgba(54, 226, 152, 0.16);
  --bnh3-border-bright: rgba(54, 226, 152, 0.35);
  
  --bnh3-ink: #F3F8F6;
  --bnh3-ink-muted: #A5C7B8;
  --bnh3-ink-faint: #69917F;
  
  --bnh3-accent: #36E298;
  --bnh3-accent-hover: #2ac783;
  --bnh3-accent-glow: rgba(54, 226, 152, 0.28);
  
  --bnh3-accent2: #D4E11E;
  --bnh3-accent2-hover: #b8c414;
  --bnh3-on-accent: #111111;

  --bnh3-font-heading: 'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  --bnh3-font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --bnh3-base-size: 17px;
  --bnh3-scale: 1.333;
  
  --bnh3-h1: 2.368rem; /* ~40px */
  --bnh3-h2: 1.777rem; /* ~30px */
  --bnh3-h3: 1.333rem; /* ~22px */
  --bnh3-h4: 1.15rem;  /* ~19px */
  
  --bnh3-radius: 12px;
  --bnh3-radius-pill: 9999px;
  
  --bnh3-shadow-1: 0 4px 16px rgba(0, 0, 0, 0.32);
  --bnh3-shadow-2: 0 12px 32px rgba(0, 0, 0, 0.44), 0 2px 6px rgba(54, 226, 152, 0.08);
}

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

html {
  font-size: var(--bnh3-base-size);
  scroll-behavior: smooth;
  background-color: var(--bnh3-bg);
  color: var(--bnh3-ink);
  font-family: var(--bnh3-font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #173b2b 0%, var(--bnh3-bg) 70%);
}

a {
  color: var(--bnh3-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--bnh3-accent2);
}

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

/* Container */
.bnh3-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Floating Pill Navigation */
.bnh3-header-wrap {
  position: sticky;
  top: 0.75rem;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

.bnh3-nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(26, 61, 46, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bnh3-border-bright);
  border-radius: var(--bnh3-radius-pill);
  padding: 0.5rem 1.25rem;
  box-shadow: var(--bnh3-shadow-2);
  width: 100%;
  max-width: 1140px;
}

.bnh3-brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--bnh3-font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bnh3-ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.bnh3-brand-link span {
  white-space: nowrap;
}

.bnh3-brand-badge {
  background: linear-gradient(135deg, var(--bnh3-accent), var(--bnh3-accent2));
  color: var(--bnh3-on-accent);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--bnh3-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
  flex-shrink: 0;
}

.bnh3-nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.bnh3-nav-links li {
  white-space: nowrap;
}

.bnh3-nav-links a {
  text-decoration: none;
  color: var(--bnh3-ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
  display: inline-block;
}

.bnh3-nav-links a:hover,
.bnh3-nav-links a.active {
  color: var(--bnh3-accent);
}

.bnh3-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* CTA Buttons */
.bnh3-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bnh3-accent);
  color: var(--bnh3-on-accent) !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--bnh3-radius-pill);
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.3;
  box-shadow: 0 0 16px var(--bnh3-accent-glow);
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.bnh3-btn-primary:hover {
  background: var(--bnh3-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(54, 226, 152, 0.45);
}

.bnh3-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--bnh3-ink) !important;
  border: 1px solid var(--bnh3-border-bright);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--bnh3-radius-pill);
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.3;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bnh3-btn-secondary:hover {
  background: rgba(54, 226, 152, 0.12);
  border-color: var(--bnh3-accent);
}

.bnh3-btn-accent2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bnh3-accent2);
  color: var(--bnh3-on-accent) !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--bnh3-radius-pill);
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(212, 225, 30, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.bnh3-btn-accent2:hover {
  background: var(--bnh3-accent2-hover);
  transform: translateY(-2px);
}

/* Typography & Headings */
h1, h2, h3, h4 {
  font-family: var(--bnh3-font-heading);
  color: var(--bnh3-ink);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

h1 { font-size: var(--bnh3-h1); font-weight: 900; }
h2 { font-size: var(--bnh3-h2); font-weight: 800; margin-top: 2rem; }
h3 { font-size: var(--bnh3-h3); font-weight: 700; margin-top: 1.4rem; }
h4 { font-size: var(--bnh3-h4); font-weight: 700; }

p {
  margin-bottom: 1.15rem;
  color: var(--bnh3-ink);
}

/* Hero Section: Step-by-Step Decision Panel */
.bnh3-hero-panel {
  background: linear-gradient(180deg, var(--bnh3-surface) 0%, rgba(26, 61, 46, 0.6) 100%);
  border: 1px solid var(--bnh3-border-bright);
  border-radius: var(--bnh3-radius);
  padding: 2.75rem 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--bnh3-shadow-2);
  text-align: center;
}

.bnh3-hero-eyebrow {
  display: inline-block;
  background: rgba(54, 226, 152, 0.12);
  color: var(--bnh3-accent);
  border: 1px solid var(--bnh3-border);
  padding: 0.3rem 0.85rem;
  border-radius: var(--bnh3-radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.bnh3-hero-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.2rem;
}

.bnh3-hero-desc {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: var(--bnh3-ink-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* 3-Step Decision Flow */
.bnh3-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}

.bnh3-step-card {
  background: var(--bnh3-bg);
  border: 1px solid var(--bnh3-border);
  border-radius: var(--bnh3-radius);
  padding: 1.4rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bnh3-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--bnh3-accent);
}

.bnh3-step-num {
  font-family: var(--bnh3-font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--bnh3-accent2);
  margin-bottom: 0.5rem;
}

.bnh3-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--bnh3-ink);
}

.bnh3-step-text {
  font-size: 0.88rem;
  color: var(--bnh3-ink-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Bento Mosaic Grid System */
.bnh3-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.35rem;
  margin-bottom: 2.75rem;
}

.bnh3-col-12 { grid-column: span 12; }
.bnh3-col-8 { grid-column: span 8; }
.bnh3-col-7 { grid-column: span 7; }
.bnh3-col-6 { grid-column: span 6; }
.bnh3-col-5 { grid-column: span 5; }
.bnh3-col-4 { grid-column: span 4; }
.bnh3-col-3 { grid-column: span 3; }

/* Layered Elevation Cards */
.bnh3-card {
  background: var(--bnh3-surface);
  border: 1px solid var(--bnh3-border);
  border-radius: var(--bnh3-radius);
  padding: 1.75rem;
  box-shadow: var(--bnh3-shadow-1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bnh3-card:hover {
  transform: translateY(-3px);
  border-color: var(--bnh3-accent);
  box-shadow: var(--bnh3-shadow-2);
}

.bnh3-card-img-wrap {
  border-radius: calc(var(--bnh3-radius) - 4px);
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bnh3-card-img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bnh3-card:hover .bnh3-card-img-wrap img {
  transform: scale(1.03);
}

.bnh3-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--bnh3-accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.bnh3-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--bnh3-ink);
}

.bnh3-card-title a {
  color: var(--bnh3-ink);
  text-decoration: none;
}

.bnh3-card-title a:hover {
  color: var(--bnh3-accent);
}

.bnh3-card-desc {
  font-size: 0.92rem;
  color: var(--bnh3-ink-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Callouts & Capsules */
.bnh3-answer-capsule {
  background: rgba(54, 226, 152, 0.08);
  border-left: 4px solid var(--bnh3-accent);
  border-radius: 0 var(--bnh3-radius) var(--bnh3-radius) 0;
  padding: 1.15rem 1.4rem;
  margin: 1.25rem 0 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

.bnh3-answer-capsule strong {
  color: var(--bnh3-accent);
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.bnh3-eeat-box {
  background: var(--bnh3-surface);
  border: 1px solid var(--bnh3-border-bright);
  border-radius: var(--bnh3-radius);
  padding: 1.4rem 1.75rem;
  margin-bottom: 2rem;
}

.bnh3-eeat-title {
  font-family: var(--bnh3-font-heading);
  font-size: 0.9rem;
  color: var(--bnh3-accent2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.bnh3-eeat-text {
  font-size: 0.88rem;
  color: var(--bnh3-ink-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.bnh3-callout-warning {
  background: rgba(212, 225, 30, 0.08);
  border-left: 4px solid var(--bnh3-accent2);
  border-radius: 0 var(--bnh3-radius) var(--bnh3-radius) 0;
  padding: 1rem 1.35rem;
  margin: 1.35rem 0;
  font-size: 0.92rem;
}

.bnh3-callout-warning strong {
  color: var(--bnh3-accent2);
}

/* Structured Data Tables */
.bnh3-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border-radius: var(--bnh3-radius);
  border: 1px solid var(--bnh3-border);
}

.bnh3-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.bnh3-table th {
  background: var(--bnh3-surface-elevated);
  color: var(--bnh3-accent);
  font-family: var(--bnh3-font-heading);
  font-weight: 700;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--bnh3-border-bright);
}

.bnh3-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--bnh3-ink);
}

.bnh3-table tr:last-child td {
  border-bottom: none;
}

.bnh3-table tr:hover td {
  background: rgba(54, 226, 152, 0.04);
}

/* FAQ Accordion */
.bnh3-faq-item {
  background: var(--bnh3-surface);
  border: 1px solid var(--bnh3-border);
  border-radius: var(--bnh3-radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.bnh3-faq-q {
  font-family: var(--bnh3-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1.15rem 1.4rem;
  color: var(--bnh3-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bnh3-faq-a {
  padding: 0 1.4rem 1.25rem;
  font-size: 0.92rem;
  color: var(--bnh3-ink-muted);
  line-height: 1.6;
}

/* Responsible Gaming Advisory (21+) */
.bnh3-rg-banner {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(212, 225, 30, 0.25);
  border-radius: var(--bnh3-radius);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bnh3-rg-badge {
  font-family: var(--bnh3-font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--bnh3-accent2);
  border: 2px solid var(--bnh3-accent2);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  line-height: 1;
  flex-shrink: 0;
}

.bnh3-rg-text {
  font-size: 0.88rem;
  color: var(--bnh3-ink-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Footer: Accordion Footer */
.bnh3-footer {
  margin-top: auto;
  background: #0B1D16;
  border-top: 1px solid var(--bnh3-border);
  padding: 3.5rem 0 2rem;
}

.bnh3-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.bnh3-footer-col h5 {
  font-family: var(--bnh3-font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bnh3-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.15rem;
}

.bnh3-footer-links {
  list-style: none;
}

.bnh3-footer-links li {
  margin-bottom: 0.6rem;
}

.bnh3-footer-links a {
  color: var(--bnh3-ink-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.bnh3-footer-links a:hover {
  color: var(--bnh3-accent);
}

.bnh3-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--bnh3-ink-faint);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Breadcrumbs */
.bnh3-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--bnh3-ink-faint);
  margin-bottom: 1.5rem;
  list-style: none;
}

.bnh3-breadcrumbs a {
  color: var(--bnh3-ink-muted);
  text-decoration: none;
}

.bnh3-breadcrumbs a:hover {
  color: var(--bnh3-accent);
}

.bnh3-breadcrumbs span {
  color: var(--bnh3-ink-faint);
}

/* Sticky Mobile Quick-Action CTA Bar */
.bnh3-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 41, 31, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--bnh3-border-bright);
  padding: 0.65rem 1rem;
  z-index: 999;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.bnh3-mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.5rem;
  font-size: 0.9rem;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .bnh3-nav-links {
    gap: 0.75rem;
  }
  .bnh3-nav-links a {
    font-size: 0.82rem;
  }
  .bnh3-brand-badge {
    display: none;
  }
  .bnh3-btn-primary, .bnh3-btn-secondary {
    font-size: 0.82rem;
    padding: 0.4rem 0.85rem;
  }
}

@media (max-width: 992px) {
  .bnh3-nav-links {
    display: none !important;
  }
  .bnh3-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bnh3-col-8, .bnh3-col-7, .bnh3-col-6, .bnh3-col-5, .bnh3-col-4, .bnh3-col-3 {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  .bnh3-header-wrap {
    top: 0.5rem;
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
  }
  .bnh3-nav-pill {
    padding: 0.4rem 0.75rem;
    gap: 0.5rem;
    max-width: 100%;
  }
  .bnh3-brand-link {
    font-size: 1rem;
    gap: 0.35rem;
  }
  .bnh3-brand-link img {
    width: 26px;
    height: 26px;
  }
  .bnh3-brand-badge {
    display: none !important;
  }
  .bnh3-nav-links {
    display: none !important;
  }
  .bnh3-nav-actions {
    gap: 0.35rem;
  }
  .bnh3-btn-secondary {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }
  .bnh3-btn-primary {
    padding: 0.38rem 0.8rem;
    font-size: 0.8rem;
  }
  .bnh3-steps-grid {
    grid-template-columns: 1fr;
  }
  .bnh3-col-8, .bnh3-col-7, .bnh3-col-6, .bnh3-col-5, .bnh3-col-4, .bnh3-col-3 {
    grid-column: span 12;
  }
  .bnh3-footer-grid {
    grid-template-columns: 1fr;
  }
  .bnh3-hero-panel {
    padding: 1.75rem 1.25rem;
  }
  .bnh3-mobile-bar {
    display: flex;
  }
  body {
    padding-bottom: 4rem;
  }
}

@media (max-width: 390px) {
  .bnh3-brand-link span {
    font-size: 0.9rem;
  }
  .bnh3-nav-pill {
    padding: 0.35rem 0.5rem;
  }
  .bnh3-btn-secondary {
    display: none;
  }
  .bnh3-btn-primary {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
  }
}
