:root {
    --bg: #050612;
    --bg-deep: #02030a;
    --surface: #0b0d1a;
    --surface-soft: #101322;
    --text: #f8f8fc;
    --muted: #a9adbf;
    --line: rgba(255, 255, 255, 0.11);
    --pink: #ff2aa8;
    --cyan: #22d9ff;
    --amber: #ff9f3d;
    --danger: #ff4867;
    --content: 1200px;
    --header-height: 78px;
    --radius: 6px;
    --ease: cubic-bezier(.2, .75, .2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: var(--pink) var(--bg-deep);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: var(--pink);
    color: #fff;
}

img,
svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 10px 14px;
    background: #fff;
    color: #050612;
    transform: translateY(-150%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-height);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
    padding: 0 max(24px, calc((100vw - var(--content)) / 2));
    border-bottom: 1px solid transparent;
    transition: background .35s ease, border-color .35s ease, height .35s ease;
}

.site-header.scrolled {
    height: 66px;
    background: rgba(5, 6, 18, .88);
    border-color: var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: max-content;
    gap: 10px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0;
}

.brand img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.brand > span > span {
    color: var(--cyan);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    position: relative;
    padding: 27px 0 22px;
    color: #d9dbe6;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 17px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.discord-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    justify-self: end;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 42, 168, .7);
    background: rgba(5, 6, 18, .25);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.discord-link svg {
    width: 19px;
    fill: currentColor;
}

.discord-link:hover {
    transform: translateY(-2px);
    border-color: var(--cyan);
    background: rgba(34, 217, 255, .09);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    transition: transform .25s ease, opacity .25s ease;
}

.hero {
    position: relative;
    min-height: 780px;
    height: 100svh;
    max-height: 1040px;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -3;
    overflow: hidden;
}

.hero-media img {
    width: 100%;
    height: 108%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

.hero-shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 3, 10, .84) 0%, rgba(2, 3, 10, .48) 46%, rgba(2, 3, 10, .05) 78%),
        linear-gradient(0deg, var(--bg) 0%, transparent 28%);
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--pink), transparent 92%);
}

.hero-content {
    width: min(var(--content), calc(100% - 48px));
    margin: 30px auto 0;
}

.hero-logo {
    width: min(720px, 62vw);
    height: auto;
    margin-left: -36px;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: saturate(1.08) contrast(1.05);
    animation: logo-intro 1.1s var(--ease) both, logo-pulse 6s ease-in-out 1.2s infinite;
}

.hero h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.hero-content > p {
    max-width: 540px;
    margin: -44px 0 28px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 46px;
    line-height: 1.05;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 5px 28px rgba(0, 0, 0, .65);
    animation: rise-in .8s .35s var(--ease) both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: rise-in .8s .5s var(--ease) both;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform .25s var(--ease), background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.button svg {
    width: 18px;
    height: 18px;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: linear-gradient(110deg, #df137f, #ff2aa8 46%, #5f3bf4);
    color: #fff;
    box-shadow: 0 12px 40px rgba(255, 42, 168, .2);
}

.button-primary:hover {
    box-shadow: 0 16px 46px rgba(255, 42, 168, .34);
}

.button-ghost {
    border-color: rgba(255, 255, 255, .32);
    background: rgba(6, 7, 18, .2);
    color: #fff;
    backdrop-filter: blur(5px);
}

.button-ghost:hover {
    border-color: var(--cyan);
    background: rgba(34, 217, 255, .07);
}

.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    width: 32px;
    height: 44px;
    transform: translateX(-50%);
}

.scroll-cue::before,
.scroll-cue::after,
.scroll-cue span::before,
.scroll-cue span::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 2px;
    background: currentColor;
}

.scroll-cue::before,
.scroll-cue span::before {
    left: 2px;
    transform: rotate(45deg);
}

.scroll-cue::after,
.scroll-cue span::after {
    right: 2px;
    transform: rotate(-45deg);
}

.scroll-cue::before,
.scroll-cue::after {
    top: 12px;
    color: var(--pink);
}

.scroll-cue span::before,
.scroll-cue span::after {
    top: 23px;
    color: var(--cyan);
}

.scroll-cue {
    animation: cue-bounce 2s ease-in-out infinite;
}

.section {
    position: relative;
    padding: 116px 0;
    overflow: hidden;
}

.section-inner {
    position: relative;
    z-index: 2;
    width: min(var(--content), calc(100% - 48px));
    margin: 0 auto;
}

.section-line {
    position: absolute;
    top: 50%;
    right: -100px;
    width: 44%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink));
    transform: rotate(-13deg);
    opacity: .5;
}

.section-index {
    margin: 0 0 15px;
    color: var(--pink);
    font-family: "Bebas Neue", sans-serif;
    font-size: 19px;
    line-height: 1;
}

.section-index::after {
    content: "";
    display: inline-block;
    width: 48px;
    height: 1px;
    margin: 0 0 5px 10px;
    background: currentColor;
}

h2,
h3,
p {
    margin-top: 0;
}

h2 {
    margin-bottom: 25px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 68px;
    font-weight: 400;
    line-height: .98;
    letter-spacing: 0;
    text-wrap: balance;
}

.lead {
    color: #d4d6e1;
    font-size: 17px;
    line-height: 1.8;
}

.about {
    background:
        linear-gradient(135deg, rgba(34, 217, 255, .04), transparent 34%),
        var(--bg);
}

.about-layout {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 110px;
    align-items: center;
}

.about-copy .lead {
    max-width: 570px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--pink);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.text-link svg {
    width: 17px;
    transition: transform .2s ease;
}

.text-link:hover svg {
    transform: translateX(4px);
}

.feature-rail {
    border-top: 1px solid var(--line);
}

.feature-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.feature-row > svg {
    width: 34px;
    height: 34px;
    color: var(--cyan);
    stroke-width: 1.45;
}

.feature-row:nth-child(2) > svg {
    color: var(--amber);
}

.feature-row:nth-child(3) > svg {
    color: var(--pink);
}

.feature-row h3 {
    margin-bottom: 5px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    font-weight: 400;
}

.feature-row p {
    margin-bottom: 0;
    color: var(--muted);
}

.store {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.store-backdrop {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: url("../images/los-santos-sunset.jpg");
    background-size: cover;
    background-position: center 70%;
    filter: saturate(.65) contrast(1.2);
    mask-image: linear-gradient(90deg, transparent 5%, #000 58%, transparent 100%);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 460px);
    align-items: end;
    gap: 60px;
    margin-bottom: 58px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading > p {
    margin-bottom: 3px;
    color: var(--muted);
}

.store-grid {
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.store-item {
    position: relative;
    display: grid;
    grid-template-columns: 48px 72px 1fr 28px;
    gap: 24px;
    align-items: center;
    min-height: 126px;
    padding: 24px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    transition: background .3s ease, padding .3s var(--ease);
}

.store-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(var(--pink), var(--cyan));
    transform: scaleY(0);
    transition: transform .3s var(--ease);
}

.store-item:hover {
    padding-left: 30px;
    background: rgba(255, 255, 255, .035);
}

.store-item:hover::before {
    transform: scaleY(1);
}

.store-item > svg:not(.store-arrow) {
    width: 48px;
    height: 48px;
    color: var(--cyan);
    stroke-width: 1.3;
}

.store-item:nth-child(2) > svg:not(.store-arrow) {
    color: var(--pink);
}

.store-item:nth-child(3) > svg:not(.store-arrow) {
    color: var(--amber);
}

.store-number {
    color: rgba(255, 255, 255, .28);
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
}

.store-item h3 {
    margin-bottom: 2px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 32px;
    font-weight: 400;
}

.store-item p {
    margin-bottom: 0;
    color: var(--muted);
}

.store-arrow {
    width: 24px;
    height: 24px;
    transition: transform .25s ease;
}

.store-item:hover .store-arrow {
    transform: translate(4px, -4px);
}

.store-button {
    margin-top: 38px;
}

.rules {
    background:
        linear-gradient(120deg, transparent 50%, rgba(255, 42, 168, .035) 50%),
        var(--bg);
}

.rules-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 110px;
    align-items: start;
}

.rules-copy {
    position: sticky;
    top: 112px;
}

.rules-copy .button {
    margin-top: 16px;
}

.rule-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.rule-list li {
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
    min-height: 82px;
    border-bottom: 1px solid var(--line);
}

.rule-list span {
    color: var(--pink);
    font-family: "Bebas Neue", sans-serif;
    font-size: 25px;
}

.rule-list p {
    margin: 0;
    color: #e6e7ed;
}

.staff {
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.staff-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.staff-rail article {
    position: relative;
    min-width: 0;
    padding: 36px 26px;
    border-right: 1px solid var(--line);
}

.staff-rail article:last-child {
    border-right: 0;
}

.staff-rail article::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--pink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.staff-rail article:nth-child(even)::after {
    background: var(--cyan);
}

.staff-rail article:hover::after {
    transform: scaleX(1);
}

.staff-rail svg {
    width: 36px;
    height: 36px;
    margin-bottom: 32px;
    color: var(--pink);
    stroke-width: 1.4;
}

.staff-rail article:nth-child(even) svg {
    color: var(--cyan);
}

.staff-rail p {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.staff-rail h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

.discord-cta {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
    padding: 90px 24px;
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(0deg, rgba(5, 6, 18, .95), rgba(5, 6, 18, .45)),
        url("../images/los-santos-sunset.jpg") center 62% / cover no-repeat;
}

.discord-cta::before,
.discord-cta::after {
    content: "";
    position: absolute;
    width: 42%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink));
}

.discord-cta::before {
    top: 60px;
    left: -4%;
    transform: rotate(8deg);
}

.discord-cta::after {
    right: -4%;
    bottom: 60px;
    transform: rotate(8deg);
}

.discord-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
}

.discord-content > svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 22px;
    color: var(--cyan);
    stroke-width: 1.35;
}

.discord-content h2 {
    margin-bottom: 14px;
    font-size: 74px;
}

.discord-content p {
    margin-bottom: 30px;
    color: #d4d6e1;
    font-size: 17px;
}

.site-footer {
    min-height: 96px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    padding: 18px max(24px, calc((100vw - var(--content)) / 2));
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
}

.footer-brand img {
    width: 44px;
    height: 44px;
}

.site-footer > p {
    margin: 0;
    color: #85899b;
    font-size: 11px;
    text-align: center;
}

.site-footer nav {
    display: flex;
    justify-self: end;
    gap: 22px;
}

.site-footer nav a {
    color: #a9adbf;
    font-size: 12px;
    transition: color .2s ease;
}

.site-footer nav a:hover {
    color: var(--cyan);
}

/* Subpages */
.subpage {
    background: var(--bg);
}

.subhero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 150px 24px 78px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.subhero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 18, .14) 72%),
        linear-gradient(90deg, rgba(5, 6, 18, .72), transparent 70%),
        url("../images/los-santos-sunset.jpg") center 48% / cover no-repeat;
}

.subhero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--cyan), transparent);
}

.subhero-content {
    position: relative;
    z-index: 2;
    width: min(var(--content), 100%);
    margin: 0 auto;
}

.subhero h1 {
    max-width: 820px;
    margin: 20px 0 12px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 82px;
    font-weight: 400;
    line-height: .95;
}

.subhero-content > p {
    max-width: 600px;
    margin: 0;
    color: #d7d8e1;
    font-size: 18px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.back-link svg {
    width: 17px;
    height: 17px;
    transition: transform .2s ease;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

.catalog-status {
    display: grid;
    grid-template-columns: 62px 1fr auto;
    gap: 26px;
    align-items: center;
    padding: 32px 0 48px;
    border-bottom: 1px solid var(--line);
}

.catalog-status > svg {
    width: 48px;
    height: 48px;
    color: var(--amber);
    stroke-width: 1.35;
}

.catalog-status h2 {
    margin-bottom: 6px;
    font-size: 42px;
}

.catalog-status p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
}

.catalog-list {
    margin-top: 56px;
    border-top: 1px solid var(--line);
}

.shop-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 54px;
    margin-top: 64px;
}

.shop-group {
    min-width: 0;
    scroll-margin-top: 100px;
}

.shop-group-header {
    display: grid;
    grid-template-columns: 38px 52px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 112px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.shop-group-header > span {
    color: rgba(255, 255, 255, .34);
    font-family: "Bebas Neue", sans-serif;
    font-size: 21px;
}

.shop-group-header > svg {
    width: 38px;
    height: 38px;
    color: var(--cyan);
    stroke-width: 1.35;
}

.shop-group:nth-child(2) .shop-group-header > svg {
    color: var(--pink);
}

.shop-group-header h2 {
    margin-bottom: 2px;
    font-size: 39px;
}

.shop-group-header p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.product-list {
    border-bottom: 1px solid var(--line);
}

.product-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 20px;
    align-items: center;
    min-height: 82px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    transition: padding .25s var(--ease), background .25s ease;
}

.product-row:last-child {
    border-bottom: 0;
}

.product-row:hover {
    padding-right: 12px;
    padding-left: 12px;
    background: rgba(255, 255, 255, .03);
}

.product-row h3 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: 27px;
    font-weight: 400;
}

.product-row > span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-row strong {
    color: var(--pink);
    font-size: 10px;
    text-transform: uppercase;
}

.catalog-row {
    display: grid;
    grid-template-columns: 52px 72px 1fr auto;
    gap: 28px;
    align-items: center;
    min-height: 150px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 100px;
}

.catalog-row > span {
    color: rgba(255, 255, 255, .3);
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
}

.catalog-row > svg {
    width: 50px;
    height: 50px;
    color: var(--cyan);
    stroke-width: 1.25;
}

.catalog-row:nth-child(2) > svg {
    color: var(--pink);
}

.catalog-row:nth-child(3) > svg {
    color: var(--amber);
}

.catalog-row h2 {
    margin-bottom: 4px;
    font-size: 38px;
}

.catalog-row p {
    margin: 0;
    color: var(--muted);
}

.catalog-row strong {
    color: var(--pink);
    font-size: 11px;
    text-transform: uppercase;
}

.legal {
    padding-top: 80px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 90px;
    align-items: start;
}

.legal-nav {
    position: sticky;
    top: 100px;
    display: grid;
    border-top: 1px solid var(--line);
}

.legal-nav p {
    margin: 0;
    padding: 18px 0 12px;
    color: var(--pink);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.legal-nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    transition: color .2s ease, padding .2s ease;
}

.legal-nav a:hover {
    padding-left: 6px;
    color: var(--cyan);
}

.legal-content > header {
    max-width: 820px;
    margin-bottom: 60px;
}

.legal-content > header > p:first-child {
    margin-bottom: 8px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.legal-content > header h2 {
    margin-bottom: 18px;
}

.legal-content > header > p:last-child {
    color: var(--muted);
}

.legal-content > section {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 22px;
    padding: 48px 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: 90px;
}

.legal-content > section > span {
    color: var(--pink);
    font-family: "Bebas Neue", sans-serif;
    font-size: 27px;
}

.legal-content section h2 {
    margin-bottom: 20px;
    font-size: 43px;
}

.legal-content ol {
    margin: 0;
    padding-left: 21px;
    color: #d8dae4;
}

.legal-content li {
    margin: 0 0 13px;
    padding-left: 8px;
}

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes logo-intro {
    from { opacity: 0; transform: translate3d(-50px, 0, 0) scale(.96); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes logo-pulse {
    0%, 100% { filter: saturate(1.08) contrast(1.05) drop-shadow(0 0 0 rgba(255, 42, 168, 0)); }
    50% { filter: saturate(1.16) contrast(1.08) drop-shadow(0 0 18px rgba(255, 42, 168, .18)); }
}

@keyframes rise-in {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cue-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(7px); }
}

@media (max-width: 1080px) {
    .site-header {
        grid-template-columns: 1fr auto auto;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 90px 24px 30px;
        background: rgba(3, 4, 12, .97);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-16px);
        transition: opacity .3s ease, visibility .3s ease, transform .3s var(--ease);
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        width: min(360px, 100%);
        padding: 12px 0;
        font-family: "Bebas Neue", sans-serif;
        font-size: 34px;
        font-weight: 400;
        text-align: center;
    }

    .main-nav a::after {
        bottom: 7px;
    }

    .menu-toggle {
        display: block;
        z-index: 2;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-content > p {
        font-size: 40px;
    }

    .about-layout,
    .rules-layout {
        gap: 70px;
    }

    .staff-rail {
        grid-template-columns: repeat(2, 1fr);
    }

    .staff-rail article:nth-child(2) {
        border-right: 0;
    }

    .staff-rail article:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 66px;
    }

    .site-header {
        padding: 0 18px;
    }

    .brand > span {
        display: none;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .header-discord {
        min-height: 38px;
        padding: 0 13px;
        font-size: 11px;
    }

    .hero {
        min-height: 680px;
        max-height: none;
    }

    .hero-media img {
        object-position: 58% center;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(2, 3, 10, .76), rgba(2, 3, 10, .16)),
            linear-gradient(0deg, var(--bg) 0%, transparent 42%);
    }

    .hero-content {
        width: calc(100% - 36px);
        margin-top: 62px;
    }

    .hero-logo {
        width: 106%;
        max-width: 620px;
        margin-left: -5%;
    }

    .hero-content > p {
        max-width: 380px;
        margin-top: -18px;
        font-size: 38px;
    }

    .hero-actions {
        max-width: 420px;
    }

    .button {
        min-height: 48px;
        padding: 0 19px;
        font-size: 12px;
    }

    .section {
        padding: 82px 0;
    }

    .section-inner {
        width: calc(100% - 36px);
    }

    h2 {
        font-size: 52px;
    }

    .lead,
    .discord-content p {
        font-size: 15px;
    }

    .about-layout,
    .rules-layout,
    .section-heading {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-heading {
        align-items: start;
        margin-bottom: 42px;
    }

    .feature-row {
        grid-template-columns: 42px 1fr;
        gap: 14px;
    }

    .store-item {
        grid-template-columns: 32px 48px 1fr 22px;
        gap: 13px;
        min-height: 108px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .store-item:hover {
        padding-left: 15px;
    }

    .store-item > svg:not(.store-arrow) {
        width: 34px;
        height: 34px;
    }

    .store-item h3 {
        font-size: 27px;
    }

    .store-item p {
        font-size: 12px;
    }

    .rules-copy {
        position: static;
    }

    .rule-list li {
        grid-template-columns: 48px 1fr;
        min-height: 74px;
    }

    .rule-list p {
        font-size: 14px;
    }

    .staff-rail {
        grid-template-columns: 1fr;
    }

    .staff-rail article,
    .staff-rail article:nth-child(2) {
        display: grid;
        grid-template-columns: 46px 1fr;
        gap: 18px;
        align-items: center;
        padding: 24px 8px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .staff-rail article:last-child {
        border-bottom: 0;
    }

    .staff-rail svg {
        margin: 0;
    }

    .discord-cta {
        min-height: 430px;
    }

    .discord-content h2 {
        font-size: 56px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
        padding: 28px 18px;
    }

    .site-footer nav {
        justify-self: center;
    }

    .subhero {
        min-height: 420px;
        padding: 120px 18px 58px;
    }

    .subhero h1 {
        font-size: 62px;
    }

    .subhero-content > p {
        font-size: 15px;
    }

    .catalog-status {
        grid-template-columns: 48px 1fr;
        gap: 18px;
    }

    .catalog-status > svg {
        width: 38px;
        height: 38px;
    }

    .catalog-status .button {
        grid-column: 1 / -1;
        width: max-content;
    }

    .catalog-row {
        grid-template-columns: 32px 44px 1fr;
        gap: 14px;
        min-height: 130px;
    }

    .catalog-row > svg {
        width: 34px;
        height: 34px;
    }

    .catalog-row h2 {
        font-size: 31px;
    }

    .catalog-row p {
        font-size: 12px;
    }

    .catalog-row strong {
        grid-column: 3;
    }

    .shop-groups {
        grid-template-columns: 1fr;
        gap: 62px;
        margin-top: 52px;
    }

    .shop-group-header {
        grid-template-columns: 32px 44px 1fr;
        gap: 12px;
    }

    .shop-group-header > svg {
        width: 32px;
        height: 32px;
    }

    .shop-group-header h2 {
        font-size: 34px;
    }

    .product-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .product-row > span {
        display: none;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .legal-nav {
        position: static;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 18px;
    }

    .legal-nav p {
        grid-column: 1 / -1;
    }

    .legal-content > section {
        grid-template-columns: 42px 1fr;
        gap: 12px;
    }

    .legal-content section h2 {
        font-size: 36px;
    }
}

@media (max-width: 440px) {
    .header-discord {
        width: 40px;
        padding: 0;
        font-size: 0;
    }

    .header-discord svg {
        width: 20px;
    }

    .hero-content > p {
        font-size: 34px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .section-index {
        font-size: 17px;
    }

    h2,
    .discord-content h2 {
        font-size: 46px;
    }

    .store-item {
        grid-template-columns: 30px 42px 1fr;
    }

    .store-arrow {
        display: none;
    }

    .site-footer nav {
        gap: 16px;
    }
}

@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;
    }
}
