/* GameGather public site. Phone first; wider layouts from 760px and 1000px. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+00??, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bree Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/bree-serif-latin.woff2) format("woff2");
  unicode-range: U+00??, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bree Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/bree-serif-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Pirata One"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/pirata-one-latin.woff2) format("woff2");
  unicode-range: U+00??, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pirata One"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/pirata-one-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #120d07;
  --bg-alt: #19130b;
  --card: #1f180e;
  --line: rgba(255, 226, 170, 0.14);
  --text: #f7f0e3;
  --muted: #bfb29b;
  --gold: #f5b301;
  --gold-hi: #ffd04a;
  --ink: #1a1203;
  --red: #e5484d;
  --discord: #5865f2;
  --radius: 18px;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --heading: "Bree Serif", Georgia, serif;
  --logo: "Pirata One", "Bree Serif", Georgia, serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 14px 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.wordmark { font-family: var(--logo); font-size: 28px; letter-spacing: 0.5px; line-height: 1; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; padding: 9px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(0, 0, 0, 0.25); }
.lang:hover { background: rgba(0, 0, 0, 0.45); }
@media (max-width: 430px) { .nav .wordmark { font-size: 24px; } .nav .btn-small { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); box-shadow: 0 8px 24px rgba(245, 179, 1, 0.22); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #6b77f5; }
.btn-danger { background: var(--red); color: #fff; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-wide { width: 100%; }

/* Hero: a sunset over the table */
.hero { position: relative; padding: 96px 0 56px; overflow: hidden; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, #5c0d08 0%, #a8250a 30%, #d9530b 52%, #7a2a08 74%, var(--bg) 100%); }
.sun { position: absolute; left: 50%; top: 150px; width: min(120vw, 760px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 42%, #ffe06a 0%, #ffbf2e 38%, #ff8f1f 68%, rgba(255, 120, 20, 0) 71%); opacity: 0.85; filter: blur(2px); }
.sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 13, 7, 0.35) 0%, rgba(18, 13, 7, 0.55) 45%, var(--bg) 96%); }
.hero-grid { position: relative; display: grid; gap: 28px; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 224, 130, 0.55); background: rgba(0, 0, 0, 0.32); color: var(--gold-hi); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
h1 { font-size: clamp(38px, 10.5vw, 68px); margin: 18px 0 16px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); text-wrap: balance; }
h1 em { font-style: normal; color: var(--gold-hi); }
.lead { font-size: clamp(18px, 4.6vw, 21px); color: #fbeeda; max-width: 34em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.ticks { display: grid; gap: 10px; margin-top: 20px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: rgba(245, 179, 1, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23ffd04a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.hero-copy .ticks { font-weight: 600; }
@media (max-width: 759px) { .hero-copy .ticks { display: none; } .hero { padding-top: 88px; } }

/* The sign-up card */
.card { background: rgba(26, 19, 10, 0.92); border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); backdrop-filter: blur(6px); scroll-margin-top: 16px; }
.card:focus { outline: none; }
.card h2 { font-size: 26px; }
.card-lead { color: var(--muted); margin: 6px 0 16px; font-size: 16px; }
.field { display: block; margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.label { display: block; margin-bottom: 6px; padding: 0; font-size: 14px; font-weight: 600; color: #e9dcc5; }
.optional { font-weight: 400; color: var(--muted); }
input[type="email"], input[type="text"] { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 226, 170, 0.24); background: #120d07; color: var(--text); font: 400 17px/1.3 var(--body); }
input::placeholder { color: #8d8272; }
input[type="email"]:focus, input[type="text"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.25); }
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.segments label { position: relative; display: block; }
.segments input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segments span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 6px; border-radius: 12px; border: 1px solid rgba(255, 226, 170, 0.24); background: #120d07; font-size: 15px; font-weight: 600; text-align: center; }
.segments input:checked + span { border-color: var(--gold); background: rgba(245, 179, 1, 0.16); color: var(--gold-hi); }
.segments input:focus-visible + span { outline: 3px solid var(--gold-hi); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 12px; font-size: 15px; line-height: 1.45; color: #e9dcc5; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 4px 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(229, 72, 77, 0.16); border: 1px solid rgba(229, 72, 77, 0.5); color: #ffc9cb; font-size: 15px; }
.form-wait { margin-top: 10px; font-size: 14px; color: var(--gold-hi); text-align: center; }
.form-note { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.panel { text-align: left; }
.panel:not(form) { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 10px 0; }
.panel:not(form) .btn { margin-top: 6px; }
.panel-icon { font-size: 44px; line-height: 1; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.18); border-top-color: var(--gold-hi); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid rgba(255, 226, 170, 0.06); }
.kicker { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: clamp(30px, 7vw, 44px); margin-bottom: 14px; text-wrap: balance; }
.features { display: grid; gap: 44px; margin-top: 34px; }
.feature { text-align: center; }
.feature h3 { font-size: 24px; margin: 20px 0 8px; }
.feature p { color: var(--muted); max-width: 22em; margin: 0 auto; }
.phone { width: min(72vw, 270px); margin: 0 auto; padding: 7px; border-radius: 34px; background: #050403; border: 1px solid rgba(255, 226, 170, 0.22); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.6) inset; }
.phone img { border-radius: 27px; width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; background: #1a1a1a; }
.phone-tile { width: min(64vw, 230px); margin-top: 26px; }

.duo { display: grid; gap: 18px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.tile h2 { font-size: 28px; margin-bottom: 10px; }
.tile > p:not(.kicker) { color: var(--muted); }

.founder { display: grid; gap: 22px; align-items: center; }
.founder-badge { width: 132px; height: 132px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(245, 179, 1, 0.3), rgba(245, 179, 1, 0.04) 70%); border: 2px solid rgba(245, 179, 1, 0.55); box-shadow: 0 0 60px rgba(245, 179, 1, 0.18); }
.founder-badge img { width: 96px; height: 96px; }
.founder .ticks { margin: 16px 0; }
.founder .small { margin-bottom: 20px; }
.ticks-gold strong { color: var(--gold-hi); }

.steps { display: grid; gap: 16px; margin-top: 26px; counter-reset: none; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps h3 { font-size: 22px; margin: 12px 0 6px; }
.steps p { color: var(--muted); }
.step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 400 20px/1 var(--heading); }

.community .social-row { margin-top: 24px; }
.community p { color: var(--muted); }

.faq { margin-top: 22px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--gold-hi); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

.footer { padding: 40px 0 28px; border-top: 1px solid rgba(255, 226, 170, 0.08); }
.footer-grid { display: grid; gap: 22px; }
.footer .brand { margin-bottom: 8px; }
.footer-links { display: grid; gap: 10px; font-size: 15px; }
.footer-links a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--gold-hi); text-decoration: underline; }
.copyright { margin-top: 26px; }

@media (min-width: 760px) {
  .wrap { padding: 0 32px; }
  .nav { padding: 18px 32px; }
  .card { padding: 28px; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .phone { width: min(100%, 250px); }
  .duo { grid-template-columns: 1fr 1fr; gap: 22px; }
  .tile { padding: 32px; }
  .founder { grid-template-columns: auto 1fr; gap: 44px; }
  .founder-badge { width: 180px; height: 180px; }
  .founder-badge img { width: 128px; height: 128px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .section { padding: 84px 0; }
}

@media (min-width: 1000px) {
  .hero { padding: 132px 0 84px; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
  .sun { top: 90px; left: 34%; width: 720px; }
}
