/* Mallard Club — marketing site
   Brand: charcoal #1C1C1E + brand red #EB2027, matching the app + store assets. */

:root {
  --bg: #1c1c1e;
  --bg-alt: #232327;
  --card: #2a2a2f;
  --line: rgba(255, 255, 255, 0.09);
  --red: #eb2027;
  --red-dark: #c81a20;
  --text: #f5f5f7;
  --muted: #a2a2ab;
  --soft: #d7d7dc;
  --radius: 14px;
  --maxw: 1100px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(20, 20, 22, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: 0.02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--text); text-decoration: none; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer; transition: transform .12s ease, background .15s ease, border-color .15s ease; border: 1px solid transparent; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }

/* ---- Store badges ---- */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #000; border: 1px solid var(--line); border-radius: 12px; padding: 10px 20px; color: #fff; min-width: 185px; }
.store:hover { text-decoration: none; border-color: rgba(255, 255, 255, 0.28); transform: translateY(-1px); transition: transform .12s ease, border-color .15s ease; }
.store svg { width: 26px; height: 26px; flex: none; fill: #fff; }
.store .s-top { font-size: 11px; color: #c9c9d1; line-height: 1.1; }
.store .s-bot { font-size: 17px; font-weight: 700; line-height: 1.2; }

/* ---- Hero ---- */
.hero { position: relative; text-align: center; padding: 90px 0 72px; background: radial-gradient(1200px 480px at 50% -12%, rgba(235, 32, 39, 0.16), transparent 70%); }
.hero .mark { width: 92px; height: 92px; border-radius: 20px; margin: 0 auto 26px; box-shadow: var(--shadow); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); background: rgba(235, 32, 39, 0.12); border: 1px solid rgba(235, 32, 39, 0.28); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.hero h1 .accent { color: var(--red); }
.hero .lede { max-width: 660px; margin: 20px auto 34px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); }
.hero .cta { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero .soft-note { font-size: 13.5px; color: var(--muted); }

/* ---- Sections ---- */
.section { padding: 74px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--red); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.01em; margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---- Feature gallery (home) ---- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile:hover { text-decoration: none; transform: translateY(-3px); transition: transform .15s ease; border-color: rgba(255, 255, 255, 0.18); }
.tile img { width: 100%; height: auto; }

/* ---- Feature rows (features page) ---- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 58px 0; border-top: 1px solid var(--line); }
.frow:first-of-type { border-top: none; }
.frow.reverse .ftext { order: 2; }
.frow .fimg { display: flex; justify-content: center; }
.frow .fimg img { max-width: 300px; border-radius: 22px; box-shadow: var(--shadow); }
.frow .ftext .kicker { color: var(--red); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; }
.frow .ftext h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 10px 0 14px; }
.frow .ftext p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.frow .ftext ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.frow .ftext li { position: relative; padding-left: 28px; color: var(--soft); }
.frow .ftext li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ---- The poker room ---- */
.room-hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.hour-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.hour-card .h-label { color: var(--red); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12.5px; margin-bottom: 8px; }
.hour-card .h-time { font-size: 19px; font-weight: 700; }
.hour-card .h-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }

.sched-note { text-align: center; max-width: 780px; margin: 0 auto 34px; color: var(--muted); }
.sched { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.day { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.day .d-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.day .d-name { font-weight: 800; font-size: 17px; }
.day .d-time { color: var(--red); font-weight: 700; font-size: 13.5px; }
.day .d-stakes { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; color: var(--text); }
.day .d-desc { color: var(--muted); font-size: 14px; }

/* ---- Review ---- */
.quote { max-width: 840px; margin: 0 auto; text-align: center; }
.quote blockquote { font-size: clamp(19px, 2.6vw, 25px); font-weight: 500; font-style: italic; line-height: 1.5; }
.quote .who { margin-top: 22px; color: var(--red); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px; }

/* ---- How it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .num { width: 38px; height: 38px; border-radius: 10px; background: rgba(235, 32, 39, 0.14); color: var(--red); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---- CTA band ---- */
.cta-band { text-align: center; padding: 76px 0; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 28px; }
.cta-band .stores { justify-content: center; }

/* ---- Content pages ---- */
.page { padding: 60px 0 30px; }
.page h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; margin-bottom: 10px; }
.page .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 34px 0 12px; }
.prose p { color: var(--soft); margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; color: var(--soft); }
.prose li { margin-bottom: 8px; }
.prose strong { color: #fff; }
.callout { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 10px; padding: 18px 20px; margin: 22px 0; color: var(--muted); font-size: 15px; }
.faq { max-width: 760px; }
.faq .q { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; }
.faq .q h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.faq .q p { color: var(--muted); font-size: 15px; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 30px; background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer .brand { font-size: 16px; }
.footer-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.socials { display: flex; gap: 14px; }
.socials a { color: var(--muted); display: inline-flex; }
.socials a:hover { color: #fff; }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.legal { color: #6f6f78; font-size: 13px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 26px; line-height: 1.6; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .sched { grid-template-columns: repeat(2, 1fr); }
  .room-hours { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13.5px; }
  .frow { grid-template-columns: 1fr; gap: 30px; }
  .frow.reverse .ftext { order: 0; }
  .section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .sched { grid-template-columns: 1fr; }
  .store { min-width: 0; flex: 1 1 auto; }
}

/* ---- Promoted nav (Waitlist) ---- */
.nav-links a.nav-cta { color: #fff; background: var(--red); padding: 8px 16px; border-radius: 999px; }
.nav-links a.nav-cta:hover { background: var(--red-dark); color: #fff; text-decoration: none; }

/* ---- Hero / CTA rows ---- */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---- The room: photo mosaic + 3D tour ---- */
.roomgrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 158px; gap: 14px; }
.roomgrid a { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.roomgrid a:hover { border-color: rgba(255, 255, 255, 0.22); }
.roomgrid a:first-child { grid-column: span 2; grid-row: span 2; }
.roomgrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.roomgrid a:hover img { transform: scale(1.04); }
.tour-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: 28px; }
.tour-note { color: var(--muted); font-size: 14.5px; max-width: 560px; }

/* ---- Week strip (schedule snapshot) ---- */
.weekstrip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.wday { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 10px; text-align: center; }
.wday .wd-name { font-weight: 800; font-size: 14px; }
.wday .wd-time { color: var(--red); font-weight: 700; font-size: 11.5px; margin: 5px 0; }
.wday .wd-stakes { color: var(--muted); font-size: 12.5px; }
.wday.today { border-color: rgba(235, 32, 39, 0.55); box-shadow: inset 0 0 0 1px rgba(235, 32, 39, 0.35); }
.wday.today .wd-name::after { content: ' · tonight'; color: var(--red); font-weight: 700; font-size: 10.5px; }

/* ---- App CTA ---- */
.app-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 42px; }

/* ---- Reviews ---- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.review .stars { color: var(--red); letter-spacing: 3px; font-size: 14px; margin-bottom: 12px; }
.review p { color: var(--soft); font-size: 15px; font-style: italic; line-height: 1.6; }
.review .who { margin-top: 16px; color: var(--red); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; }

/* ---- Visit: address + map ---- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.visit-info { display: flex; flex-direction: column; align-items: flex-start; }
.addr { font-size: 22px; font-weight: 700; line-height: 1.35; margin-bottom: 18px; }
.visit-hours { list-style: none; width: 100%; max-width: 380px; margin-bottom: 16px; }
.visit-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--soft); font-size: 15px; }
.visit-hours li span:last-child { color: var(--text); font-weight: 700; }
.visit-note { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.map { width: 100%; min-height: 340px; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---- Blog teasers ---- */
.blogteasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.bcard:hover { text-decoration: none; transform: translateY(-3px); transition: transform .15s ease; border-color: rgba(255, 255, 255, 0.18); }
.bcard h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); line-height: 1.3; }
.bcard p { color: var(--muted); font-size: 14px; flex: 1; }
.bcard .more { margin-top: 14px; color: var(--red); font-weight: 700; font-size: 14px; }

/* ---- Today highlight (schedule page) ---- */
.day.today { border-color: rgba(235, 32, 39, 0.5); box-shadow: inset 0 0 0 1px rgba(235, 32, 39, 0.32); }
.day.today .d-name::after { content: ' · tonight'; color: var(--red); font-size: 12px; font-weight: 700; }

/* ---- Responsive (new sections) ---- */
@media (max-width: 960px) {
  .reviews { grid-template-columns: 1fr; }
  .blogteasers { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .weekstrip { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .roomgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 128px; }
  .weekstrip { grid-template-columns: repeat(2, 1fr); }
  .tour-row { justify-content: center; }
  .tour-note { text-align: center; }
}

/* ---- Live "running now" (reads the public GET /games) ---- */
.running-now { margin-bottom: 34px; }
.rn-head { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--soft); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; margin-bottom: 16px; }
.rn-dot { width: 9px; height: 9px; border-radius: 50%; background: #36d399; box-shadow: 0 0 0 4px rgba(54, 211, 153, 0.16); }
.rn-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.rn-card { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 12px; padding: 16px 18px; }
.rn-name { font-weight: 800; font-size: 16px; }
.rn-stakes { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.rn-seats { color: #36d399; font-weight: 700; font-size: 13px; margin-top: 8px; }
.week-label { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
