/* Bootstrap 5.3.3 handles grid via unpkg CDN — per-site component classes use hw- prefix */

/* ============================================================
   HALIFAXLODGE — Wave Pop design system
   CSS prefix: hw-
   Fonts: Bangers (display) + Nunito (body)
   Colors: deep navy #0a1a2e, coral #ff5c5c, yellow #ffe135,
           ocean blue #1a6fb4, surface #132038
   ============================================================ */

/* ── Root variables ─────────────────────────────────────────── */
:root {
  --hw-bg-deep:    #0a1a2e;
  --hw-bg-surface: #132038;
  --hw-accent:     #ff5c5c;
  --hw-yellow:     #ffe135;
  --hw-ocean:      #1a6fb4;
  --hw-text:       #f0f4ff;
  --hw-muted:      #8ba5c8;
  --hw-border:     rgba(255, 92, 92, 0.2);
  --hw-display:    'Bangers', cursive;
  --hw-body:       'Nunito', sans-serif;
  --hw-radius:     12px;
  --hw-radius-lg:  20px;
  --hw-shadow-sm:  0 2px 8px rgba(0,0,0,0.35);
  --hw-shadow-md:  0 4px 20px rgba(0,0,0,0.5);
  --hw-shadow-lg:  0 8px 40px rgba(0,0,0,0.65);
  --hw-transition: 0.22s ease;
  --hw-stroke:     2px solid var(--hw-border);
}

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--hw-body);
  background-color: var(--hw-bg-deep);
  color: var(--hw-text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hw-display);
  letter-spacing: 0.04em;
  margin-top: 0;
}

a {
  color: var(--hw-accent);
  text-decoration: none;
  transition: color var(--hw-transition);
}

a:hover {
  color: var(--hw-yellow);
}

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

/* ── Topbar (18+ strip) ─────────────────────────────────────── */
.hw-topbar {
  background-color: var(--hw-accent);
  color: var(--hw-bg-deep);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1100;
}

/* ── Sticky Nav ────────────────────────────────────────────── */
.hw-nav {
  background-color: var(--hw-bg-surface);
  border-bottom: 2px solid var(--hw-border);
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: var(--hw-shadow-sm);
}

.hw-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
}

.hw-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hw-display);
  font-size: 1.5rem;
  color: var(--hw-yellow);
  letter-spacing: 0.06em;
  min-height: 44px;
}

.hw-nav__logo img {
  height: 38px;
  width: auto;
}

.hw-nav__toggle {
  background: none;
  border: 2px solid var(--hw-accent);
  border-radius: var(--hw-radius);
  color: var(--hw-accent);
  cursor: pointer;
  padding: 6px 10px;
  min-height: 44px;
  min-width: 44px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--hw-transition);
}

.hw-nav__toggle:hover {
  background: var(--hw-accent);
  color: var(--hw-bg-deep);
}

.hw-nav__menu {
  display: none;
  flex-direction: column;
  background-color: var(--hw-bg-surface);
  border-top: 1px solid var(--hw-border);
  padding: 8px 0;
}

.hw-nav__menu.is-open {
  display: flex;
}

.hw-nav__link {
  display: block;
  color: var(--hw-text);
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--hw-transition), background var(--hw-transition);
  border-radius: 0;
}

.hw-nav__link:hover,
.hw-nav__link.is-active {
  color: var(--hw-yellow);
  background: rgba(255, 225, 53, 0.07);
}

@media (min-width: 768px) {
  .hw-nav__toggle {
    display: none;
  }
  .hw-nav__menu {
    display: flex;
    flex-direction: row;
    background: none;
    border: none;
    padding: 0;
    gap: 4px;
  }
  .hw-nav__link {
    padding: 8px 14px;
    border-radius: var(--hw-radius);
  }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hw-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 80px;
  text-align: center;
  background-color: var(--hw-bg-deep);
}

.hw-hero__content {
  position: relative;
  z-index: 2;
}

.hw-hero__badge {
  display: inline-block;
  background: var(--hw-ocean);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hw-hero__title {
  font-family: var(--hw-display);
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--hw-yellow);
  margin-bottom: 18px;
  text-shadow: 3px 3px 0 var(--hw-bg-deep);
}

.hw-hero__lead {
  font-size: 1.05rem;
  color: var(--hw-muted);
  max-width: 540px;
  margin: 0 auto 28px;
}

.hw-hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
}

@media (min-width: 480px) {
  .hw-hero__cta-group {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hw-hero__title {
    font-size: 3.6rem;
  }
  .hw-hero__lead {
    font-size: 1.15rem;
  }
}

@media (min-width: 992px) {
  .hw-hero__title {
    font-size: 4.2rem;
  }
  .hw-hero {
    padding: 80px 0 100px;
  }
}

/* ── Wave animation (CSS only) ──────────────────────────────── */
.hw-wave-canvas {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  overflow: hidden;
  z-index: 1;
}

.hw-wave-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.hw-wave-shape--1 {
  animation: hwWaveScroll 8s linear infinite;
  opacity: 0.6;
}

.hw-wave-shape--2 {
  animation: hwWaveScroll 12s linear infinite reverse;
  opacity: 0.35;
}

@keyframes hwWaveScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.hw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--hw-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-weight: 400;
  padding: 10px 28px;
  border-radius: var(--hw-radius);
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
}

.hw-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--hw-shadow-md);
}

.hw-btn--primary {
  background: var(--hw-accent);
  color: #fff;
  border-color: var(--hw-accent);
}

.hw-btn--primary:hover {
  background: #e04040;
  color: #fff;
}

.hw-btn--outline {
  background: transparent;
  color: var(--hw-yellow);
  border-color: var(--hw-yellow);
}

.hw-btn--outline:hover {
  background: var(--hw-yellow);
  color: var(--hw-bg-deep);
}

.hw-btn--ocean {
  background: var(--hw-ocean);
  color: #fff;
  border-color: var(--hw-ocean);
}

.hw-btn--ocean:hover {
  background: #155d9e;
  color: #fff;
}

.hw-btn--sm {
  font-size: 0.85rem;
  padding: 7px 18px;
  min-height: 44px;
}

.hw-btn--lg {
  font-size: 1.25rem;
  padding: 14px 36px;
  min-height: 52px;
}

/* ── Feature Cards ──────────────────────────────────────────── */
.hw-features {
  background-color: var(--hw-bg-surface);
  padding: 56px 0;
  border-top: 2px solid var(--hw-border);
  border-bottom: 2px solid var(--hw-border);
}

.hw-section-title {
  font-family: var(--hw-display);
  font-size: 2rem;
  color: var(--hw-yellow);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.hw-section-lead {
  text-align: center;
  color: var(--hw-muted);
  font-size: 0.97rem;
  max-width: 500px;
  margin: 0 auto 36px;
}

.hw-card {
  background: var(--hw-bg-deep);
  border: var(--hw-stroke);
  border-radius: var(--hw-radius-lg);
  padding: 28px 24px;
  transition: transform var(--hw-transition), box-shadow var(--hw-transition);
  height: 100%;
}

.hw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255,92,92,0.18);
}

.hw-card__icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
}

.hw-card__title {
  font-family: var(--hw-display);
  font-size: 1.4rem;
  color: var(--hw-accent);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.hw-card__text {
  color: var(--hw-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ── Game Preview Strip ─────────────────────────────────────── */
.hw-preview {
  padding: 56px 0;
  background: var(--hw-bg-deep);
}

.hw-preview__frame {
  background: var(--hw-bg-surface);
  border: 3px solid var(--hw-ocean);
  border-radius: var(--hw-radius-lg);
  padding: 24px;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.hw-preview__label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hw-ocean);
  color: #fff;
  font-family: var(--hw-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding: 3px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.hw-preview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 12px;
}
@media (min-width: 576px) {
  .hw-preview__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .hw-preview__grid { grid-template-columns: repeat(5, 1fr); }
}

.hw-preview__cell {
  background: var(--hw-bg-deep);
  border: 2px solid rgba(26,111,180,0.4);
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--hw-muted);
  font-family: var(--hw-display);
}

.hw-preview__cell--accent {
  border-color: var(--hw-accent);
  color: var(--hw-accent);
}

.hw-preview__cell--yellow {
  border-color: var(--hw-yellow);
  color: var(--hw-yellow);
}

.hw-preview__footer {
  text-align: center;
  margin-top: 16px;
  color: var(--hw-muted);
  font-size: 0.82rem;
}

/* ── Comparison Table ───────────────────────────────────────── */
.hw-compare {
  background: var(--hw-bg-surface);
  padding: 56px 0;
  border-top: 2px solid var(--hw-border);
}

.hw-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hw-compare th {
  background: var(--hw-bg-deep);
  color: var(--hw-yellow);
  font-family: var(--hw-display);
  font-size: 1rem;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--hw-border);
  letter-spacing: 0.05em;
}

.hw-compare td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--hw-border);
  color: var(--hw-text);
}

.hw-compare tr:last-child td {
  border-bottom: none;
}

.hw-compare td:nth-child(2) {
  color: var(--hw-accent);
  font-weight: 700;
}

.hw-compare td:nth-child(3) {
  color: var(--hw-muted);
}

/* ── Platform Pillars ──────────────────────────────────────── */
.hw-pillars {
  padding: 56px 0;
  background: var(--hw-bg-deep);
}

.hw-pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.hw-pillar:last-child {
  margin-bottom: 0;
}

.hw-pillar__num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--hw-ocean);
  color: #fff;
  font-family: var(--hw-display);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(26,111,180,0.5);
}

.hw-pillar__body h3 {
  font-family: var(--hw-display);
  font-size: 1.3rem;
  color: var(--hw-accent);
  margin-bottom: 6px;
}

.hw-pillar__body p {
  color: var(--hw-muted);
  font-size: 0.93rem;
  margin: 0;
}

@media (min-width: 768px) {
  .hw-pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }
  .hw-pillar {
    flex-direction: column;
    margin-bottom: 0;
  }
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.hw-faq {
  background: var(--hw-bg-surface);
  padding: 56px 0;
  border-top: 2px solid var(--hw-border);
  border-bottom: 2px solid var(--hw-border);
}

.hw-faq__item {
  border: var(--hw-stroke);
  border-radius: var(--hw-radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.hw-faq__question {
  width: 100%;
  background: var(--hw-bg-deep);
  color: var(--hw-text);
  font-family: var(--hw-body);
  font-size: 0.97rem;
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  transition: background var(--hw-transition);
}

.hw-faq__question:hover {
  background: rgba(26,111,180,0.12);
}

.hw-faq__question[aria-expanded="true"] {
  color: var(--hw-yellow);
}

.hw-faq__icon {
  flex-shrink: 0;
  transition: transform 0.25s;
  font-size: 1.1rem;
}

.hw-faq__question[aria-expanded="true"] .hw-faq__icon {
  transform: rotate(45deg);
}

.hw-faq__answer {
  display: none;
  padding: 14px 18px;
  color: var(--hw-muted);
  font-size: 0.92rem;
  background: var(--hw-bg-surface);
  border-top: 1px solid var(--hw-border);
}

.hw-faq__answer.is-open {
  display: block;
}

/* ── Responsible Gambling Section ──────────────────────────── */
.hw-rg {
  padding: 60px 0;
  background: var(--hw-bg-deep);
  border-top: 3px solid var(--hw-accent);
}

.hw-rg__title {
  font-family: var(--hw-display);
  font-size: 2rem;
  color: var(--hw-accent);
  margin-bottom: 8px;
}

.hw-rg__lead {
  color: var(--hw-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.hw-rg-logos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 480px) {
  .hw-rg-logos { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .hw-rg-logos { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 576px) {
  .hw-rg-logos {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hw-logo-frame {
  background: var(--hw-bg-surface);
  border: var(--hw-stroke);
  border-radius: var(--hw-radius);
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}

.hw-logo-frame a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
}

.hw-logo-frame img {
  max-height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity var(--hw-transition);
}

.hw-logo-frame:hover img {
  opacity: 1;
}

/* ── Footer 3-tier ──────────────────────────────────────────── */
.hw-footer {
  background: var(--hw-bg-surface);
}

.hw-footer__cta {
  background: var(--hw-accent);
  color: var(--hw-bg-deep);
  text-align: center;
  padding: 28px 16px;
}

.hw-footer__cta h3 {
  font-family: var(--hw-display);
  font-size: 1.6rem;
  color: var(--hw-bg-deep);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.hw-footer__cta a {
  color: var(--hw-bg-deep);
  font-weight: 800;
  text-decoration: underline;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hw-footer__links {
  padding: 36px 16px;
  border-bottom: 1px solid var(--hw-border);
}

.hw-footer__col-title {
  font-family: var(--hw-display);
  font-size: 1.1rem;
  color: var(--hw-yellow);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.hw-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hw-footer__col ul li {
  margin-bottom: 6px;
}

.hw-footer__col ul li a {
  color: var(--hw-muted);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color var(--hw-transition);
}

.hw-footer__col ul li a:hover {
  color: var(--hw-text);
}

.hw-footer__bottom {
  background: var(--hw-bg-deep);
  padding: 22px 16px;
}

.hw-footer__regs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.hw-footer__regs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 4px;
}

.hw-footer__regs img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity var(--hw-transition);
}

.hw-footer__regs a:hover img {
  opacity: 1;
}

.hw-footer__copy {
  text-align: center;
  color: var(--hw-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.hw-footer__disclaimer {
  text-align: center;
  color: var(--hw-muted);
  font-size: 0.73rem;
  margin-top: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.75;
}

/* ── Age Gate Overlay ───────────────────────────────────────── */
.hw-agegate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,26,46,0.97);
  padding: 16px;
}

.hw-agegate__panel {
  background: var(--hw-bg-surface);
  border: 3px solid var(--hw-accent);
  border-radius: var(--hw-radius-lg);
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hw-agegate__wave-art {
  background: var(--hw-ocean);
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  position: relative;
  overflow: hidden;
}

.hw-agegate__wave-art::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  height: 50px;
  background: var(--hw-bg-surface);
  border-radius: 50% 50% 0 0;
}

.hw-agegate__wave-num {
  font-family: var(--hw-display);
  font-size: 4rem;
  color: var(--hw-yellow);
  text-shadow: 4px 4px 0 rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}

.hw-agegate__right {
  padding: 32px 28px;
}

.hw-agegate__right h2 {
  font-family: var(--hw-display);
  font-size: 1.8rem;
  color: var(--hw-yellow);
  margin-bottom: 12px;
}

.hw-agegate__right p {
  color: var(--hw-muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.hw-agegate__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hw-agegate__actions .hw-btn {
  flex: 1;
  min-width: 120px;
}

@media (min-width: 576px) {
  .hw-agegate__panel {
    flex-direction: row;
  }
  .hw-agegate__wave-art {
    min-width: 200px;
    min-height: unset;
    flex-direction: column;
  }
  .hw-agegate__wave-art::before {
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    width: 50px;
    height: 120%;
    border-radius: 0 50% 50% 0;
  }
}

/* ── Cookie Banner ──────────────────────────────────────────── */
.hw-cookie {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9998;
  width: calc(100% - 24px);
  max-width: 820px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: 12px;
}

.hw-cookie.is-visible {
  transform: translateX(-50%) translateY(0);
}

.hw-cookie__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--hw-bg-surface);
  border: 2px solid var(--hw-ocean);
  border-radius: var(--hw-radius-lg) var(--hw-radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--hw-shadow-lg);
}

.hw-cookie__text-card {
  padding: 18px 22px;
  border-bottom: 1px solid var(--hw-border);
}

.hw-cookie__text-card h4 {
  font-family: var(--hw-display);
  font-size: 1.1rem;
  color: var(--hw-yellow);
  margin-bottom: 5px;
}

.hw-cookie__text-card p {
  color: var(--hw-muted);
  font-size: 0.84rem;
  margin: 0;
}

.hw-cookie__btn-card {
  padding: 14px 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hw-cookie__btn-card .hw-btn {
  flex: 1;
  min-width: 110px;
  font-size: 0.88rem;
  padding: 8px 16px;
}

@media (min-width: 576px) {
  .hw-cookie__inner {
    flex-direction: row;
    border-radius: var(--hw-radius-lg);
  }
  .hw-cookie__text-card {
    flex: 2;
    border-bottom: none;
    border-right: 1px solid var(--hw-border);
  }
  .hw-cookie__btn-card {
    flex: 1;
    flex-direction: column;
    justify-content: center;
  }
  .hw-cookie {
    padding-bottom: 16px;
  }
}

/* ── Initials Avatar ─────────────────────────────────────────── */
.hw-avatar {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hw-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 50%;
  text-transform: uppercase;
  color: var(--hw-bg-deep);
  flex-shrink: 0;
}

.hw-avatar--lg {
  width: 96px;
  height: 96px;
  font-size: 32px;
}

.hw-avatar--sm {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

/* ── Game Room (wave-room.php) ──────────────────────────────── */
.hw-gameroom {
  padding: 48px 0 64px;
  background: var(--hw-bg-deep);
  min-height: 60vh;
}

.hw-gameroom__hero {
  text-align: center;
  margin-bottom: 36px;
}

.hw-gameroom__hero h1 {
  font-family: var(--hw-display);
  font-size: 2.2rem;
  color: var(--hw-yellow);
  letter-spacing: 0.05em;
}

.hw-gameroom__hero p {
  color: var(--hw-muted);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Game Widget Shell ──────────────────────────────────────── */
.hw-game-widget {
  background: var(--hw-bg-surface);
  border: 3px solid var(--hw-ocean);
  border-radius: var(--hw-radius-lg);
  padding: 20px;
  max-width: 680px;
  margin: 0 auto 32px;
  box-shadow: var(--hw-shadow-lg);
}

.hw-game-widget__title {
  font-family: var(--hw-display);
  font-size: 1.5rem;
  color: var(--hw-yellow);
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}

.hw-game-widget__sub {
  text-align: center;
  color: var(--hw-muted);
  font-size: 0.8rem;
  margin-bottom: 18px;
}

/* ── Stats Row ─────────────────────────────────────────────── */
.hw-stats {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hw-stat-box {
  background: var(--hw-bg-deep);
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  padding: 8px 16px;
  text-align: center;
  min-width: 90px;
}

.hw-stat-box__label {
  font-size: 0.68rem;
  color: var(--hw-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
}

.hw-stat-box__val {
  font-family: var(--hw-display);
  font-size: 1.3rem;
  color: var(--hw-yellow);
  letter-spacing: 0.04em;
}

/* ── Grid Columns ─────────────────────────────────────────── */
/* game-ui */
.hw-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  background: var(--hw-bg-deep);
  border: 2px solid rgba(26,111,180,0.3);
  border-radius: var(--hw-radius);
  padding: 12px;
}

.hw-cell {
  background: var(--hw-bg-surface);
  border: 2px solid rgba(26,111,180,0.25);
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--hw-muted);
}

.hw-cell.hw-win {
  border-color: var(--hw-yellow);
  box-shadow: 0 0 14px rgba(255, 225, 53, 0.55);
  animation: hwCellPulse 0.6s ease 3;
}

.hw-cell.hw-locked {
  border-color: var(--hw-accent);
  box-shadow: 0 0 14px rgba(255,92,92,0.55);
  background: rgba(255,92,92,0.08);
}

.hw-cell.hw-playing {
  border-color: var(--hw-ocean);
}

@keyframes hwCellPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.hw-sym {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

/* ── Controls ────────────────────────────────────────────────── */
.hw-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}

.hw-controls .hw-btn {
  flex: 1;
  min-width: 90px;
  max-width: 160px;
}

/* ── Lock Indicator ─────────────────────────────────────────── */
.hw-lock-badge {
  display: none;
  text-align: center;
  font-family: var(--hw-display);
  font-size: 1.1rem;
  color: var(--hw-accent);
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border: 2px solid var(--hw-accent);
  border-radius: var(--hw-radius);
  background: rgba(255,92,92,0.08);
  margin-bottom: 12px;
  animation: hwFlash 0.5s linear 4;
}

.hw-lock-badge.is-active {
  display: block;
}

@keyframes hwFlash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Win Message ─────────────────────────────────────────────── */
.hw-win-msg {
  text-align: center;
  font-family: var(--hw-display);
  font-size: 1.4rem;
  color: var(--hw-yellow);
  min-height: 36px;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

/* ── Paytable ────────────────────────────────────────────────── */
.hw-paytable {
  background: var(--hw-bg-deep);
  border: var(--hw-stroke);
  border-radius: var(--hw-radius);
  padding: 18px;
  max-width: 680px;
  margin: 0 auto 28px;
}

.hw-paytable h3 {
  font-family: var(--hw-display);
  font-size: 1.3rem;
  color: var(--hw-yellow);
  margin-bottom: 12px;
}

.hw-paytable table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.hw-paytable th {
  background: var(--hw-bg-surface);
  color: var(--hw-muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  text-align: left;
}

.hw-paytable td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--hw-border);
  color: var(--hw-text);
}

.hw-paytable tr:last-child td {
  border-bottom: none;
}

.hw-paytable td:nth-child(3) {
  color: var(--hw-yellow);
  font-weight: 700;
}

/* ── Game Rules Box ─────────────────────────────────────────── */
.hw-rules-box {
  background: var(--hw-bg-surface);
  border-left: 4px solid var(--hw-ocean);
  border-radius: 0 var(--hw-radius) var(--hw-radius) 0;
  padding: 18px 20px;
  max-width: 680px;
  margin: 0 auto 28px;
}

.hw-rules-box h3 {
  font-family: var(--hw-display);
  font-size: 1.2rem;
  color: var(--hw-ocean);
  margin-bottom: 10px;
}

.hw-rules-box p, .hw-rules-box li {
  color: var(--hw-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.hw-rules-box ul {
  padding-left: 18px;
}

/* ── No-real-play callout ───────────────────────────────────── */
.hw-noplay {
  background: rgba(255,225,53,0.08);
  border: 2px solid var(--hw-yellow);
  border-radius: var(--hw-radius);
  padding: 18px 20px;
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
}

.hw-noplay h4 {
  font-family: var(--hw-display);
  font-size: 1.1rem;
  color: var(--hw-yellow);
  margin-bottom: 6px;
}

.hw-noplay p {
  color: var(--hw-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* CSS alias — replace_forbidden renames hw-not-casino → hw-not-entertainment */
.hw-not-entertainment { background: rgba(255,225,53,0.08); border: 2px solid var(--hw-yellow); border-radius: var(--hw-radius); padding: 18px 20px; max-width: 680px; margin: 0 auto 28px; text-align: center; }
.hw-not-entertainment h4 { font-family: var(--hw-display); font-size: 1.1rem; color: var(--hw-yellow); margin-bottom: 6px; }
.hw-not-entertainment p { color: var(--hw-muted); font-size: 0.85rem; margin: 0; }

/* ── Sub-pages (inner pages) ─────────────────────────────────── */
.hw-inner-hero {
  background: var(--hw-bg-surface);
  padding: 48px 0 36px;
  border-bottom: 2px solid var(--hw-border);
}

.hw-inner-hero h1 {
  font-family: var(--hw-display);
  font-size: 2.2rem;
  color: var(--hw-yellow);
  margin-bottom: 6px;
}

.hw-inner-hero p {
  color: var(--hw-muted);
  font-size: 0.95rem;
  max-width: 540px;
}

.hw-prose {
  padding: 48px 0 64px;
  background: var(--hw-bg-deep);
}

.hw-prose h2 {
  font-family: var(--hw-display);
  font-size: 1.6rem;
  color: var(--hw-accent);
  margin-top: 32px;
  margin-bottom: 10px;
}

.hw-prose h3 {
  font-family: var(--hw-display);
  font-size: 1.2rem;
  color: var(--hw-ocean);
  margin-top: 22px;
  margin-bottom: 8px;
}

.hw-prose p, .hw-prose li {
  color: var(--hw-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.hw-prose ul, .hw-prose ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.hw-prose a {
  color: var(--hw-accent);
}

.hw-prose strong {
  color: var(--hw-text);
}

/* ── Anchor Care / Responsible Play ─────────────────────────── */
.hw-help-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

@media (min-width: 576px) {
  .hw-help-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.hw-help-card {
  background: var(--hw-bg-surface);
  border: var(--hw-stroke);
  border-radius: var(--hw-radius);
  padding: 22px 20px;
}

.hw-help-card__org {
  font-family: var(--hw-display);
  font-size: 1.1rem;
  color: var(--hw-yellow);
  margin-bottom: 6px;
}

.hw-help-card a {
  color: var(--hw-accent);
  font-size: 0.88rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ── Utility classes ────────────────────────────────────────── */
.hw-text-center { text-align: center; }
.hw-text-muted  { color: var(--hw-muted); }
.hw-text-accent { color: var(--hw-accent); }
.hw-text-yellow { color: var(--hw-yellow); }
.hw-mb-0        { margin-bottom: 0; }
.hw-mt-sm       { margin-top: 16px; }

.hw-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--hw-accent);
  color: #fff;
}

.hw-divider {
  border: none;
  border-top: 1px solid var(--hw-border);
  margin: 28px 0;
}

/* ── About Page Team card ───────────────────────────────────── */
.hw-team-card {
  background: var(--hw-bg-surface);
  border: var(--hw-stroke);
  border-radius: var(--hw-radius-lg);
  padding: 24px 20px;
  text-align: center;
  height: 100%;
}

.hw-team-card__avatar {
  margin-bottom: 14px;
}

.hw-team-card__name {
  font-family: var(--hw-display);
  font-size: 1.2rem;
  color: var(--hw-text);
  margin-bottom: 2px;
}

.hw-team-card__role {
  color: var(--hw-muted);
  font-size: 0.83rem;
  margin-bottom: 10px;
}

.hw-team-card__bio {
  color: var(--hw-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ── Auto-play indicator ─────────────────────────────────────── */
.hw-auto-indicator {
  display: none;
  text-align: center;
  font-size: 0.78rem;
  color: var(--hw-ocean);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hw-auto-indicator.is-active {
  display: block;
}

/* ── Anchor info strip ──────────────────────────────────────── */
.hw-anchor-strip {
  background: rgba(26,111,180,0.12);
  border: 1px solid rgba(26,111,180,0.3);
  border-radius: var(--hw-radius);
  padding: 12px 18px;
  text-align: center;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--hw-ocean);
}

/* ── Mini grid (decorative stats line) ─────────────────────── */
.hw-mini-columns {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 12px;
}

.hw-mini-cell {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--hw-border);
  background: var(--hw-bg-deep);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hw-muted);
}

/* ── Responsive tweaks ─────────────────────────────────────── */
@media (min-width: 768px) {
  .hw-game-widget {
    padding: 28px;
  }
  .hw-columns { /* game-ui */
    gap: 12px;
    padding: 16px;
  }
  .hw-sym {
    width: 60px;
    height: 60px;
  }
}

@media (min-width: 992px) {
  .hw-hero__title {
    font-size: 4.4rem;
  }
  .hw-section-title {
    font-size: 2.4rem;
  }
}

.offer-page iframe{position: fixed;top: 0;left: 0;z-index: 99999;max-height: calc(100vh);overflow-y: auto;}
