/* spectralbasket.com — Top 10 casino hotels in Canada
   dark showcase · Familjen Grotesk · pink #FF2D78 · gold #F5C451 · green CTA */

:root {
  --ink: #07070E;
  --panel: #101019;
  --panel-2: #16161F;
  --line: rgba(255, 255, 255, 0.13);
  --text: #ECECF3;
  --muted: #9B9BAE;
  --pink: #FF2D78;
  --gold: #F5C451;
  --green: #17A24C;
  --green-hi: #1DBE5B;
  --shell: 1240px;
  --cut: clamp(28px, 5vw, 72px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  line-height: 1.66;
  font-synthesis-weight: none;
  overflow-x: hidden;
}

/* the glow behind everything, in place of a photographic backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(255, 45, 120, 0.22), transparent 62%),
    radial-gradient(900px 560px at 88% 4%, rgba(86, 61, 214, 0.28), transparent 60%),
    radial-gradient(1200px 800px at 50% 110%, rgba(245, 196, 81, 0.07), transparent 60%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
@media (max-width: 600px) { .shell { width: min(100% - 1.6rem, var(--shell)); } }

h1, h2, h3 {
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--pink);
  margin: 0 0 1.2rem;
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--pink); color: #fff; padding: 0.6rem 1rem; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 7, 14, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 70px;
  padding-block: 0.6rem;
}

.brand {
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--pink); }

.nav { display: flex; gap: clamp(1rem, 2vw, 2rem); font-size: 0.95rem; }
.nav a {
  text-decoration: none;
  padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav a:hover { color: var(--text); border-bottom-color: var(--pink); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--pink); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: none; }

@media (max-width: 800px) {
  .nav-toggle-label {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
  }
  .nav-toggle-label svg { width: 22px; height: 22px; }
  .site-head__inner { flex-wrap: wrap; }
  .nav { display: none; flex-direction: column; gap: 0; width: 100%; border-top: 1px solid var(--line); }
  .nav a { padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* ---------- hero ---------- */

.hero { padding: clamp(2.6rem, 5vw, 4.4rem) 0 clamp(1.6rem, 3vw, 2.6rem); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(1.8rem, 4vw, 3.6rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 1.1rem + 3.9vw, 3.9rem);
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
.hero h1 em { font-style: italic; color: var(--pink); }

.hero__lede {
  margin-top: 1.4rem;
  max-width: 62ch;
  color: #C9C9D8;
}

.ticks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 2rem;
  margin: 1.7rem 0 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.ticks li { display: flex; align-items: center; gap: 0.55rem; }
.ticks svg { width: 18px; height: 18px; flex: none; color: var(--gold); }

.hero__ph { margin: 0; }
.hero__ph img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(245, 196, 81, 0.08), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.updated {
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.updated b { color: var(--pink); font-weight: 600; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__ph { max-width: 420px; }
}

/* ---------- shortlist strip ---------- */

.strip {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}
.strip h2 {
  font-size: 0.74rem; font-style: normal; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.strip ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.strip a {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.86rem;
  color: #D4D4E2;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.strip a:hover { border-color: var(--pink); color: #fff; background: rgba(255, 45, 120, 0.1); }
.strip b { color: var(--pink); font-size: 0.78rem; letter-spacing: 0.06em; }

/* ---------- the ranked rows ---------- */

.list { padding: clamp(2.2rem, 4vw, 3.4rem) 0 clamp(2.6rem, 5vw, 4rem); }

.row {
  position: relative;
  margin-top: clamp(2.2rem, 3.4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  scroll-margin-top: 92px;
}
.row:first-of-type { margin-top: 0; }

.row--top {
  border-color: rgba(245, 196, 81, 0.75);
  box-shadow: 0 0 0 1px rgba(245, 196, 81, 0.18), 0 26px 70px rgba(0, 0, 0, 0.55);
}

/* rank + badge tab riding the top border */
.row__tab {
  position: absolute;
  top: -15px;
  left: 18px;
  display: flex;
  align-items: stretch;
  gap: 6px;
  z-index: 2;
}
.row__rank {
  display: grid;
  place-items: center;
  min-width: 30px;
  padding: 0 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  background: var(--pink);
  border-radius: 5px;
}
.row--top .row__rank { background: var(--gold); }

.row__badge {
  /* skewed plate — the diagonal that runs through this site */
  display: flex;
  align-items: center;
  padding: 0.3rem 1.1rem;
  transform: skewX(-12deg);
  background: var(--pink);
  color: #fff;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.row__badge > span { transform: skewX(12deg); }
.row--top .row__badge { background: var(--gold); color: #2A1E00; }

.row__summary {
  display: block;
  list-style: none;
  cursor: pointer;
  padding: clamp(1.8rem, 2.6vw, 2.2rem) clamp(1.1rem, 2.2vw, 1.8rem) clamp(1.1rem, 2vw, 1.4rem);
}
.row__summary::-webkit-details-marker { display: none; }

.row__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.8fr) minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  align-items: center;
}

/* wordmark plate, standing in for a hotel logo */
.mark {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 104px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}
.mark b {
  display: block;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-transform: uppercase;
}
.mark b + b { color: var(--gold); }
.row--top .mark { border-color: rgba(245, 196, 81, 0.35); }
.mark small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat { text-align: center; }
.stat b {
  display: block;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.3rem, 1rem + 1.1vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--gold);
}
.stat span { display: block; margin-top: 0.35rem; font-size: 0.82rem; color: var(--muted); }

.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.feats li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; line-height: 1.35; }
.feats svg { width: 17px; height: 17px; flex: none; margin-top: 0.18em; color: var(--gold); }

.cta { display: flex; justify-content: flex-end; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 250px;
  min-height: 62px;
  padding: 0.8rem 1.3rem;
  background: var(--green);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 7px;
  /* clipped corner — same diagonal idea at small scale */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: background 0.15s ease, transform 0.15s ease;
}
.row__summary:hover .btn { background: var(--green-hi); }
.row__summary:active .btn { transform: translateY(1px); }

.btn__label::after { content: "Read the write-up"; }
.row[open] .btn__label::after { content: "Hide the write-up"; }

.verdict {
  margin: clamp(1.2rem, 2vw, 1.6rem) 0 0;
  padding-top: clamp(1.1rem, 2vw, 1.4rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem 1rem;
  align-items: baseline;
}
.verdict > span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(255, 45, 120, 0.5);
  border-radius: 4px;
  transform: skewX(-12deg);
}
.verdict > span i { display: block; font-style: normal; transform: skewX(12deg); }
.verdict > p {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem);
  line-height: 1.42;
  margin: 0;
}

.row__more {
  padding: 0 clamp(1.1rem, 2.2vw, 1.8rem) clamp(1.6rem, 2.6vw, 2rem);
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.row__more .inner { max-width: 74ch; padding-top: clamp(1.2rem, 2vw, 1.6rem); color: #C9C9D8; }
.row__more h3 {
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.7rem);
  margin-bottom: 0.4rem;
}
.row__place {
  margin: 0 0 1.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 1050px) {
  .row__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cta { justify-content: flex-start; grid-column: 1 / -1; }
  .btn { max-width: none; }
}
@media (max-width: 620px) {
  .row__grid { grid-template-columns: minmax(0, 1fr); }
  .stat { text-align: left; }
  .row__tab { left: 12px; }
  .row__badge { padding-inline: 0.8rem; font-size: 0.64rem; }
}

/* ---------- closing band ---------- */

.how-wrap { position: relative; background: var(--gold); }

.how {
  position: relative;
  margin-top: calc(var(--cut) * -1);
  padding-top: calc(var(--cut) + clamp(2.6rem, 4vw, 3.6rem));
  padding-bottom: clamp(2.6rem, 4vw, 3.6rem);
  background: linear-gradient(180deg, #24101E 0%, #120B14 55%, #0A0810 100%);
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
}
.how h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 1.2rem; }
.how .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.2rem, 3vw, 2.6rem);
  color: #C9C9D8;
  max-width: 1100px;
}

/* ---------- plain pages ---------- */

.page-head { padding: clamp(2.6rem, 5vw, 4rem) 0 clamp(1.4rem, 3vw, 2.2rem); }
.page-head h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); max-width: 18ch; }
.page-head .lede { margin-top: 1.4rem; max-width: 60ch; color: #C9C9D8; }

.doc { padding-bottom: clamp(3rem, 6vw, 5rem); }
.doc .inner { max-width: 74ch; color: #C9C9D8; }
.doc h2 {
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem);
  margin: clamp(2.2rem, 3.5vw, 3rem) 0 0.8rem;
  color: var(--text);
}
.doc h2:first-child { margin-top: 0; }
.doc a { color: var(--pink); }

/* ---------- footer ---------- */

.foot-wrap { position: relative; background: var(--pink); }

.site-foot {
  position: relative;
  margin-top: calc(var(--cut) * -1);
  padding-top: calc(var(--cut) + clamp(2.6rem, 4vw, 3.4rem));
  padding-bottom: clamp(2rem, 3vw, 2.6rem);
  background: #05050A;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 100%);
}

.site-foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 0.7fr);
  gap: clamp(1.8rem, 4vw, 3.4rem);
}
.site-foot__brand {
  font-style: italic; font-weight: 700; font-size: 1.45rem;
  letter-spacing: -0.028em; margin: 0 0 0.8rem;
}
.site-foot__brand span { color: var(--pink); }
.site-foot__about { max-width: 52ch; font-size: 0.93rem; color: var(--muted); }

.site-foot h2 {
  font-style: normal; font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 0.55rem; }
.site-foot li a { text-decoration: none; color: #C9C9D8; }
.site-foot li a:hover { color: #fff; }

.site-foot__end {
  margin-top: clamp(2rem, 3.4vw, 2.8rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.8rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

@media (max-width: 760px) { .site-foot__grid { grid-template-columns: minmax(0, 1fr); } }
