/* halifaxcasinoonline.com */
:root{
  --foam:#F3F1E8;--foam-2:#E7E3D4;--card:#FFFDF7;--ink:#082028;--mute:#4B5F64;--rule:#D3CDB9;
  --sea:#0B3B47;--deep:#06222B;--teal:#127C7A;--brass:#C8A15A;--brass-hi:#E7C985;--signal:#D7263D;--on-brass:#082028;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--foam:#071C23;--foam-2:#05151B;--card:#0E2A33;--ink:#EEF1EA;--mute:#A6B8BA;--rule:#1F3F48;--teal:#3FB8B2;--brass:#D9B36C;--brass-hi:#EFD69C;--signal:#F0475C;color-scheme:dark}}
:root[data-theme="dark"]{--foam:#071C23;--foam-2:#05151B;--card:#0E2A33;--ink:#EEF1EA;--mute:#A6B8BA;--rule:#1F3F48;--teal:#3FB8B2;--brass:#D9B36C;--brass-hi:#EFD69C;--signal:#F0475C;color-scheme:dark}
:root{box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
*,*::before,*::after{box-sizing:inherit}
html{scroll-behavior:smooth;scroll-padding-top:calc(env(safe-area-inset-top,0px) + 78px)}
body{margin:0;background:var(--foam);color:var(--ink);font:400 1.06rem/1.7 "Karla",system-ui,-apple-system,"Segoe UI",sans-serif}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:99;background:#06222B}
img,svg{max-width:100%}
a{color:inherit}
:focus-visible{outline:3px solid var(--brass);outline-offset:2px}
.hx-wrap{width:min(1160px,100% - 2.5rem);margin-inline:auto}
h1,h2,h3{margin:0;font-family:"Bricolage Grotesque",system-ui,sans-serif;font-weight:800;letter-spacing:-.02em;line-height:1.05}
h3{font-weight:700;letter-spacing:-.01em;line-height:1.25}

/* Buttons: signal red with brass rim */
.hx-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:1rem 1.5rem;border-radius:12px;background:var(--signal);color:#fff;font:700 1.05rem/1 "Bricolage Grotesque",sans-serif;text-decoration:none;border:2px solid #E7C985;box-shadow:0 0 0 3px rgba(6,34,43,.9),0 10px 24px -10px rgba(215,38,61,.7);transition:transform .12s ease,filter .12s ease}
.hx-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}
.hx-btn--ghost{background:transparent;color:inherit;border-color:currentColor;box-shadow:none}
.hx-btn--ghost:hover{background:rgba(231,201,133,.12)}

/* Header */
.hx-top{position:sticky;top:env(safe-area-inset-top,0px);z-index:90;background:#06222B;color:#EEF1EA}
.hx-top::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:repeating-linear-gradient(90deg,#D7263D 0 24px,#F3F1E8 24px 48px,#E7C985 48px 72px,#127C7A 72px 96px)}
.hx-top__row{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:70px;padding-bottom:4px}
.hx-brand{display:flex;align-items:center;gap:.65rem;text-decoration:none;min-width:0}
.hx-brand svg{width:42px;height:42px;flex-shrink:0}
.hx-brand b{font:800 1.2rem/1 "Bricolage Grotesque",sans-serif;letter-spacing:-.02em;white-space:nowrap}
.hx-menu{display:flex;gap:1.5rem;align-items:center}
.hx-menu a{text-decoration:none;font-weight:600;opacity:.9}
.hx-menu a:hover,.hx-menu a[aria-current="page"]{opacity:1;color:#E7C985}
.hx-open{display:none;background:#0B3B47;border:1px solid #E7C985;color:#EEF1EA;border-radius:10px;padding:.55rem .9rem;font:600 .95rem "Karla",sans-serif;cursor:pointer;gap:.45rem;align-items:center;flex-shrink:0}
.hx-open svg{width:18px;height:18px}
.hx-sheet{display:none}
@media (max-width:860px){
  .hx-menu{display:none}
  .hx-open{display:inline-flex}
  .hx-sheet{position:fixed;inset:0;z-index:120;background:rgba(3,15,19,.72);display:grid;place-items:center;padding:1.25rem;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s}
  .hx-sheet.on{opacity:1;visibility:visible}
  .hx-sheet__box{width:min(420px,100%);background:#0B3B47;border:2px solid #E7C985;border-radius:18px;padding:1.25rem 1.25rem 1.5rem;color:#EEF1EA}
  .hx-sheet__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
  .hx-sheet__head b{font:800 1.1rem "Bricolage Grotesque",sans-serif}
  .hx-close{background:none;border:0;color:#E7C985;font:600 .95rem "Karla",sans-serif;cursor:pointer;padding:.5rem}
  .hx-sheet a{display:block;padding:.95rem 0;border-top:1px solid rgba(231,201,133,.25);text-decoration:none;font:700 1.2rem "Bricolage Grotesque",sans-serif}
  .hx-sheet .hx-btn{margin-top:1rem;width:100%;border-top:2px solid #E7C985}
  .hx-brand b{font-size:1.02rem}
  .hx-brand svg{width:36px;height:36px}
}
@media (prefers-reduced-motion:reduce){.hx-sheet{transition:none}}

/* Hero: harbour at night + slot machine */
.hx-hero{position:relative;color:#EEF1EA;overflow:hidden;background:
  radial-gradient(60% 50% at 80% 10%,rgba(231,201,133,.18),transparent 60%),
  linear-gradient(180deg,#06222B 0%,#0B3B47 70%,#0E4654 100%)}
.hx-hero::before{content:"";position:absolute;top:-10%;left:62%;width:140%;height:26%;transform-origin:0 50%;background:linear-gradient(90deg,rgba(255,240,190,.28),transparent 70%);pointer-events:none;transform:rotate(18deg)}
@media (prefers-reduced-motion:no-preference){.hx-hero::before{animation:beam 9s ease-in-out infinite alternate}@keyframes beam{from{transform:rotate(8deg)}to{transform:rotate(28deg)}}}
.hx-hero__in{position:relative;padding:clamp(2.25rem,5vw,3.75rem) 0 clamp(3rem,6vw,4.5rem)}
.hx-hero__top{display:grid;grid-template-columns:1.1fr .9fr;gap:1.5rem 3rem;align-items:end;margin-bottom:clamp(1.75rem,4vw,2.75rem)}
.hx-hero h1{font-size:clamp(2.4rem,5.8vw,4.4rem)}
.hx-hero__intro{margin:0;color:#BFD0D1;font-size:1.1rem;max-width:46ch}
.hx-hero__after{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:1.75rem}
.hx-hero__after .hx-btn--ghost{color:#EEF1EA}
.hx-perks{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1.4rem;list-style:none;padding:0;margin:1.25rem 0 0;color:#BFD0D1;font-size:.93rem;font-weight:600}
.hx-perks li::before{content:"⚓";margin-right:.4rem;color:#E7C985}

/* Slot machine cabinet */
.slot{position:relative;max-width:640px;margin:0 auto;border-radius:28px 28px 18px 18px;padding:14px;background:linear-gradient(180deg,#E7C985,#B48838 40%,#8A6522);box-shadow:0 30px 60px -25px rgba(0,0,0,.8),inset 0 2px 0 rgba(255,255,255,.5)}
.slot__face{background:#071C23;border-radius:18px 18px 10px 10px;padding:clamp(1rem,3vw,1.5rem);border:2px solid #3A2A10}
.slot__display{text-align:center;padding:clamp(.9rem,3vw,1.4rem) .75rem;border-radius:12px;background:radial-gradient(100% 120% at 50% 0%,#14353F,#081A20);border:2px solid #C8A15A;box-shadow:inset 0 0 30px rgba(0,0,0,.7)}
.slot__kicker{display:block;font:400 clamp(.8rem,2.2vw,1rem)/1 "Bungee",sans-serif;color:#E7C985;letter-spacing:.06em}
.slot__pct{display:block;font:400 clamp(4rem,15vw,7.5rem)/1 "Bungee",sans-serif;color:#FFE9A6;margin:.25rem 0 .1rem;text-shadow:0 0 6px rgba(255,214,120,.9),0 0 22px rgba(255,170,60,.55)}
.slot__what{display:block;font-weight:700;font-size:clamp(1rem,2.6vw,1.2rem);color:#EEF1EA}
.slot__amt{display:block;font:400 clamp(2rem,7vw,3.4rem)/1.05 "Bungee",sans-serif;color:#FF5A6E;margin-top:.35rem;text-shadow:0 0 12px rgba(255,90,110,.6)}
.reels{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:clamp(.9rem,3vw,1.25rem)}
.reel{position:relative;height:clamp(78px,20vw,112px);overflow:hidden;border-radius:10px;background:linear-gradient(180deg,#d9d4c4,#FFFDF7 30%,#FFFDF7 70%,#d9d4c4);box-shadow:inset 0 6px 10px rgba(0,0,0,.35),inset 0 -6px 10px rgba(0,0,0,.35)}
.reel__strip{display:flex;flex-direction:column}
.reel__strip svg{width:100%;height:clamp(78px,20vw,112px);padding:14%;flex-shrink:0}
.reels::after{content:"";position:absolute;left:-6px;right:-6px;top:50%;height:3px;background:#D7263D;box-shadow:0 0 8px #D7263D;transform:translateY(-50%)}
@media (prefers-reduced-motion:no-preference){
  .reel__strip{animation:reelspin 1.6s cubic-bezier(.2,.7,.25,1) both}
  .reel:nth-child(2) .reel__strip{animation-duration:2s}
  .reel:nth-child(3) .reel__strip{animation-duration:2.4s}
  @keyframes reelspin{from{transform:translateY(0)}to{transform:translateY(calc(-100% + clamp(78px,20vw,112px)))}}
}
@media (prefers-reduced-motion:reduce){.reel__strip{transform:translateY(calc(-100% + clamp(78px,20vw,112px)))}}
.slot__base{text-align:center;margin-top:clamp(1rem,3vw,1.25rem)}
.slot__base .hx-btn{width:min(100%,380px);font-size:1.12rem;padding:1.05rem 1.25rem}
.slot__fine{display:block;margin-top:.75rem;color:#9FB3B5;font-size:.84rem}
.slot__lever{position:absolute;right:-34px;top:120px;width:30px;height:180px}
@media (max-width:760px){.slot__lever{display:none}.slot{border-radius:22px 22px 14px 14px;padding:10px}}

/* Generic sections */
.hx-sec{padding:clamp(3.25rem,7vw,5.5rem) 0}
.hx-sec--sand{background:var(--foam-2)}
.hx-sec--sea{background:#0B3B47;color:#EEF1EA}
.hx-title{max-width:680px;margin-bottom:2.25rem}
.hx-title h2{font-size:clamp(2rem,4.2vw,3rem)}
.hx-title p{margin:.85rem 0 0;color:var(--mute);font-size:1.08rem}
.hx-sec--sea .hx-title p{color:#BFD0D1}

/* Steps as tide-marker rows */
.tide{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.tide li{display:grid;grid-template-columns:110px 1fr 1.3fr;gap:1rem 2rem;align-items:center;padding:1.4rem 0;border-bottom:1px solid var(--rule)}
.tide .no{font:400 3.2rem/1 "Bungee",sans-serif;color:var(--signal)}
.tide h3{font-size:1.35rem}
.tide p{margin:0;color:var(--mute)}
.tally{margin:1.6rem 0 0;font-size:1.08rem;color:var(--mute)}
.tally strong{font:400 1.4rem "Bungee",sans-serif;color:var(--teal)}
@media (max-width:760px){.tide li{grid-template-columns:64px 1fr;gap:.2rem 1rem;align-items:start}.tide .no{grid-row:span 2;font-size:2.4rem}}

/* Game tickets */
.tickets{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.ticket{position:relative;display:grid;grid-template-columns:84px 1fr;background:var(--card);border:1px solid var(--rule);border-radius:14px;overflow:hidden}
.ticket__stub{display:grid;place-items:center;background:#0B3B47;border-right:2px dashed var(--brass)}
.ticket__stub svg{width:44px;height:44px}
.ticket__body{padding:1.1rem 1.25rem}
.ticket h3{font-size:1.25rem;margin-bottom:.25rem}
.ticket p{margin:0;color:var(--mute);font-size:.97rem}
.ticket em{display:inline-block;margin-top:.55rem;font-style:normal;font-size:.8rem;font-weight:700;color:var(--signal);letter-spacing:.04em}
@media (max-width:760px){.tickets{grid-template-columns:1fr}.ticket{grid-template-columns:68px 1fr}.ticket__stub svg{width:36px;height:36px}}

/* Harbour section */
.harbour-art{width:100%;height:auto;display:block;margin:0 0 2rem;border-radius:16px}
.spots{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:0 0 2rem}
.spots li{background:rgba(231,201,133,.14);border:1px solid rgba(231,201,133,.45);border-radius:8px;padding:.35rem .75rem;font-size:.93rem;font-weight:600}
.dates{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.dates div{border-left:3px solid #E7C985;padding:.2rem 0 .2rem 1rem}
.dates strong{display:block;font:400 2rem/1 "Bungee",sans-serif;color:#E7C985;margin-bottom:.4rem}
.dates p{margin:0;color:#BFD0D1}
@media (max-width:760px){.dates{grid-template-columns:1fr}}

/* Receipt (banking) */
.receipt{max-width:520px;background:var(--card);color:var(--ink);border-radius:6px;padding:1.5rem 1.5rem 1.25rem;box-shadow:0 18px 40px -26px rgba(0,0,0,.6);font-family:"Karla",sans-serif;position:relative}
.receipt::after{content:"";position:absolute;left:0;right:0;bottom:-10px;height:10px;background:radial-gradient(circle at 8px 0,var(--card) 7px,transparent 7.5px) 0 0/16px 10px repeat-x}
.receipt h3{font-size:1.1rem;text-align:center;margin-bottom:.9rem;letter-spacing:.04em}
.receipt dl{margin:0}
.receipt div{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0;border-top:1px dashed var(--rule)}
.receipt dt{font-weight:700}
.receipt dd{margin:0;color:var(--mute);text-align:right}
.banking{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
@media (max-width:860px){.banking{grid-template-columns:1fr}}

/* FAQ (open) */
.faqgrid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem 2.5rem}
.faqgrid article{padding-top:1rem;border-top:3px double var(--brass)}
.faqgrid h3{font-size:1.18rem;margin-bottom:.45rem}
.faqgrid p{margin:0;color:var(--mute)}
@media (max-width:760px){.faqgrid{grid-template-columns:1fr}}

/* Long copy */
.hx-copy{max-width:760px}
.hx-copy h2{font-size:clamp(1.8rem,3.6vw,2.5rem);margin:2.6rem 0 .9rem}
.hx-copy h2:first-child{margin-top:0}
.hx-copy h3{font-size:1.25rem;margin:1.9rem 0 .5rem}
.hx-copy p,.hx-copy li{color:var(--mute)}
.hx-copy p{margin:0 0 1.15rem}
.hx-copy ul{margin:0 0 1.3rem;padding-left:1.25rem}
.hx-copy li{margin-bottom:.45rem}
.hx-copy strong{color:var(--ink)}
.hx-copy a{color:var(--ink);text-decoration-color:var(--signal);text-underline-offset:3px;text-decoration-thickness:2px}

/* Legal */
.hx-legalhead{background:#06222B;color:#EEF1EA;padding:clamp(2.25rem,5vw,3.25rem) 0}
.hx-legalhead h1{font-size:clamp(2rem,4.6vw,3.1rem)}
.hx-legalhead p{color:#BFD0D1;margin:.8rem 0 0;max-width:62ch}
.hx-legalhead .hx-btn--ghost{margin-top:1.3rem;color:#EEF1EA}
.hx-trail{margin:1rem 0 0;font-size:.92rem}
.hx-trail ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.hx-trail li{color:#BFD0D1}
.hx-trail li+li::before{content:"/";margin-right:.4rem;color:#E7C985}
.hx-trail a{color:#E7C985;text-decoration:none;padding:.2rem 0;display:inline-block}
.hx-trail a:hover{text-decoration:underline}
.hx-trail [aria-current]{color:#fff}
.hx-stamp{font-weight:700;font-size:.9rem;color:#E7C985 !important}
.hx-toc{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.4rem 1rem;list-style:none;padding:1.25rem;margin:0 0 2.5rem;background:var(--card);border:1px solid var(--rule);border-radius:12px;counter-reset:t}
.hx-toc li{counter-increment:t}
.hx-toc a{display:inline-block;padding:.3rem 0;color:var(--mute);text-decoration:none}
.hx-toc a::before{content:counter(t) ". ";color:var(--signal);font-weight:700}
.hx-toc a:hover{color:var(--ink)}
.hx-clause{padding:1.5rem 0;border-top:1px solid var(--rule)}
.hx-clause h2{font-size:1.4rem;margin-bottom:.6rem}
.hx-clause p,.hx-clause li{color:var(--mute)}
.hx-clause p{margin:0 0 .9rem}
.hx-clause ul{margin:0 0 .9rem;padding-left:1.2rem}
.hx-clause li{margin-bottom:.4rem}
.hx-clause strong{color:var(--ink)}
.hx-clause a{color:var(--ink);text-decoration-color:var(--signal)}

/* Footer */
.hx-foot{background:#05151B;color:#A6B8BA;padding:3rem 0 7rem;font-size:.94rem;border-top:4px solid #E7C985}
.hx-foot__grid{display:grid;grid-template-columns:1.5fr 1fr;gap:2rem}
.hx-foot .hx-brand{color:#EEF1EA;margin-bottom:1rem}
.hx-foot p{margin:0 0 .85rem;max-width:60ch}
.hx-foot nav{display:flex;flex-direction:column;gap:.1rem}
.hx-foot nav a{color:#EEF1EA;text-decoration:none;padding:.35rem 0;display:inline-block}
.hx-foot nav a:hover{color:#E7C985}
.hx-foot .nineteen{display:inline-block;background:#D7263D;color:#fff;font:400 .95rem "Bungee",sans-serif;padding:.15rem .5rem;border-radius:6px;margin-right:.5rem}
.hx-foot .ph{white-space:nowrap;color:#fff;font-weight:700}
.hx-foot small{display:block;margin-top:1.5rem;color:#6E8589}
@media (max-width:760px){.hx-foot__grid{grid-template-columns:1fr}}

/* Bottom sticky offer */
.hx-dock{position:fixed;left:0;right:0;bottom:0;z-index:80;background:#06222B;color:#EEF1EA;padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom,0px));border-top:3px solid #E7C985;transform:translateY(110%);visibility:hidden;transition:transform .22s ease,visibility .22s;box-shadow:0 -14px 30px -14px rgba(0,0,0,.6)}
.hx-dock::before{content:"";position:absolute;left:0;right:0;top:-7px;height:4px;background:repeating-linear-gradient(90deg,#D7263D 0 24px,#F3F1E8 24px 48px,#E7C985 48px 72px,#127C7A 72px 96px)}
.hx-dock.show{transform:none;visibility:visible}
.hx-dock__in{display:flex;align-items:center;justify-content:space-between;gap:.75rem;max-width:760px;margin:0 auto}
.hx-dock__deal{font:400 clamp(1rem,4vw,1.3rem)/1.1 "Bungee",sans-serif;color:#FFE9A6;text-shadow:0 0 10px rgba(255,214,120,.5);white-space:nowrap}
.hx-dock__deal small{display:block;font:600 .75rem "Karla",sans-serif;color:#9FB3B5;text-shadow:none;margin-top:.2rem}
.hx-dock .hx-btn{padding:.8rem 1.1rem;font-size:.98rem;flex-shrink:0;white-space:nowrap;box-shadow:none}
@media (prefers-reduced-motion:reduce){.hx-dock{transition:none}}

/* Mobile */
@media (max-width:860px){
  body{font-size:1rem}
  .hx-hero__top{grid-template-columns:1fr;margin-bottom:1.25rem}
  .hx-hero h1{font-size:clamp(2.1rem,10vw,2.8rem)}
  .hx-hero__intro{display:none}
  .hx-hero__intro--m{display:block !important;margin:1.5rem 0 0;color:#BFD0D1;text-align:center}
  .hx-hero__after .hx-btn{flex:1 1 100%}
}
.hx-hero__intro--m{display:none}
@media (max-width:360px){.hx-brand b{font-size:.94rem}.hx-dock__deal small{display:none}.hx-dock .hx-btn{padding:.75rem .85rem}}
.hx-hero::before{filter:blur(18px)}
@media (max-width:760px){.harbour-art{height:170px;object-fit:cover}}
/* Menu CTA: keep proper button styling inside the mobile menu */
.hx-sheet a.hx-btn{display:flex;justify-content:center;align-items:center;text-align:center;padding:1rem 1.25rem;margin-top:1.1rem;border:2px solid #E7C985;border-radius:12px;font-size:1.08rem;line-height:1.2;box-shadow:0 10px 24px -12px rgba(215,38,61,.8)}
