@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Berkshire Swash";
  src: url("berkshire-swash.ttf") format("truetype");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #fff1d7;
  --body: #d5c5c9;
  --muted: #ad9da6;
  --gold: #edc58b;
  --line: #44302e;
  --serif: "Instrument Serif", Georgia, serif;
  font: 16px/1.6 "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: #100b12;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 7px; }
.frame { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e7b87239;
}
.home .site-header { position: absolute; inset: 0 0 auto; z-index: 5; }
.brand { width: 104px; text-decoration: none; }
.wordmark { display: flex; flex-direction: column; align-items: center; }
.wordmark img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -13%;
  margin-bottom: -12%;
}
.wordmark > span {
  padding-left: .58em;
  color: #f2d69f;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .58em;
  line-height: 1.4;
  text-transform: uppercase;
}
.header-nav { display: flex; gap: 36px; }
.header-nav a, .support, .site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: .83rem;
  letter-spacing: .035em;
  color: #e4d4c8;
}
.header-nav a:hover, .support:hover, .site-footer a:hover { color: #ffe0a4; }
.casino {
  position: relative;
  isolation: isolate;
  height: min(880px, 68vw);
  min-height: 700px;
  overflow: hidden;
  background: #130c16;
}
.casino-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(#10091366, #100b121a 45%, #100b12 100%),
              url("silk-entrance.webp") center / cover no-repeat;
}
.casino::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 40%, #190d21ed 0%, #190d21d6 19%, transparent 58%);
}
.casino-invitation {
  position: relative;
  z-index: 2;
  width: 440px;
  margin-inline: auto;
  padding-top: clamp(170px, 14vw, 220px);
  text-align: center;
}
.hero-logo { width: 390px; margin: 0 auto 36px; }
.hero-logo .wordmark > span { font-size: 1rem; letter-spacing: .8em; padding-left: .8em; }
.hero-logo img { filter: drop-shadow(0 10px 18px #0009); }
.invitation { font-size: 1.05rem; color: #f6e9d7; }
.invitation strong { font-weight: 600; color: #ffde9e; }
.store { display: block; width: fit-content; margin: 25px auto 0; border-radius: 8px; }
.store img { display: block; }
.availability { margin-top: 12px; font-size: .8rem; color: #c9b9b7; }
.host {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: min(51vw, 740px);
  height: auto;
  filter: drop-shadow(0 10px 28px #08030cb0);
  mask-image: linear-gradient(#000 70%, transparent 99%);
}
.host-vesper { right: calc(50% + 112px); }
.host-caesar { left: calc(50% + 105px); }
.floor-link {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 14px;
  min-height: 44px;
  color: #d9bb91;
  text-decoration: none;
  font-size: .73rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.chevron { width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.floor { padding-block: 22px 72px; scroll-margin-top: 20px; }
.floor-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.floor-heading h2 { margin: 0; font: 400 2.4rem/1.2 "Berkshire Swash", Georgia, serif; }
.floor-heading > p { font-size: .85rem; color: var(--muted); }
.games { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.game { min-width: 0; }
.game > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #a7754366;
  box-shadow: 0 12px 30px #0005;
}
.game figcaption { padding: 20px 0; text-align: center; }
.game h3 { margin: 0 0 5px; font: 400 1.6rem/1.15 "Berkshire Swash", Georgia, serif; color: #e7c08b; }
.game p { font-size: .8rem; color: var(--muted); }
.collection-note { margin-top: 26px; text-align: center; color: #baaaae; font-size: .87rem; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 26px; border-top: 1px solid var(--line); }
.site-footer nav { display: flex; gap: 28px; }
.play-note { font-size: .8rem; color: #c1b2b8; }
.play-note > span { color: var(--gold); margin-right: 7px; }
.copyright { font-size: .75rem; color: var(--muted); margin-top: 3px; }
@media (max-width: 1050px) {
  .casino { min-height: 650px; }
  .casino-invitation { width: 370px; padding-top: 180px; }
  .hero-logo { width: 320px; }
  .host { width: 56vw; }
  .host-vesper { right: calc(50% + 60px); }
  .host-caesar { left: calc(50% + 60px); }
  .invitation { font-size: .93rem; }
  .floor-heading { display: block; text-align: center; }
  .floor-heading > p { margin-top: 12px; }
  .games { gap: 18px; }
}
@media (max-width: 700px) {
  .frame { width: calc(100% - 36px); }
  .site-header { height: 78px; }
  .brand { width: 83px; }
  .header-nav { gap: 24px; }
  .header-nav a { font-size: .75rem; }
  .casino { height: 850px; min-height: 0; }
  .casino-scene { background-position: 65% center; }
  .casino::before { background: linear-gradient(#130b18b3, #130b18d9 47%, transparent 75%); }
  .casino-invitation { width: calc(100% - 36px); padding-top: 130px; }
  .hero-logo { width: min(76vw, 330px); margin-bottom: 29px; }
  .hero-logo .wordmark > span { font-size: .75rem; }
  .invitation { font-size: .9rem; }
  .store { margin-top: 22px; }
  .host { width: 390px; bottom: 25px; }
  .host-vesper { right: calc(50% - 105px); }
  .host-caesar { left: calc(50% - 85px); }
  .floor-link { bottom: 25px; font-size: .65rem; white-space: nowrap; }
  .floor { padding-top: 20px; padding-bottom: 40px; }
  .floor-heading h2 { font-size: 2rem; }
  .floor-heading > p { max-width: 28ch; margin-inline: auto; }
  .games { grid-template-columns: 1fr; gap: 22px; }
  .game figcaption { padding: 15px 0; }
  .game h3 { font-size: 1.7rem; }
  .collection-note { max-width: 32ch; margin-inline: auto; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.policy {
  flex: 1;
  width: min(60rem, calc(100% - clamp(2.5rem, 10vw, 10rem)));
  margin-inline: auto;
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
  color: var(--body);
}

.policy h1 {
  margin: 0 0 1rem;
  color: var(--ink);
  font: 400 clamp(3.25rem, 8vw, 5.25rem)/.98 var(--serif);
}

.policy h2 {
  margin: 2.4rem 0 .75rem;
  color: var(--ink);
  font: 400 clamp(1.75rem, 4vw, 2.4rem)/1.12 var(--serif);
}

.policy p,
.policy li { max-width: 73ch; }
.policy p + p,
.policy li + li { margin-top: .85rem; }
.policy ul { padding-inline-start: 1.4rem; }
.policy a { color: var(--gold); text-underline-offset: .18em; }
.policy a:hover { color: var(--ink); }
.policy .status { color: var(--gold); font-size: .92rem; }

.policy table {
  width: 100%;
  margin-block: 1.1rem;
  border-collapse: collapse;
  font-size: .94rem;
}

.policy th,
.policy td {
  padding: .85rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy th {
  background: #2b1b34;
  color: var(--ink);
}

.policy th[scope="row"] { width: 25%; font-weight: 600; }
.policy .cell-label { display: none; }

@media (max-width: 580px) {
  .policy table,
  .policy tbody,
  .policy tr,
  .policy th,
  .policy td { display: block; }

  .policy thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .policy tr { margin-bottom: .85rem; }
  .policy th[scope="row"] { width: auto; }
  .policy td { border-top: 0; }
  .policy .cell-label {
    display: block;
    margin-bottom: .25rem;
    color: var(--ink);
    font-weight: 600;
  }
}


.grand-hall { position: relative; isolation: isolate; min-height: 450px; display: grid; place-items: center; overflow: hidden; }
.grand-hall > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.grand-hall::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#100b12 0%, #100b1277 35%, #100b12bd 75%, #100b12 100%); }
.hall-copy { text-align: center; padding: 80px 24px; max-width: 700px; text-shadow: 0 2px 20px #000; }
.hall-copy h2 { margin: 0 0 12px; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.hall-name { font: 400 clamp(2.8rem,6vw,5.5rem)/1.15 "Berkshire Swash", Georgia, serif; color: #ffe1a2; margin-bottom: 22px; }
.hall-copy > p:last-child { color: #f2e6d5; font-size: .95rem; }
.games { row-gap: 32px; }
