/* ══════════════════════════════════════════════════════════════════
   BOF CASINO NEDERLAND - DESIGN SYSTEM CONTRACT & STYLESHEET
   100% Unique Architecture: Sapphire Navy & Royal Gold Identity
   ══════════════════════════════════════════════════════════════════ */

:root {
  --bg-main: #0a0f1d;
  --bg-surface: #111a2e;
  --bg-card: #16223b;
  --bg-card-hover: #1c2b4a;
  --border-subtle: #243556;
  --border-focus: #d4af37;
  
  --primary-gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.28);
  --gold-gradient: linear-gradient(135deg, #f5d77f 0%, #d4af37 60%, #aa820a 100%);
  --gold-gradient-hover: linear-gradient(135deg, #fae29c 0%, #e5c158 60%, #bd9518 100%);
  
  --accent-cyan: #00d2ff;
  --accent-cyan-glow: rgba(0, 210, 255, 0.2);
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  padding-bottom: 80px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  color: #fae29c;
  text-decoration: underline;
}

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

/* ══════════════════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ══════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 29, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 20px;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.logo-bolt {
  color: var(--primary-gold);
  font-size: 1.5rem;
  display: inline-block;
  text-shadow: 0 0 12px var(--gold-glow);
}

.main-nav {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 4px 0;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(22, 34, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0b1220;
  background: var(--gold-gradient);
  border-color: var(--primary-gold);
  box-shadow: 0 4px 14px var(--gold-glow);
}

.header-cta .btn {
  white-space: nowrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0b1220;
  padding: 10px 20px;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  background: rgba(22, 34, 59, 0.85);
  color: #fff;
  border: 1px solid var(--border-subtle);
  padding: 10px 20px;
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* ══════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ══════════════════════════════════════════════════════════════════ */
.breadcrumb-nav {
  max-width: var(--container-max);
  margin: 16px auto 0;
  padding: 0 20px;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.breadcrumb-item a {
  color: var(--text-muted);
}

.breadcrumb-item a:hover {
  color: var(--primary-gold);
}

.breadcrumb-separator {
  color: var(--text-dim);
}

/* ══════════════════════════════════════════════════════════════════
   CONTAINERS & LAYOUT
   ══════════════════════════════════════════════════════════════════ */
main {
  width: 100%;
}

.pillar-container,
.cluster-container {
  max-width: var(--container-max);
  margin: 24px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.content-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.content-block h2 {
  font-size: 1.65rem;
  color: #fff;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 10px;
}

.content-block h3 {
  font-size: 1.25rem;
  color: var(--primary-gold);
  margin: 22px 0 10px;
}

.content-block p {
  color: #cbd5e1;
  margin-bottom: 14px;
}

.content-block ul,
.content-block ol {
  padding-left: 24px;
  margin-bottom: 18px;
  color: #cbd5e1;
}

.content-block li {
  margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════ */
.hero-section,
.cluster-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  background: linear-gradient(135deg, #111a2e 0%, #15223c 60%, #1a2a4b 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.cluster-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content,
.cluster-hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 9999px;
  width: fit-content;
}

.hero-section h1,
.cluster-hero h1 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.5px;
}

.hero-summary {
  background: rgba(10, 15, 29, 0.7);
  border-left: 4px solid var(--primary-gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-summary p {
  color: #e2e8f0;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
}

.hero-summary strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.hero-media,
.cluster-hero-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.hero-media img,
.cluster-hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-media:hover img,
.cluster-hero-media:hover img {
  transform: scale(1.02);
}

figure {
  margin: 20px 0;
}

figcaption {
  font-size: 0.84rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════════════
   QUICK FACTS DL & ATTRIBUTES
   ══════════════════════════════════════════════════════════════════ */
.quick-facts-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.quick-facts-section h2 {
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 20px;
}

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

.fact-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact-item dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  font-weight: 700;
}

.fact-item dd {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   TABLES (DATA & COMPARISON)
   ══════════════════════════════════════════════════════════════════ */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

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

table.data-table caption {
  padding: 14px 18px;
  font-weight: 700;
  color: var(--primary-gold);
  background: rgba(17, 26, 46, 0.8);
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

table.data-table th,
table.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

table.data-table thead th {
  background: #0d1527;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table.data-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.04);
}

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

/* ══════════════════════════════════════════════════════════════════
   EDGE CASE BOX & BRIDGES
   ══════════════════════════════════════════════════════════════════ */
.edge-case-box {
  background: linear-gradient(135deg, rgba(22, 34, 59, 0.85) 0%, rgba(30, 41, 68, 0.7) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-left: 5px solid var(--primary-gold);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 24px 0;
}

.edge-case-box h3,
.edge-case-box h4 {
  color: var(--primary-gold);
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.edge-case-box p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.edge-case-box p:last-child {
  margin-bottom: 0;
}

.bridge-container {
  background: rgba(22, 34, 59, 0.6);
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.bridge-container p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* ══════════════════════════════════════════════════════════════════
   WIDGETS & CALCULATOR
   ══════════════════════════════════════════════════════════════════ */
.widget-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 24px 0;
}

.widget-box h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 16px;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-row input,
.calc-row select {
  background: #0b1220;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.calc-row input:focus,
.calc-row select:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.calc-result {
  background: #090e1a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

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

.result-item span:first-child {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.result-item .highlight {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-gold);
}

/* ══════════════════════════════════════════════════════════════════
   CARDS, STEPS & TOOLS GRIDS
   ══════════════════════════════════════════════════════════════════ */
.install-steps-grid,
.checklist-grid,
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 22px 0;
}

.step-card,
.checklist-card,
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover,
.checklist-card:hover,
.tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.4);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0b1220;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.step-card h3,
.checklist-card h3,
.tool-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin: 0;
}

.step-card p,
.checklist-card p,
.tool-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   FAQ SECTION (ALWAYS OPEN ACCORDIONS)
   ══════════════════════════════════════════════════════════════════ */
.faq-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.faq-section h2 {
  font-size: 1.65rem;
  color: #fff;
  margin-bottom: 22px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

details.faq-item[open] {
  border-color: rgba(212, 175, 55, 0.45);
}

details.faq-item summary {
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: rgba(22, 34, 59, 0.7);
  outline: none;
  list-style: none;
  position: relative;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "▾";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-gold);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

details.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  padding: 16px 20px;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #070b14;
  border-top: 1px solid var(--border-subtle);
  padding: 44px 20px 24px;
  margin-top: 50px;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 1.2fr;
  gap: 32px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links-col h3,
.footer-compliance-col h3,
.footer-contact-col h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 14px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links-col a:hover {
  color: var(--primary-gold);
}

.footer-compliance-col p,
.footer-contact-col p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-contact-col strong {
  color: #fff;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* ══════════════════════════════════════════════════════════════════
   STICKY MOBILE CTA
   ══════════════════════════════════════════════════════════════════ */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(10, 15, 29, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.5);
}

.sticky-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.sticky-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-gold);
  line-height: 1.2;
}

.sticky-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .hero-section,
  .cluster-hero {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section h1,
  .cluster-hero h1 {
    font-size: 2.1rem;
  }
  
  .content-block {
    padding: 24px 20px;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .bridge-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
