/* Darts Player Simulator: promo site. Colours, type and the wordmark follow the game's own theme. */

@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('fonts/bc-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('fonts/bc-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: italic; font-display: swap; src: url('fonts/bc-800i.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2'); }

:root {
  --bg-0: #0a0c11;
  --bg-1: #10141b;
  --bg-2: #161c26;
  --bg-3: #1e2632;
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #eef1f6;
  --text-dim: #a1abba;
  --text-faint: #6f7989;
  --accent: #f4c152;
  --accent-ink: #1a1305;
  --accent-soft: rgba(244, 193, 82, .14);
  --success: #3ccf8e;
  --discord: #5865f2;
  --radius-m: 8px;
  --radius-l: 14px;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; scrollbar-width: auto; scrollbar-color: var(--line-strong) var(--bg-1); }
body { margin: 0; background: var(--bg-0); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 18px; height: 18px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 4px solid var(--bg-1); border-radius: 10px; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: var(--bg-1); }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-m); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.ico { width: 1.35em; height: 1.35em; flex: none; }

/* The wordmark: a vector logo (img/logo-mark.svg) traced from the in-game font, not live text. */
.mark { --size: 100px; display: inline-block; margin: 0; line-height: 0; text-decoration: none; }
.mark-logo { display: block; height: calc(var(--size) * 1.202); width: auto; filter: drop-shadow(0 calc(var(--size) * .06) calc(var(--size) * .2) rgba(0, 0, 0, .6)); }
.mark-s { --size: 34px; }
.mark-xl { --size: clamp(120px, 26vw, 250px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border: 0; border-radius: var(--radius-m); font: 700 17px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease-out, filter .15s ease-out, box-shadow .15s ease-out; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-s { padding: 10px 16px; font-size: 14px; }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 8px 28px rgba(88, 101, 242, .35); }

/* Social icon links */
.social { display: flex; gap: 10px; }
.social-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text-dim); transition: color .15s, border-color .15s, transform .15s; }
.social-ico .ico { width: 18px; height: 18px; }
.social-ico:hover { color: var(--text); border-color: var(--text-dim); transform: translateY(-2px); }
.social-s { margin-left: auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(10, 12, 17, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.nav-in nav { display: flex; gap: 26px; margin-left: 8px; margin-right: auto; }
.nav-in nav a { color: var(--text-dim); font-weight: 500; font-size: 15px; text-decoration: none; transition: color .15s; white-space: nowrap; }
.nav-in nav a:hover { color: var(--text); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: -4px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.menu-toggle .ico { width: 24px; height: 24px; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; text-align: center; padding: 72px 0 0; }
.hero-bg { position: absolute; inset: 0; background:
    linear-gradient(180deg, rgba(10, 12, 17, 0) 55%, var(--bg-0) 100%),
    url('img/stage.jpg') center top / cover no-repeat, #07090d; }
.hero-in { position: relative; }
.tagline { margin: 34px 0 14px; font: 700 clamp(26px, 4.2vw, 40px)/1 var(--head); text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.lede { max-width: 700px; margin: 0 auto 44px; font-size: clamp(17px, 2vw, 19px); color: var(--text-dim); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; max-width: 534px; margin: 0 auto; }
.cta-left { margin: 0; }
.cta .btn, .cta .steam-badge { height: 60px; width: 260px; }
.cta .btn { justify-content: center; }
.cta .btn-gplay { width: 534px; }
.btn-gplay { gap: 14px; padding: 0 20px 0 16px; border: 1px solid var(--line-strong); background: linear-gradient(180deg, #1a1d24, #0d1016); color: #fff; text-align: left; box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }
.btn-gplay .ico { width: 30px; height: 30px; }
.btn-gplay small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9fb4c9; line-height: 1.3; }
.btn-gplay strong { display: block; font: 700 20px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; }
.steam-badge { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-m); background: linear-gradient(180deg, #1b2838, #131b26); color: #fff; text-align: left; }
.steam-badge .ico { width: 28px; height: 28px; }
.steam-badge small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9fb4c9; line-height: 1.3; }
.steam-badge strong { display: block; font: 700 20px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; }

/* Screenshots */
.shot { position: relative; display: block; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-l); background: var(--bg-1); cursor: zoom-in; transition: transform .22s ease-out, border-color .22s ease-out, box-shadow .22s ease-out; }
.shot img { width: 100%; }
.shot:hover { transform: translateY(-3px); border-color: rgba(244, 193, 82, .55); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.hero-shot { max-width: 1040px; margin: 56px auto 0; box-shadow: 0 30px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(244, 193, 82, .12); }

/* Facts strip */
.facts { padding: 56px 0 8px; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts-in div { padding: 18px 20px; border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: var(--radius-m); background: var(--bg-1); }
.facts strong { display: block; font: 700 34px/1 var(--head); text-transform: uppercase; color: var(--accent); }
.facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--text-dim); line-height: 1.4; }

/* Section headings */
section { padding: 88px 0; }
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.h-sec { margin: 0 0 44px; font: 700 clamp(36px, 5.4vw, 56px)/1 var(--head); text-transform: uppercase; letter-spacing: .01em; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.feature:nth-of-type(even) .shot { order: 2; }
.feature h3 { position: relative; margin: 0 0 22px; padding-bottom: 14px; font: 700 34px/1.05 var(--head); text-transform: uppercase; }
.feature h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--accent); box-shadow: 0 0 12px rgba(244, 193, 82, .45); }
.feature p, .feature li { color: var(--text-dim); }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li { position: relative; margin-bottom: 12px; padding-left: 20px; }
.feature li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.feature b { color: var(--text); font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--bg-1); }
.card h4 { margin: 0 0 10px; font: 700 24px/1.1 var(--head); text-transform: uppercase; }
.card p { margin: 0; font-size: 15px; color: var(--text-dim); }

/* Gallery */
.gallery { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid .shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 12px; background: linear-gradient(180deg, transparent, rgba(5, 7, 10, .92)); font: 600 18px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--text); }

/* Mobile game */
.hero-hook { margin: 22px 0 0; font-size: 15px; color: var(--text-dim); }
.hero-hook a { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(244, 193, 82, .4); }
.hero-hook a:hover { border-bottom-color: var(--accent); }
.mobile { border-top: 1px solid var(--line); background: radial-gradient(900px 420px at 100% 0%, rgba(0, 215, 254, .08), transparent 70%), var(--bg-0); }
.mobile-in { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.mobile-text p, .mobile-text li { color: var(--text-dim); }
.mobile-text ul { margin: 0 0 22px; padding: 0; list-style: none; }
.mobile-text li { position: relative; margin-bottom: 12px; padding-left: 20px; }
.mobile-text li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.mobile-text b { color: var(--text); font-weight: 600; }
.mobile-note { font-size: 15px; }
.cta-left { justify-content: flex-start; }
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.phone-shot { border-radius: 18px; text-decoration: none; }
.phone-shot img { display: block; }
.phone-shot span { display: block; padding: 10px 12px 11px; border-top: 1px solid var(--line); background: var(--bg-2); font: 600 15px/1.1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--text); text-align: center; }

/* Community */
.panel { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; padding: 44px; border: 1px solid rgba(88, 101, 242, .45); border-radius: var(--radius-l);
  background: radial-gradient(700px 300px at 0% 0%, rgba(88, 101, 242, .28), transparent 70%), var(--bg-1); }
.panel-ico { width: 96px; height: 96px; color: var(--discord); }
.panel .h-sec { margin-bottom: 14px; }
.panel p:last-child { margin: 0; color: var(--text-dim); max-width: 560px; }

/* Contact */
.contact { padding-top: 0; }
.contact-in { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.contact .h-sec { margin-bottom: 14px; }
.contact p:last-child { margin: 0; color: var(--text-dim); max-width: 520px; }
.mail-group { display: flex; flex-direction: column; gap: 14px; }
.mail { display: inline-flex; align-items: center; gap: 16px; padding: 22px 26px; border: 1px solid rgba(244, 193, 82, .4); border-radius: var(--radius-l); background: var(--accent-soft); color: var(--text); text-decoration: none; transition: transform .15s ease-out, background .15s ease-out; }
.mail:hover { transform: translateY(-2px); background: rgba(244, 193, 82, .2); }
.mail .ico { width: 34px; height: 34px; color: var(--accent); }
.mail small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.mail strong { display: block; font-size: clamp(16px, 2.4vw, 21px); font-weight: 600; color: var(--accent); overflow-wrap: anywhere; }

/* Footer */
.foot { padding: 44px 0 56px; border-top: 1px solid var(--line); background: #07090d; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot-in .mark { justify-self: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-end; }
.foot-links a { color: var(--text-dim); font-size: 15px; text-decoration: none; }
.foot-links a:hover { color: var(--accent); }
.small { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--text-faint); }

/* Screenshot viewer */
.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px 72px; background: rgba(4, 5, 8, .94); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius-m); box-shadow: 0 30px 90px rgba(0, 0, 0, .7); }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg-2); color: var(--text); font: 400 30px/1 var(--body); cursor: pointer; }
.lb-btn:hover { background: var(--accent); color: var(--accent-ink); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.lb-next { right: 12px; top: 50%; margin-top: -24px; }

@media (max-width: 900px) {
  .nav-in { height: auto; padding: 14px 0; }
  .menu-toggle { display: inline-flex; order: -1; margin-right: 4px; }
  .nav-in nav { display: none; }
  .nav .btn-s { display: none; }
  .social-s { margin-left: auto; }
  .mobile-menu:not([hidden]) { display: flex; flex-direction: column; padding: 0 24px; max-height: 0; opacity: 0; overflow: hidden; border-top: 1px solid transparent; transition: max-height .26s ease, opacity .2s ease, padding-bottom .26s ease, border-color .26s ease; }
  .mobile-menu.open { max-height: 320px; opacity: 1; padding-bottom: 20px; border-top-color: var(--line); }
  .mobile-menu a { padding: 12px 0; color: var(--text-dim); font-weight: 500; font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu a:hover { color: var(--text); }
  section { padding: 64px 0; }
  .contact { padding-top: 0; }
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .feature:nth-of-type(even) .shot { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .mobile-in { grid-template-columns: 1fr; gap: 32px; }
  .panel { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px; }
  .panel-ico { width: 64px; height: 64px; }
  .contact-in { grid-template-columns: 1fr; gap: 24px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .lightbox { padding: 72px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 48px; }
  .grid { grid-template-columns: 1fr; }
  .btn-s span { display: none; }
  .btn-s { padding: 10px; }
  .cta .btn, .cta .steam-badge, .cta .btn-gplay { width: 100%; max-width: 300px; }
  .phone-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .btn-gplay small { font-size: 10px; letter-spacing: .06em; }
  .mail { padding: 18px; gap: 12px; }
  .social-s { gap: 6px; }
  .social-s .social-ico { width: 32px; height: 32px; }
  .social-s .social-ico .ico { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Legal pages (privacy policy) */
.legal { padding: 120px 0 88px; }
.legal-in { max-width: 760px; }
.legal .h-sec { margin-bottom: 8px; }
.legal-meta { margin: 0 0 36px; font-size: 14px; color: var(--text-faint); }
.legal h2 { margin: 40px 0 12px; font: 700 clamp(22px, 2.6vw, 28px)/1.1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.legal h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 700; }
.legal p { color: var(--text-dim); line-height: 1.65; }
.legal a { color: var(--accent); }

/* Cookie banner (consent.js): bottom of the screen until the visitor chooses. */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; display: flex; align-items: center; gap: 20px; max-width: 880px; margin: 0 auto; padding: 16px 20px; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius-l); box-shadow: 0 16px 48px rgba(0, 0, 0, .55); }
.cookie-banner[hidden] { display: none; }
.cookie-text { margin: 0; flex: 1; color: var(--text-dim); font-size: 15px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--accent); color: var(--accent-ink); }
.cookie-decline { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.foot-links button[data-cookie-settings] { padding: 0; border: 0; background: none; color: var(--text-dim); font: inherit; font-size: 15px; cursor: pointer; }
.foot-links button[data-cookie-settings]:hover { color: var(--accent); }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; left: 10px; right: 10px; bottom: 10px; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* Store buttons side by side (App Store and Google Play): half the row each. */
.cta .btn-appstore, .cta .btn-store { width: 260px; }
.btn-appstore .ico { color: #fff; }
@media (max-width: 640px) {
  .cta .btn-appstore, .cta .btn-store { width: 100%; max-width: 300px; }
}
