/* Where's My Booze? — site styles (landing + venue pages). Mobile first. */
:root {
  --bg: #000;
  --panel: #1a1a2e;
  --panel-2: #2a2a3e;
  --orange: #ff8c00;
  --amber: #f0a500;
  --text: #fff;
  --muted: #b8b8c8;
  --line: #2a2a3e;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  padding-top: calc(56px + env(safe-area-inset-top));
  padding-bottom: calc(60px + env(safe-area-inset-bottom));
}

a { color: var(--amber); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  background: rgba(0, 0, 0, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.topbar .wrap { display: flex; align-items: center; justify-content: center; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--orange); font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.brand img { height: 44px; width: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  background: var(--orange); color: #000; font-weight: 800; text-decoration: none;
  border: 2px solid var(--orange);
}
.btn:hover { background: var(--amber); border-color: var(--amber); }
.btn.ghost { background: transparent; color: var(--orange); }
.btn.ghost:hover { background: var(--panel); }
.btn.block { display: flex; width: 100%; }

.store-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.appstore-badge { height: 48px; width: auto; display: block; }
.play-badge-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 8px;
  background: #111; color: #fff; text-decoration: none; font-weight: 700;
  border: 1px solid #555;
}

/* ---------- hero ---------- */
.hero { text-align: center; padding: 48px 0 40px; background: radial-gradient(ellipse at top, var(--panel) 0%, var(--bg) 70%); }
.hero h1 { font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.1; margin: 0 0 14px; color: var(--orange); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin: 0 auto 26px; }
.hero .store-links { justify-content: center; }
.hero .sub { margin-top: 18px; }

/* ---------- sections ---------- */
section.block { padding: 44px 0; }
section.block h2 { font-size: 1.7rem; margin: 0 0 8px; color: var(--orange); }
section.block .intro { color: var(--muted); margin: 0 0 24px; }

.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--amber); }
.card p { margin: 0; color: var(--muted); }

.steps { counter-reset: step; display: grid; gap: 12px; padding: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--panel); border-radius: var(--radius); padding: 16px 16px 16px 60px; position: relative; border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #000;
  display: grid; place-items: center; font-weight: 800;
}

.venues-cta { background: linear-gradient(160deg, var(--panel), var(--panel-2)); border: 1px solid var(--orange); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.venues-cta h2 { margin-top: 0; }

/* ---------- venue page ---------- */
.venue-head { text-align: center; padding: 28px 0 8px; }
.venue-head h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 6vw, 2.3rem); color: var(--orange); }
.venue-head .addr { color: var(--muted); margin: 0; }
.eyebrow { color: var(--muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 16px 0; }
.panel h2 { margin: 0 0 10px; font-size: 1.15rem; color: var(--amber); }
.panel p { margin: 0 0 10px; }
.panel .hint { color: var(--muted); font-style: italic; }
.panel .btn { margin-top: 6px; }

.claim { border-color: var(--orange); }


/* ---------- footer (fixed, same on every page) ---------- */
.footer {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  background: rgba(0, 0, 0, .95); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.footer nav { max-width: 860px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; height: 60px; padding: 0 4px; }
.footer nav a { flex: 1; text-align: center; color: var(--text); text-decoration: none; font-size: .78rem; font-weight: 600; padding: 18px 1px; }
.footer nav a:hover { color: var(--orange); }

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 72px 0 60px; }
}
@media (min-width: 900px) {
  .cards.three { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- text pages (privacy, terms, support) ---------- */
.page-title { text-align: center; color: var(--orange); font-size: clamp(1.6rem, 6vw, 2.2rem); margin: 28px 0 16px; }

.policy-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 16px; }
.policy-wrap h2 { color: var(--amber); font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.policy-wrap h2:first-of-type { margin-top: 0; }
.policy-wrap p, .policy-wrap li { color: var(--muted); }
.policy-wrap .last-updated { color: var(--muted); font-size: .9rem; }
.policy-wrap ul { padding-left: 1.25rem; }
.policy-wrap li { margin-bottom: .6rem; }
.policy-wrap a { color: var(--orange); }

.support-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 16px; }
.support-panel h2 { color: var(--amber); }
.support-email { text-align: center; margin: 0 0 20px; color: var(--muted); }
.support-form { display: flex; flex-direction: column; gap: 12px; max-width: 540px; margin: 0 auto; }
.support-form input[type="text"], .support-form input[type="email"], .support-form textarea {
  padding: 14px; border: 1px solid var(--panel-2); border-radius: 12px; font-size: 1rem;
  background: var(--bg); color: var(--text); font-family: inherit;
}
.support-form input:focus, .support-form textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.support-form textarea { height: 150px; resize: vertical; }
.support-form input[type="submit"] {
  background: var(--orange); color: #000; border: 2px solid var(--orange); border-radius: 12px;
  min-height: 48px; padding: 12px; font-weight: 800; font-size: 1rem; cursor: pointer;
}
.support-form input[type="submit"]:hover { background: var(--amber); border-color: var(--amber); }
.feedback { text-align: center; color: var(--amber); font-weight: 700; margin: 0 0 12px; }

/* ---------- screenshots strip (landing) ---------- */
.shots-section { padding: 36px 0 12px; }
.shots-section h2 { font-size: 1.7rem; margin: 0 0 6px; color: var(--orange); }
.shots-section .intro { color: var(--muted); margin: 0 0 16px; }
.shots {
  display: flex; gap: 16px; overflow-x: auto; padding: 4px 16px 16px;
  scroll-snap-type: x mandatory; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch;
}
.shots > :first-child { margin-left: auto; }
.shots > :last-child { margin-right: auto; }
.shot { flex: none; display: flex; gap: 16px; scroll-snap-align: start; }
.shot picture { display: block; border-radius: var(--radius); overflow: hidden; background: #222; }
.shot img { display: block; width: 230px; height: auto; }

@media (min-width: 900px) {
  /* desktop: all four images in one row, no scrolling */
  .shots { max-width: 1100px; margin: 0 auto; overflow: visible; scroll-snap-type: none; }
  .shots > :first-child, .shots > :last-child { margin: 0; }
  .shot { flex: 1 1 0; min-width: 0; }
  .shot.pair { flex: 2 1 0; }
  .shot picture { flex: 1 1 0; min-width: 0; }
  .shot img { width: 100%; }
  .swipe-hint { display: none; }
}

@media (max-width: 899px) {
  /* phones/tablets: two images visible at a time, swipe advances one image (1-2, 2-3, 3-4) */
  .shot, .shot.pair { display: contents; }
  .shot picture { flex: none; scroll-snap-align: start; }
  .shot img { width: calc((100vw - 48px) / 2); }
}
