/* GameCentralHub — Editorial café minimal
   Layout: A boxed-1120 · generous whitespace · spacing regular (104/60, 56 mobile)
   Tokens only; motif = hairline rule dividers + serif section index numbers (01/02/03) + round pill tags
   shadow = soft low-blur (opposite of a hard offset); radius 12px; border 1px solid */

:root {
  --c-bg: #faf6f0;          /* cream */
  --c-bg-2: #f2ebe1;        /* warmer panel */
  --c-bg-dark: #201a17;     /* espresso */
  --c-ink: #201a17;
  --c-ink-inv: #faf6f0;
  --c-muted: #6e6156;
  --c-a1: #c8462f;          /* terracotta */
  --c-a2: #2f7d74;          /* teal */
  --c-line: rgba(32, 26, 23, .14);
  --c-line-inv: rgba(250, 246, 240, .18);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;

  --r-card: 12px;
  --r-pill: 999px;
  --bd: 1px solid var(--c-line);
  --bd-ink: 1px solid var(--c-ink);
  --sh: 0 14px 40px -18px rgba(32, 26, 23, .28);
  --sh-soft: 0 8px 24px -14px rgba(32, 26, 23, .22);

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 44px; --s-6: 60px;
  --w: 1120px;
  --sec: 104px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.01em;
  margin: 0;
}
h1 { font-size: clamp(42px, 6vw, 78px); font-weight: 500; }
h2 { font-size: clamp(29px, 3.6vw, 46px); }
h3 { font-size: clamp(20px, 2vw, 25px); font-weight: 600; }
p { margin: 0 0 var(--s-2); }

.container { max-width: var(--w); margin-inline: auto; padding-inline: 32px; }
.section { padding-block: var(--sec); position: relative; }
.section--dark { background: var(--c-bg-dark); color: var(--c-ink-inv); }
.section--alt { background: var(--c-bg-2); }

/* motif: serif section index number + eyebrow */
.eyebrow {
  font-family: var(--f-body);
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 600; color: var(--c-a1); margin: 0 0 var(--s-2);
  display: inline-flex; align-items: center; gap: 12px;
}
.section--dark .eyebrow { color: #e08a72; }
.index-no {
  font-family: var(--f-display); font-weight: 500; font-style: italic;
  font-size: 15px; color: var(--c-a2); letter-spacing: .04em;
}

/* motif: hairline rule divider */
.hr { height: 0; border: 0; border-top: 1px solid var(--c-line); margin: 0; }
.hr--inv { border-top-color: var(--c-line-inv); }
.container > .hr { margin-block: 0; }

/* motif: round pill tag */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--c-line);
  color: var(--c-muted); background: transparent;
}
.pill--accent { color: var(--c-a1); border-color: var(--c-a1); }
.pill--teal { color: var(--c-a2); border-color: var(--c-a2); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-weight: 600; font-size: 15px;
  letter-spacing: .01em; text-decoration: none;
  padding: 13px 24px; border-radius: var(--r-pill); cursor: pointer;
  border: var(--bd-ink); background: transparent; color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn--primary { background: var(--c-a1); border-color: var(--c-a1); color: #faf6f0; box-shadow: var(--sh-soft); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--sh-soft); background: rgba(32,26,23,.04); }
.section--dark .btn--ghost { border-color: var(--c-ink-inv); }
.section--dark .btn--ghost:hover { background: rgba(250,246,240,.08); }

/* ---------- nav-transparent-frost ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); padding: 18px 32px;
  background: rgba(250, 246, 240, .72); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--c-line);
}
.nav__logo {
  font-family: var(--f-display); font-weight: 600; font-size: 23px;
  letter-spacing: -.01em; text-decoration: none;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.nav__logo b { color: var(--c-a1); font-weight: 600; }
.nav__links { display: flex; gap: var(--s-4); }
.nav__links a {
  position: relative; text-decoration: none; font-size: 15px; color: var(--c-muted);
  padding: 4px 0; transition: color .16s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--c-a1); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__links a:hover { color: var(--c-ink); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ---------- hero-quote-framed ---------- */
.hero { position: relative; overflow: hidden; }
.hero__frame {
  padding-block: var(--s-6) var(--sec);
}
.hero__inner {
  border: 1px solid var(--c-line);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 68px);
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.4), rgba(242,235,225,.2));
}
.hero__eyebrow { justify-content: flex-start; }
.hero__quote {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(34px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -.015em;
  margin: 0 0 var(--s-3); max-width: 18ch;
}
.hero__quote em { font-style: italic; color: var(--c-a1); }
.hero__lead { font-size: 19px; max-width: 52ch; color: var(--c-muted); }
.hero__actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-5); }
.hero__meta {
  display: flex; gap: var(--s-5); margin-top: var(--s-6); flex-wrap: wrap;
  border-top: 1px solid var(--c-line); padding-top: var(--s-4);
}
.hero__meta div { font-size: 14px; color: var(--c-muted); }
.hero__meta b { display: block; font-family: var(--f-display); font-size: 30px; font-weight: 600; color: var(--c-ink); }

/* hero animation: Steam Curl Rise */
.steam { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.steam span {
  position: absolute; bottom: -80px; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(200,70,47,.10), rgba(200,70,47,0) 70%);
  filter: blur(10px);
  animation: steamRise 11s ease-in-out infinite;
}
.steam span:nth-child(1) { left: 12%; animation-delay: 0s; }
.steam span:nth-child(2) { left: 44%; width: 120px; height: 120px; animation-delay: 3.5s;
  background: radial-gradient(circle at 50% 50%, rgba(47,125,116,.10), rgba(47,125,116,0) 70%); }
.steam span:nth-child(3) { left: 74%; width: 70px; height: 70px; animation-delay: 6s; }
.steam span:nth-child(4) { left: 88%; animation-delay: 8.5s;
  background: radial-gradient(circle at 50% 50%, rgba(47,125,116,.08), rgba(47,125,116,0) 70%); }
@keyframes steamRise {
  0%   { transform: translateY(0) scale(.7) rotate(0deg); opacity: 0; }
  20%  { opacity: .9; }
  60%  { opacity: .6; }
  100% { transform: translateY(-320px) scale(1.25) rotate(14deg); opacity: 0; }
}
.hero__frame, .hero .container { position: relative; z-index: 1; }

/* ---------- stats / marker band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.stats__item { padding-left: var(--s-3); border-left: 1px solid var(--c-line-inv); }
.stats__no { font-family: var(--f-display); font-style: italic; font-size: 14px; color: #e08a72; }
.stats__num { font-family: var(--f-display); font-size: clamp(32px, 4vw, 48px); font-weight: 600; margin-top: 4px; }
.stats__label { font-size: 13px; color: var(--c-ink-inv); opacity: .72; letter-spacing: .03em; }

/* ---------- feature grid ---------- */
.head { max-width: 60ch; margin-bottom: var(--s-6); }
.head .eyebrow { justify-content: flex-start; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.card {
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-card);
  padding: var(--s-4); box-shadow: var(--sh-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.card__no { font-family: var(--f-display); font-style: italic; font-size: 18px; color: var(--c-a2); }
.card h3 { margin: var(--s-2) 0 var(--s-1); }
.card p { color: var(--c-muted); margin: 0; font-size: 15px; }

/* ---------- zigzag café + rigs ---------- */
.zig { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; }
.zig img { border-radius: var(--r-card); box-shadow: var(--sh); border: 1px solid var(--c-line-inv); width: 100%; height: 100%; object-fit: cover; }
.zig ul { list-style: none; padding: 0; margin: var(--s-3) 0 var(--s-4); }
.zig li { padding: 12px 0; border-bottom: 1px solid var(--c-line-inv); display: flex; gap: 12px; }
.zig li::before { content: "—"; color: #e08a72; font-weight: 600; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); align-items: start; }
.plan {
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-card);
  padding: var(--s-5); box-shadow: var(--sh-soft); position: relative;
}
.plan--feature { border-color: var(--c-a1); box-shadow: var(--sh); }
.plan--feature::before {
  content: "Most joined"; position: absolute; top: -13px; left: var(--s-5);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  background: var(--c-a1); color: #faf6f0; padding: 5px 12px; border-radius: var(--r-pill);
}
.plan__tag { font-family: var(--f-body); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.plan__price { font-family: var(--f-display); font-size: 46px; font-weight: 600; margin: var(--s-1) 0; letter-spacing: -.02em; }
.plan__price small { font-size: 15px; font-family: var(--f-body); color: var(--c-muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: var(--s-3) 0 var(--s-4); }
.plan li { padding: 9px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; display: flex; gap: 10px; }
.plan li::before { content: "·"; color: var(--c-a2); font-weight: 700; }
.plan .btn { width: 100%; justify-content: center; }

/* ---------- testimonials / reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.quote {
  border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-4);
  background: var(--c-bg); box-shadow: var(--sh-soft);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.quote__stars { color: var(--c-a1); letter-spacing: 3px; font-size: 15px; line-height: 1; }
.quote p { font-family: var(--f-display); font-size: 19px; font-weight: 500; font-style: italic; line-height: 1.4; margin: 0; }
.quote__by {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: var(--s-3); border-top: 1px solid var(--c-line);
}
.quote__avatar {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--c-line); box-shadow: var(--sh-soft);
}
.quote__by-text { display: flex; flex-direction: column; }
.quote__name { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--c-ink); letter-spacing: -.01em; }
.quote__meta { font-style: normal; font-size: 12px; color: var(--c-muted); letter-spacing: .03em; }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--c-line); padding: var(--s-3) 0; }
.faq summary { cursor: pointer; font-family: var(--f-display); font-size: 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--c-a1); font-size: 24px; font-family: var(--f-body); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: var(--s-2) 0 0; color: var(--c-muted); }

/* ---------- order form ---------- */
.order { background: var(--c-bg-2); }
.order__card {
  max-width: 660px; margin-inline: auto; background: var(--c-bg); color: var(--c-ink);
  border: 1px solid var(--c-line); border-radius: 16px; box-shadow: var(--sh); padding: var(--s-6);
}
.order__card .eyebrow { justify-content: flex-start; }
.field { margin-bottom: var(--s-3); }
.field label { display: block; font-size: 13px; letter-spacing: .04em; margin-bottom: 6px; font-weight: 600; color: var(--c-muted); }
.field input, .field select {
  width: 100%; font-family: var(--f-body); font-size: 15px; padding: 13px 14px;
  border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-bg); color: var(--c-ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--c-a2); outline-offset: 1px; border-color: var(--c-a2); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--c-muted); }
#formStatus, #contactStatus { min-height: 20px; font-size: 14px; }
#formStatus.error, #contactStatus.error { color: var(--c-a1); }

/* ---------- footer-newsletter-embed ---------- */
.footer { background: var(--c-bg-dark); color: var(--c-ink-inv); padding-block: var(--sec) var(--s-5); }
.footer__news {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-6); align-items: center;
  padding-bottom: var(--s-6); border-bottom: 1px solid var(--c-line-inv); margin-bottom: var(--s-6);
}
.footer__news h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: var(--s-1); }
.footer__news p { color: var(--c-ink-inv); opacity: .74; margin: 0; font-size: 15px; }
.news-form { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.news-form input {
  flex: 1 1 220px; font-family: var(--f-body); font-size: 15px; padding: 13px 16px;
  border: 1px solid var(--c-line-inv); border-radius: var(--r-pill); background: rgba(250,246,240,.06); color: var(--c-ink-inv);
}
.news-form input::placeholder { color: rgba(250,246,240,.5); }
.news-form input:focus { outline: 2px solid var(--c-a2); outline-offset: 1px; }
.news-form .btn--primary { color: #faf6f0; }
#newsStatus { min-height: 18px; font-size: 13px; opacity: .8; margin-top: 8px; width: 100%; }

.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-4); }
.footer__logo { font-family: var(--f-display); font-weight: 600; font-size: 28px; text-decoration: none; }
.footer__logo b { color: #e08a72; }
.footer address { font-style: normal; color: var(--c-ink-inv); opacity: .76; margin-top: var(--s-2); font-size: 14px; }
.footer address a { color: #e08a72; text-decoration: none; }
.footer h4 { font-family: var(--f-body); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #e08a72; margin-bottom: var(--s-2); }
.footer__col a { display: block; text-decoration: none; opacity: .8; padding: 5px 0; font-size: 14px; }
.footer__col a:hover { opacity: 1; color: #e08a72; }
.footer__disclaimer {
  margin-top: var(--s-6); padding: 14px 20px; border: 1px solid var(--c-line-inv); border-radius: var(--r-card);
  font-size: 14px; letter-spacing: .01em; display: inline-block; color: var(--c-ink-inv); opacity: .92;
}
.footer__bottom { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--c-line-inv);
  display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; font-size: 13px; opacity: .7; }

/* ---------- legal pages (narrow) ---------- */
.legal { max-width: 780px; margin-inline: auto; padding-block: var(--s-6) var(--sec); }
.legal h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: var(--s-2); }
.legal h2 { font-size: 24px; font-weight: 600; margin: var(--s-5) 0 var(--s-2); }
.legal p, .legal li { color: #40372f; }
.legal a:not(.btn) { color: var(--c-a1); }
.legal .updated { color: var(--c-muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-family: var(--f-body); }

/* thank you */
.thanks { min-height: 68vh; display: grid; place-items: center; text-align: center; padding: var(--sec) 32px; }
.thanks__mark { width: 76px; height: 76px; border: 1px solid var(--c-a1); border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: var(--c-a1); margin: 0 auto var(--s-4); box-shadow: var(--sh-soft); }

/* ---------- games catalog ---------- */
.games__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.game {
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-card);
  padding: var(--s-4); box-shadow: var(--sh-soft); position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.game:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.game__no { font-family: var(--f-display); font-style: italic; font-size: 18px; color: var(--c-a2); margin-bottom: var(--s-1); }
.game__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.game__top h3 { margin: 0; }
.game__genre {
  flex: none; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--c-a2); color: var(--c-a2);
}
.game p { color: var(--c-muted); margin: var(--s-2) 0 0; font-size: 15px; }
.games__note {
  margin-top: var(--s-5); padding: 16px 20px; font-size: 14px; color: var(--c-muted);
  border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-bg-2);
}
.games__note b { color: var(--c-ink); font-weight: 600; }

/* ---------- gallery ---------- */
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: var(--s-2);
}
.gallery__item {
  overflow: hidden; border: 1px solid var(--c-line-inv); border-radius: var(--r-card);
  position: relative; box-shadow: var(--sh-soft);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__cap {
  position: absolute; left: 0; bottom: 0; margin: 0; padding: 8px 12px;
  background: var(--c-bg-dark); color: var(--c-ink-inv); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; border-top-right-radius: var(--r-card);
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) { :root { --w: 1040px; } }
@media (max-width: 1024px) {
  .grid-4, .footer__grid, .quotes, .games__grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .footer__news { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 768px) {
  :root { --sec: 72px; }
  .nav__links { display: none; }
  .zig { grid-template-columns: 1fr; }
  .zig img { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .container { padding-inline: 20px; }
  .order__card { padding: var(--s-4); }
  .hero__meta { gap: var(--s-4); }
}
@media (max-width: 480px) {
  :root { --sec: 56px; }
  .grid-4, .footer__grid, .quotes, .stats, .games__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide, .gallery__item--tall { grid-column: auto; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .steam span { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
  .card:hover, .btn:hover, .plan, .game:hover { transform: none; }
  .gallery__item:hover img { transform: none; }
}
