:root {
  --blue: #1769c2;
  --blue-dark: #0b4388;
  --ink: #17202b;
  --cream: #f8f3e7;
  --paper: #fffdf7;
  --yellow: #ffd21c;
  --orange: #ff9f1c;
  --red: #f43b36;
  --green: #33b447;
  --line: #d9d3c6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
poly-site-header { display: contents; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 32, 43, .15);
}
.brand { display: grid; grid-template-columns: repeat(4, max-content); align-items: center; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 31px; letter-spacing: -4px; }
.brand-letter { -webkit-text-stroke: 1px white; text-shadow: 1px 2px 0 var(--ink); }
.brand-p { color: var(--blue); }.brand-l { color: var(--yellow); }.brand-y { color: var(--green); }
.brand small { grid-column: 1 / -1; font-size: 9px; letter-spacing: 1.7px; text-transform: uppercase; color: var(--ink); -webkit-text-stroke: 0; text-shadow: none; text-align: center; margin-top: -3px; }
.brand-die { width: 27px; height: 27px; display: block; background: var(--red); border: 2px solid white; border-radius: 7px; transform: rotate(-9deg); box-shadow: 1px 2px 0 var(--ink); position: relative; margin: 0 1px; }
.brand-die i { position: absolute; width: 4px; height: 4px; background: white; border-radius: 50%; }
.brand-die i:nth-child(1) { top: 5px; left: 5px; }.brand-die i:nth-child(2) { top: 10px; left: 11px; }.brand-die i:nth-child(3) { right: 5px; bottom: 5px; }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
nav a { transition: .2s ease; }
nav a:not(.nav-cta):hover { color: var(--blue); }
nav a[aria-current="page"]:not(.nav-cta) { color: var(--blue); }
.nav-cta { background: var(--ink); color: white; padding: 12px 17px; border-radius: 999px; }
.nav-cta span { color: var(--yellow); margin-left: 6px; }

.hero { width: min(1180px, calc(100% - 40px)); margin: 44px auto 70px; display: grid; grid-template-columns: 1.02fr .98fr; min-height: 570px; gap: 52px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; }
.eyebrow i { width: 10px; height: 10px; display: block; background: var(--red); transform: rotate(45deg); }
h1, h2 { font-family: "Fredoka", sans-serif; margin: 18px 0 24px; letter-spacing: -3px; line-height: .96; }
h1 { font-size: clamp(64px, 7vw, 99px); }
h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 550px; font-size: 18px; line-height: 1.65; color: #4f5660; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.hero-hours { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 13px; font-weight: 600; color: #5d6269; }
.hero-hours i { width: 8px; height: 8px; display: block; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--cream); }
.button { border: 0; cursor: pointer; font-weight: 700; border-radius: 999px; padding: 15px 21px; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); box-shadow: 3px 4px 0 var(--ink); }
.button-primary span { margin-left: 8px; }
.mini-note { font-size: 12px; line-height: 1.5; color: #60656d; transform: rotate(-2deg); }
.mini-note strong { color: var(--ink); }

.hero-board { height: 560px; background: var(--blue); border: 3px solid var(--ink); border-radius: 38% 34% 36% 28% / 28% 34% 36% 38%; position: relative; overflow: hidden; box-shadow: 9px 11px 0 var(--yellow); transform: rotate(1deg); }
.sunburst { position: absolute; inset: -30%; background: repeating-conic-gradient(from -20deg, rgba(255,255,255,.12) 0 12deg, transparent 12deg 26deg); }
.board-message { position: absolute; inset: 38% 8% auto; color: white; text-align: center; font-family: "Fredoka", sans-serif; font-size: 21px; line-height: 1.2; transform: rotate(-2deg); }
.board-message strong { font-size: clamp(38px, 4.5vw, 60px); color: var(--yellow); -webkit-text-stroke: 2px var(--ink); text-shadow: 4px 4px 0 var(--red); }
.dice { width: 96px; height: 96px; background: var(--red); border: 4px solid white; border-radius: 24px; box-shadow: 6px 7px 0 var(--ink); transform: rotate(13deg); position: absolute; z-index: 2; }
.dice-main { top: 50px; right: 72px; }
.dice i { position: absolute; width: 13px; height: 13px; background: white; border-radius: 50%; }
.dice i:nth-child(1) { top: 17px; left: 17px; }.dice i:nth-child(2) { top: 17px; right: 17px; }.dice i:nth-child(3) { top: 39px; left: 39px; }.dice i:nth-child(4) { bottom: 17px; left: 17px; }.dice i:nth-child(5) { right: 17px; bottom: 17px; }
.floating-card { position: absolute; width: 100px; height: 138px; border: 4px solid white; border-radius: 14px; display: grid; place-items: center; font: 700 46px "Fredoka"; box-shadow: 5px 6px 0 var(--ink); }
.card-one { left: 54px; top: 64px; background: var(--yellow); transform: rotate(-14deg); color: var(--ink); }
.card-two { right: 44px; bottom: 43px; background: var(--green); color: white; transform: rotate(15deg); }
.pawn { position: absolute; width: 64px; height: 70px; border: 4px solid white; border-radius: 45% 45% 22% 22%; box-shadow: 4px 5px 0 var(--ink); }
.pawn::before { content: ""; position: absolute; width: 42px; height: 42px; border-radius: 50%; left: 7px; top: -28px; background: inherit; border: 4px solid white; }
.pawn-red { background: var(--red); left: 85px; bottom: 52px; transform: rotate(-7deg); }
.pawn-green { background: var(--green); right: 135px; top: 150px; transform: scale(.72) rotate(8deg); }
.scribble { position: absolute; color: white; font-size: 48px; font-family: "Fredoka"; }.scribble-one { left: 32px; top: 225px; }.scribble-two { right: 44px; top: 270px; color: var(--yellow); }

.game-master-strip { background: var(--yellow); border-block: 3px solid var(--ink); min-height: 106px; padding: 18px max(20px, calc((100% - 920px) / 2)); display: flex; gap: 24px; align-items: center; position: relative; }
.game-master-strip p { margin: 0; font-size: 18px; line-height: 1.5; }
.game-master-strip p span { font: 700 25px "Fredoka"; display: inline; }
.gm-icon { flex: 0 0 auto; width: 57px; height: 57px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--red); color: white; font-size: 31px; box-shadow: 3px 3px 0 var(--ink); }
.strip-doodle { font-size: 39px; transform: rotate(8deg); }

.gm-widget { width: min(820px, calc(100% - 40px)); margin: 34px auto 0; display: flex; flex-direction: column; gap: 18px; }
.gm-form { display: flex; gap: 12px; padding: 12px; border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 4px 5px 0 rgba(23,32,43,.15); }
.gm-input { flex: 1; }
.gm-form .button { flex: 0 0 auto; white-space: nowrap; }
.gm-form .button[disabled] { opacity: .6; cursor: progress; transform: none; }

.gm-result { padding: 28px 30px; border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 5px 6px 0 var(--yellow); }
.gm-result.gm-result-loading { box-shadow: 5px 6px 0 var(--line); font-style: italic; color: #6a6e73; }
.gm-result.gm-result-error { border-color: var(--red); box-shadow: 5px 6px 0 var(--red); color: var(--red); }
.gm-result.gm-result-reask { border-style: dashed; box-shadow: 5px 6px 0 var(--line); }

.gm-card-name { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: clamp(24px, 3vw, 30px); margin: 0 0 8px; letter-spacing: -.6px; }
.gm-card-reason { font-size: 15px; line-height: 1.6; color: #4f5660; margin: 0 0 16px; }
.gm-card-facts { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.gm-card-facts span { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #6a6e73; }
.gm-card-facts strong { font-size: 15px; color: var(--ink); }
.gm-card-guide { border-top: 2px dashed var(--line); padding-top: 18px; }
.gm-card-tagline { font-weight: 600; margin: 0 0 10px; }
.gm-card-guide h4 { margin: 18px 0 8px; font: 700 15px "Fredoka"; }
.gm-card-guide ol { margin: 0; padding-left: 20px; color: #50565e; font-size: 13px; line-height: 1.55; }
.gm-card-guide li { padding: 3px 0 3px 4px; }
.gm-card-guide li::marker { color: var(--red); font-weight: 700; }
.gm-card-tip { margin-top: 16px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow); font-size: 12.5px; line-height: 1.5; box-shadow: 3px 4px 0 var(--ink); }
.gm-card-tip strong { display: block; font: 700 14px "Fredoka"; margin-bottom: 3px; }
.gm-card-noguide { margin-top: 8px; font-size: 13px; color: #6a6e73; font-style: italic; }

@media (max-width: 680px) {
  .gm-form { flex-direction: column; }
}

.games-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0 110px; }
.section-heading { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 40px; }
h2 { font-size: clamp(54px, 6vw, 78px); margin-bottom: 0; }
.section-heading > p { color: #5d6269; font-size: 17px; line-height: 1.65; margin: 0 0 6px; max-width: 470px; }
.game-controls { margin: 55px 0 25px; display: grid; grid-template-columns: minmax(230px, 1fr) auto auto; gap: 12px; padding: 12px; border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 4px 5px 0 rgba(23,32,43,.15); }
.search-box { display: flex; align-items: center; gap: 8px; background: #f0ece2; border-radius: 11px; padding: 0 14px; }
.search-box span { font-size: 25px; transform: rotate(-15deg); }
.search-box input { width: 100%; height: 46px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.filter-group { display: flex; gap: 5px; }
.filter { border: 0; background: transparent; border-radius: 10px; padding: 0 11px; cursor: pointer; color: #5d6269; font-size: 13px; font-weight: 700; }
.filter:hover, .filter.active { background: var(--ink); color: white; }
.filter i, .legend i { width: 8px; height: 8px; display: inline-block; border-radius: 50%; margin-right: 3px; }
.easy { background: #20c84b; }.medium { background: #f4c800; }.hard { background: #fa3d36; }
.player-filter { border-left: 1px solid var(--line); display: flex; align-items: center; gap: 7px; padding-left: 13px; font-size: 12px; font-weight: 700; }
.player-filter select { border: 0; outline: 0; background: transparent; font-weight: 600; cursor: pointer; }
.results-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; color: #6a6e73; font-size: 13px; }
.results-line p { margin: 0; }.results-line strong { color: var(--ink); font-size: 18px; }
.legend { display: flex; gap: 14px; }.legend span { display: flex; align-items: center; }

.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.game-card { --card-accent: var(--blue); min-height: 285px; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; position: relative; transition: .22s ease; animation: cardIn .35s both; }
.game-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 7px 8px 0 var(--card-accent); }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }
.card-art { height: 128px; position: relative; overflow: hidden; background: var(--card-accent); border-bottom: 2px solid var(--ink); display: grid; place-items: center; }
.card-art::before { content: ""; position: absolute; inset: -40%; background: repeating-conic-gradient(rgba(255,255,255,.15) 0 10deg, transparent 10deg 22deg); }
.card-art::after { content: attr(data-mark); position: relative; z-index: 1; color: white; font: 700 62px "Fredoka"; -webkit-text-stroke: 2px var(--ink); text-shadow: 4px 4px 0 rgba(23,32,43,.35); transform: rotate(-5deg); }
.card-art.has-cover::before, .card-art.has-cover::after { display: none; }
.card-art.has-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card-art.editorial-cover img { object-position: 50% 45%; }
.game-number { position: absolute; left: 12px; top: 10px; z-index: 2; color: white; font: 700 10px "DM Sans"; letter-spacing: 1px; }
.difficulty-badge { position: absolute; z-index: 2; right: 11px; top: 10px; width: 30px; height: 30px; display: grid; place-items: center; color: white; border: 2px solid white; box-shadow: 2px 2px 0 var(--ink); border-radius: 50%; font: 700 13px "Fredoka"; }
.difficulty-badge.E { background: #20c84b; }.difficulty-badge.M { background: #e9bf00; }.difficulty-badge.H { background: #f43b36; }
.card-copy { flex: 1; padding: 17px 17px 15px; display: flex; flex-direction: column; }
.card-copy h3 { font: 700 20px/1.12 "Fredoka"; margin: 0 0 7px; letter-spacing: -.3px; }
.card-copy p { color: #686d73; margin: 0; font-size: 12px; line-height: 1.5; }
.card-meta { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); }
.players { font-weight: 700; font-size: 12px; }.players span { color: var(--blue); font-size: 17px; margin-right: 3px; }
.mood-tag { background: #f0ece2; border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 700; }
.card-guide { width: 100%; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--ink); border-radius: 10px; background: var(--ink); color: white; cursor: pointer; font-size: 12px; font-weight: 700; text-align: left; }
.card-guide span { float: right; color: var(--yellow); }
.card-guide:hover, .card-guide:focus-visible { background: var(--blue); }
.show-more { display: block; margin: 34px auto 0; background: var(--ink); color: white; box-shadow: 3px 4px 0 var(--yellow); }
.show-more span { color: var(--yellow); margin-left: 8px; }
.show-more[hidden] { display: none; }
.empty-state { text-align: center; padding: 70px 20px; border: 2px dashed var(--line); border-radius: 18px; }
.empty-state span { display: grid; place-items: center; width: 54px; height: 54px; margin: auto; border-radius: 50%; background: var(--yellow); font: 700 30px "Fredoka"; }
.empty-state h3 { font: 700 26px "Fredoka"; margin: 14px 0 4px; }.empty-state p { color: #6a6e73; margin: 0; }

footer { min-height: 160px; padding: 35px max(20px, calc((100% - 1180px) / 2)); background: var(--ink); color: white; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand-block { display: flex; flex-direction: column; gap: 14px; }
.footer-brand small { color: white; }.footer-brand .brand-letter { text-shadow: none; }.footer-brand .brand-die { box-shadow: none; }
footer > p { margin: 0; color: #aeb5bd; font-size: 14px; }
.footer-socials { display: flex; flex-direction: column; gap: 8px; }
.footer-socials a { display: inline-flex; align-items: center; gap: 7px; color: #aeb5bd; font-size: 13px; font-weight: 600; transition: .2s ease; }
.footer-socials a svg { width: 18px; height: 18px; fill: #aeb5bd; transition: .2s ease; }
.footer-socials a:hover { color: var(--yellow); }
.footer-socials a:hover svg { fill: var(--yellow); transform: translateY(-1px); }
.footer-top { color: var(--yellow); font-weight: 700; flex: 0 0 auto; }

.game-dialog { width: min(980px, calc(100% - 32px)); max-height: min(800px, calc(100dvh - 32px)); padding: 0; border: 3px solid var(--ink); border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 10px 12px 0 var(--yellow); overflow: auto; }
.game-dialog::backdrop { background: rgba(11, 25, 40, .72); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; z-index: 4; top: 14px; right: 14px; width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 27px; line-height: 1; box-shadow: 2px 3px 0 var(--ink); }
.dialog-close:hover { background: var(--yellow); }
.dialog-layout { display: grid; grid-template-columns: minmax(300px, .85fr) 1.15fr; min-height: 610px; }
.dialog-visual { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 58px 34px 26px; background: #eee8db; border-right: 2px solid var(--ink); overflow: hidden; }
.dialog-visual::before { content: ""; position: absolute; inset: -25%; background: repeating-conic-gradient(rgba(23,105,194,.08) 0 11deg, transparent 11deg 24deg); }
.dialog-visual img { position: relative; z-index: 1; width: 100%; max-height: 430px; object-fit: contain; filter: drop-shadow(8px 10px 0 rgba(23,32,43,.16)); }
.dialog-visual p { position: relative; z-index: 1; margin: 25px 0 0; color: #686d73; font-size: 11px; text-align: center; }
.dialog-visual a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.game-dialog.has-editorial-art .dialog-visual { padding: 0; background: var(--ink); }
.game-dialog.has-editorial-art .dialog-visual::before { display: none; }
.game-dialog.has-editorial-art .dialog-visual img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.game-dialog.has-editorial-art .dialog-visual p { position: absolute; z-index: 2; right: 12px; bottom: 12px; margin: 0; padding: 6px 9px; border-radius: 999px; background: rgba(255,253,247,.9); color: #555; backdrop-filter: blur(5px); }
.dialog-content { padding: 58px 48px 42px; }
.dialog-content h2 { margin: 14px 0 8px; font-size: clamp(42px, 5vw, 66px); line-height: 1; }
.dialog-tagline { margin: 0 0 24px; color: var(--blue); font: 600 17px/1.45 "Fredoka"; }
.dialog-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin-bottom: 24px; }
.dialog-facts span { padding: 13px 12px; border-right: 1px solid var(--line); }
.dialog-facts span:first-child { padding-left: 0; }
.dialog-facts span:last-child { border: 0; }
.dialog-facts small, .dialog-facts strong { display: block; }
.dialog-facts small { color: #73787e; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.dialog-facts strong { margin-top: 3px; font: 700 15px "Fredoka"; }
.dialog-overview { color: #50565e; font-size: 14px; line-height: 1.65; }
.dialog-content h3 { margin: 24px 0 10px; font: 700 18px "Fredoka"; }
.dialog-content ol { margin: 0; padding-left: 22px; color: #50565e; font-size: 13px; line-height: 1.55; }
.dialog-content li { padding: 3px 0 3px 6px; }
.dialog-content li::marker { color: var(--red); font-weight: 700; }
.game-master-tip { display: grid; gap: 4px; margin-top: 22px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow); box-shadow: 3px 4px 0 var(--ink); font-size: 12px; line-height: 1.5; transform: rotate(-.4deg); }
.game-master-tip strong { font: 700 15px "Fredoka"; }
body:has(.game-dialog[open]) { overflow: hidden; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }.hero-copy { max-width: 750px; }.hero-board { height: 500px; }.game-grid { grid-template-columns: repeat(3, 1fr); }.game-controls { grid-template-columns: 1fr; }.filter-group { flex-wrap: wrap; }.filter { height: 40px; }.player-filter { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0 2px; }.section-heading { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-header { height: 72px; width: min(100% - 24px, 1180px); } nav > a:not(.nav-cta) { display: none; }.nav-cta { padding: 10px 13px; }.hero { width: min(100% - 24px, 1180px); margin-top: 40px; gap: 38px; }.hero-actions { align-items: flex-start; flex-direction: column; }.hero-board { height: 430px; }.board-message strong { font-size: 37px; }.floating-card { transform: scale(.75) rotate(-14deg); }.card-two { transform: scale(.75) rotate(15deg); }.dice-main { transform: scale(.8) rotate(13deg); right: 38px; }.game-master-strip { align-items: flex-start; }.strip-doodle { display: none; }.games-section { width: min(100% - 24px, 1180px); padding-top: 70px; }.game-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }.game-card { min-height: 260px; }.card-art { height: 105px; }.card-copy { padding: 14px 12px 12px; }.card-copy h3 { font-size: 17px; }.legend { display: none; } footer { flex-direction: column; align-items: center; text-align: center; gap: 20px; } .footer-brand-block { align-items: center; } .footer-socials { align-items: center; }
}
@media (max-width: 760px) {
  .game-dialog { max-height: calc(100dvh - 20px); }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-visual { min-height: 310px; padding: 50px 55px 22px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .dialog-visual img { max-height: 260px; }
  .game-dialog.has-editorial-art .dialog-visual { height: 360px; min-height: 360px; }
  .game-dialog.has-editorial-art .dialog-visual img { max-height: none; object-position: center 36%; }
  .dialog-content { padding: 36px 24px 32px; }
  .dialog-content h2 { font-size: 43px; }
}
@media (max-width: 430px) { .game-grid { grid-template-columns: 1fr; }.game-card { min-height: 280px; }.card-art { height: 130px; }.hero-board { height: 390px; }.pawn-green { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Menu section */
.menu-section { width: min(1180px, calc(100% - 40px)); margin: 60px auto; padding: 46px; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 4px 5px 0 rgba(23,32,43,.05); }
.menu-controls { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 28px; }
.menu-tabs { display: inline-flex; gap: 10px; }
.tab-button { border: 0; background: transparent; padding: 10px 14px; border-radius: 12px; font-weight: 700; cursor: pointer; color: #5d6269; }
.tab-button.active { background: var(--ink); color: white; box-shadow: 3px 4px 0 var(--yellow); }
.menu-body { display: grid; grid-template-columns: 1fr; gap: 22px; }
.menu-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.menu-item { background: white; border: 2px solid var(--line); border-radius: 12px; padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.menu-item h4 { margin: 0; font: 700 15px "Fredoka"; }
.menu-item p { margin: 0; color: #6a6e73; font-size: 13px; }
.menu-price { font-weight: 800; color: var(--ink); font-size: 16px; }
.promo-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.promo-card { background: linear-gradient(180deg, #fff, #fffaf0); border: 2px solid var(--ink); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.promo-card h4 { margin: 0; font: 700 18px "Fredoka"; }
.promo-card .promo-desc { color: #60656d; font-size: 14px; margin: 0; }
.promo-card .promo-games { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.promo-chip { background: #f0ece2; border-radius: 999px; padding: 6px 8px; font-size: 12px; font-weight: 700; }

@media (max-width: 980px) {
  .menu-list { grid-template-columns: repeat(2, 1fr); }
  .promo-list { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .menu-list { grid-template-columns: 1fr; }
}

/* About section */
.about-hero { width: min(1180px, calc(100% - 40px)); margin: 44px auto 0; }
.about-hero h1 { font-size: clamp(48px, 5.5vw, 72px); }
.about-hero p { color: #5d6269; font-size: 17px; line-height: 1.65; max-width: 500px; margin: 0; }
.about-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0; }
.about-section .section-heading { margin-bottom: 40px; }
.about-grid { display: grid; gap: 18px; }
.about-grid--3 { grid-template-columns: repeat(3, 1fr); }
.about-grid--2 { grid-template-columns: repeat(2, 1fr); }
.price-card { padding: 22px; background: linear-gradient(180deg, #fff, #fffaf0); border: 2px solid var(--ink); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
.price-badge { align-self: flex-start; font: 700 11px/1 "DM Sans"; text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: white; }
.price-badge--wknd { background: var(--blue); }
.price-name { font: 700 20px "Fredoka"; margin: 0; }
.price-amount { font: 800 28px "Fredoka"; color: var(--blue); margin: 0; }
.price-note { color: #686d73; font-size: 13px; line-height: 1.5; margin: 0; }
.terms { margin-top: 26px; padding: 18px 22px; border: 2px dashed var(--line); border-radius: 14px; }
.terms h3 { font: 700 16px "Fredoka"; margin: 0 0 10px; }
.terms p { color: #6a6e73; font-size: 13px; line-height: 1.55; margin: 0 0 6px; }
.map-wrap { border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 4px 5px 0 rgba(23,32,43,.05); background: var(--paper); }
.map-embed { width: 100%; height: 420px; border: 0; display: block; }
.map-actions { display: flex; justify-content: space-between; align-items: center; padding: 16px; gap: 12px; }
.map-address { margin: 0; font-size: 14px; font-weight: 600; }
.social-card { padding: 22px; background: linear-gradient(180deg, #fff, #fffaf0); border: 2px solid var(--ink); border-radius: 14px; display: flex; align-items: center; gap: 14px; text-decoration: none; transition: .22s ease; }
.social-card:hover { transform: translateY(-4px); box-shadow: 5px 6px 0 var(--ink); }
.social-card svg { width: 28px; height: 28px; fill: var(--ink); flex-shrink: 0; }
.social-name { font: 700 18px "Fredoka"; margin: 0; }
.social-handle { color: #60656d; font-size: 13px; margin: 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border: 2px solid var(--ink); background: white; color: var(--ink); font: 700 14px/1.4 "DM Sans"; cursor: pointer; text-align: left; border-radius: 18px; transition: .22s ease; }
.faq-q:hover { transform: translateY(-2px); box-shadow: 3px 4px 0 var(--yellow); }
.faq-q i { flex-shrink: 0; width: 7px; height: 7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: .22s ease; margin-top: -3px; }
.faq-item.open .faq-q i { transform: rotate(-135deg); margin-top: 3px; }
.faq-a { margin-top: 8px; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 13px 16px; }
.faq-a p { margin: 0; font-size: 14px; line-height: 1.65; color: #686d73; }
.faq-a p strong { color: var(--ink); }
.faq-a p a { color: var(--blue); text-decoration: underline; }

@media (max-width: 980px) {
  .about-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .map-embed { height: 320px; }
}
@media (max-width: 680px) {
  .about-hero { width: min(100% - 24px, 1180px); }
  .about-section { width: min(100% - 24px, 1180px); padding: 60px 0; }
  .about-grid--3, .about-grid--2 { grid-template-columns: 1fr; }
  .map-embed { height: 260px; }
  .map-actions { flex-direction: column; align-items: flex-start; }
}

/* Reservation and table booking */
.booking-hero { width: min(1180px, calc(100% - 40px)); margin: 64px auto 52px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.booking-hero h1 { margin-bottom: 0; font-size: clamp(58px, 7vw, 92px); }
.booking-hero h1 em { color: var(--blue); }
.booking-hero-note { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px; border: 2px solid var(--ink); border-radius: 18px; background: var(--yellow); box-shadow: 5px 6px 0 var(--ink); transform: rotate(1deg); }
.booking-hero-note p { margin: 0; color: #4a4f55; font-size: 14px; line-height: 1.55; }
.booking-hero-note strong { display: block; margin-bottom: 3px; color: var(--ink); font: 700 17px "Fredoka"; }
.booking-die { width: 58px; height: 58px; display: grid; place-items: center; border: 3px solid white; border-radius: 14px; background: var(--red); color: white; box-shadow: 3px 4px 0 var(--ink); font: 700 0/1 "Fredoka"; transform: rotate(-8deg); }
.booking-die::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: white; box-shadow: -15px -15px 0 white, 15px -15px 0 white, -15px 15px 0 white, 15px 15px 0 white; }

.booking-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto 110px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.booking-form { padding: 38px; border: 2px solid var(--ink); border-radius: 24px; background: var(--paper); box-shadow: 7px 8px 0 rgba(23,32,43,.14); }
.booking-step { display: flex; align-items: flex-start; gap: 15px; }
.booking-step h2 { margin: 2px 0 25px; font-size: clamp(34px, 4vw, 48px); letter-spacing: -1.5px; }
.step-number { flex: 0 0 auto; min-width: 42px; padding: 7px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); text-align: center; font: 700 12px "Fredoka"; box-shadow: 2px 2px 0 var(--ink); transform: rotate(-4deg); }
.step-kicker { margin: 0; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.table-step, .details-step { margin-top: 50px; padding-top: 38px; border-top: 1px dashed var(--line); }
.table-step { align-items: flex-start; }
.preview-badge { margin-left: auto; padding: 7px 10px; border-radius: 999px; background: #e9f3ff; color: var(--blue-dark); font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }

.schedule-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 7px; }
.field > span, .time-picker legend { font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.field small { color: #8a8e93; font-size: 9px; }
.field input, .field select, .field textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; outline: none; background: white; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.field input, .field select { min-height: 48px; padding: 0 13px; }
.field textarea { padding: 13px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,194,.12); }
.time-picker { min-width: 0; margin: 24px 0 0; padding: 0; border: 0; }
.time-picker legend { margin-bottom: 9px; }
.time-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.time-slot { min-height: 43px; border: 2px solid var(--line); border-radius: 11px; background: white; color: #62676d; cursor: pointer; font-size: 13px; font-weight: 800; transition: .18s ease; }
.time-slot:hover { border-color: var(--ink); transform: translateY(-1px); }
.time-slot.active { border-color: var(--ink); background: var(--ink); color: white; box-shadow: 2px 3px 0 var(--yellow); }

.floor-wrap { padding: 12px; border: 2px solid var(--line); border-radius: 18px; background: #f1ede4; }
.floor-plan { min-height: 420px; position: relative; overflow: hidden; border: 2px solid var(--ink); border-radius: 14px; background-color: #fffdf7; background-image: linear-gradient(rgba(23,32,43,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(23,32,43,.035) 1px, transparent 1px); background-size: 24px 24px; }
.floor-plan::before { content: ""; position: absolute; inset: 14px auto 14px 14px; width: 7px; border-radius: 999px; background: var(--blue); box-shadow: 0 0 0 3px white, 0 0 0 5px var(--ink); }
.floor-label { position: absolute; z-index: 2; color: #777c82; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; writing-mode: vertical-rl; }
.window-label { left: 31px; top: 34px; }
.counter-label { right: 12px; top: 28px; padding: 12px 7px; border-radius: 7px; background: var(--yellow); color: var(--ink); }
.floor-tables { position: absolute; inset: 22px 58px 22px 60px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 30px 34px; align-items: center; justify-items: center; }
.cafe-table { position: relative; width: 105px; height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 3px solid var(--ink); border-radius: 14px; background: var(--green); color: white; cursor: pointer; box-shadow: 4px 5px 0 var(--ink); transition: .18s ease; }
.cafe-table::before, .cafe-table::after { content: ""; position: absolute; top: 16px; width: 13px; height: 36px; border: 2px solid var(--ink); border-radius: 5px; background: #f1ede4; }
.cafe-table::before { left: -19px; }.cafe-table::after { right: -19px; }
.cafe-table strong { font: 700 20px "Fredoka"; }
.cafe-table small { font-size: 9px; font-weight: 700; }
.cafe-table:hover:not(:disabled) { transform: translateY(-3px) rotate(-1deg); background: #289d3b; }
.cafe-table.selected { background: var(--yellow); color: var(--ink); box-shadow: 5px 6px 0 var(--blue); }
.cafe-table.unavailable { background: #d8d4ca; color: #7c7e7d; border-color: #96958e; box-shadow: 3px 4px 0 #b9b5ab; cursor: not-allowed; }
.cafe-table.unavailable::before, .cafe-table.unavailable::after { border-color: #aaa79f; }
.table-round { width: 80px; height: 80px; border-radius: 50%; }
.table-long { width: 125px; }
.table-large { width: 138px; height: 86px; }
.floor-shelf { position: absolute; right: 9px; bottom: 22px; display: grid; gap: 2px; padding: 10px 6px; border: 2px solid var(--ink); border-radius: 6px; background: var(--red); color: white; transform: rotate(1deg); }
.floor-shelf span { font: 700 8px "Fredoka"; letter-spacing: 1px; }
.table-legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 14px 4px 3px; color: #666b71; font-size: 10px; font-weight: 700; }
.table-legend span { display: flex; align-items: center; gap: 6px; }
.table-legend i { width: 11px; height: 11px; display: block; border: 1px solid var(--ink); border-radius: 3px; }
.table-legend .is-available { background: var(--green); }.table-legend .is-selected { background: var(--yellow); }.table-legend .is-unavailable { background: #d8d4ca; border-color: #96958e; }
.availability-note { margin: 9px 4px 3px; color: #777b80; font-size: 10px; line-height: 1.45; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-wide { grid-column: 1 / -1; }
.form-error { margin: 18px 0 0; padding: 11px 13px; border-left: 4px solid var(--red); border-radius: 6px; background: #fff0ef; color: #a72420; font-size: 12px; font-weight: 700; }
.booking-summary { margin-top: 27px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 2px solid var(--ink); border-radius: 16px; background: var(--yellow); box-shadow: 4px 5px 0 var(--ink); }
.summary-label { color: #605209; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.booking-summary h3 { margin: 4px 0 3px; font: 700 21px "Fredoka"; }
.booking-summary p { margin: 0; max-width: 440px; color: #554d28; font-size: 11px; line-height: 1.45; }
.whatsapp-button { flex: 0 0 auto; background: var(--ink); color: white; white-space: nowrap; }
.whatsapp-button span { margin-left: 7px; color: var(--yellow); }
.booking-disclaimer { margin: 14px 8px 0; color: #7a7e83; font-size: 10px; line-height: 1.5; text-align: center; }
.booking-success { margin-top: 18px; padding: 14px; display: flex; gap: 12px; align-items: center; border: 2px solid #23943a; border-radius: 12px; background: #eaf9ed; }
.booking-success[hidden] { display: none; }
.booking-success > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-weight: 800; }
.booking-success strong { font: 700 15px "Fredoka"; }.booking-success p { margin: 2px 0 0; color: #4c6451; font-size: 11px; }

.booking-sidebar { display: grid; gap: 18px; position: sticky; top: 20px; }
.sidebar-card { border: 2px solid var(--ink); border-radius: 20px; box-shadow: 6px 7px 0 var(--ink); }
.sidebar-card-blue { min-height: 440px; position: relative; overflow: hidden; padding: 34px 28px; background: var(--blue); color: white; }
.sidebar-card-blue::after { content: ""; position: absolute; width: 240px; height: 240px; right: -95px; bottom: -95px; border: 42px solid rgba(255,255,255,.1); border-radius: 50%; }
.sidebar-card-blue .step-kicker { color: var(--yellow); }
.sidebar-card-blue h2 { margin: 10px 0 35px; font-size: 39px; letter-spacing: -1.5px; }
.sidebar-card-blue ul { position: relative; z-index: 1; display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.sidebar-card-blue li { display: grid; grid-template-columns: 29px 1fr; gap: 11px; align-items: start; color: #e9f3ff; font-size: 12px; line-height: 1.5; }
.sidebar-card-blue li span { width: 27px; height: 27px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--red); color: white; font: 700 11px "Fredoka"; }
.sidebar-scribble { position: absolute; right: 20px; top: 12px; color: var(--yellow); font-size: 38px; transform: rotate(12deg); }
.help-card { padding: 19px; display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; background: var(--paper); }
.help-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font: 700 20px "Fredoka"; }
.help-card strong { font: 700 14px "Fredoka"; }.help-card p { margin: 3px 0 0; color: #6a6f75; font-size: 10px; line-height: 1.45; }

@media (max-width: 980px) {
  .booking-hero { grid-template-columns: 1fr; gap: 32px; }
  .booking-hero-note { max-width: 610px; }
  .booking-shell { grid-template-columns: 1fr; }
  .booking-sidebar { grid-template-columns: 1fr 1fr; position: static; }
  .sidebar-card-blue { min-height: auto; }
}
@media (max-width: 680px) {
  .booking-hero { width: min(100% - 24px, 1180px); margin: 44px auto 36px; }
  .booking-hero h1 { font-size: 55px; }
  .booking-shell { width: min(100% - 24px, 1180px); margin-bottom: 75px; }
  .booking-form { padding: 24px 18px; border-radius: 18px; }
  .schedule-grid, .contact-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }
  .table-step { flex-wrap: wrap; }
  .preview-badge { margin-left: 57px; margin-top: -20px; }
  .floor-plan { min-height: 520px; }
  .floor-tables { inset: 25px 44px 25px 55px; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); gap: 26px; }
  .cafe-table, .table-long, .table-large { width: 88px; height: 70px; }
  .table-round { width: 73px; height: 73px; }
  .booking-summary { align-items: stretch; flex-direction: column; }
  .whatsapp-button { width: 100%; }
  .booking-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .booking-hero-note { grid-template-columns: 1fr; }
  .booking-die { display: none; }
  .floor-tables { right: 34px; left: 48px; gap: 20px; }
  .cafe-table, .table-long, .table-large { width: 76px; }
}
