:root {
  --ink: #222222;
  --muted: #6a6a6a;
  --line: #ece7dd;
  --paper: #fffaf2;
  --card: #ffffff;
  --accent: #ff385c;
  --accent-dark: #d91f46;
  --green: #1f7a4d;
  --gold: #f6c36a;
  --shadow: rgba(0,0,0,0.02) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 6px, rgba(0,0,0,0.1) 0px 4px 8px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif; color: var(--ink); background: linear-gradient(180deg, #fffaf2 0%, #fff 42%); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav { max-width: 1180px; margin: 0 auto; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 800; font-size: 20px; display: flex; gap: 8px; align-items: center; }
.brand span { background: var(--ink); color: #fff; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-weight: 700; }
.login-pill { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: white; border-radius: 999px; padding: 10px 14px; font-weight: 900; white-space: nowrap; }
.text-link { color: var(--muted); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.tier-switch { display: flex; gap: 8px; align-items: center; background: #f7f2ea; padding: 10px 14px; border-radius: 999px; font-weight: 800; }
.tier-switch select { border: 0; background: white; border-radius: 999px; padding: 8px 10px; font-weight: 800; color: var(--ink); outline: 0; }
.hero { max-width: 1180px; margin: 0 auto; padding: 64px 22px 34px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .11em; font-weight: 900; font-size: 12px; margin: 0 0 10px; }
h1 { font-size: clamp(48px, 8vw, 88px); line-height: .92; letter-spacing: -2.5px; margin: 0 0 18px; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1; letter-spacing: -1.2px; margin: 0 0 12px; }
h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.3px; }
.lead { font-size: 20px; line-height: 1.5; color: #48423a; max-width: 680px; }
.search-card { margin: 28px 0 16px; display: grid; grid-template-columns: 1fr auto; background: white; border-radius: 32px; padding: 8px; box-shadow: var(--shadow); max-width: 700px; }
.search-card input { border: 0; outline: 0; padding: 0 18px; font-weight: 700; min-width: 0; }
.search-card button, .creator-card button, .soft-btn, .primary-link { border: 0; border-radius: 999px; background: var(--accent); color: white; padding: 14px 22px; font-weight: 900; cursor: pointer; }
.primary-link { display: inline-flex; justify-content: center; text-align: center; }
.secondary-link { display: inline-flex; justify-content: center; text-align: center; border-radius: 999px; background: white; color: var(--ink); border: 1px solid var(--line); padding: 14px 22px; font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.match-preview { background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.24), transparent 20%), linear-gradient(135deg, #4a3f7a, #213a45 45%, #17141d); }
.hero-illustration { min-height: 430px; border-radius: 34px; padding: 28px; background: radial-gradient(circle at 18% 12%, rgba(255,56,92,.28), transparent 26%), linear-gradient(135deg, #2f5140, #17141d); box-shadow: var(--shadow); display: grid; place-items: center; }
.preview-window { width: 100%; background: rgba(255,255,255,.95); border-radius: 26px; padding: 18px; box-shadow: rgba(0,0,0,.18) 0 22px 60px; transform: rotate(-2deg); }
.preview-bar { display: flex; gap: 7px; margin-bottom: 16px; }
.preview-bar span { width: 12px; height: 12px; border-radius: 50%; background: #ff385c; }
.preview-bar span:nth-child(2) { background: #f6c36a; } .preview-bar span:nth-child(3) { background: #1f7a4d; }
.preview-grid { display: grid; gap: 12px; }
.preview-grid article { border: 1px solid var(--line); border-radius: 18px; padding: 15px; background: #fffaf2; display: grid; gap: 5px; }
.preview-grid strong { color: var(--green); font-size: 14px; } .preview-grid span { color: var(--ink); font-weight: 900; } .preview-grid small { color: var(--muted); }
.match-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.match-card { background: white; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.match-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.match-card li { border: 0; background: #f7f2ea; border-radius: 14px; padding: 10px 12px; color: #4d463e; }
.match-score { display: inline-flex; background: #ecf8f0; color: var(--green); border-radius: 999px; padding: 8px 10px; font-weight: 900; font-size: 13px; margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 11px 14px; font-weight: 800; cursor: pointer; box-shadow: rgba(0,0,0,.04) 0 2px 6px; }
.pill.active { background: var(--ink); color: white; border-color: var(--ink); }
.hero-panel { min-height: 420px; }
.map-card { position: relative; min-height: 430px; border-radius: 34px; padding: 30px; color: white; overflow: hidden; box-shadow: var(--shadow); background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.25), transparent 20%), linear-gradient(135deg, #3f7a54, #213a2c 45%, #1b1b1b); }
.map-card:before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; }
.map-card > * { position: relative; }
.pin { position: absolute; z-index: 1; pointer-events: none; width: 58px; height: 58px; background: white; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); font-size: 24px; }
.p1 { left: 12%; top: 18%; } .p2 { right: 18%; top: 22%; } .p3 { right: 9%; top: 9%; }
.map-card h2 { margin-top: 250px; color: white; z-index: 2; }
.map-card p, .mini-stat { position: relative; z-index: 2; }
.map-card p { color: rgba(255,255,255,.8); font-size: 17px; }
.mini-stat { display: inline-flex; flex-direction: column; margin-right: 24px; }
.mini-stat strong { font-size: 34px; }
.mini-stat span { color: rgba(255,255,255,.7); }
.feature-strip, .section-grid, .creator-section, .places-section, .scores-section, .pricing, .value-section, .register-section, .registration-hero, .matches-section, .login-section, .messages-section, .moderation-section { max-width: 1180px; margin: 0 auto; padding: 36px 22px; }
.registration-hero { padding-top: 64px; padding-bottom: 18px; }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-strip article, .card, .creator-card, .register-card, .venue-row, .score-card, .price-cards article, .value-grid article { background: white; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.feature-strip strong { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #f7f2ea; margin-bottom: 12px; }
.section-head { position: relative; margin-bottom: 20px; }
.count-pill { display: inline-block; background: #f7f2ea; padding: 10px 14px; border-radius: 999px; font-weight: 900; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.badge, .seats { display: inline-flex; border-radius: 999px; padding: 8px 10px; font-weight: 900; font-size: 13px; }
.badge { background: #fff0d7; } .seats { background: #ecf8f0; color: var(--green); }
.data-pill { display: inline-flex; border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 900; margin-bottom: 8px; }
.data-pill.current { background: #ecf8f0; color: var(--green); }
.data-pill.fictional { background: #efe8ff; color: #5d35a3; }
.data-pill.sample { background: #efe8ff; color: #5d35a3; }
.muted { color: var(--muted); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.tags span { background: #f7f2ea; border-radius: 999px; padding: 7px 9px; font-size: 13px; font-weight: 800; }
.soft-btn { background: var(--ink); width: 100%; margin-top: 8px; }
.source-link { display: inline-flex; color: var(--green); font-weight: 900; font-size: 13px; text-decoration: none; margin: 0 0 10px; }
.source-link:hover { text-decoration: underline; }
.fallback-note { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.fallback-note a { color: var(--green); font-weight: 900; text-decoration: underline; }
.form-status { display: none; border-radius: 16px; padding: 12px 14px; font-weight: 800; line-height: 1.35; }
.form-status.is-visible { display: block; }
.form-status.success { background: #ecf8f0; color: var(--green); }
.form-status.error { background: #ffe8e8; color: #a82424; }
.form-status.info { background: #fff0d7; color: #5c3a08; }
.inline-status { margin: 8px 0 0; font-weight: 800; }
.section-cta { margin-top: 18px; }
.secondary-account-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(247,242,234,.45), rgba(255,255,255,.15)); }
.creator-section, .register-section, .login-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.profile-summary { display: grid; gap: 10px; margin-top: 16px; }
.profile-summary-card { background: white; border-radius: 20px; padding: 16px; box-shadow: var(--shadow); }
.profile-summary-card strong { display: block; font-size: 20px; margin-bottom: 4px; }
.profile-summary-card .tags { margin-bottom: 0; }
.bulletin-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.bulletin-search { margin: 0 0 14px; max-width: none; }
.bulletin-list { display: grid; gap: 12px; }
.bulletin-card { background: white; border-radius: 24px; padding: 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; }
.bulletin-card h3 { margin-top: 4px; }
.bulletin-card .soft-btn { grid-column: 1 / -1; }
.messages-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.message-list { display: grid; gap: 12px; }
.message-card { background: white; border-radius: 22px; padding: 18px; box-shadow: var(--shadow); }
.message-card.outgoing { border-left: 5px solid var(--accent); }
.message-card.incoming { border-left: 5px solid var(--green); }
.message-card p { margin: 8px 0 0; }
.message-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 800; }
.moderation-list { display: grid; gap: 14px; }
.moderation-card { background: white; border-radius: 24px; padding: 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 240px; gap: 18px; align-items: start; }
.moderation-card h3 { overflow-wrap: anywhere; }
.moderation-actions { display: grid; gap: 8px; }
.moderation-filter select { border: 0; outline: 0; padding: 0 18px; font-weight: 800; background: white; min-width: 0; }
.creator-card, .register-card { display: grid; gap: 12px; }
.sms-card { margin-top: 16px; }
.consent-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.35; }
.consent-line input { width: auto; margin-top: 2px; }
.creator-card.locked { opacity: .68; filter: grayscale(.2); }
.auth-feature { display: none; }
.auth-feature.is-unlocked { display: grid; }
.locked-feature.is-hidden { display: none; }
.locked-card { background: #fff6e5; border: 1px solid #ffe0a1; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.locked-section { background: linear-gradient(180deg, rgba(247,242,234,.45), rgba(255,255,255,0)); }
.form-embed-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 14px; box-shadow: var(--shadow); }
.form-embed-card iframe { width: 100%; min-height: 760px; border: 0; border-radius: 18px; background: #fff; }
.creator-card input, .creator-card textarea, .creator-card select, .register-card input, .register-card textarea, .register-card select { border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; outline: 0; }
.profile-form { gap: 14px; }
.field-label { font-weight: 900; color: var(--ink); margin-top: 4px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.checkbox-grid label, .inline-check { background: #f7f2ea; border-radius: 14px; padding: 10px 12px; font-weight: 800; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.checkbox-grid input, .inline-check input { width: auto; }
.register-card button { border: 0; border-radius: 999px; background: var(--ink); color: white; padding: 14px 22px; font-weight: 900; cursor: pointer; }
.register-card.registered { border: 2px solid #b8e7c8; background: #f5fff8; }

.game-picker { border: 1px solid var(--line); border-radius: 20px; padding: 14px; display: grid; gap: 10px; background: #fffdf8; }
.game-picker-search input { width: 100%; }
.popular-games, .game-selected { display: flex; flex-wrap: wrap; gap: 8px; }
.popular-games button, .selected-game-pill { border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); padding: 8px 10px; font-weight: 900; cursor: pointer; width: auto; }
.popular-games button.active, .selected-game-pill { background: var(--ink); color: white; border-color: var(--ink); }
.game-suggestions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.game-suggestions:empty { display: none; }
.game-suggestions button { border: 1px solid var(--line); border-radius: 14px; background: #f7f2ea; color: var(--ink); padding: 10px 12px; text-align: left; cursor: pointer; width: auto; }
.game-suggestions strong, .game-suggestions small { display: block; }
.game-suggestions small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.game-picker-empty { color: var(--muted); font-size: 13px; font-weight: 800; }
.creator-card textarea { min-height: 92px; resize: vertical; }
.creator-card button:disabled { background: #b9b1a6; cursor: not-allowed; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.upgrade-note { margin-top: 18px; background: #fff0d7; border-radius: 18px; padding: 16px; color: #5c3a08; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-grid article p { color: var(--muted); }
.value-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ecf8f0; color: var(--green); font-weight: 900; margin-bottom: 12px; }
.tier-chip { display: inline-flex; background: #222222; color: white; border-radius: 999px; padding: 8px 10px; font-weight: 900; font-size: 12px; margin-bottom: 12px; }
.paid-bg { background: linear-gradient(180deg, rgba(247,242,234,.65), rgba(255,255,255,0)); border-radius: 34px; }
.venue-list { display: grid; gap: 12px; }
.venue-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.scores-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.score-card.big { background: linear-gradient(135deg, #2f5140, #161a17); color: white; }
.score-card.big .eyebrow { color: var(--gold); }
.score-card.big p { color: rgba(255,255,255,.74); }
.score-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.score-metrics div { background: rgba(255,255,255,.1); border-radius: 18px; padding: 16px; }
.score-metrics strong { display: block; font-size: 22px; }
ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
li { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
li span { color: var(--accent); font-weight: 900; }
.pricing { display: grid; grid-template-columns: .7fr 1.3fr; gap: 20px; align-items: start; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price-cards strong { font-size: 28px; }
.price-cards .featured { background: var(--ink); color: white; transform: translateY(-8px); }
.price-cards .featured p { color: rgba(255,255,255,.72); }
footer { text-align: center; color: var(--muted); padding: 40px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
footer a { color: var(--green); font-weight: 900; text-decoration: underline; }
footer small { display: block; font-size: 12px; color: #8a8177; }
.empty { background: #fff6e5; padding: 20px; border-radius: 20px; }
@media (max-width: 900px) { .hero, .creator-section, .register-section, .login-section, .bulletin-layout, .messages-layout, .scores-section, .pricing { grid-template-columns: 1fr; } .cards, .feature-strip, .price-cards, .value-grid, .match-list { grid-template-columns: 1fr 1fr; } .moderation-card { grid-template-columns: 1fr; } .nav-links { display: none; } }
@media (max-width: 620px) { .nav { flex-wrap: wrap; } .tier-switch, .login-pill { width: 100%; justify-content: center; } .hero { padding-top: 36px; } .cards, .feature-strip, .price-cards, .value-grid, .two, .bulletin-card, .checkbox-grid, .match-list, .game-suggestions { grid-template-columns: 1fr; } .venue-row { grid-template-columns: 1fr; } .search-card { grid-template-columns: 1fr; border-radius: 24px; gap: 8px; } .search-card input, .moderation-filter select { padding: 14px; } button, .soft-btn, .primary-link, .secondary-link { min-height: 48px; } .message-meta { flex-direction: column; } .map-card { min-height: 360px; } .map-card h2 { margin-top: 190px; } .pin { opacity: .72; transform: scale(.82); } h1 { letter-spacing: -1.4px; } }
