:root {
  color-scheme: dark;
  --background: #0a090d;
  --surface: #111015;
  --surface-raised: #17151c;
  --border: rgba(255, 255, 255, .09);
  --text: #f5f2f6;
  --muted: #a19ca8;
  --red: #ef354e;
  --purple: #a363ee;
  --font-display: "Oxanium", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --content-width: clamp(1160px, 80vw, 2200px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 48% -15%, rgba(119, 43, 82, .13), transparent 49%);
  content: "";
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: white;
  color: #111;
  padding: 10px 14px;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  background: rgba(10, 9, 13, .86);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }

.header-wordmark { display: block; width: 105px; height: auto; mix-blend-mode: screen; }
.header-brand-label { margin-left: -5px; color: #fff; font-family: "Arial Black", Arial, sans-serif; font-size: 22px; font-style: italic; font-weight: 900; letter-spacing: -.045em; text-transform: uppercase; transform: skewX(-7deg); }

.brand-mark {
  display: block;
  width: 35px;
  height: 35px;
  overflow: hidden;
  border: 1px solid rgba(239, 53, 78, .35);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(239, 53, 78, .17), rgba(163, 99, 238, .1));
}

.brand-logo { display: block; width: 70px; height: 35px; max-width: none; mix-blend-mode: screen; transform: translateX(-18px); }
.brand-name { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .13em; }
.brand-name span { color: #aaa4b0; font-weight: 500; }

.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav > a:not(.button) { color: #c4bfca; font-size: 13px; transition: color .2s ease; }
.primary-nav > a:not(.button):hover,
.primary-nav > a:not(.button):focus-visible { color: white; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible,
a:focus-visible,
summary:focus-visible,
button:focus-visible { outline: 2px solid #e76d96; outline-offset: 4px; }
.button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.button-small { min-height: 39px; padding: 0 14px; font-size: 12px; }

.button-discord {
  border-color: rgba(163, 99, 238, .24);
  background: rgba(138, 73, 198, .12);
  color: #e5d1ff;
}

.button-discord:hover { border-color: rgba(163, 99, 238, .6); background: rgba(138, 73, 198, .2); }

.menu-toggle { display: none; }

.hero {
  position: relative;
  display: flex;
  min-height: 500px;
  align-items: center;
  overflow: hidden;
  padding: 66px max(32px, calc((100% - var(--content-width)) / 2)) 60px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: -10px;
  background: url("assets/hero-profile.png") 55% 55% / cover no-repeat;
  content: "";
  filter: blur(7px);
  opacity: .31;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,9,13,.9) 0%, rgba(10,9,13,.72) 43%, rgba(10,9,13,.47) 100%), linear-gradient(0deg, #0a090d 0%, transparent 36%, rgba(10,9,13,.2) 100%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .15;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-position: center center;
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-red { top: 9%; left: -20%; width: 540px; height: 500px; background: radial-gradient(circle, rgba(133, 31, 52, .22), transparent 67%); }
.hero-glow-violet { top: 0; right: 3%; width: 680px; height: 580px; background: radial-gradient(circle, rgba(77, 42, 119, .2), transparent 67%); }
.hero-content { position: relative; z-index: 2; width: min(585px, 58%); }

.eyebrow {
  margin: 0;
  color: #c5bfc9;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
}

.hero .eyebrow { display: flex; align-items: center; gap: 10px; color: #e9b9c3; }
.status-dot,
.detail-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e75169; box-shadow: 0 0 12px rgba(239, 53, 78, .8); }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 { font-family: var(--font-display); }

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.07;
}

.hero-title-line { display: block; margin-top: 10px; font-size: .48em; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.text-gradient { background: linear-gradient(100deg, #f17481 4%, #c16be4 90%); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy { max-width: 460px; margin-bottom: 25px; color: #aaa4b0; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }

.button-primary {
  background: linear-gradient(105deg, #be334a, #a4478e 100%);
  box-shadow: 0 6px 24px rgba(185, 42, 76, .2), inset 0 1px rgba(255, 255, 255, .14);
  color: white;
}

.button-primary:hover { box-shadow: 0 9px 30px rgba(185, 42, 76, .36), 0 0 28px rgba(163, 99, 238, .13); }

.button-secondary {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .025);
  color: #e8e4eb;
}

.button-secondary:hover { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .055); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 21px; margin-top: 40px; color: #938d99; font-size: 11px; }
.meta-icon { margin-right: 5px; color: #d66685; }

.section-wrap { width: min(var(--content-width), calc(100% - 64px)); margin-right: auto; margin-left: auto; }
.collection { padding-top: 50px; padding-bottom: 90px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-eyebrow { margin-bottom: 11px; color: #c56d83; }
.section-heading h2 { margin: 0 0 8px; color: var(--text); font-size: clamp(32px, 3.4vw, 42px); font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.section-description { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.section-index { padding-bottom: 8px; color: #d4ced8; font-family: var(--font-display); font-size: 10px; letter-spacing: .14em; }
.section-index span { color: #6d6773; }

.preset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.preset-card[id] { scroll-margin-top: 96px; }
.preset-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(25, 23, 30, .98), rgba(16, 15, 20, .98));
  box-shadow: 0 16px 38px rgba(0, 0, 0, .17);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.preset-card:hover { transform: translateY(-4px); border-color: rgba(191, 83, 133, .4); box-shadow: 0 19px 48px rgba(0, 0, 0, .28), 0 0 25px rgba(163, 63, 115, .07); }

.preset-preview {
  position: relative;
  display: block;
  height: clamp(190px, 25vw, 270px);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, #2d2439, #16151d 74%);
}

.preview-lcs { background: #17151c; }
.preview-lcs::after,
.preview-gamma::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(10,9,13,.4), transparent 55%), linear-gradient(0deg, rgba(10,9,13,.28), transparent 32%); content: ""; pointer-events: none; }
.preview-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 61%; }
.preview-gamma { background: radial-gradient(ellipse at 68% 37%, rgba(178, 98, 218, .28), transparent 27%), linear-gradient(150deg, #30223b, #15151f 72%); }
.preview-label { position: absolute; z-index: 3; top: 18px; left: 20px; color: rgba(255, 255, 255, .77); font-family: var(--font-display); font-size: 9px; letter-spacing: .2em; }
.preview-sun { position: absolute; top: 18%; right: 21%; width: 19%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, #efb999, #cf6078); box-shadow: 0 0 45px rgba(226, 103, 138, .42); }
.preview-gamma .preview-sun { background: linear-gradient(145deg, #d6aae3, #9f54b8); box-shadow: 0 0 45px rgba(177, 91, 220, .4); }
.preview-horizon { position: absolute; z-index: 1; right: -4%; bottom: 20%; left: -4%; height: 42%; clip-path: polygon(0 80%, 12% 54%, 23% 69%, 39% 27%, 51% 58%, 68% 16%, 78% 53%, 92% 23%, 100% 44%, 100% 100%, 0 100%); background: linear-gradient(130deg, #664356, #292638 71%); }
.preview-road { position: absolute; z-index: 2; right: 15%; bottom: -10%; left: 18%; height: 42%; clip-path: polygon(42% 0, 57% 0, 100% 100%, 0 100%); background: linear-gradient(90deg, #191820, #453448 51%, #17161f); }
.preview-road::after { position: absolute; top: 4%; left: 49%; width: 2px; height: 95%; background: linear-gradient(#f3bac8, transparent); box-shadow: 0 0 8px #f28aa6; content: ""; }
.preview-car { position: absolute; z-index: 3; right: 32%; bottom: 19%; width: 32%; height: 16%; filter: drop-shadow(0 6px 9px rgba(232, 71, 113, .4)); }
.preview-car::before { position: absolute; right: 4%; bottom: 11%; left: 4%; height: 61%; clip-path: polygon(7% 36%, 27% 22%, 38% 0, 66% 0, 82% 28%, 96% 38%, 100% 84%, 8% 94%, 0 71%); background: linear-gradient(100deg, #9d3151, #ed7288 51%, #9a3e79); content: ""; }
.preview-car i { position: absolute; z-index: 1; top: 3%; left: 33%; width: 37%; height: 42%; clip-path: polygon(20% 0, 72% 0, 100% 100%, 0 100%); background: #1c1924; }
.preview-car b,
.preview-car em { position: absolute; z-index: 2; bottom: 0; width: 12%; height: 24%; border-radius: 2px; background: #111016; }
.preview-car b { left: 17%; }.preview-car em { right: 16%; }
.preview-grain { position: absolute; z-index: 4; inset: 0; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); pointer-events: none; }
.preview-number { position: absolute; right: 20px; bottom: 12px; color: rgba(255,255,255,.36); font-family: var(--font-display); font-size: 26px; font-weight: 600; }

.card-content { padding: 22px 23px 23px; }
.card-topline { display: flex; min-height: 23px; align-items: center; justify-content: space-between; gap: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 22px; border: 1px solid; border-radius: 4px; padding: 0 8px; font-family: var(--font-display); font-size: 9px; font-weight: 600; letter-spacing: .09em; }
.pill-lcs { border-color: rgba(226, 96, 123, .3); background: rgba(177, 49, 78, .12); color: #f19baa; }
.pill-gamma { border-color: rgba(176, 111, 217, .34); background: rgba(126, 67, 170, .14); color: #d7adf3; }
.card-version { color: #8f8995; font-family: var(--font-display); font-size: 9px; letter-spacing: .13em; }
.card-content h3 { margin: 15px 0 8px; font-size: 20px; font-weight: 700; letter-spacing: 0; }
.card-content > p { min-height: 47px; margin-bottom: 17px; color: #a59faa; font-size: 12px; line-height: 1.75; }
.card-details { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 19px; color: #8f8995; font-size: 10px; }
.detail-dot { width: 6px; height: 6px; margin-right: 5px; vertical-align: 1px; }
.button-download { width: 100%; min-height: 44px; justify-content: flex-start; border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .035); color: #eee9f1; }
.button-download:hover { border-color: rgba(204, 89, 143, .48); background: rgba(155, 61, 110, .1); }
.button-download svg { color: #e57b9d; }
.download-size { margin-left: auto; color: #8c8492; font-family: var(--font-display); font-size: 9px; letter-spacing: .13em; }

.community-section { padding-bottom: 94px; }
.community-card { position: relative; min-height: 285px; overflow: hidden; border: 1px solid rgba(194, 80, 119, .2); border-radius: 13px; background: #17141e; }
.community-card::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(15, 11, 17, .8) 0%, rgba(15, 11, 17, .58) 44%, rgba(15, 11, 17, .16) 100%); content: ""; pointer-events: none; }
.community-card::after { position: absolute; z-index: 0; inset: 0; background: url("assets/discord-banner.png") center 52% / cover no-repeat; content: ""; filter: brightness(1.6); }
.community-content { position: relative; z-index: 3; width: min(520px, 69%); padding: 38px 44px; }
.community-content .eyebrow { color: #d47d91; }
.community-content h2 { margin: 13px 0 10px; font-size: clamp(31px, 4vw, 43px); font-weight: 700; letter-spacing: 0; line-height: 1.13; }
.community-content > p:not(.eyebrow) { max-width: 390px; margin-bottom: 19px; color: #a69eaa; font-size: 12px; }
.community-content .button { min-height: 43px; }
.supporters-section { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 76px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: linear-gradient(115deg, rgba(23,21,28,.9), rgba(15,14,19,.82)); padding: 24px 28px; }
.supporters-heading .eyebrow { margin-bottom: 7px; color: #d47d91; }
.supporters-heading h2 { margin: 0 0 5px; font-size: clamp(24px, 3vw, 31px); font-weight: 700; }
.supporters-heading > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.supporter-list { display: flex; min-height: 0; align-items: flex-start; justify-content: flex-start; gap: 10px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.supporter-item { display: inline-flex; min-height: 42px; align-items: center; gap: 12px; border: 1px solid rgba(239, 53, 78, .2); border-radius: 8px; background: rgba(177, 49, 78, .08); padding: 0 14px; }
.supporter-rank { color: #e77b91; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.supporter-name { color: #f5f2f6; font-size: 14px; font-weight: 700; }
.site-footer { border-top: 1px solid rgba(255,255,255,.06); background: rgba(7,7,10,.5); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 20px; padding-top: 24px; padding-bottom: 24px; }
.footer-brand { grid-column: 1; }
.footer-note { grid-column: 1; margin: 1px 0 0; color: #837d89; font-size: 10px; }
.footer-social { grid-column: 2; grid-row: 1 / span 2; color: #c2b9c8; font-size: 11px; }
.footer-social span { margin-left: 4px; color: #d47796; }
.copyright,.disclaimer { margin: 0; color: #716b76; font-size: 9px; }
.copyright { grid-column: 1; margin-top: 7px; }
.disclaimer { grid-column: 2; grid-row: 3; justify-self: end; }
.made-by { grid-column: 2; grid-row: 4; justify-self: end; margin: 0; color: #c2b9c8; font-size: 11px; font-weight: 700; letter-spacing: .06em; }

[data-reveal] { opacity: 1; transform: translateY(0); }
.js-ready [data-reveal] { opacity: 0; transform: translateY(15px); transition: opacity .55s ease, transform .55s ease; }
.js-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1600px) {
  .hero { min-height: clamp(540px, 40vw, 760px); }
  .hero-content { width: min(850px, 62%); }
  .hero h1 { font-size: clamp(66px, 4.7vw, 100px); }
  .hero-copy { max-width: 620px; font-size: clamp(15px, 1vw, 18px); }
  .hero-actions .button { font-size: clamp(13px, .9vw, 17px); }
  .hero-meta { font-size: clamp(11px, .75vw, 14px); }
  .collection { padding-top: clamp(50px, 5vw, 90px); }
  .section-heading h2 { font-size: clamp(42px, 3vw, 58px); }
  .section-description { font-size: clamp(15px, 1vw, 18px); }
  .preset-grid { gap: clamp(19px, 1.5vw, 34px); }
  .preset-preview { height: clamp(300px, 22vw, 470px); }
  .card-content { padding: clamp(23px, 2vw, 36px); }
  .card-content h3 { font-size: clamp(20px, 1.5vw, 28px); }
  .card-content > p { font-size: clamp(12px, 1vw, 16px); }
  .card-details { font-size: clamp(10px, .8vw, 13px); }
}

@media (max-width: 900px) {
  .primary-nav { gap: 19px; }
  .primary-nav > a:not(.button) { font-size: 12px; }
  .hero { min-height: 480px; }
  .hero-content { width: 62%; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .header-inner,.footer-inner,.section-wrap { width: min(100% - 40px, var(--content-width)); }
  .header-inner { min-height: 66px; }
  .brand-name { font-size: 12px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(255,255,255,.03); flex-direction: column; }
  .menu-toggle span { display: block; width: 17px; height: 1.5px; border-radius: 2px; background: #eee8f0; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; border-bottom: 1px solid var(--border); background: rgba(12, 11, 16, .97); padding: 8px 20px 19px; box-shadow: 0 18px 28px rgba(0,0,0,.25); flex-direction: column; }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.button) { border-bottom: 1px solid rgba(255,255,255,.055); padding: 12px 3px; font-size: 13px; }
  .primary-nav .nav-discord { align-self: flex-start; margin-top: 13px; }
  .hero { min-height: 690px; align-items: flex-start; padding: 79px 20px 112px; }
  .hero-content { width: 100%; }
  .hero h1 { max-width: 520px; font-size: clamp(42px, 10.2vw, 62px); }
  .hero-title-line { max-width: 400px; margin-top: 11px; font-size: .5em; }
  .hero-copy { max-width: 425px; font-size: 14px; }
  .hero::before { background-position: 59% 55%; opacity: .25; }
  .hero-meta { max-width: 330px; gap: 9px 16px; margin-top: 28px; }
  .collection { padding-top: 68px; padding-bottom: 69px; }
  .section-heading { align-items: flex-start; margin-bottom: 23px; }
  .section-index { display: none; }
  .section-heading h2 { font-size: clamp(27px, 7vw, 36px); }
  .section-description { max-width: 440px; font-size: 12px; }
  .preset-grid { grid-template-columns: minmax(0, 1fr); }
  .preset-preview { height: clamp(190px, 59vw, 290px); }
  .card-content { padding: 20px; }
  .card-content > p { min-height: 0; }
  .community-section { padding-bottom: 68px; }
  .community-card { min-height: 320px; }
  .community-content { width: 100%; padding: 30px 24px; }
  .community-content h2 { font-size: 37px; }
  .community-content > p:not(.eyebrow) { max-width: 350px; }
  .community-card::after { background-position: 57% center; }
  .supporters-section { gap: 15px; margin-bottom: 58px; padding: 20px; }
}

@media (max-width: 420px) {
  .header-inner,.footer-inner,.section-wrap { width: calc(100% - 32px); }
  .hero { min-height: 675px; padding-right: 16px; padding-left: 16px; }
  .hero h1 { font-size: 41px; }
  .hero-title-line { font-size: .47em; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-meta { font-size: 10px; }
  .footer-inner { grid-template-columns: 1fr; gap: 9px; }
  .footer-brand,.footer-note,.footer-social,.copyright,.disclaimer,.made-by { grid-column: 1; grid-row: auto; justify-self: start; }
  .footer-social { margin-top: 3px; }
  .copyright { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
}
