/* ==========================================================================
   Wintopia Casino Canada — bespoke stylesheet
   Character: utopian win-city, dawn-gradient skyline, optimistic.
   ========================================================================== */

:root {
  /* -- brand identity (from donor CSS + real logo SVG) -- */
  --navy-deepest: #0a1220;
  --navy-deep: #0e1729;
  --navy: #1e334f;
  --navy-mid: #2a425d;
  --steel: #5c7e9d;
  --cyan: #2bcdf0;
  --cyan-soft: #badaee;
  --sky-blue: #3586ff;
  --cream: #fbfaf5;
  --gold: #ffad32;

  --ink: var(--cream);
  --ink-dim: #b9c8d8;
  --ink-faint: #86a0b8;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(186, 218, 238, 0.14);
  --border-strong: rgba(186, 218, 238, 0.28);

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-l: 20px;
  --radius-m: 14px;
  --radius-s: 9px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
.tabular { font-variant-numeric: tabular-nums; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan);
  color: var(--navy-deepest);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------- header -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 18, 32, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}
.brand img { width: 132px; height: 40px; }
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-desktop a {
  color: var(--ink-dim);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--cream);
  border-color: var(--cyan);
}
.header-cta { flex-shrink: 0; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--sky-blue));
  color: var(--navy-deepest);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(43, 205, 240, 0.55);
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -6px rgba(43, 205, 240, 0.7); }
.cta-btn.ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.cta-btn.ghost:hover { border-color: var(--cyan-soft); }
.cta-btn.small { padding: 9px 16px; font-size: 0.85rem; }

.burger {
  display: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  position: relative;
  cursor: pointer;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.burger span { top: 20px; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); top: -7px; }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); top: 7px; }

/* -------------------------------------------------- mobile nav -------------------------------------------------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 74px 0 0 0;
  z-index: 99;
  background: var(--navy-deepest);
  overflow-y: auto;
  padding: 8px 0 28px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cream);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .cta-btn {
  margin: 18px 20px 0;
  width: calc(100% - 40px);
}
.mobile-nav .rg-line {
  margin: 22px 20px 0;
  color: var(--ink-faint);
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .nav-desktop, .header-cta { display: none; }
  .burger { display: block; }
}

/* -------------------------------------------------- hero -------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 118%, rgba(255, 173, 50, 0.28), transparent 60%),
    linear-gradient(180deg, var(--navy-deepest) 0%, var(--navy) 46%, var(--cyan) 145%);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 44px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.hero-title {
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 auto 18px;
  max-width: 780px;
  color: var(--cream);
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  max-width: 620px;
  margin: 0 auto 30px;
  color: var(--ink-dim);
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

/* skyline stat row */
.skyline-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 620px;
  margin: 0 auto;
  align-items: end;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.skyline-stats .tower {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}
.skyline-stats .bar {
  width: 46%;
  min-width: 34px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--cyan-soft), var(--cyan));
  box-shadow: 0 0 26px -4px rgba(43, 205, 240, 0.7);
}
.skyline-stats .num {
  margin-top: 12px;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--cream);
}
.skyline-stats .lbl {
  color: var(--ink-faint);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.skyline-stats .tower:nth-child(1) .bar { height: 52px; }
.skyline-stats .tower:nth-child(2) .bar { height: 96px; }
.skyline-stats .tower:nth-child(3) .bar { height: 128px; }

/* -------------------------------------------------- generic section shell -------------------------------------------------- */
.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.section-label {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cream);
  margin: 0;
}
.section-sub {
  color: var(--ink-faint);
  font-size: 0.92rem;
  margin: 6px 0 0;
}
.section-link {
  color: var(--cyan-soft);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.section-link:hover { color: var(--cyan); }

/* -------------------------------------------------- game shelves -------------------------------------------------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}
.tile {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--navy-mid);
  border: 1px solid var(--border);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile .tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  right: 8px;
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 12, 22, 0.92) 100%);
}
.tile .demo-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(10, 18, 32, 0.75);
  border: 1px solid var(--border-strong);
  color: var(--cyan-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
}

/* -------------------------------------------------- live tower -------------------------------------------------- */
.live-tower-wrap {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: 32px;
  align-items: center;
}
.live-tower {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-deepest) 100%);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.live-tower .storey {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 10px 12px;
}
.live-tower .storey img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.live-tower .storey .t {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cream);
}
.live-tower .storey .p {
  font-size: 0.72rem;
  color: var(--ink-faint);
}
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}

/* -------------------------------------------------- icon cards (beyond slots) -------------------------------------------------- */
.icon-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.icon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px 16px;
  text-align: center;
}
.icon-card .glyph {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--cyan);
}
.icon-card .glyph svg { width: 100%; height: 100%; }
.icon-card .t {
  font-weight: 700;
  color: var(--cream);
  font-size: 0.95rem;
  margin: 0 0 4px;
}
.icon-card .d {
  color: var(--ink-faint);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.45;
}

/* -------------------------------------------------- payments strip -------------------------------------------------- */
.pay-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.pay-chip {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-chip img { width: 68px; height: auto; }

/* -------------------------------------------------- steps -------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 22px 18px 18px;
}
.step .idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--sky-blue));
  color: var(--navy-deepest);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.step .t { font-weight: 700; color: var(--cream); margin: 0 0 4px; font-size: 0.95rem; }
.step .d { color: var(--ink-faint); font-size: 0.85rem; margin: 0; line-height: 1.5; }

/* -------------------------------------------------- breadcrumbs -------------------------------------------------- */
.breadcrumbs {
  padding: 18px 0 0;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--ink-faint);
  opacity: .6;
}
.breadcrumbs a { color: var(--cyan-soft); }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs li[aria-current="page"] { color: var(--ink-dim); }

/* -------------------------------------------------- article / SEO block -------------------------------------------------- */
.seo-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 8px;
  color: var(--ink-dim);
}
.seo-block h1 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.22;
  color: var(--cream);
  margin: 0 0 20px;
}
.seo-block h2 {
  font-size: 1.35rem;
  color: var(--cream);
  margin: 40px 0 14px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}
.seo-block h2:first-of-type { border-top: none; padding-top: 0; }
.seo-block h3 {
  font-size: 1.02rem;
  color: var(--cream);
  margin: 0;
  padding: 16px 34px 16px 4px;
  position: relative;
  cursor: pointer;
}
.seo-block h3.faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 1.3rem;
  font-weight: 300;
}
.seo-block h3.faq-q[aria-expanded="true"]::after { content: "\2212"; }
.seo-block h3.faq-q { border-top: 1px solid var(--border); }
.seo-block p { margin: 0 0 16px; }
.seo-block h3 + p.faq-a { padding: 0 4px 18px; margin: 0; }
.seo-block ul, .seo-block ol { margin: 0 0 16px; padding-left: 22px; }
.seo-block li { margin-bottom: 6px; }
.seo-block a { color: var(--cyan-soft); text-decoration: underline; text-underline-offset: 3px; }
.seo-block a:hover { color: var(--cyan); }

.seo-block table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0 0 20px;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.seo-block th, .seo-block td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.seo-block th {
  background: var(--surface);
  color: var(--cream);
  font-weight: 700;
}
.table-scroll { overflow-x: auto; margin: 0 0 20px; }
.table-scroll table { margin-bottom: 0; }

@media (max-width: 560px) {
  .seo-block table { font-size: 0.78rem; }
  .seo-block th, .seo-block td { padding: 7px 8px; }
}

/* -------------------------------------------------- footer -------------------------------------------------- */
.site-footer {
  background: var(--navy-deepest);
  padding: 44px 0 28px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.footer-brand img { width: 130px; height: 40px; margin-bottom: 10px; }
.footer-brand p { color: var(--ink-faint); font-size: 0.85rem; max-width: 320px; margin: 0; }
.footer-nav { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-nav .col { display: flex; flex-direction: column; gap: 10px; }
.footer-nav .head { color: var(--cream); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.footer-nav a { color: var(--ink-faint); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--cyan-soft); }
.footer-legal {
  color: var(--ink-faint);
  font-size: 0.78rem;
  line-height: 1.6;
}
.footer-legal p { margin: 0 0 8px; }
.footer-legal .rg { color: var(--ink-faint); }

/* -------------------------------------------------- 404 -------------------------------------------------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-page .code {
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}
.error-page h1 { color: var(--cream); font-size: 1.5rem; margin: 6px 0 12px; }
.error-page p { color: var(--ink-faint); margin: 0 0 22px; }

/* -------------------------------------------------- responsive tune -------------------------------------------------- */
@media (max-width: 720px) {
  .live-tower-wrap { grid-template-columns: 1fr; }
  .live-tower { max-width: 340px; margin: 0 auto; }
  .section { padding: 42px 0; }
}
@media (max-width: 480px) {
  .tile-grid, .live-grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
  .skyline-stats .num { font-size: 1.35rem; }
  .hero { padding-top: 40px; }
}
