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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: #0D0D1A;
  color: #e0e0f0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #00E5FF;
  color: #0D0D1A;
  padding: 8px 16px;
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus {
  left: 0;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: #ffffff;
}

h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.8rem); margin-bottom: 0.25rem; }
h3 { font-size: clamp(1rem, 2.5vw, 1.3rem); }

p { margin-bottom: 1rem; }

a {
  color: #00E5FF;
  text-decoration: underline;
}
a:hover { color: #B8860B; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 26, 0.96);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  backdrop-filter: blur(10px);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 60px;
  max-width: 100%;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  color: #00E5FF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-mark {
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── Nav toggle ── */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: transparent;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 6px;
  cursor: pointer;
  color: #00E5FF;
  flex-shrink: 0;
  margin-left: auto;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #00E5FF;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg) translate(4px, 4px);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ── Header CTAs ── */
.header-ctas {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: 44px;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cta-signup {
  background: #00E5FF;
  color: #0D0D1A;
  border: 2px solid #00E5FF;
}
.cta-signup:hover {
  background: #B8860B;
  border-color: #B8860B;
  color: #ffffff;
}

.cta-login {
  background: transparent;
  color: #00E5FF;
  border: 2px solid #00E5FF;
}
.cta-login:hover {
  background: rgba(0, 229, 255, 0.1);
}

.cta.full-width {
  width: 100%;
}

.mt-sm { margin-top: 8px; }

/* ── Site nav (hidden on mobile) ── */
.site-nav {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(13, 13, 26, 0.98);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  z-index: 99;
  padding: 8px 0;
}

.site-nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list li {
  border-bottom: 1px solid rgba(0, 229, 255, 0.07);
}

.nav-list a {
  display: block;
  padding: 12px 16px;
  min-height: 44px;
  color: #e0e0f0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s, background 0.2s;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.05);
}

/* ── Desktop nav ── */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    flex: 1;
    justify-content: flex-start;
    overflow: visible;
  }

  .nav-list {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
  }

  .nav-list li {
    border: none;
  }

  .nav-list a {
    padding: 4px 10px;
    min-height: auto;
    font-size: 0.82rem;
    border-radius: 4px;
    white-space: nowrap;
  }

  .header-inner {
    padding: 0 24px;
    gap: 16px;
  }

  .brand-name {
    font-size: 1.1rem;
  }
}

/* ── Page banner / breadcrumb ── */
.page-banner {
  background: linear-gradient(135deg, rgba(0,229,255,0.06) 0%, rgba(184,134,11,0.04) 100%);
  border-bottom: 1px solid rgba(0,229,255,0.1);
  padding: 10px 0;
  width: 100%;
  overflow: hidden;
}

.page-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #00E5FF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
}
.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb span[aria-current="page"] {
  color: #888;
}

.stage-badge {
  background: rgba(184, 134, 11, 0.2);
  color: #B8860B;
  border: 1px solid rgba(184, 134, 11, 0.4);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Main layout ── */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  width: 100%;
}

.content-with-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
  width: 100%;
}

@media (min-width: 900px) {
  .content-with-sidebar {
    flex-direction: row;
    align-items: flex-start;
  }
  .main-content-area {
    flex: 1 1 0;
    min-width: 0;
  }
  .sidebar {
    flex: 0 0 280px;
    width: 280px;
    position: sticky;
    top: 80px;
  }
}

/* ── Glass cards ── */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(8px);
}

/* ── Sidebar ── */
.sidebar-card {
  margin-bottom: 16px;
}

.sidebar-heading {
  font-size: 1rem;
  color: #00E5FF;
  margin-bottom: 4px;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.sidebar-nav li {
  border-bottom: 1px solid rgba(0,229,255,0.07);
}

.sidebar-nav a {
  display: block;
  padding: 10px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #c0c0d8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.sidebar-nav a:hover { color: #00E5FF; }

.sidebar-note {
  font-size: 0.85rem;
  color: #888;
  margin: 8px 0;
}

.card-link {
  display: inline-block;
  color: #00E5FF;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
}
.card-link:hover { color: #B8860B; }

.cta-card-label {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 8px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-score {
  font-size: 2rem;
  font-family: 'Playfair Display', Georgia, serif;
  color: #B8860B;
  margin-bottom: 12px !important;
}

/* ── Prose ── */
.prose {
  max-width: 72ch;
  width: 100%;
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.25rem;
}

.prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #B8860B;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}

.prose th,
.prose td {
  border: 1px solid rgba(0,229,255,0.15);
  padding: 8px 12px;
  text-align: left;
}

.prose th {
  background: rgba(0,229,255,0.08);
  color: #00E5FF;
  font-weight: 600;
}

.prose a {
  color: #00E5FF;
  text-decoration: underline;
}

.prose blockquote {
  border-left: 3px solid #B8860B;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #aaa;
  font-style: italic;
}

/* ── p.subtitle (heading decoration) ── */
p.subtitle {
  color: #888;
  font-size: 0.9rem;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* ── Byline ── */
.byline {
  color: #888;
  font-size: 0.88rem;
  margin: 8px 0 16px;
}
.author-name {
  color: #B8860B;
  font-weight: 600;
}

/* ── Hero article ── */
.hero-section {
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(0,229,255,0.1);
  margin-bottom: 8px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  color: #B8860B;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  margin-bottom: 12px;
}

.hero-image-wrap {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* ── Article header ── */
.article-header-section,
.cases-header-section,
.faq-header-section,
.about-header-section,
.contact-header-section,
.privacy-header-section {
  padding: 28px 0 16px;
  border-bottom: 1px solid rgba(0,229,255,0.1);
  margin-bottom: 8px;
}

.article-h1,
.cases-h1,
.faq-h1,
.about-h1,
.contact-h1,
.privacy-h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 10px;
}

/* ── Cards grid ── */
.child-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}

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

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

.child-card {
  display: flex;
  flex-direction: column;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-eyebrow {
  font-size: 0.75rem;
  color: #B8860B;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-weight: 600;
}

.card-title {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-title a {
  color: #fff;
  text-decoration: none;
}
.card-title a:hover { color: #00E5FF; }

.card-desc {
  font-size: 0.88rem;
  color: #b0b0c8;
  flex: 1;
  margin-bottom: 8px;
}

.card-date {
  font-size: 0.78rem;
  color: #666;
  display: block;
  margin-bottom: 8px;
}

/* ── Cards article wrapper ── */
.cards-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,229,255,0.1);
}

/* ── Ranking ── */
.ranking-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,229,255,0.1);
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.ranking-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.rank-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, #B8860B, #DAA520);
  color: #0D0D1A;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: 'Playfair Display', Georgia, serif;
}

.rank-body { flex: 1; min-width: 0; }
.rank-title { font-size: 1rem; margin-bottom: 6px; }
.rank-title a { color: #fff; text-decoration: none; }
.rank-title a:hover { color: #00E5FF; }
.rank-desc { font-size: 0.88rem; color: #b0b0c8; margin-bottom: 6px; }

/* ── About author ── */
.author-profile {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.author-avatar-placeholder {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: linear-gradient(135deg, #00E5FF, #B8860B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0D0D1A;
  font-family: 'Playfair Display', Georgia, serif;
}

.author-avatar { border-radius: 50%; }

.author-info { flex: 1; min-width: 200px; }

.author-name-heading {
  font-size: 1.3rem;
  color: #00E5FF;
  margin-bottom: 4px;
}

.author-bio {
  font-size: 0.9rem;
  color: #b0b0c8;
  line-height: 1.6;
}

/* ── Contact info card ── */
.contact-info {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #b0b0c8;
}

/* ── Footer ── */
.site-footer {
  background: rgba(8, 8, 18, 0.98);
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  margin-top: 48px;
  width: 100%;
}

.site-footer > article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px;
}

.site-footer > article + article {
  border-top: 1px solid rgba(0, 229, 255, 0.08);
}

.footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: #00E5FF;
  margin-bottom: 16px;
  font-weight: 700;
}

/* ── Footer nav (dl/dt/dd structure) ── */
.footer-nav-dl {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-nav-dl dt {
  border-bottom: 1px solid rgba(0,229,255,0.06);
}

.footer-nav-dl dt a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: #b0b0c8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  width: 100%;
}

.footer-nav-dl dt a:hover {
  color: #00E5FF;
}

@media (min-width: 600px) {
  .footer-nav-dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 16px;
  }
}

@media (min-width: 900px) {
  .footer-nav-dl {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Footer legal article ── */
.footer-legal-section {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.responsible-gambling {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.5;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: rgba(184, 134, 11, 0.07);
  border-left: 3px solid #B8860B;
  border-radius: 4px;
}

.footer-copy {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 8px;
}

.footer-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.trust-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #777;
  text-decoration: none;
  font-size: 0.82rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.trust-link:hover {
  color: #00E5FF;
  border-color: rgba(0,229,255,0.3);
}

/* ── FAQ prose ── */
.faq-prose details {
  border-bottom: 1px solid rgba(0,229,255,0.1);
  padding: 12px 0;
}
.faq-prose summary {
  cursor: pointer;
  color: #00E5FF;
  font-weight: 600;
  padding: 4px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ── Utility ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Neon divider ── */
hr.neon {
  border: none;
  border-top: 1px solid rgba(0,229,255,0.2);
  margin: 32px 0;
}

/* ── Prevent overflow from pre/code in prose ── */
.prose pre {
  overflow-x: auto;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,229,255,0.1);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.85rem;
}

.prose code {
  background: rgba(0,229,255,0.08);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.88em;
  word-break: break-word;
}

/* ── Images ── */
img {
  max-width: 100%;
  height: auto;
}

/* ── Ensure nothing causes horizontal overflow ── */
.page-banner,
.breadcrumb,
.header-inner,
.footer-nav-dl,
main,
.content-with-sidebar,
.prose,
.main-content-area {
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}.tbl-scroll{overflow-x:auto;max-width:100%}