/* MvC2 Online: the look of the game's online menus (electric blue, chrome plates, glossy outlined titles) */
:root {
  --bg: #030612;
  --bg-2: #060c24;
  --ink: #eaf0ff;
  --muted: #9db0dc;
  --line: rgba(110, 170, 255, .22);
  --glass: rgba(10, 22, 66, .58);
  --cyan: #38e4ff;
  --blue: #2f6bff;
  --wrap: 72rem;
  --display: 'Nunito', 'Arial Rounded MT Bold', 'Segoe UI Black', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --g-gold: linear-gradient(180deg, #fff7a1 0%, #ffd21a 38%, #ff9a00 72%, #ff6a00 100%);
  --g-fire: linear-gradient(180deg, #ffe600 0%, #ff9d00 45%, #ff2d1a 100%);
  --g-green: linear-gradient(180deg, #e9ff6b 0%, #45f08a 45%, #00d4ff 100%);
  --g-blue: linear-gradient(180deg, #7ff6ff 0%, #39a6ff 45%, #7a4dff 100%);
  --g-white: linear-gradient(180deg, #ffffff 0%, #e8eeff 50%, #a9bbf0 100%);
  --g-pink: linear-gradient(180deg, #ffc2ec 0%, #ff3fb0 45%, #9b3bff 100%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; font: 400 1rem/1.6 var(--body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: .2em; }
a:hover { color: #fff; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin-top: 0; }
code { font-size: .92em; color: #cfe0ff; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4.5vw, 3rem); }
.narrow { max-width: 52rem; }
section[id], div[id="download"] { scroll-margin-top: 4.5rem; }

/* top bar */
.topbar { position: fixed; inset: 0 0 auto; z-index: 10; background: linear-gradient(180deg, rgba(3, 6, 18, .92), rgba(3, 6, 18, .72));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.mini-logo img { height: 2.4rem; width: auto; }
.topbar nav { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.6rem); font: 800 .82rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.topbar nav a { color: #d8e3ff; text-decoration: none; }
.topbar nav a:hover { color: var(--cyan); }
.nav-cta { padding: .55rem 1rem; border-radius: 999px; background: linear-gradient(180deg, #ffd21a, #ff7a00); color: #1a0d00 !important; box-shadow: 0 0 0 2px #000, 0 0 18px rgba(255, 150, 0, .45); }
.nav-cta:hover { filter: brightness(1.08); }

/* glossy outlined titles, like the game's menu labels */
.title { position: relative; display: inline-block; margin: 0 0 .6rem; font: 900 clamp(2.1rem, 5.4vw, 3.6rem)/1.05 var(--display); letter-spacing: -.01em; text-transform: uppercase; color: transparent; }
.title::before, .title::after { content: attr(data-text); content: attr(data-text) / ""; position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; }
.title::before { color: #04050b; -webkit-text-stroke: .15em #04050b; text-shadow: 0 .09em .02em #000, 0 0 .45em rgba(0, 0, 0, .7); }
.title::after { background: var(--g, var(--g-white)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-pink { --g: var(--g-pink); } .t-gold { --g: var(--g-gold); } .t-green { --g: var(--g-green); } .t-blue { --g: var(--g-blue); } .t-white { --g: var(--g-white); } .t-fire { --g: var(--g-fire); }
.section-lead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.15rem); max-width: 40rem; margin-bottom: 2rem; }

/* chrome plates (the game's pill buttons) */
.plate { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none;
  border: 4px solid transparent; border-radius: 999px;
  background: linear-gradient(180deg, #2a5cff 0%, #1336a8 42%, #0a1e6e 60%, #071451 100%) padding-box,
              linear-gradient(180deg, #ffffff 0%, #b9c6e6 35%, #5e6f9c 52%, #e9efff 70%, #7d8db5 100%) border-box;
  box-shadow: 0 0 0 2px #02040c, inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -6px 14px rgba(0, 0, 40, .55), 0 10px 28px rgba(0, 0, 0, .55); }
.plate::after { content: ""; position: absolute; inset: 3px 12% auto; height: 38%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0)); }
.plate-big { min-width: 17rem; padding: .7rem 3rem .8rem; transition: transform .15s ease, box-shadow .15s ease; }
.plate-big:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px #02040c, inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -6px 14px rgba(0, 0, 40, .55), 0 0 32px rgba(56, 228, 255, .55), 0 12px 30px rgba(0, 0, 0, .6); }
.plate-text { position: relative; font: 900 clamp(1.7rem, 3vw, 2.15rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em;
  color: transparent; background: var(--g-gold); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 2px 0 #000) drop-shadow(0 0 1px #000) drop-shadow(0 0 1px #000); }
.plate-small { position: relative; font: 700 .78rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #cfe0ff; margin-top: .25rem; }
.plate.is-soon { filter: saturate(.5) brightness(.8); cursor: default; }
.plate.is-soon:hover { transform: none; box-shadow: 0 0 0 2px #02040c, inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -6px 14px rgba(0, 0, 40, .55), 0 10px 28px rgba(0, 0, 0, .55); }
.plate-label { width: 100%; padding: .55rem 1.6rem; }
.plate-label img { height: clamp(1.7rem, 3.2vw, 2.3rem); width: auto; position: relative; z-index: 1; }

/* hero */
.hero { position: relative; min-height: min(100vh, 58rem); display: flex; align-items: center; padding: 6.5rem 0 4rem; overflow: hidden;
  background: var(--bg) url(/assets/hero.webp) 70% 50% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(3, 6, 18, .94) 0%, rgba(3, 6, 18, .78) 32%, rgba(3, 6, 18, .1) 62%, rgba(3, 6, 18, 0) 100%),
  linear-gradient(180deg, rgba(3, 6, 18, .35) 0%, rgba(3, 6, 18, 0) 25%, rgba(3, 6, 18, 0) 70%, var(--bg) 100%); }
.hero-inner { position: relative; width: 100%; }
.hero-logo { margin: 0 0 1.2rem; font-family: "Anton", "Impact", sans-serif; font-weight: 400; font-size: clamp(3.6rem, 11vw, 8.4rem); line-height: .95; letter-spacing: .02em; text-transform: uppercase; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .65)); }
.hero-logo span { display: inline-block; -webkit-text-stroke: .06em #05060f; paint-order: stroke fill; }
.hero-logo .hl-mvc2 { text-transform: none; background: linear-gradient(180deg, #fff3a0 0%, #ffd21a 45%, #ff7a00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-logo .hl-online { color: #fff; }
.hero-sub { font-size: clamp(1.08rem, 2vw, 1.32rem); line-height: 1.55; color: #dce6ff; max-width: 36rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.hero-sub strong { color: #fff; }
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 2.2rem 0 1.4rem; }
.dl-meta { margin: 0; color: #b9c8ec; font-size: .92rem; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px #000, 0 0 12px rgba(0, 0, 0, .9); }
.hero-note { max-width: 34rem; color: #a9b9e0; font-size: .9rem; margin: 0; text-shadow: 0 1px 2px #000, 0 0 12px rgba(0, 0, 0, .9); }

/* sections */
.section { position: relative; padding-block: clamp(4rem, 9vw, 7rem); }
.section::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(56, 160, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 160, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.section > .wrap { position: relative; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.modes { background: radial-gradient(60rem 30rem at 85% 0%, rgba(47, 107, 255, .22), transparent 70%), var(--bg); }
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; }
.mode { display: flex; flex-direction: column; gap: 1rem; }
.mode p { color: #c3d1f2; margin: 0 1rem; }

.training { background: var(--bg-2) url(/assets/bg-training.webp) center / cover no-repeat; }
.training::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 6, 18, .93) 0%, rgba(3, 6, 18, .8) 45%, rgba(3, 6, 18, .45) 100%); pointer-events: none; }
.training > .wrap { z-index: 1; }
.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; }
.chips li { padding: .5rem .95rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: #e6f7ff;
  background: linear-gradient(180deg, rgba(56, 228, 255, .16), rgba(47, 107, 255, .12)); border: 1px solid rgba(56, 228, 255, .45); box-shadow: 0 0 14px rgba(56, 228, 255, .12); }
.soon { display: flex; align-items: center; gap: 1.2rem 1.6rem; flex-wrap: wrap; margin-top: 1.8rem; padding: 1.1rem 1.4rem;
  border-color: rgba(255, 170, 0, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 28px rgba(255, 140, 0, .14), 0 18px 40px rgba(0, 0, 0, .35); }
.soon-label { height: 2.6rem; width: auto; flex: none; }
.soon > div { flex: 1 1 16rem; }
.soon p { margin: 0; color: #d3dff9; }
.soon .soon-tag { display: inline-block; margin-bottom: .35rem; padding: .22rem .65rem; border-radius: 999px; font: 900 .72rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase;
  color: #1a0d00; background: linear-gradient(180deg, #ffd21a, #ff7a00); box-shadow: 0 0 0 2px #000; }
.keys { padding: 1.4rem 1.6rem; }
.keys h3 { font: 900 1.2rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; color: #fff; }
.keys dl { margin: 0; display: grid; gap: .65rem; }
.keys dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; }
.keys dt { font: 800 .82rem/1.3 var(--display); letter-spacing: .06em; color: #ffd21a; text-transform: uppercase; }
.keys dd { margin: 0; color: #d3dff9; }

.colors { background: radial-gradient(48rem 26rem at 85% 40%, rgba(255, 63, 176, .16), transparent 70%), radial-gradient(40rem 24rem at 10% 80%, rgba(155, 59, 255, .14), transparent 70%), var(--bg); }
.drop-steps { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .9rem; }
.drop-steps li { display: flex; gap: 1rem; align-items: center; padding: .9rem 1.1rem; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.drop-steps img { width: 3rem; height: auto; flex: none; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .55)); }
.drop-steps h3 { font: 900 1.05rem/1.2 var(--display); color: #fff; margin: 0 0 .2rem; }
.drop-steps p { margin: 0; color: #c3d1f2; font-size: .95rem; }
.drop-demo { display: flex; justify-content: center; }
.drop-zone { position: relative; width: min(100%, 22rem); aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  border-radius: 18px; border: 3px dashed rgba(255, 120, 210, .7); background: radial-gradient(circle at 50% 40%, rgba(255, 63, 176, .18), rgba(10, 22, 66, .6) 70%);
  box-shadow: 0 0 40px rgba(255, 63, 176, .18), inset 0 0 30px rgba(155, 59, 255, .2); }
.drop-zone img { width: 6.5rem; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); animation: drop-bob 2.6s ease-in-out infinite; }
.drop-file { font: 700 .85rem/1 ui-monospace, Consolas, monospace; color: #fff; padding: .35rem .7rem; border-radius: 8px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .2); }
.drop-hint { font: 900 .82rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #ffb3e6; }
@keyframes drop-bob { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
.netcode { background: var(--bg) url(/assets/bg-net.webp) center / cover no-repeat; }
.netcode::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(3, 6, 18, .55) 25%, rgba(3, 6, 18, .55) 75%, var(--bg) 100%); pointer-events: none; }
.netcode > .wrap { z-index: 1; }
.net-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.net-grid .glass { padding: 1.4rem 1.5rem; }
.net-grid h3 { display: flex; align-items: center; gap: .8rem; font: 900 1.12rem/1.25 var(--display); color: #fff; margin-bottom: .7rem; }
.net-grid h3 img { width: 2.8rem; height: auto; flex: none; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .55)); }
.net-grid p { margin: 0; color: #c3d1f2; }
.dot { flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(56, 228, 255, .2), 0 0 14px var(--cyan); }

.install { background: radial-gradient(50rem 26rem at 10% 30%, rgba(255, 154, 0, .12), transparent 70%), var(--bg); }
.steps { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.steps li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.steps img { height: 3.4rem; width: auto; flex: none; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)); }
.steps h3 { font: 900 1.12rem/1.25 var(--display); color: #fff; margin: .2rem 0 .35rem; }
.steps p { margin: 0; color: #c3d1f2; font-size: .95rem; }
.smallprint { color: #8ea2cf; font-size: .9rem; max-width: 44rem; }
.news { margin-top: 1.6rem; padding: 1.2rem 1.4rem; max-width: 44rem; }
.news h3 { font: 900 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: #ffd21a; margin-bottom: .8rem; }
.news-item + .news-item { border-top: 1px solid var(--line); margin-top: .8rem; padding-top: .8rem; }
.news-item h4 { margin: 0 0 .2rem; font-size: 1rem; color: #fff; }
.news-item p { margin: 0; color: #c3d1f2; font-size: .95rem; }

.faq { background: var(--bg-2); }
.faq details { margin-bottom: .8rem; padding: 0 1.3rem; border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 0; font: 800 1.05rem/1.3 var(--display); color: #fff; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.1rem; color: #c3d1f2; }

.support { background: radial-gradient(46rem 22rem at 80% 50%, rgba(255, 154, 0, .14), transparent 70%), var(--bg); }
.support-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) auto; gap: 2rem 3rem; align-items: center; }
.support-action { text-align: center; }
.support-action .dl-meta { margin-top: .5rem; }

.footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; background: #02040d; color: #8093bd; font-size: .86rem; }
.footer-logo { height: 2.6rem; width: auto; margin-bottom: 1rem; opacity: .9; }
.footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-bottom: 1rem; font: 800 .8rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.footer nav a { color: #cfdcff; text-decoration: none; }
.footer nav a:hover { color: var(--cyan); }
.footer p { max-width: 50rem; margin: 0; }

@media (max-width: 60rem) {
  .hero::before { background:
    linear-gradient(90deg, rgba(3, 6, 18, .95) 0%, rgba(3, 6, 18, .86) 55%, rgba(3, 6, 18, .4) 100%),
    linear-gradient(180deg, rgba(3, 6, 18, .35) 0%, rgba(3, 6, 18, 0) 25%, rgba(3, 6, 18, 0) 70%, var(--bg) 100%); }
  .net-grid, .steps { grid-template-columns: 1fr; }
  .split, .support-inner { grid-template-columns: 1fr; }
  .support-action { text-align: left; }
}
@media (max-width: 46rem) {
  .topbar nav a:not(.nav-cta) { display: none; }
  .mode-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 5.5rem; background-position: 78% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(3, 6, 18, .55) 0%, rgba(3, 6, 18, .78) 55%, var(--bg) 100%); }
  .plate-big { min-width: 0; width: 100%; }
  .keys dl div { grid-template-columns: 6rem 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .plate-big { transition: none; } .drop-zone img { animation: none; } }

/* Discord */
.dc-ico { width: 1.15em; height: 1.15em; flex: none; }
.nav-discord { display: inline-flex; align-items: center; gap: .4rem; }
.discord-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1rem; padding: .65rem 1.4rem; border-radius: 999px; background: #5865f2; color: #fff; font-family: "Nunito", sans-serif; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; box-shadow: 0 0 0 2px #02040c, inset 0 2px 0 rgba(255, 255, 255, .3), 0 8px 22px rgba(88, 101, 242, .35); transition: transform .15s ease, box-shadow .15s ease; }
.discord-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px #02040c, inset 0 2px 0 rgba(255, 255, 255, .35), 0 0 28px rgba(88, 101, 242, .65); }
.discord-btn .dc-ico { width: 1.4em; height: 1.4em; }
.support-action { display: flex; flex-direction: column; align-items: center; }
@media (prefers-reduced-motion: reduce) { .discord-btn { transition: none; } }
.download .discord-btn { margin-top: 0; }
