/* Fightcord website: Discord-style (dark bands, blurple, big type, app-window screenshots) */
:root {
    --bg: #1e1f22; --band: #2b2d31; --card: #313338; --card2: #383a40; --edge: rgba(255, 255, 255, .07);
    --text: #dbdee1; --muted: #949ba4; --head: #f2f3f5; --blurple: #5865f2; --blurple2: #4752c4; --green: #23a55a; --cyan: #22e3f2;
    --font: 'gg sans', 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, 'Noto Sans', Roboto, 'Helvetica Neue', sans-serif;
    --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: #00a8fc; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
h1, h2, h3 { color: var(--head); margin: 0; line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 12px 0 0; }
.muted { color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
main > section { position: relative; padding: 96px 0; }
.band { background: var(--band); }
.sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sec-head p { font-size: 19px; color: var(--text); }

/* the pt / es hint on the English page */
.hint { padding: 10px 16px; background: var(--blurple); text-align: center; font-weight: 600; }
.hint a { color: #fff; }
.hint a + a { margin-left: 16px; }
.hint [hidden] { display: none; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(30, 31, 34, .82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--edge); }
.top .wrap { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--head); }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a { color: var(--head); font-weight: 600; font-size: 15px; }
.right { display: flex; align-items: center; gap: 16px; }
.langs { display: flex; gap: 12px; font-size: 14px; }
.langs b { color: var(--head); font-weight: 600; }
.langs a { color: var(--muted); }
.gh { color: var(--head); display: inline-flex; }
.gh svg { width: 24px; height: 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 28px;
    font-weight: 700; font-size: 18px; color: var(--head); background: var(--card2); transition: background .17s, box-shadow .17s, transform .17s; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { color: #fff; background: var(--blurple); box-shadow: 0 8px 24px rgba(88, 101, 242, .35); }
.btn.primary:hover { background: var(--blurple2); box-shadow: 0 10px 32px rgba(88, 101, 242, .5); }
.btn.ghost { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.btn.small { min-height: 38px; padding: 0 18px; font-size: 14px; border-radius: 20px; color: #fff; background: var(--blurple); }
.btn.small:hover { background: var(--blurple2); }
.btn.big { min-height: 60px; padding: 0 36px; font-size: 20px; border-radius: 32px; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, .lk-pick label:focus-visible { outline: 3px solid #00a8fc; outline-offset: 3px; }

/* hero */
.hero { text-align: center; padding: 72px 0 0 !important; overflow: hidden;
    background: radial-gradient(1200px 520px at 50% -80px, #404eed 0%, rgba(64, 78, 237, .55) 35%, rgba(30, 31, 34, 0) 75%), var(--bg); }
.hero .wrap { position: relative; z-index: 1; }
.hero .logo { width: 150px; height: auto; margin: 0 auto 18px; filter: drop-shadow(0 14px 40px rgba(0, 0, 0, .45)); }
h1 { max-width: 900px; margin: 0 auto; font-size: clamp(36px, 6vw, 64px); font-weight: 900; text-transform: none; }
.lead { max-width: 760px; margin: 22px auto 34px; font-size: clamp(17px, 2vw, 20px); color: #e6e8ff; }
.meta { margin-top: 22px; font-size: 14px; color: #c9cdfb; }
.meta a { color: #fff; text-decoration: underline; }
.small { font-size: 13px; color: rgba(255, 255, 255, .55); margin-top: 6px; }
.hero-shot { margin: 56px auto 0; max-width: 1100px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; transform: translateY(1px); }
.spark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.spark { top: 0; left: 0; right: 0; bottom: 0; }

/* the app-window frame around screenshots */
.frame { position: relative; overflow: hidden; border-radius: 12px; background: #111214; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 50px rgba(0, 0, 0, .45); }
.frame .bar { display: flex; gap: 7px; align-items: center; height: 28px; padding: 0 12px; background: #1a1b1e; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #3f4147; }
.frame .bar i:first-child { background: #f23f43; } .frame .bar i:nth-child(2) { background: #f0b232; } .frame .bar i:nth-child(3) { background: #23a55a; }
.frame img { width: 100%; }
.frame.glow { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px rgba(0, 0, 0, .5), 0 0 120px rgba(88, 101, 242, .28); }
.frame.green { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px rgba(0, 0, 0, .5), 0 0 120px rgba(35, 165, 90, .25); }

/* two columns: copy + picture */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.split.flip .copy { order: 2; }
.split.flip.wide { grid-template-columns: 7fr 5fr; }
.split .copy h2 { font-size: clamp(30px, 3.6vw, 44px); }
.split .copy p { font-size: 18px; }

/* Looks: radios + labels + pictures, no script */
.lk-in, .hb-in { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.looks { overflow: hidden; }
.looks .wrap { position: relative; z-index: 1; }
.looks-bg { position: absolute; inset: 0; top: 0; left: 0; right: 0; bottom: 0; transition: background .5s ease; }
.lk-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0 0 28px; }
.lk-pick label { display: flex; flex-direction: column; padding: 14px 14px 12px; border-radius: 12px; background: var(--card); cursor: pointer;
    box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s, background .15s, transform .15s; }
.lk-pick label:hover { background: var(--card2); transform: translateY(-2px); }
.lk-pick b { color: var(--head); font-size: 16px; margin-top: 10px; }
.lk-pick small { color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.lk-pick .sw { height: 44px; border-radius: 8px; }
.lk-dark .sw { background: linear-gradient(90deg, #131215 0 40%, #1b1a1f 40% 75%, #5865f2 75%); }
.lk-neon .sw { background: linear-gradient(90deg, #080a15 0 40%, #0d0f1f 40% 75%, #22e3f2 75%); }
.lk-crt .sw { background: linear-gradient(90deg, #050705 0 40%, #0a0c0a 40% 75%, #ffb000 75%); }
.lk-strike .sw { background: linear-gradient(90deg, #0b0909 0 40%, #121010 40% 75%, #f0923a 75%); }
.lk-tokyo .sw { background: linear-gradient(90deg, #080616 0 40%, #0e0b1f 40% 75%, #eb459e 75%); }
.lk-shot { display: none; }
#look-dark:checked ~ .wrap .lk-shot.lk-dark, #look-neon:checked ~ .wrap .lk-shot.lk-neon, #look-crt:checked ~ .wrap .lk-shot.lk-crt,
#look-strike:checked ~ .wrap .lk-shot.lk-strike, #look-tokyo:checked ~ .wrap .lk-shot.lk-tokyo { display: block; }
#look-dark:checked ~ .wrap label.lk-dark { box-shadow: inset 0 0 0 2px #5865f2; background: var(--card2); }
#look-neon:checked ~ .wrap label.lk-neon { box-shadow: inset 0 0 0 2px #22e3f2; background: var(--card2); }
#look-crt:checked ~ .wrap label.lk-crt { box-shadow: inset 0 0 0 2px #ffb000; background: var(--card2); }
#look-strike:checked ~ .wrap label.lk-strike { box-shadow: inset 0 0 0 2px #f0923a; background: var(--card2); }
#look-tokyo:checked ~ .wrap label.lk-tokyo { box-shadow: inset 0 0 0 2px #eb459e; background: var(--card2); }
#look-dark:focus-visible ~ .wrap label.lk-dark, #look-neon:focus-visible ~ .wrap label.lk-neon, #look-crt:focus-visible ~ .wrap label.lk-crt,
#look-strike:focus-visible ~ .wrap label.lk-strike, #look-tokyo:focus-visible ~ .wrap label.lk-tokyo { outline: 3px solid #00a8fc; outline-offset: 3px; }
#look-dark:checked ~ .looks-bg { background: radial-gradient(900px 500px at 50% 100%, rgba(88, 101, 242, .22), transparent 70%); }
#look-neon:checked ~ .looks-bg { background: radial-gradient(900px 500px at 50% 100%, rgba(34, 227, 242, .2), transparent 70%); }
#look-crt:checked ~ .looks-bg { background: radial-gradient(900px 500px at 50% 100%, rgba(255, 176, 0, .2), transparent 70%); }
#look-strike:checked ~ .looks-bg { background: radial-gradient(900px 500px at 50% 100%, rgba(240, 146, 58, .22), transparent 70%); }
#look-tokyo:checked ~ .looks-bg { background: radial-gradient(900px 500px at 50% 100%, rgba(235, 69, 158, .22), transparent 70%); }

/* game hub tabs (same trick) */
.tabs { display: flex; justify-content: center; gap: 8px; margin: 0 0 24px; }
.tabs label { padding: 9px 20px; border-radius: 22px; font-weight: 700; font-size: 15px; color: var(--text); background: var(--card); cursor: pointer; transition: background .15s; }
.tabs label:hover { background: var(--card2); }
.hb-shot { display: none; }
#hub-rankings:checked ~ .wrap .hb-shot.hb-rankings, #hub-replays:checked ~ .wrap .hb-shot.hb-replays, #hub-profile:checked ~ .wrap .hb-shot.hb-profile { display: block; }
#hub-rankings:checked ~ .wrap label.hb-rankings, #hub-replays:checked ~ .wrap label.hb-replays, #hub-profile:checked ~ .wrap label.hb-profile { color: #fff; background: var(--blurple); }
#hub-rankings:focus-visible ~ .wrap label.hb-rankings, #hub-replays:focus-visible ~ .wrap label.hb-replays, #hub-profile:focus-visible ~ .wrap label.hb-profile { outline: 3px solid #00a8fc; outline-offset: 3px; }
.hub .frame { max-width: 1040px; margin: 0 auto; }

/* voice chat */
.voice { background: radial-gradient(800px 500px at 85% 50%, rgba(35, 165, 90, .14), transparent 70%), var(--bg); }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--green); }
.badge svg { width: 16px; height: 16px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; }
.ticks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; padding: 3px; border-radius: 50%; color: #fff; background: var(--green); }
h3.marks { display: flex; align-items: center; gap: 8px; margin-top: 34px; font-size: 22px; }
.fmark { display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 7px; border-radius: 6px; font-size: 15px; font-weight: 900; color: #fff; background: var(--blurple); }
.fmark.v { background: var(--green); }
.fmark svg { width: 15px; height: 15px; }
h3.marks .fmark + .fmark { margin-right: 6px; }

/* cards */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 18px 18px 26px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--edge); }
.band .card { background: var(--bg); }
.card .frame { margin: 0 0 22px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.card .frame .bar { height: 20px; } .card .frame .bar i { width: 8px; height: 8px; }
.card h3, .card p { padding: 0 8px; }
.card p { color: var(--text); font-size: 16px; }
.card.plain { padding: 28px; }
.card.plain h3, .card.plain p { padding: 0; }
.ico { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 14px; color: #fff; background: var(--blurple); }
.ico svg { width: 26px; height: 26px; }

/* the OBS overlay mock */
.stage { display: flex; align-items: center; justify-content: center; aspect-ratio: 1440 / 928; margin: 0 0 22px; border-radius: 10px; padding: 24px;
    background: linear-gradient(135deg, #2b1d4a 0%, #0f3b52 55%, #4a2236 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.ov { display: inline-flex; flex-direction: column; padding: 10px 14px; border-radius: 12px; background: rgba(13, 15, 31, .82);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 24px rgba(88, 101, 242, .35); color: #fff; max-width: 100%; }
.ov .row { display: flex; align-items: center; justify-content: center; font-size: clamp(12px, 1.6vw, 20px); font-weight: 800; white-space: nowrap; }
.ov .r { display: inline-block; min-width: 20px; margin: 0 6px; padding: 0 4px; border-radius: 4px; background: #23a55a; font-size: 13px; line-height: 20px; text-align: center; }
.ov .r.a { background: #f0b232; color: #1e1f22; }
.ov .sc { margin: 0 12px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.ov .sub { margin-top: 4px; font-size: 13px; font-weight: 600; color: #a8aed6; text-align: center; }

/* FAQ */
details { margin: 0 0 10px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--edge); }
summary { list-style: none; position: relative; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 18px; color: var(--head); cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border: solid var(--muted);
    border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { margin: 0; padding: 0 22px 20px; color: var(--text); }

/* final call to action */
.cta { text-align: center; overflow: hidden; background: radial-gradient(900px 420px at 50% 120%, #404eed 0%, rgba(64, 78, 237, .45) 40%, rgba(30, 31, 34, 0) 75%), var(--bg); }
.cta .wrap { position: relative; z-index: 1; }
.cta p { font-size: 20px; margin: 14px 0 32px; }
.cta .meta { margin: 18px 0 0; font-size: 14px; }
.nf { min-height: 100vh; display: flex; align-items: center; }
.nf .logo { width: 120px; margin: 0 auto 10px; }
.nf h2 { font-size: 72px; }

footer { padding: 56px 0 64px; background: #111214; color: var(--muted); font-size: 14px; }
footer .brand { font-size: 22px; color: var(--blurple); margin-bottom: 14px; }
footer p { margin: 6px 0; }
footer a { color: var(--text); }
footer .langs { margin-top: 18px; }

/* tablet */
@media (max-width: 980px) {
    .nav { display: none; }
    .top .wrap { justify-content: space-between; }
    .split, .split.flip.wide { grid-template-columns: 1fr; gap: 36px; }
    .split.flip .copy { order: 0; }
    .lk-pick { grid-template-columns: repeat(3, 1fr); }
    .grid3 { grid-template-columns: 1fr; }
}
/* phone */
@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { padding: 0 16px; }
    main > section { padding: 64px 0; }
    .top .wrap { gap: 10px; height: 58px; }
    .top .langs, .gh { display: none; }
    .hero { padding-top: 44px !important; }
    .hero .logo { width: 110px; }
    .btn { width: 100%; }
    .btn.small { width: auto; }
    .hero-shot { margin-top: 40px; }
    .frame .bar { height: 18px; } .frame .bar i { width: 7px; height: 7px; }
    .lk-pick { grid-template-columns: 1fr 1fr; gap: 8px; }
    .lk-pick small { display: none; }
    .lk-pick .sw { height: 28px; }
    .grid2 { grid-template-columns: 1fr; }
    .tabs label { padding: 8px 14px; font-size: 14px; }
    .ov .row { font-size: clamp(10px, 3.4vw, 16px); }
    .ov .sc { margin: 0 6px; }
    .stage { padding: 10px; }
    summary { font-size: 16px; padding: 16px 48px 16px 18px; }
    footer .langs { display: flex; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
