/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background-color: #e8f0f7;
  color: #222;
  line-height: 1.7;
}

a { color: #2e6fba; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #1a4d8a; text-decoration: underline; }

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

/* ===== LAYOUT ===== */
.site-wrap {
  max-width: 1070px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 24px rgba(46,111,186,0.10);
}

.content-area {
  padding: 2.5rem 2rem;
}

/* ===== HERO ===== */
.site-hero {
  background: linear-gradient(135deg, #1a4d8a 0%, #2e6fba 45%, #4a8fd4 100%);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.site-hero::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px; right: -40px; bottom: -40px;
  background: radial-gradient(ellipse at 30% 60%, rgba(255,255,255,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.site-logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.site-logo span { color: #a8d4ff; }

.site-tagline {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 0;
  font-weight: 400;
}

/* ===== NAVIGATION ===== */
.site-nav {
  background: #1e3a5f;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.nav-inner {
  max-width: 1070px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  flex-wrap: wrap;
}

.nav-links li a {
  display: block;
  padding: 1rem 1.1rem;
  color: #c8dff5;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-bottom-color: #4a8fd4;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #c8dff5;
  cursor: pointer;
  padding: 1rem;
  font-size: 1.4rem;
  margin-left: auto;
  transition: color 0.2s ease;
}

.nav-toggle:hover { color: #fff; }

/* ===== ANCHOR NAV (TOC) ===== */
.anchor-nav {
  background: #f0f6ff;
  border: 1px solid #c5d8f0;
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
}

.anchor-nav h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #2e6fba;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.anchor-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.anchor-nav ul li a {
  font-size: 0.88rem;
  color: #2e6fba;
  font-weight: 500;
}

.anchor-nav ul li a:hover { color: #1a4d8a; }

/* ===== HEADINGS ===== */
h1 {
  font-size: 2rem;
  color: #2e6fba;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  font-weight: 800;
}

h2 {
  font-size: 1.5rem;
  color: #2e6fba;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #d0e4f7;
  font-weight: 700;
}

h2:first-child { margin-top: 0; }

h3 {
  font-size: 1.15rem;
  color: #4a8fd4;
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

/* ===== PARAGRAPHS ===== */
p {
  margin-bottom: 1rem;
  color: #333;
}

/* ===== HR DIVIDERS ===== */
hr {
  border: none;
  border-top: 2px solid #d0e4f7;
  margin: 2.5rem 0;
}

/* ===== LISTS ===== */
ul, ol {
  margin: 0.5rem 0 1rem 0;
  padding-left: 1.6rem;
}

ul li, ol li {
  margin-bottom: 0.4rem;
  color: #333;
}

ul li::marker { color: #2e6fba; }

/* ===== COMPARISON TABLE ===== */
.tbl-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(46,111,186,0.10);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 500px;
}

.data-table thead tr {
  background: #1e3a5f;
  color: #fff;
}

.data-table thead th {
  padding: 0.9rem 1.1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: none;
}

.data-table tbody tr:nth-child(odd) { background: #f4f8ff; }
.data-table tbody tr:nth-child(even) { background: #fff; }

.data-table tbody tr:hover { background: #e4effe; transition: background 0.2s ease; }

.data-table tbody td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid #dde9f7;
  vertical-align: top;
}

.data-table tbody td:first-child { font-weight: 700; color: #2e6fba; }

/* ===== PROVIDER CARDS ===== */
.provider-card {
  background: #f4f8ff;
  border: 1px solid #c5d8f0;
  border-left: 4px solid #2e6fba;
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.provider-card:hover { box-shadow: 0 4px 16px rgba(46,111,186,0.12); }

.provider-card h2 {
  border-bottom: none;
  margin-top: 0;
  font-size: 1.3rem;
}

/* ===== NUMBERED STEPS ===== */
.art-steps {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.5rem;
}

.art-steps li {
  counter-increment: step-counter;
  padding: 0.8rem 1rem 0.8rem 3.5rem;
  background: #f4f8ff;
  border: 1px solid #c5d8f0;
  border-radius: 6px;
  margin-bottom: 0.6rem;
  position: relative;
  font-size: 0.95rem;
  color: #333;
  transition: background 0.2s ease;
}

.art-steps li:hover { background: #e4effe; }

.art-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: #2e6fba;
  color: #fff;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  margin: 1.5rem 0;
}

.faq-item {
  border: 1px solid #c5d8f0;
  border-radius: 6px;
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover { box-shadow: 0 2px 8px rgba(46,111,186,0.10); }

.faq-question {
  width: 100%;
  background: #f4f8ff;
  border: none;
  padding: 1rem 3rem 1rem 1.2rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #2e6fba;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
  display: block;
  line-height: 1.4;
}

.faq-question:hover { background: #e4effe; }

.faq-question.active { background: #2e6fba; color: #fff; }

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-question.active::after { content: '−'; }

.faq-answer {
  display: none;
  padding: 1rem 1.2rem 1.2rem;
  background: #fff;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer.open { display: block; }

/* ===== CALLOUT / INFO BOX ===== */
.info-box {
  background: #e8f0fb;
  border: 1px solid #b0ccee;
  border-left: 4px solid #4a8fd4;
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.info-box.warning {
  background: #fff8e1;
  border-color: #f0c040;
  border-left-color: #e0a000;
}

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

/* ===== BACK TO TOP ===== */
.btt {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #2e6fba;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(46,111,186,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease;
  z-index: 999;
}

.btt.visible { opacity: 1; pointer-events: auto; }
.btt:hover { background: #1a4d8a; transform: translateY(-2px); }

/* ===== FOOTER ===== */
.site-footer {
  background: #1e3a5f;
  color: #c8dff5;
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1070px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li { margin-bottom: 0.4rem; }

.footer-col ul li a {
  color: #a8c8e8;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover { color: #fff; text-decoration: none; }

.footer-col p {
  font-size: 0.85rem;
  color: #a8c8e8;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  background: #152c47;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  color: #7a9dbf;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 0.85rem;
  color: #6a8fb5;
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: #2e6fba; }
.breadcrumb span { color: #6a8fb5; }

/* ===== TWO-COLUMN GRID ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.two-col-item {
  background: #f4f8ff;
  border: 1px solid #c5d8f0;
  border-radius: 6px;
  padding: 1.2rem;
}

.two-col-item h3 { margin-top: 0; }

/* ===== PAGE HEADER BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #2e6fba 100%);
  padding: 2rem 2rem 1.8rem;
  color: #fff;
}

.page-banner h1 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.page-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
  margin: 0;
}

/* ===== RESPONSIBLE GAMBLING ===== */
.resp-gambling {
  background: #f0f6ff;
  border: 1px solid #b0ccee;
  border-radius: 6px;
  padding: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

.resp-gambling h3 {
  color: #2e6fba;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.7rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-area { padding: 2rem 1.5rem; }
  h1 { font-size: 1.7rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-logo { font-size: 1.6rem; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #1e3a5f;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid transparent;
  }

  .nav-links li a:hover { border-left-color: #4a8fd4; border-bottom-color: rgba(255,255,255,0.08); }

  .nav-inner { flex-wrap: wrap; padding: 0 1rem; }

  .two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  .content-area { padding: 1.5rem 1rem; }
  .page-banner { padding: 1.5rem 1rem; }
  .page-banner h1 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .site-hero { padding: 2rem 1rem 1.8rem; }
  .site-logo { font-size: 1.35rem; }
  .site-tagline { font-size: 0.92rem; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  .btt { bottom: 1rem; right: 1rem; }
  .anchor-nav ul { flex-direction: column; gap: 0.3rem; }
  .data-table { font-size: 0.85rem; }
  .data-table thead th, .data-table tbody td { padding: 0.7rem 0.8rem; }
}
