/* Design DNA Stylesheet: has5.css for casinoappph.com */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&display=swap');

:root {
  --has5-bg: #1D1218;
  --has5-surface: #3B2430;
  --has5-surface-alt: #2C1A24;
  --has5-surface-tint: #492D3C;
  --has5-ink: #F6F0F3;
  --has5-ink-muted: #CBB9C3;
  --has5-accent: #26F2EF;
  --has5-accent2: #D3D02C;
  --has5-on-accent: #111111;
  --has5-hairline: rgba(246, 240, 243, 0.14);
  --has5-font-head: 'Bricolage Grotesque', -apple-system, sans-serif;
  --has5-font-body: 'DM Sans', -apple-system, sans-serif;
  --has5-base: 18px;
  --has5-scale: 1.414;
  --has5-radius-pill: 24px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--has5-bg);
  color: var(--has5-ink);
  font-family: var(--has5-font-body);
  font-size: var(--has5-base);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--has5-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 500;
}

a:hover {
  color: var(--has5-accent2);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--has5-accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--has5-font-head);
  color: var(--has5-ink);
  font-weight: 700;
  line-height: 1.22;
  text-transform: none;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(1.95rem, 3.2vw, 2.75rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.42rem, 2.2vw, 1.85rem);
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(38, 242, 239, 0.28);
}

h3 {
  font-size: 1.24rem;
  margin: 1.5rem 0 0.65rem 0;
  color: var(--has5-accent2);
}

h4 {
  font-size: 1.05rem;
  margin: 1rem 0 0.45rem 0;
}

p {
  margin-bottom: 1.15rem;
  color: #EAE0E5;
}

ul, ol {
  margin: 0 0 1.25rem 1.4rem;
  color: #EAE0E5;
}

li {
  margin-bottom: 0.45rem;
}

/* Single-hero-reveal motion */
@keyframes has5HeroReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.has5-hero-reveal {
  animation: has5HeroReveal 0.45s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .has5-hero-reveal {
    animation: none;
  }
}

/* Reading Progress Bar */
.has5-progress-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 90;
}

.has5-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--has5-accent), var(--has5-accent2));
}

/* Non-blocking 21+ Compliance Top Ribbon */
.has5-age-ribbon {
  background: #2A1922;
  border-bottom: 1px solid var(--has5-hairline);
  color: var(--has5-ink-muted);
  font-size: 0.84rem;
  padding: 8px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.has5-age-ribbon strong {
  color: var(--has5-accent2);
}

/* Layout: Single-Column Longform with Left-Rail Navigation */
.has5-shell {
  display: flex;
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
}

.has5-left-rail {
  width: 268px;
  flex-shrink: 0;
  background: var(--has5-surface-alt);
  border-right: 1px solid var(--has5-hairline);
  padding: 24px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 40;
}

.has5-brand-link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--has5-ink);
  font-family: var(--has5-font-head);
  font-weight: 800;
  font-size: 1.15rem;
  min-height: 44px;
}

.has5-brand-link:hover {
  color: var(--has5-accent);
}

.has5-brand-link img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.has5-rail-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--has5-ink-muted);
  margin-bottom: 8px;
}

.has5-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.has5-rail-list li {
  margin: 0;
}

.has5-rail-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--has5-ink);
  text-decoration: none;
  font-size: 0.92rem;
  min-height: 44px;
}

.has5-rail-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--has5-accent);
  fill: none;
  stroke-width: 2;
}

.has5-rail-link:hover, .has5-rail-link.has5-is-active {
  background: var(--has5-surface);
  color: var(--has5-accent);
}

.has5-rail-ctas {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--has5-hairline);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Single-Column Longform Main Column */
.has5-main {
  flex: 1;
  min-width: 0;
  padding: 30px 42px 84px 42px;
}

.has5-longform {
  max-width: 820px;
  margin: 0 auto;
}

/* Mobile Top Bar */
.has5-mob-topbar {
  display: none;
  background: var(--has5-surface-alt);
  border-bottom: 1px solid var(--has5-hairline);
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 60;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.has5-mob-menu-btn {
  background: var(--has5-surface);
  color: var(--has5-ink);
  border: 1px solid var(--has5-hairline);
  border-radius: 12px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Breadcrumbs */
.has5-breadcrumbs {
  font-size: 0.86rem;
  color: var(--has5-ink-muted);
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.has5-breadcrumbs a {
  color: var(--has5-ink-muted);
  text-decoration: none;
}

.has5-breadcrumbs a:hover {
  color: var(--has5-accent);
}

/* Split-Button-With-Label CTA Pattern */
.has5-split-btn {
  display: inline-flex;
  align-items: stretch;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  min-height: 46px;
  font-family: var(--has5-font-head);
  font-weight: 700;
  font-size: 0.94rem;
}

.has5-split-main {
  background: var(--has5-accent);
  color: var(--has5-on-accent);
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.has5-split-tag {
  background: #14B5B2;
  color: var(--has5-on-accent);
  padding: 11px 12px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  border-left: 1px solid rgba(17, 17, 17, 0.22);
}

.has5-split-btn:hover .has5-split-main {
  background: var(--has5-accent2);
}

.has5-split-btn.has5-split-alt .has5-split-main {
  background: var(--has5-surface-tint);
  color: var(--has5-ink);
}

.has5-split-btn.has5-split-alt .has5-split-tag {
  background: var(--has5-surface);
  color: var(--has5-accent);
  border-left: 1px solid var(--has5-hairline);
}

.has5-split-btn.has5-split-alt:hover .has5-split-main {
  background: #5B384A;
}

/* Stat-Strip-Led Hero */
.has5-stat-hero {
  background: var(--has5-surface);
  border-radius: var(--has5-radius-pill);
  padding: 28px;
  margin-bottom: 26px;
}

.has5-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.has5-stat-cell {
  background: var(--has5-surface-alt);
  border-radius: 16px;
  padding: 10px 12px;
}

.has5-stat-val {
  display: block;
  font-family: var(--has5-font-head);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--has5-accent);
}

.has5-stat-lbl {
  display: block;
  font-size: 0.76rem;
  color: var(--has5-ink-muted);
}

.has5-hero-lead {
  font-size: 1.06rem;
  color: #F0E6EB;
  margin-bottom: 20px;
}

.has5-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Soft-Pill Cards (24px radius, tinted fill, zero border) */
.has5-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.has5-pill-card {
  background: var(--has5-surface);
  border-radius: var(--has5-radius-pill);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.has5-pill-card h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--has5-accent);
}

.has5-pill-card p {
  margin: 0;
  font-size: 0.93rem;
  color: #E7DCE2;
}

/* Expert Insight & TL;DR & Answer Capsules */
.has5-expert-box {
  background: var(--has5-surface-alt);
  border-radius: var(--has5-radius-pill);
  padding: 18px 22px;
  margin: 18px 0;
  border-left: 4px solid var(--has5-accent2);
}

.has5-tldr-box {
  background: var(--has5-surface);
  border-radius: var(--has5-radius-pill);
  padding: 18px 22px;
  margin: 18px 0;
}

.has5-tldr-box strong {
  color: var(--has5-accent);
}

.has5-answer-capsule {
  background: #2F1D27;
  border-radius: 18px;
  padding: 14px 18px;
  margin: 12px 0 16px 0;
  border-left: 3px solid var(--has5-accent);
  font-size: 0.96rem;
}

.has5-callout-tip {
  background: rgba(211, 208, 44, 0.1);
  border-radius: 18px;
  padding: 14px 18px;
  margin: 16px 0;
}

.has5-callout-tip strong {
  color: var(--has5-accent2);
}

/* Figure / Media */
.has5-figure {
  margin: 24px 0;
  background: var(--has5-surface);
  border-radius: var(--has5-radius-pill);
  overflow: hidden;
}

.has5-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.has5-figcaption {
  padding: 10px 18px;
  font-size: 0.84rem;
  color: var(--has5-ink-muted);
}

/* Data Tables */
.has5-table-scroll {
  overflow-x: auto;
  margin: 22px 0;
  border-radius: 18px;
  background: var(--has5-surface);
}

table.has5-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  text-align: left;
}

table.has5-table th {
  background: var(--has5-surface-tint);
  color: var(--has5-accent);
  padding: 13px 16px;
  font-family: var(--has5-font-head);
  font-weight: 700;
}

table.has5-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--has5-hairline);
  color: var(--has5-ink);
}

/* Step Walkthrough List */
.has5-walkthrough {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 26px 0;
}

.has5-step-card {
  background: var(--has5-surface);
  border-radius: var(--has5-radius-pill);
  padding: 18px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.has5-step-card h3 {
  margin: 0 0 6px 0;
  font-size: 1.08rem;
  color: var(--has5-accent);
}

.has5-step-card p {
  margin: 0;
  font-size: 0.96rem;
}

.has5-step-badge {
  background: var(--has5-accent);
  color: var(--has5-on-accent);
  font-family: var(--has5-font-head);
  font-weight: 800;
  font-size: 0.95rem;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Responsible Gaming Module */
.has5-rg-box {
  background: #2C1821;
  border-radius: var(--has5-radius-pill);
  padding: 24px;
  margin: 28px 0;
  border-left: 4px solid #FF6B8B;
}

.has5-rg-box h2 {
  margin-top: 0;
  border-bottom: none;
  color: #FF9CB1;
}

/* FAQ Accordion / List */
.has5-faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 32px 0;
}

.has5-faq-card {
  background: var(--has5-surface);
  border-radius: var(--has5-radius-pill);
  padding: 18px 22px;
}

.has5-faq-card h3 {
  margin: 0 0 8px 0;
  font-size: 1.06rem;
  color: var(--has5-accent);
}

.has5-faq-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Minimal-One-Row Footer + Link Directory */
.has5-footer {
  background: var(--has5-surface-alt);
  border-top: 1px solid var(--has5-hairline);
  padding: 28px 36px 86px 36px;
}

.has5-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.has5-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--has5-ink-muted);
}

.has5-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.has5-footer-links a {
  color: var(--has5-ink);
  text-decoration: none;
  font-size: 0.88rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.has5-footer-links a:hover {
  color: var(--has5-accent);
}

/* Mobile Sticky Bottom Bar */
.has5-mob-bar {
  display: none;
}

@media (max-width: 960px) {
  .has5-mob-topbar {
    display: flex;
  }

  .has5-shell {
    flex-direction: column;
  }

  .has5-left-rail {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 285px;
    height: calc(100vh - 64px);
    box-shadow: 6px 0 24px rgba(0, 0, 0, 0.45);
  }

  .has5-left-rail.has5-open {
    display: flex;
  }

  .has5-main {
    padding: 20px 16px 96px 16px;
  }

  .has5-stat-hero {
    padding: 20px 18px;
  }

  .has5-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .has5-mob-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--has5-surface-alt);
    border-top: 1px solid var(--has5-hairline);
    padding: 8px 12px;
    gap: 8px;
    z-index: 70;
  }

  .has5-mob-bar .has5-split-btn {
    flex: 1;
    min-height: 44px;
    font-size: 0.84rem;
  }

  .has5-mob-bar .has5-split-tag {
    display: none;
  }
}
