/* Mad Casino Nederland - Custom Brand Identity & Responsive System */
:root {
  --bg-main: #0c0d12;
  --bg-card: #151722;
  --bg-surface: #1e2130;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --accent-primary: #ff5722;
  --accent-hover: #f4511e;
  --accent-purple: #9c27b0;
  --accent-gold: #ffb300;
  --border-color: #2a2e42;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --radius: 10px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

header.site-header {
  background: rgba(12, 13, 18, 0.94);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.logo-wrap a {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-wrap span.brand-accent {
  color: var(--accent-primary);
}

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 22px;
}

nav.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.header-cta a {
  background: linear-gradient(135deg, var(--accent-primary), #e64a19);
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.header-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.breadcrumbs-container {
  background: #11131a;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 20px;
}

.breadcrumbs {
  max-width: 1160px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--accent-gold);
  text-decoration: none;
}

.breadcrumbs span {
  margin: 0 6px;
  color: var(--text-muted);
}

main.content-area {
  max-width: 1160px;
  margin: 30px auto;
  padding: 0 20px;
}

/* Strict Single Focus H1 */
h1.focus-h1 {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.2;
}

/* AI Overviews Direct Answer Paragraph */
.direct-answer {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.12), rgba(255, 87, 34, 0.12));
  border-left: 4px solid var(--accent-primary);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 26px;
}

/* Facts Grid for Instant Extraction */
dl.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 35px;
}

.facts-grid dt {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.facts-grid dd {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: var(--bg-card);
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

/* Content Headings (Natural User Questions PAA) */
h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-top: 36px;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  color: #cbd5e1;
  margin-top: 26px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 18px;
  color: #cbd5e1;
  font-size: 16px;
}

/* Images & Captions */
figure.media-block {
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

figure.media-block img {
  width: 100%;
  height: auto;
  display: block;
}

figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.3);
}

/* Data Tables with Horizontal Scroll Wrapper */
.table-wrapper {
  overflow-x: auto;
  margin: 26px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg-card);
}

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

table.data-table th {
  background: #191c28;
  color: var(--accent-gold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table.data-table tr:hover td {
  background: rgba(255, 87, 34, 0.04);
}

/* Lists */
ul.feature-list, ol.feature-list {
  margin: 18px 0 24px 22px;
  color: #cbd5e1;
}

ul.feature-list li, ol.feature-list li {
  margin-bottom: 10px;
}

/* Edge Case / Troubleshooting Callout */
.edge-case-box {
  background: #171924;
  border: 1px solid #3d2c47;
  border-left: 4px solid var(--accent-purple);
  padding: 20px;
  border-radius: var(--radius);
  margin: 28px 0;
}

.edge-case-box h3 {
  margin-top: 0;
  color: #e040fb;
}

/* Internal Bridges */
.intent-bridges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.intent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: block;
}

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

.intent-card h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 8px;
}

.intent-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Interactive Wagering Micro-Tool */
.calculator-card {
  background: #141724;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 26px;
  margin: 30px 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.calc-input-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calc-input-group input,
.calc-input-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: #0d0e14;
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 16px;
}

.calc-results {
  background: #1b1e2e;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  justify-content: space-around;
  border: 1px solid #2e344e;
}

.calc-res-item {
  text-align: center;
}

.calc-res-item span.label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.calc-res-item span.val {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-gold);
}

/* Sticky CTA Button */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-primary), #ff9800);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.sticky-cta a:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 87, 34, 0.7);
}

/* Footer */
footer.site-footer {
  background: #08090d;
  border-top: 1px solid var(--border-color);
  padding: 40px 20px 80px 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1160px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-bottom: 25px;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-disclaimer {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  border-top: 1px solid #1a1d29;
  padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 14px;
  }
  nav.main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  h1.focus-h1 {
    font-size: 30px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .calc-results {
    flex-direction: column;
    gap: 12px;
  }
}
