/* Double Up Games — draft site by Douglasville Design (2026-09-08)
   Palette: case-blue navy, marquee yellow, light wall. Display: Bungee. Body: Figtree. */

@font-face { font-family: "Bungee"; src: url("fonts/bungee-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #1a1f4b;
  --navy-deep: #12163a;
  --navy-soft: #2a3170;
  --yellow: #ffc935;
  --yellow-ink: #3a2c00;
  --wall: #eeefe9;
  --wall-2: #e3e5dc;
  --ink: #171a2e;
  --ink-2: #4a4f6b;
  --line: rgba(23, 26, 46, 0.14);
  --white: #ffffff;
  --blue: #2f55d4;
  --display: "Bungee", "Impact", "Arial Black", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --gutter: clamp(18px, 4vw, 48px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.5; color: var(--ink); background: var(--wall); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display { font-family: var(--display); line-height: 1.05; letter-spacing: 0.005em; }
.h-xl { font-size: clamp(30px, 6vw, 62px); }
.h-lg { font-size: clamp(24px, 3.6vw, 40px); }
.h-md { font-size: clamp(19px, 2.2vw, 24px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 38em; }
.muted { color: var(--ink-2); }
.on-dark { color: var(--white); }
.on-dark .muted { color: rgba(255, 255, 255, 0.72); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1; white-space: nowrap; transition: transform 120ms ease, background-color 120ms ease; }
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: var(--yellow-ink); }
.btn-yellow:hover { background: #ffd65c; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Draft ribbon */
.ribbon { background: var(--yellow); color: var(--yellow-ink); font-size: 14px; text-align: center; padding: 7px var(--gutter); }
.ribbon a { font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy-deep); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 18px; letter-spacing: 0.02em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.site-nav { margin-left: auto; display: none; gap: 22px; font-weight: 500; }
.site-nav a { text-decoration: none; opacity: 0.86; }
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.header-call { margin-left: auto; }
@media (min-width: 860px) { .site-nav { display: flex; } .header-call { margin-left: 0; } }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero .wrap { display: grid; gap: 22px; }
.hero h1 { max-width: 13em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 clamp(28px, 5vw, 56px); }
.live-line { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--yellow); }
.live-line .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 201, 53, 0.22); }

/* The shelf: one spine per platform, width proportional to what's in stock */
.shelf-wrap { background: var(--navy-deep); border-top: 6px solid #0c0f2a; }
.shelf-scroller { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.shelf { display: flex; align-items: flex-end; gap: 3px; height: 210px; padding: 18px var(--gutter) 0; min-width: max-content; margin-inline: auto; }
@media (min-width: 900px) { .shelf { min-width: 0; width: min(100%, calc(var(--max) + 2 * var(--gutter))); } }
.spine { position: relative; flex: 0 0 auto; height: 100%; border-radius: 4px 4px 0 0; background: var(--spine, #556); color: var(--spine-ink, #fff); box-shadow: inset -3px 0 0 rgba(0, 0, 0, 0.25), inset 3px 0 0 rgba(255, 255, 255, 0.12); overflow: hidden; }
@media (min-width: 900px) { .spine { flex: var(--grow, 1) 1 0; min-width: 30px; } }
.spine .label { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); writing-mode: vertical-rl; transform-origin: center; rotate: 180deg; translate: 50% 0; font-family: var(--display); font-size: 13px; letter-spacing: 0.04em; white-space: nowrap; }
.spine .label b { font-weight: 400; opacity: 0.85; }
.spine:hover, .spine:focus-within { filter: brightness(1.12); }
.shelf-board { height: 14px; background: linear-gradient(#3b2f1c, #241c10); box-shadow: 0 -2px 0 #55432a; }
.shelf-caption { padding: 12px var(--gutter) 18px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.shelf-caption .wrap { padding: 0; }

/* Info strip */
.info-strip { background: var(--yellow); color: var(--yellow-ink); }
.info-strip .wrap { display: grid; gap: 14px; padding: 18px 0; }
.info-strip a { text-decoration: none; }
.info-strip a:hover { text-decoration: underline; text-underline-offset: 3px; }
.info-cell { display: grid; gap: 2px; }
.info-cell .big { font-family: var(--display); font-size: 17px; }
.info-cell .small { font-size: 14px; opacity: 0.85; }
@media (min-width: 720px) { .info-strip .wrap { grid-template-columns: 1.2fr 1.4fr 1fr; align-items: center; padding: 22px 0; } .info-cell + .info-cell { border-left: 1px solid rgba(58, 44, 0, 0.18); padding-left: 22px; } }

/* Sections */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 44em; }
.section.dark { background: var(--navy); color: var(--white); }
.section.alt { background: var(--wall-2); }

/* Category tiles */
.tiles { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(150px, auto); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 160px; padding: 18px; border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; overflow: hidden; border: 1px solid var(--line); }
.tile h3 { font-family: var(--display); font-size: clamp(16px, 2vw, 22px); }
.tile p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.tile .count { font-family: var(--display); font-size: 13px; color: var(--blue); margin-bottom: 8px; }
.tile-img { background-size: cover; background-position: center; color: var(--white); }
.tile-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 40, 0) 30%, rgba(10, 12, 40, 0.92) 100%); }
.tile-img > * { position: relative; }
.tile-img p, .tile-img .count { color: rgba(255, 255, 255, 0.85); }
.tile-games { grid-column: span 2; grid-row: span 2; min-height: 300px; background: var(--navy-deep); color: var(--white); }
.tile-games p, .tile-games .count { color: rgba(255, 255, 255, 0.85); }
.cover-wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 4px; opacity: 0.85; }
.cover-wall img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; border-radius: 3px; background: #2a3170; }
.tile-games::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 22, 58, 0.05) 30%, rgba(18, 22, 58, 0.95) 100%); }
.tile-games > * { position: relative; z-index: 1; }
.tile-yellow { background: var(--yellow); color: var(--yellow-ink); border-color: transparent; }
.tile-yellow p { color: rgba(58, 44, 0, 0.8); }
.tile-yellow .count { color: var(--yellow-ink); }
.tile-navy { background: var(--navy-soft); color: var(--white); border-color: transparent; }
.tile-navy p { color: rgba(255, 255, 255, 0.8); }
.tile-navy .count { color: var(--yellow); }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; } .tile-games { grid-column: span 2; grid-row: span 2; } }

/* Events */
.events { display: grid; gap: 14px; }
.event { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.event .when { font-family: var(--display); font-size: 15px; color: var(--yellow); line-height: 1.2; }
.event h3 { font-size: 19px; font-family: var(--body); font-weight: 700; }
.event p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.8); }
.events-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .events-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
.magi { display: grid; gap: 12px; }
.magi img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.magi figcaption { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.note { border-left: 4px solid var(--yellow); padding: 10px 14px; font-size: 14px; background: rgba(255, 201, 53, 0.1); border-radius: 0 var(--radius) var(--radius) 0; }
.section:not(.dark) .note { background: rgba(255, 201, 53, 0.25); }

/* Sell */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); font-family: var(--display); font-size: 26px; color: var(--navy); line-height: 1; padding-top: 2px; }
.step h3 { font-family: var(--body); font-weight: 700; font-size: 18px; }
.step p { margin: 4px 0 0; color: var(--ink-2); }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 3px; background: var(--yellow); box-shadow: inset 0 0 0 2px var(--navy); }

/* Arrivals */
.arrivals-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.arrivals { display: grid; grid-auto-flow: column; grid-auto-columns: 190px; gap: 14px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.arrival { scroll-snap-align: start; display: grid; grid-template-rows: 150px auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.arrival img { width: 100%; height: 150px; object-fit: contain; background: #fff; padding: 10px; }
.arrival .meta { padding: 10px 12px 12px; display: grid; gap: 3px; }
.arrival .title { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arrival .price { font-family: var(--display); font-size: 14px; color: var(--navy); }
.arrival .type { font-size: 12px; color: var(--ink-2); }
.arrival:hover { border-color: var(--navy); }

/* Reviews */
.reviews { display: grid; gap: 14px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; align-content: start; }
.review .stars { color: #e0a100; letter-spacing: 2px; font-size: 15px; }
.review blockquote { margin: 0; font-size: 16px; }
.review cite { font-style: normal; font-size: 14px; color: var(--ink-2); }
.rating-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.rating-badge .num { font-family: var(--display); font-size: 30px; color: var(--navy); }
.rating-badge .txt { font-size: 14px; color: var(--ink-2); }

/* Find us */
.find { display: grid; gap: 24px; }
@media (min-width: 900px) { .find { grid-template-columns: 1fr 1fr; gap: 40px; } }
.map { aspect-ratio: 4 / 3; width: 100%; border: 0; border-radius: var(--radius); background: var(--wall-2); }
.hours { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--navy); font-weight: 700; }
.hours tr.today td:first-child::after { content: " (today)"; font-weight: 500; color: var(--ink-2); }
.address { font-style: normal; line-height: 1.6; }
.address a { text-decoration: none; }
.address a:hover { text-decoration: underline; }

/* Contact */
.form { display: grid; gap: 14px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(23, 26, 46, 0.35); border-radius: 8px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: #1c7a3a; }
.form-status.err { color: #b3261e; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.82); padding: 40px 0 28px; font-size: 15px; }
.site-footer .wrap { display: grid; gap: 22px; }
.site-footer .brand { color: var(--white); }
.foot-cols { display: grid; gap: 22px; }
@media (min-width: 760px) { .foot-cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-links li { margin-bottom: 6px; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.55); display: grid; gap: 6px; }

/* Mobile call bar */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px var(--gutter); background: rgba(18, 22, 58, 0.96); backdrop-filter: blur(6px); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.call-bar .btn { justify-content: center; padding: 12px 10px; }
@media (min-width: 760px) { .call-bar { display: none; } }
@media (max-width: 759px) { body { padding-bottom: 68px; } }
