@font-face {
  font-family: Barlow Condensed;
  src: url("/fonts/condensed.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Barlow Condensed;
  src: url("/fonts/marquee.woff2") format("woff2");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("/fonts/sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ground: #101c1f;
  --cream: #fff0d3;
  --orange: #ffac75;
  --ink: #142125;
  --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--cream); font: 1rem/1.45 var(--body); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid #ffe18d; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 5; left: 12px; top: -80px; padding: 12px; background: var(--cream); color: var(--ink); }
.skip:focus { top: 10px; }
.wrap { width: min(1160px, 89%); margin-inline: auto; }
.hero {
  min-height: clamp(290px, 28.5vw, 378px);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #132126;
  border-bottom: 2px solid #cf8755;
}
.hall { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg,#121c20d4, #131b1f99 29%, transparent 61%), linear-gradient(0deg,#0b1519a6,transparent 28%);
}
.marquee { padding-block: 25px 35px; }
h1 {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  font: italic 800 clamp(5.1rem, 7.7vw, 8.4rem)/.83 var(--heading);
  text-transform: uppercase; letter-spacing: -.042em;
}
h1 span { color: #fff0cf; text-shadow: 2px 3px 0 #35382b; }
h1 strong {
  margin-top: .035em; padding: 0 .08em .07em 0;
  color: #ffac72; font-weight: inherit;
  text-shadow: 1px 2px 0 #502e22, 2px 4px 0 #ac613d, 3px 6px 0 #472f27;
}
.marquee p { margin-top: 20px; color: #f2e8d6; font-size: clamp(.98rem,1.32vw,1.18rem); font-weight: 500; }
.floor { padding: clamp(25px,3.2vw,42px) 0 max(55px,env(safe-area-inset-bottom)); }
.floor-heading { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 19px; }
h2 { font: 700 clamp(1.95rem,3.35vw,3rem)/1 var(--heading); letter-spacing: -.023em; }
.shuffle {
  min-height: 44px; padding: 6px 13px; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #779393; border-radius: 5px; background: #1b3033; color: #e6ece4;
  cursor: pointer; font: 650 .9rem/1.2 var(--body); touch-action: manipulation;
}
.dice { font: 22px/1 Georgia,serif; color: #f8c190; }
.games { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(14px,1.8vw,25px); }
.games li { grid-column: span 2; min-width: 0; }
.games li.feature, .games li:nth-last-child(-n+2) { grid-column: span 3; }
.cabinet {
  --accent: #e5ac76;
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  border: 1px solid #3c5051; border-radius: 8px; overflow: hidden;
  background: #19292c; color: var(--cream);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
  touch-action: manipulation;
}
.glass { border-bottom: 2px solid var(--accent); position: relative; overflow: hidden; background: #253538; aspect-ratio: 2.04; }
.glass img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 250ms ease; }
.feature .glass { aspect-ratio: 2.5; }
.rail .cabinet, .pool .cabinet { --accent: #84cbb6; }
.tavern .cabinet, .fishing .cabinet { --accent: #edcb83; }
.boxing .cabinet { --accent: #ed9979; }
.turkey .cabinet { --accent: #d1adcf; }
.label { position: relative; padding: 16px 51px 18px 18px; flex: 1; }
.genre { display: block; color: var(--accent); font-weight: 700; font-size: .76rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .11em; }
h3 { margin: 5px 0 6px; font: 700 clamp(1.68rem,2.5vw,2.35rem)/1.02 var(--heading); letter-spacing: -.018em; text-wrap: balance; }
.feature h3 { font-size: clamp(2rem,3.3vw,3rem); }
.label p { color: #ccd6d1; font-size: 1rem; line-height: 1.4; }
.start {
  width: 30px; height: 30px; border: 1px solid #6e817d; border-radius: 50%;
  position: absolute; top: 18px; right: 13px; display: grid; place-items: center;
}
.start::before { content: ""; margin-left: 3px; height: 0; width: 0; border: 5px solid transparent; border-right: 0; border-left: 8px solid var(--cream); }
.games li:nth-last-child(-n+2) .cabinet { display: grid; grid-template-columns: minmax(110px,.67fr) 1fr; }
.games li:nth-last-child(-n+2) .glass { aspect-ratio: auto; border-bottom: 0; border-right: 2px solid var(--accent); min-height: 135px; }
.games li:nth-last-child(-n+2) .glass img { position: absolute; }
@media (hover:hover) {
  .cabinet:hover { transform: translateY(-3px); border-color: var(--accent); background: #203438; }
  .cabinet:hover .glass img { transform: scale(1.025); }
  .cabinet:hover .start { background: var(--cream); border-color: var(--cream); }
  .cabinet:hover .start::before { border-left-color: var(--ink); }
  .shuffle:hover { background: #2b4143; border-color: #e8cda7; }
}
@media (max-width: 920px) {
  .games { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .games li, .games li.feature, .games li:nth-last-child(-n+2) { grid-column: auto; }
  .games li:nth-last-child(-n+2) .cabinet { display: flex; }
  .games li:nth-last-child(-n+2) .glass { aspect-ratio: 2.04; border-right: 0; border-bottom: 2px solid var(--accent); min-height: 0; }
  .games li:last-child { grid-column: span 2; }
  .games li:last-child .cabinet { display: grid; grid-template-columns: 32% 1fr; }
  .games li:last-child .glass { aspect-ratio: auto; border-bottom: 0; border-right: 2px solid var(--accent); }
  .wrap { width: 92%; }
}
@media (max-width: 590px) {
  .wrap { width: auto; margin-left: max(16px,env(safe-area-inset-left)); margin-right: max(16px,env(safe-area-inset-right)); }
  .hero { min-height: 208px; }
  .hall { object-position: 78% 34%; }
  .hero::before { background: linear-gradient(90deg,#101b20e8,#122022bc 33%,#121d2140 67%,transparent),linear-gradient(0deg,#0a171bab,transparent 50%); }
  .marquee { padding-block: max(22px,env(safe-area-inset-top)) 24px; }
  h1 { font-size: clamp(3.65rem,13vw,5.1rem); }
  .marquee p { margin-top: 12px; max-width: 210px; font-size: 1rem; }
  .floor { padding-top: 19px; }
  .floor-heading { margin-bottom: 13px; }
  h2 { font-size: 1.95rem; }
  .shuffle { padding-inline: 9px; gap: 6px; }
  .games { display: flex; flex-direction: column; gap: 12px; }
  .games li:not(.feature) .cabinet { display: grid; grid-template-columns: minmax(86px,30%) 1fr; }
  .games li:not(.feature) .glass { aspect-ratio: auto; min-height: 116px; border-right: 2px solid var(--accent); border-bottom: 0; }
  .games li:not(.feature) .glass img { position: absolute; }
  .feature .glass { aspect-ratio: 2.78; }
  .label { padding: 12px 42px 15px 13px; }
  .genre { font-size: .75rem; }
  h3 { font-size: 1.66rem; }
  .feature h3 { font-size: 2rem; margin-block: 3px 5px; }
  .label p { font-size: 1rem; line-height: 1.32; }
  .games li:not(.feature) .label { padding-right: 12px; }
  .games li:not(.feature) .start { display: none; }
  .start { top: 14px; right: 11px; width: 27px; height: 27px; }
}
@media (min-width:591px) and (max-height:480px) and (orientation:landscape) {
  .hero { min-height: 165px; }
  .marquee { padding-block: 14px; }
  h1 { flex-direction: row; align-items: baseline; gap: .12em; font-size: 4.2rem; }
  .marquee p { margin-top: 9px; }
  .floor { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { transition: none !important; }
}
