:root {
  --black: #0b0b0c;
  --soft-black: #111113;
  --surface: #171719;
  --white: #f6f3ef;
  --muted: #9c9a98;
  --line: rgba(255, 255, 255, 0.13);
  --red: #e52a1d;
  --orange: #ff6714;
  --display: "Manrope", sans-serif;
  --body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--black); color: var(--white); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; background: white; color: black; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 88px; padding: 0 clamp(1.3rem, 4.5vw, 5.5rem); display: flex; align-items: center; justify-content: space-between; background: rgba(11, 11, 12, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); transition: height .3s, background .3s, border-color .3s; }
.site-header.scrolled { height: 70px; background: rgba(11, 11, 12, .86); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: .7rem; font: 600 .82rem var(--display); letter-spacing: -.01em; }
.brand img { width: 33px; height: 33px; object-fit: contain; }
.brand b { color: var(--muted); font-weight: 500; }
.minimech-brand img { width: clamp(118px, 13vw, 150px); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3.5rem); color: #c5c3c0; font-size: .72rem; font-weight: 500; }
.site-nav a { transition: color .2s; }
.site-nav a:hover { color: white; }
.nav-button { padding: .72rem 1.05rem; border: 1px solid rgba(255,255,255,.4); border-radius: 100px; }
.nav-button:hover { background: white; color: black !important; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 100svh; padding: 160px clamp(1.3rem, 8vw, 10rem) 90px; display: flex; align-items: center; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.hero-content { position: relative; z-index: 3; width: 100%; max-width: 1050px; }
.kicker { margin: 0 0 2.2rem; color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.065em; line-height: .95; }
h1 { font-size: clamp(4rem, 8.7vw, 9rem); }
h1 em, h2 em { color: var(--red); font-style: normal; }
.hero-lede { max-width: 580px; margin: 2.5rem 0; color: #aaa8a5; font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.7; }
.arrow-link { display: inline-flex; align-items: center; gap: 1rem; font-size: .78rem; font-weight: 500; }
.arrow-link span { padding-bottom: .4rem; border-bottom: 1px solid #555; }
.arrow-link i { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #444; border-radius: 50%; color: var(--red); font-style: normal; transition: transform .2s, background .2s; }
.arrow-link:hover i { transform: translateY(4px); background: var(--red); color: white; border-color: var(--red); }
.hero-mark { position: absolute; z-index: 1; width: min(45vw, 670px); right: -3vw; top: 50%; transform: translateY(-50%); opacity: .15; }
.hero-mark img { width: 100%; filter: saturate(.8); }
.hero-orbit { position: absolute; z-index: 0; width: min(63vw, 900px); aspect-ratio: 1; right: -12vw; top: 50%; border: 1px solid rgba(255,255,255,.045); border-radius: 50%; transform: translateY(-50%); }
.hero-orbit i { position: absolute; inset: 14%; border: 1px solid rgba(255,255,255,.04); border-radius: 50%; }
.hero-orbit i:nth-child(2) { inset: 28%; }.hero-orbit i:nth-child(3) { inset: 42%; background: rgba(229,42,29,.035); }
.hero-meta { position: absolute; z-index: 3; left: clamp(1.3rem, 4.5vw, 5.5rem); right: clamp(1.3rem, 4.5vw, 5.5rem); bottom: 2.2rem; display: flex; justify-content: space-between; color: #656463; font-size: .62rem; text-transform: uppercase; letter-spacing: .11em; }
.quiet-link, .inline-link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; transition: color .2s, text-decoration-color .2s; }
.quiet-link:hover, .inline-link:hover { color: var(--white); text-decoration-color: currentColor; }

.game { position: relative; min-height: 1000px; padding: clamp(9rem, 13vw, 12rem) clamp(1.3rem, 8vw, 10rem) clamp(6rem, 10vw, 9rem); display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 5rem; overflow: hidden; background: #e8e6e0; color: #101011; }
.game-backdrop { position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(255,94,0,.12), transparent 32%), linear-gradient(135deg, transparent 49.8%, rgba(0,0,0,.035) 49.9%, rgba(0,0,0,.035) 50.1%, transparent 50.2%); }
.game-logo-wrap { position: relative; z-index: 2; grid-column: 1 / -1; align-self: center; }
.game-logo-wrap img { width: min(100%, 1250px); margin: 0 auto; filter: drop-shadow(0 25px 18px rgba(0,0,0,.18)); }
.game-details { position: relative; z-index: 2; max-width: 650px; justify-self: center; text-align: center; }
.beta-badge { display: flex; align-items: center; justify-content: center; gap: .65rem; margin-bottom: 2rem; font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.beta-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255,103,20,.12); animation: pulse 2s infinite; }
.game-details h2 { font-size: clamp(2.4rem, 4vw, 4.5rem); }
.game-details p { max-width: 540px; margin: 1.6rem auto 2rem; color: #595856; font-size: .95rem; line-height: 1.75; }
.button { display: inline-flex; min-width: 215px; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-radius: 3px; background: #111; color: white; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; transition: background .2s, transform .2s; }
.button:hover { background: var(--red); transform: translateY(-2px); }

.gameplay { padding: clamp(6rem, 11vw, 10rem) clamp(1.3rem, 6vw, 7rem); background: #0e0e0f; }
.gameplay-intro { margin-bottom: clamp(4rem, 7vw, 7rem); }
.gameplay-intro h2 { font-size: clamp(3.5rem, 6.5vw, 7rem); }
.gameplay-intro h2 em { color: var(--orange); }
.gameplay-intro > div:last-child > p { max-width: 590px; margin: 1.8rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.75; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2.5rem); }
.media-card { margin: 0; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 443 / 865; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; background: #050505; }
.video-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; }
.media-card figcaption { display: flex; align-items: flex-start; gap: 1rem; padding: 1.15rem .15rem 0; }
.media-card figcaption > span { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border: 1px solid #4e4e50; border-radius: 50%; color: var(--orange); font-size: .55rem; }
.media-card figcaption div { display: flex; flex-direction: column; gap: .25rem; }
.media-card figcaption strong { font: 600 .78rem var(--display); }
.media-card figcaption small { color: #777578; font-size: .62rem; }

.about-game { padding: clamp(6rem, 11vw, 11rem) clamp(1.3rem, 8vw, 10rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem 9vw; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-game-heading h2 { position: sticky; top: 120px; font-size: clamp(3.8rem, 6.8vw, 7.2rem); }
.about-game-heading h2 em { display: block; color: var(--orange); }
.about-game-content { max-width: 720px; }
.about-lede { margin: 0; color: var(--white); font: 500 clamp(1.3rem, 2.1vw, 2rem) / 1.45 var(--display); letter-spacing: -.025em; }
.about-disclosure { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.about-disclosure p { margin: 0; color: #aaa8a5; font-size: .9rem; line-height: 1.8; }
.about-disclosure p + p { margin-top: 1.4rem; }
.rules-link { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding: 1.35rem 1.45rem; border: 1px solid var(--line); border-radius: 4px; transition: background .2s, border-color .2s; }
.rules-link:hover { background: rgba(255,103,20,.08); border-color: rgba(255,103,20,.6); }
.rules-link > span { display: flex; flex-direction: column; gap: .45rem; }
.rules-link strong { font: 600 .78rem var(--display); }
.rules-link small { color: #777578; font-size: .6rem; overflow-wrap: anywhere; }
.rules-link i { color: var(--orange); font-style: normal; }

.support { padding: clamp(6rem, 11vw, 11rem) clamp(1.3rem, 8vw, 10rem); display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem 8vw; }
.support-title h2 { font-size: clamp(3.4rem, 6.4vw, 7rem); }
.support-content > p { margin: 0; color: #aaa8a5; font-size: .95rem; line-height: 1.8; }
.connect { position: relative; min-height: 650px; display: grid; place-items: center; padding: 6rem 1.3rem; overflow: hidden; text-align: center; background: var(--red); }
.connect::before { content: ""; position: absolute; width: 720px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 110px rgba(255,255,255,.035), 0 0 0 220px rgba(255,255,255,.025); }
.connect-inner { position: relative; z-index: 2; max-width: 780px; }
.connect .kicker { color: rgba(255,255,255,.7); }
.connect h2 { font-size: clamp(4rem, 8vw, 8rem); }
.connect-inner > p:not(.kicker, .empty-note) { max-width: 570px; margin: 2rem auto; color: rgba(255,255,255,.8); line-height: 1.7; }
.connect-inner > .connect-involvement { margin-top: -1rem; color: white; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.social-links a { display: flex; gap: 1.5rem; justify-content: space-between; min-width: 130px; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; font-size: .7rem; font-weight: 600; text-transform: uppercase; }
.social-links a:hover { background: white; color: var(--red); }
.social-links .discord-link { min-width: 180px; align-items: center; background: white; border-color: white; color: #111; }
.social-links .discord-link:hover { background: #5865f2; border-color: #5865f2; color: white; transform: translateY(-2px); }
.discord-icons { position: relative; width: 24px; height: 18px; flex: 0 0 24px; }
.discord-icons img { position: absolute; inset: 0; width: 24px; height: 18px; object-fit: contain; transition: opacity .15s; }
.discord-icon-hover { opacity: 0; }
.discord-link:hover .discord-icon-default { opacity: 0; }
.discord-link:hover .discord-icon-hover { opacity: 1; }
.empty-note { color: rgba(255,255,255,.65); font-size: .7rem; font-style: italic; }
.support { min-height: 720px; background: var(--soft-black); }
.support-title h2 em { color: var(--red); }
.support-content { align-self: end; max-width: 580px; }
.support-links { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.support-link { display: flex; justify-content: space-between; padding: 1.2rem .2rem; border-bottom: 1px solid var(--line); font-size: .75rem; font-weight: 500; transition: padding .2s, color .2s; }
.support-link:hover { padding-left: .7rem; color: var(--red); }
.support .empty-note { color: var(--muted); }
.site-footer { padding: 3.5rem clamp(1.3rem, 4.5vw, 5.5rem); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: #747270; font-size: .58rem; line-height: 1.7; text-align: center; text-transform: uppercase; letter-spacing: .07em; }
.site-footer .studio-credit { max-width: 720px; text-align: left; }
.top-link { justify-self: end; color: var(--muted); font-size: .66rem; }
.top-link:hover { color: white; }

.licenses-main { min-height: 100svh; padding: 150px clamp(1.3rem, 8vw, 10rem) 8rem; }
.licenses-header { max-width: 920px; margin-bottom: 5rem; }
.licenses-header h1 { font-size: clamp(4rem, 8vw, 8rem); }
.licenses-header p { max-width: 600px; margin: 2rem 0 0; color: var(--muted); line-height: 1.75; }
.license-list { max-width: 920px; border-top: 1px solid var(--line); }
.license-item { display: grid; grid-template-columns: .65fr 1.35fr; gap: 2rem 5vw; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.license-item h2 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.035em; }
.license-item p { margin: 0; color: #aaa8a5; font-size: .85rem; line-height: 1.75; }
.license-item p + p { margin-top: .8rem; }
.license-item a { color: var(--orange); text-decoration: underline; text-underline-offset: .2em; }
.license-back { margin-top: 3rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(255,103,20,0); } }

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .menu-toggle { position: relative; z-index: 2; display: grid; gap: 7px; padding: .7rem; border: 0; background: none; }
  .menu-toggle span:not(.sr-only) { width: 25px; height: 1px; background: white; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; padding: 7rem 2rem 3rem; flex-direction: column; justify-content: center; background: rgba(11,11,12,.98); font: 500 2rem var(--display); transform: translateX(100%); transition: transform .3s; }
  .site-nav.open { transform: none; }
  .nav-button { margin-top: 1rem; font: 600 .75rem var(--body); }
  .hero { min-height: 820px; padding-top: 130px; }
  .hero-mark { width: 72vw; right: -18vw; opacity: .1; }
  .game { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; gap: 4rem; }
  .game-logo-wrap { grid-column: 1; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .media-card:first-child { grid-column: 1 / -1; width: calc(50% - .75rem); justify-self: center; }
  .about-game { grid-template-columns: 1fr; }
  .about-game-heading h2 { position: static; }
  .support { grid-template-columns: 1fr; min-height: auto; }
  .site-footer { grid-template-columns: 1fr auto; }
}

@media (max-width: 600px) {
  .brand span { font-size: .82rem; }
  .hero { min-height: 760px; padding-left: 1.25rem; padding-right: 1.25rem; }
  h1 { font-size: clamp(3.5rem, 15vw, 5.2rem); }
  .hero-meta { left: 1.25rem; right: 1.25rem; }
  .game, .support { padding: 5.5rem 1.25rem; }
  .game-logo-wrap { margin: 1rem -1rem; }
  .gameplay { padding: 5.5rem 1.25rem; }
  .video-grid { grid-template-columns: 1fr; gap: 3rem; }
  .media-card:first-child { grid-column: auto; width: 100%; }
  .about-game { padding: 5.5rem 1.25rem; }
  .connect { min-height: 570px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .license-item { grid-template-columns: 1fr; gap: 1rem; }
  .top-link { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
