:root {
    --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-head: "Rajdhani", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

    --bg: #0b0d10;
    --stroke: rgba(255, 255, 255, 0.10);

    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.70);

    --mxm-red: #d32b28;
    --mxm-red-alt: #c22720;

    --ncr-green: #2dd348;

    --radius: 18px;
    --shadow: 0 18px 55px rgba(0, 0, 0, 0.55);

    --aura-accent: var(--mxm-red);
    --aura-secondary: #fdfdfd;


    --cursor-box: 68px;
    --cursor-icon-size: 62px;


    --cursor-icon: url("assets/cursor/key.png");


    --tilt-max: 16deg;

    --tilt-perspective: 1200px;

    --tilt-glare: 0.18;

}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: radial-gradient(1100px 820px at 65% 0%, rgba(211, 43, 40, 0.12), transparent 60%),
        radial-gradient(900px 700px at 20% 12%, rgba(45, 211, 72, 0.06), transparent 60%),
        var(--bg);
    overflow-x: hidden;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.container--wide {
    width: min(1320px, calc(100% - 36px));
    margin: 0 auto;
}


.bg-carbon {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.10;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cdefs%3E%3Cpattern id='p' width='28' height='28' patternUnits='userSpaceOnUse' patternTransform='skewX(-20)'%3E%3Cpath d='M0 0h28v28H0z' fill='transparent'/%3E%3Cpath d='M0 14 L14 0 L28 14 L14 28 Z' fill='rgba(255,255,255,0.10)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='260' height='260' fill='url(%23p)' opacity='.25'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.bg-glow {
    position: fixed;
    inset: -120px;
    pointer-events: none;
    background:
        radial-gradient(900px 600px at 25% 15%, rgba(211, 43, 40, 0.12), transparent 60%),
        radial-gradient(800px 520px at 80% 10%, rgba(45, 211, 72, 0.06), transparent 60%),
        radial-gradient(700px 520px at 70% 80%, rgba(255, 255, 255, 0.03), transparent 70%);
    filter: blur(8px);
    opacity: 0.9;
    animation: bgFloat 9s ease-in-out infinite;
}

@keyframes bgFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -12px, 0);
    }
}


.cursor {
    display: none;
}

@media (pointer: fine) {

    body,
    a,
    button,
    input,
    textarea,
    select {
        cursor: none;
    }

    .cursor {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: var(--cursor-box);
        height: var(--cursor-box);
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 9999;
        filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.50));
        opacity: 0.96;
        transition: transform 140ms ease, filter 160ms ease, opacity 160ms ease;
        background-repeat: no-repeat;
        background-position: center;
        background-size: var(--cursor-icon-size) var(--cursor-icon-size);
        background-image: var(--cursor-icon);
    }

    .cursor.is-hover {
        transform: translate(-50%, -50%) scale(1.12) rotate(-10deg);
        filter: drop-shadow(0 16px 22px rgba(211, 43, 40, 0.18)) drop-shadow(0 16px 22px rgba(0, 0, 0, 0.55));
    }

    .cursor.is-text {
        transform: translate(-50%, -50%) scale(0.98) rotate(0deg);
        opacity: 0.82;
    }

    .cursor.is-click {
        animation: cursorClick 220ms ease;
    }

    @keyframes cursorClick {
        0% {
            transform: translate(-50%, -50%) scale(1.12) rotate(-10deg);
        }

        60% {
            transform: translate(-50%, -50%) scale(1.24) rotate(-10deg);
        }

        100% {
            transform: translate(-50%, -50%) scale(1.12) rotate(-10deg);
        }
    }

    .cursor::after {
        content: "";
        position: absolute;
        left: 56%;
        top: 52%;
        width: 10px;
        height: 10px;
        transform: translate(-50%, -50%);
        border-radius: 999px;
        background: radial-gradient(circle, rgba(211, 43, 40, 0.70), transparent 65%);
        opacity: 0;
    }

    .cursor.is-puff::after {
        animation: puff 260ms ease;
    }

    @keyframes puff {
        0% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.6);
        }

        30% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(2.2);
        }
    }

    @media (prefers-reduced-motion: reduce) {

        .cursor,
        .cursor.is-click,
        .cursor.is-puff::after {
            animation: none !important;
            transition: none !important;
        }
    }
}


.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    backdrop-filter: blur(14px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.18));
    border-bottom: 1px solid var(--stroke);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 240ms ease, opacity 240ms ease;
}

body[data-scrolled="true"] .topbar {
    transform: translateY(0);
    opacity: 1;
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 240px;
}

.brand__mark {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, rgba(211, 43, 40, 0.24), rgba(0, 0, 0, 0.20));
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
}

.brand__mark--logo {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.brand__mark--logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand__text strong {
    display: block;
    font-family: var(--font-head);
    letter-spacing: .6px;
}

.brand__text small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.nav {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    padding: 10px 10px;
    border-radius: 14px;
    transition: background 180ms ease, color 180ms ease;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.topbar__actions {
    display: flex;
}


.h1,
.h2,
.h3 {
    font-family: var(--font-head);
    margin: 0;
}

.h1 {
    font-size: clamp(42px, 4.6vw, 64px);
    line-height: 1.00;
    letter-spacing: -0.8px;
}

.h2 {
    font-size: 30px;
    letter-spacing: 0.2px;
}

.h3 {
    font-size: 18px;
    letter-spacing: 0.2px;
}

.lead {
    color: var(--muted);
    line-height: 1.7;
    max-width: 72ch;
}

.muted {
    color: var(--muted);
}

.hint {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.mxm {
    color: var(--mxm-red);
    font-weight: 800;
}

.accent {
    color: var(--mxm-red);
}

.ass-em {
    color: var(--mxm-red);
    font-weight: 800;
}


.section {
    padding: 64px 0;
}

.section--feature {
    padding: 78px 0;
}

.section--integrated {
    padding-top: 56px;
}

.section--mini {
    padding: 48px 0 56px;
}

.section__head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.section__head p {
    margin: 0;
    max-width: 74ch;
}

.section__head--feature {
    align-items: center;
}

.featureChips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 13px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mxm-red), var(--ncr-green));
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(0, 0, 0, 0.18);
    font-size: 12px;
    color: var(--muted);
}

.chip--mxm {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(211, 43, 40, 0.35);
    background: rgba(211, 43, 40, 0.12);
}

.chip--ncr {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(45, 211, 72, 0.35);
    background: rgba(45, 211, 72, 0.10);
}

.chip--subtle {
    background: rgba(255, 255, 255, 0.04);
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 13px;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.btn:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.btn--primary {
    border-color: rgba(211, 43, 40, 0.35);
    background: linear-gradient(135deg, rgba(211, 43, 40, 0.36), rgba(0, 0, 0, 0.18));
    box-shadow: 0 10px 34px rgba(211, 43, 40, 0.14);
}

.btn--primary:hover {
    background: linear-gradient(135deg, rgba(211, 43, 40, 0.46), rgba(0, 0, 0, 0.20));
}

.btn--ghost {
    background: transparent;
}

.note {
    margin-top: 18px;
    padding: 14px 14px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.18);
    color: var(--muted);
}


.card {
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
}

.card--elevated {
    background: linear-gradient(to bottom, rgba(21, 26, 34, 0.86), rgba(17, 20, 26, 0.78));
}

.padded {
    padding: 18px;
}

.divider {
    height: 1px;
    background: var(--stroke);
    margin: 14px 0;
}


.hero--fullscreen {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 40px 0 24px;
    position: relative;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    align-items: center;
}

.hero__cta {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.hero__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.kpi__value {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 22px;
}

.kpi__label {
    color: var(--muted);
    font-size: 12px;
}

.hero__right {
    display: grid;
    gap: 12px;
}


.heroTiltWrap {
    perspective: var(--tilt-perspective);
}

.heroBadge {
    border-radius: 22px;
    border: 1px solid var(--stroke);
    background: radial-gradient(900px 320px at 40% 0%, rgba(211, 43, 40, 0.20), transparent 60%),
        rgba(0, 0, 0, 0.22);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

.heroBadge__media {
    padding: 18px;
    display: grid;
    place-items: center;
    transform: translateZ(28px);
}

.heroBadge__media img {
    width: min(520px, 100%);
    height: auto;
    display: block;
    border-radius: 18px;
    transform: translateZ(8px);
}

.heroBadge__info {
    padding: 0 18px 18px;
    transform: translateZ(18px);
}

.heroBadge--tilt::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    pointer-events: none;
    opacity: var(--tilt-glare);
    background: radial-gradient(520px 280px at var(--glare-x, 50%) var(--glare-y, 25%),
            rgba(211, 43, 40, 0.22), transparent 62%);
    mix-blend-mode: screen;
    transition: opacity 180ms ease;
}

.heroBadge--tilt::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 35%, rgba(0, 0, 0, 0.18));
}

.heroBadge--tilt.is-tilting {
    border-color: rgba(211, 43, 40, 0.22);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62), 0 18px 60px rgba(211, 43, 40, 0.12);
}

.heroLogos {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-left: 6px;
}

.heroLogo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.heroLogo img {
    height: 40px;
    width: auto;
    display: block;
}

.heroLogo--ghost {
    opacity: 0.9;
}


.patchLayout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid var(--stroke);
    background: radial-gradient(900px 420px at 25% 0%, rgba(211, 43, 40, 0.18), transparent 62%),
        radial-gradient(800px 420px at 85% 20%, rgba(45, 211, 72, 0.06), transparent 65%),
        rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);

    position: relative;
    overflow: hidden;

    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
    will-change: transform;
}

.patchLayout:hover {
    transform: translateY(-3px);
    border-color: rgba(211, 43, 40, 0.22);
    box-shadow: var(--shadow), 0 18px 60px rgba(211, 43, 40, 0.10);
}

.patchLayout::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.10), transparent);
    transform: translateX(-70%);
    opacity: 0;
    pointer-events: none;
}

.patchLayout:hover::after {
    animation: patchShine 760ms ease;
}

@keyframes patchShine {
    0% {
        transform: translateX(-70%);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    100% {
        transform: translateX(70%);
        opacity: 0;
    }
}

.patchLayout__media img {
    width: min(520px, 100%);
    height: auto;
    display: block;
    border-radius: 18px;
}


.grid {
    display: grid;
    gap: 12px;
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


.riders {
    display: grid;
    gap: 12px;
}

.riders__tabsRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.riders__tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.riders__mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab {
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    padding: 11px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
    font-size: 13px;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.tab:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.tab[aria-selected="true"] {
    border-color: color-mix(in srgb, var(--aura-accent) 60%, transparent);
    background: color-mix(in srgb, var(--aura-accent) 14%, rgba(255, 255, 255, 0.04));
    color: rgba(255, 255, 255, 0.90);
}

.riderDots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.riderDot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.riderDot::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: color-mix(in srgb, var(--aura-accent) 55%, rgba(255, 255, 255, 0.14));
    opacity: 0;
}

.riderDot.is-active {
    border-color: color-mix(in srgb, var(--aura-accent) 55%, rgba(255, 255, 255, 0.18));
    box-shadow: 0 10px 24px color-mix(in srgb, var(--aura-accent) 18%, transparent);
}

.riderDot.is-active::after {
    opacity: 0.95;
    animation: riderFill var(--rider-interval, 5200ms) linear forwards;
}

@keyframes riderFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.riders__panel {
    padding: 22px;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    border-color: color-mix(in srgb, var(--aura-accent) 40%, rgba(255, 255, 255, 0.08));
    box-shadow: var(--shadow), 0 18px 60px color-mix(in srgb, var(--aura-accent) 12%, transparent);
    transition: opacity 220ms ease, transform 220ms ease;
}

.riders__panel.is-switching {
    opacity: 0;
    transform: translateY(8px) scale(0.992);
}

.riders__panel::before {
    content: "";
    position: absolute;
    inset: -90px -90px auto -90px;
    height: 340px;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--aura-accent) 28%, transparent), transparent 72%);
    opacity: 0.98;
    pointer-events: none;
}

.riders__panel::after {
    content: "";
    position: absolute;
    inset: auto -90px -120px -90px;
    height: 320px;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--aura-accent) 18%, transparent), transparent 72%);
    opacity: 0.85;
    pointer-events: none;
}

.riderLayout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 18px;
    align-items: start;
}

.riderMedia {
    border-radius: 18px;
    border: 1px solid var(--stroke);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.40), rgba(255, 255, 255, 0.04));
    min-height: 320px;
    display: grid;
    place-items: center;
    color: var(--muted);
    overflow: hidden;
}

.riderMedia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.riderInfo {
    display: grid;
    align-content: start;
    gap: 10px;
}

.riderTitle {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.riderTitle .name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.riderTitle .bike {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.riderSocial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--aura-accent) 45%, rgba(255, 255, 255, 0.10));
    background: color-mix(in srgb, var(--aura-accent) 12%, rgba(0, 0, 0, 0.20));
    color: color-mix(in srgb, var(--aura-accent) 80%, rgba(255, 255, 255, 0.85));
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.riderSocial svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.riderSocial:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--aura-accent) 65%, rgba(255, 255, 255, 0.16));
    box-shadow: 0 10px 22px color-mix(in srgb, var(--aura-accent) 18%, transparent);
}

.riderSocial:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--aura-accent) 60%, rgba(255, 255, 255, 0.25));
    outline-offset: 2px;
}

.riderMetaRow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.badgePill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--aura-accent) 45%, rgba(255, 255, 255, 0.10));
    background: color-mix(in srgb, var(--aura-accent) 10%, rgba(255, 255, 255, 0.04));
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    font-size: 12px;
}

.badgePill__key {
    color: rgba(255, 255, 255, 0.70);
    font-weight: 800;
}

.badgePill__val {
    letter-spacing: 0.2px;
}

.mote {
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--aura-accent) 45%, rgba(255, 255, 255, 0.10));
    background: color-mix(in srgb, var(--aura-accent) 10%, rgba(255, 255, 255, 0.04));
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    font-size: 12px;
    width: fit-content;
}

.stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.stat {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 12px;
}


.sociosControls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sociosPage {
    color: var(--muted);
    font-size: 12px;
    min-width: 64px;
    text-align: center;
}

.sociosGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.socioCard {
    position: relative;
    border-radius: 22px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 220px;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.socioCard__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(0.5px) saturate(1.05) contrast(1.02);
    transform: scale(1.06);
}

.socioCard__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.74));
}

.socioCard__content {
    position: relative;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    min-height: 220px;
}

.socioCard__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}

.socioName {
    font-weight: 900;
    letter-spacing: 0.2px;
}

.socioMeta {
    font-size: 12px;
    color: var(--muted);
}

.socioNote {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.45;
    font-size: 13px;
    max-width: 52ch;
}

.socioBadge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(211, 43, 40, 0.30);
    background: rgba(211, 43, 40, 0.10);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 900;
}


.socioShine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.14), transparent);
    transform: translateX(-70%);
    pointer-events: none;
    opacity: 0;
}

.socioCard:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow), 0 18px 60px rgba(211, 43, 40, 0.10);
}

.socioCard:hover .socioShine {
    animation: shineOnce 760ms ease;
}

@keyframes shineOnce {
    0% {
        transform: translateX(-70%);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    100% {
        transform: translateX(70%);
        opacity: 0;
    }
}


.placesGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.collabGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.collabCard {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--stroke);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-rows: 140px auto;
    min-height: 230px;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.collabMedia {
    position: relative;
    background: rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.collabMedia::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.55));
    pointer-events: none;
}

.collabMedia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.02);
}

.collabBody {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.collabName {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.collabDesc {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.collabLink {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.collabLink:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.collabLink:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.32);
    outline-offset: 2px;
}

.collabCard:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow), 0 18px 52px rgba(211, 43, 40, 0.10);
}

.placeCard {
    position: relative;
    border-radius: 22px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow);
    min-height: 240px;
    overflow: hidden;
}

.placeCard__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(1.2px) saturate(1.05) contrast(1.02);
    transform: scale(1.06);
    opacity: 0.92;
}

.placeCard__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78));
}

.placeCard__content {
    position: relative;
    padding: 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.placeTop {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: start;
}

.placeName {
    font-weight: 900;
    letter-spacing: .2px;
}

.placeType {
    font-size: 12px;
    color: var(--muted);
}

.placeActions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


.library {
    border-radius: 22px;
    overflow: hidden;
}

.library__stage {
    position: relative;
    height: clamp(320px, 46vw, 520px);
    background: rgba(0, 0, 0, 0.28);
}

.library__stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.05) saturate(1.05);
    transition: opacity 220ms ease;
}

.library__stage.is-changing img {
    opacity: 0.35;
}

.library__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.74));
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: end;
}

.library__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.4px;
}

.library__meta {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
}

.library__thumbs {
    display: flex;
    gap: 10px;
    padding: 12px;
    overflow-x: auto;
    border-top: 1px solid var(--stroke);
    background: rgba(0, 0, 0, 0.16);
}


.thumb {
    width: 120px;
    height: 72px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 auto;

    padding: 0;
    line-height: 0;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    transform: scale(1.02);
}

.thumb[aria-current="true"] {
    border-color: rgba(211, 43, 40, 0.55);
    box-shadow: 0 10px 24px rgba(211, 43, 40, 0.16);
}


.legacyLogos {
    display: grid;
    gap: 12px;
    align-content: start;
}

.legacyLogos__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
}

.legacyLogos__item img {
    height: 44px;
    width: auto;
    display: block;
}


.footer {
    border-top: 1px solid var(--stroke);
    padding: 26px 0 34px;
}

.footer__inner {
    display: grid;
    gap: 8px;
}

.credit {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    border-bottom: 1px solid rgba(211, 43, 40, 0.45);
    padding-bottom: 2px;
}

.credit:hover {
    color: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(211, 43, 40, 0.75);
}

.heart {
    color: var(--mxm-red);
}

.footerEgg {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    letter-spacing: 0.2px;
}


.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


.list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.65;
}

.list li {
    margin: 6px 0;
}


#merch .card,
#legacy .card {
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
    will-change: transform;
}

#merch .card:hover,
#legacy .card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow), 0 18px 60px rgba(211, 43, 40, 0.08);
}


@media (max-width: 1080px) {
    .nav {
        display: none;
    }

    .hero__inner {
        grid-template-columns: 1fr;
    }

    .placesGrid {
        grid-template-columns: 1fr;
    }

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

    .collabGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .patchLayout {
        grid-template-columns: 1fr;
    }

    .riderLayout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .sociosGrid {
        grid-template-columns: 1fr;
    }

    .collabGrid {
        grid-template-columns: 1fr;
    }

    .hero__meta {
        grid-template-columns: 1fr;
    }
}
