
/* =========================================================
   GT BOYZ
   MAIN.CSS
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --black-deep: #050505;
    --black: #0c0c0d;
    --black-soft: #161616;

    --line: #242424;

    --red: #e8121c;
    --red-bright: #ff2530;
    --red-dim: #7a0d12;

    --white: #f4f2ee;
    --gray: #8a8a8a;

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-width: none; 
}


body {
    margin: 0;

    background: var(--black-deep);

    color: var(--white);

    font-family: "Inter", sans-serif;

    min-height: 100vh;

    overflow-x: hidden;
    margin: 0;
    max-width: 100%;
    overflow-x: clip;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; }   /* hide scrollbar (Chrome/Safari) */

.fnr-section { overflow-x: clip; }  /* rings can no longer widen the page */

/* =========================================================
   FILM GRAIN
========================================================= */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    z-index: 9999;

    pointer-events: none;

    opacity: .035;

    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}


/* =========================================================
   CURSOR GLOW
========================================================= */

.cursor-glow {

    position: fixed;

    top: 0;
    left: 0;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;

    z-index: 0;

    background:
        radial-gradient(
            circle,
            rgba(232, 18, 28, .09) 0%,
            rgba(232, 18, 28, 0) 70%
        );

}


/* =========================================================
   GENERIC
========================================================= */

a {
    color: inherit;
}


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


.hidden {
    display: none !important;
}


.section {
    scroll-margin-top: 90px;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    padding: 20px 5vw;

    --nav-fade: 0;

    background:
        linear-gradient(
            180deg,
            rgba(5,5,5, calc(0.55 + var(--nav-fade) * 0.37)),
            rgba(5,5,5, calc(0.22 + var(--nav-fade) * 0.23)),
            transparent
        );

    backdrop-filter: blur(calc(5px + var(--nav-fade) * 2px));
    -webkit-backdrop-filter: blur(calc(5px + var(--nav-fade) * 2px));

    transition: background .15s linear, backdrop-filter .15s linear;

}


.nav-container {

    width: min(1400px, 100%);

    margin: 0 auto;

    min-height: 58px;

    display: flex;

    align-items: center;

    gap: 28px;

}


/* =========================================================
   LOGO
========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 11px;

    text-decoration: none;

    flex-shrink: 0;

}


.brand-logo {

    width: 42px;
    height: 42px;

    object-fit: cover;

    border-radius: 50%;

    display: block;

}


.brand-name {

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 25px;

    line-height: 1;

    letter-spacing: 2.5px;

    color: var(--white);

}


.brand-name span {
    color: var(--red);
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.nav-links {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

}


.nav-link {

    position: relative;

    padding: 11px 14px;

    text-decoration: none;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.2px;

    color: var(--gray);

    transition:
        color .2s ease;

}


.nav-link::after {

    content: "";

    position: absolute;

    left: 14px;
    right: 14px;

    bottom: 2px;

    height: 2px;

    background: var(--red);

    transform: scaleX(0);

    transition:
        transform .2s ease;

}


.nav-link:hover,
.nav-link.active {

    color: var(--white);

}


.nav-link.active::after {

    transform: scaleX(1);

}


/* =========================================================
   NAV ACTIONS
========================================================= */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;

}


.member-btn,
.cart-btn {

    border: 1px solid var(--line);

    background:
        rgba(12,12,13,.78);

    color: var(--white);

    min-height: 39px;

    padding: 0 13px;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 1px;

    transition:
        border-color .2s ease,
        background .2s ease;

}


.member-btn:hover,
.cart-btn:hover {

    border-color: var(--red);

    background:
        rgba(232,18,28,.08);

}


.member-btn.logged-in {

    border-color: var(--red);

    color: var(--white);

}


#cartCount {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;

    margin-left: 5px;

    border-radius: 50%;

    background: var(--red);

    color: white;

    font-size: 8px;

}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-btn {

    display: none;

    width: 40px;
    height: 40px;

    border: 1px solid var(--line);

    background: transparent;

    color: var(--white);

    font-size: 18px;

}


.mobile-nav {

    display: none;

    width: 100%;

    margin-top: 12px;

    padding-top: 10px;

    border-top: 1px solid var(--line);

}


.mobile-nav.open {

    display: flex;

    flex-direction: column;

}


.mobile-nav-link {

    padding: 13px 6px;

    color: var(--gray);

    text-decoration: none;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 10px;

    letter-spacing: 1.2px;

}


.mobile-nav-link:hover,
.mobile-nav-link.active {

    color: var(--white);

}


/* =========================================================
   HERO
========================================================= */

#home {

    position: relative;

    min-height: 100vh;

    padding:
        130px 24px
        90px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(232,18,28,.07),
            transparent 35%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    width: min(850px, 100%);

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

}


.hero-kicker {

    margin-bottom: 24px;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 10px;

    letter-spacing: 2.5px;

    color: var(--gray);

}


#home h1 {

    margin: 0 0 18px;

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size:
        clamp(76px, 14vw, 170px);

    line-height: .82;

    letter-spacing: 3px;

}


.hero-white {
    color: var(--white);
}


.hero-red {
    color: var(--red);
}


.hero-tagline {

    margin-bottom: 10px;

    color: var(--white);

    font-size:
        clamp(16px, 2vw, 20px);

    font-weight: 600;

}


.hero-description {

    width: min(560px, 100%);

    margin: 0 auto 34px;

    color: var(--gray);

    line-height: 1.65;

    font-size: 14px;

}


.hero-actions {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    flex-wrap: wrap;

}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 44px;

    padding: 0 20px;

    border: 1px solid transparent;

    text-decoration: none;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 1px;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .15s ease;

}


.btn:active {
    transform: scale(.98);
}


.btn-primary {

    background: var(--red);

    color: var(--white);

    border-color: var(--red);

}


.btn-primary:hover {

    background: var(--red-bright);

    border-color: var(--red-bright);

}


.btn-outline {

    background: transparent;

    color: var(--white);

    border-color: var(--line);

}


.btn-outline:hover {

    border-color: var(--red);

    color: var(--white);

    background:
        rgba(232,18,28,.06);

}


.full-btn {
    width: 100%;
}


/* =========================================================
   HERO FOOTER
========================================================= */

.hero-bottom {

    position: absolute;

    left: 50%;

    bottom: 27px;

    transform: translateX(-50%);

    width: min(850px, calc(100% - 40px));

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #666;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 1.4px;

}


/* =========================================================
   STATS
========================================================= */

.stats-section {

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);

    background: var(--black);

}


.stats-grid {

    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

}


.stat {

    padding: 28px 20px;

    text-align: center;

    border-right: 1px solid var(--line);

}


.stat:last-child {
    border-right: none;
}


.stat strong {

    display: block;

    margin-bottom: 6px;

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 36px;

    line-height: 1;

}


.stat span {

    color: var(--gray);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1.3px;

}


/* =========================================================
   GENERAL SECTION
========================================================= */

.content-section,
.media-section,
.fnr-section {

    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;

}


.content-section,
.media-section {

    padding:
        60px 0 90px;

}



.section-header {

    margin-bottom: 55px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, .8fr);

    align-items: end;

    gap: 60px;

}


.section-number {

    display: block;

    margin-bottom: 12px;

    color: var(--red);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 1.5px;

}


.section-header h2,
.fnr-container h2 {

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size:
        clamp(58px, 8vw, 100px);

    line-height: .82;

    letter-spacing: 2px;

}


.section-header h2 span,
.fnr-container h2 span {

    color: var(--red);

}


.section-header > p {

    color: var(--gray);

    line-height: 1.7;

    font-size: 14px;

}


/* =========================================================
   RIDES
========================================================= */

.ride-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

}
/*
.ride-card {
    position: relative;
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.08);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;

    overflow: hidden;
}
.ride-card:hover {
    transform: translateY(-12px) scale(1.03);

    border-color: rgba(255,0,0,0.3);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.5),
        0 0 40px rgba(255,0,0,0.1);
}

.ride-card:hover img {
    transform: scale(1.08);
}
.ride-image {
    position: relative;
    width: 100%;
    height: 420px; 
    overflow: visible;
    background: #111;
}

.ride-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   
    object-position: center;
    display: block;

    transition: transform 0.7s ease;
}

.ride-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.7),
            rgba(0,0,0,0.1)
        );

    pointer-events: none;
}
.ride-overlay{
    position:absolute;
    bottom:20px;
    right:20px;
    color:white;
    opacity:0;

    transition:0.4s;
}

.ride-card:hover .ride-overlay{
    opacity:1;
}
*/


.ride-card {
    position: relative;
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.08);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;

    overflow: hidden;
}

.ride-card:hover {
    transform: translateY(-12px) scale(1.03);

    border-color: rgba(255,0,0,0.3);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.5),
        0 0 40px rgba(255,0,0,0.1);
}

.ride-card:hover img {
    transform: scale(1.08);
}


#rides .carousel-card {
    position: relative;
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.08);

    transition:
        transform 0.5s cubic-bezier(.22, .85, .3, 1),
        box-shadow 0.5s cubic-bezier(.22, .85, .3, 1),
        border-color 0.5s cubic-bezier(.22, .85, .3, 1);

    overflow: hidden;
}

#rides .carousel-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(255,0,0,0.3);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.5),
        0 0 40px rgba(255,0,0,0.1);
}
 
.ride-image {
    position: relative;
    width: 100%;
    height: 360px;
   overflow: hidden; 
    background: #111;
}

.ride-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;

/*    transition: transform 0.7s ease;*/

    transition: transform .5s cubic-bezier(.22, .85, .3, 1);
    transform: scale(1);
    will-change: transform;
}

#rides .carousel-card:hover .ride-image img {
    transform: scale(1.08);
}

@keyframes rideTapZoom {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.07); }
    100% { transform: scale(1); }
}

.ride-image.tap-zoom img {
    animation: rideTapZoom .6s cubic-bezier(.22, .85, .3, 1);
}

.ride-image:hover img {
    transform: scale(1.08);
}
.ride-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.7),
            rgba(0,0,0,0.1)
        );

    pointer-events: none;
}

.ride-overlay{
    position:absolute;
    bottom:20px;
    right:20px;
    color:white;
    opacity:0;

    transition:0.4s;
}
#rides .carousel-card:hover .ride-overlay {
    opacity: 1;
}
/*.ride-card:hover .ride-overlay{
    opacity:1;
}*/


.ride-info {

    padding: 20px;

    display: flex;

    justify-content: space-between;

    gap: 18px;

    border-top: 1px solid var(--line);

}


.card-label {

    display: block;

    margin-bottom: 7px;

    color: #666;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

}


.ride-info h3 {

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 22px;

    font-weight: 400;

    letter-spacing: 1px;

}


.ride-info p {

    color: var(--gray);

    font-size: 12px;

}


/* =========================================================
   FNR
========================================================= */

.fnr-section {

    padding:
        120px 0;

    text-align: center;

}


.fnr-container {

    width: min(800px, 100%);

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

}


.fnr-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 25px;

    color: var(--gray);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 1.4px;

}


.pulse-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--red);

    box-shadow:
        0 0 8px
        rgba(232,18,28,.7);

    animation:
        pulse 1.5s ease-in-out infinite;

}


@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(.75);
    }

}


.fnr-container > p {

    max-width: 500px;

    margin: 24px auto 34px;

    color: var(--gray);

    line-height: 1.7;

}


.fnr-info {

    width: 100%;

    margin-bottom: 30px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);

}


.fnr-info > div {

    padding: 20px;

    border-right: 1px solid var(--line);

}


.fnr-info > div:last-child {
    border-right: none;
}


.fnr-info span {

    display: block;

    margin-bottom: 7px;

    color: #666;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

}


.fnr-info strong {

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 22px;

    font-weight: 400;

}


/* =========================================================
   CREW
========================================================= */

.member-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

}


.member-card {

    padding: 28px 18px;

    text-align: center;

    border: 1px solid var(--line);

    background: var(--black);

}


.member-avatar {

    width: 72px;
    height: 72px;

    margin: 0 auto 16px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid var(--red-dim);

    color: var(--red);

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 26px;

}


.member-card h3 {

    margin-bottom: 5px;

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 22px;

    font-weight: 400;

    letter-spacing: 1px;

}


.member-card span {

    color: #666;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

}


/* =========================================================
   MEDIA
========================================================= */

.media-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 14px;

}


.media-card {

    min-height: 250px;

    display: flex;

    align-items: flex-end;

    padding: 18px;

    border: 1px solid var(--line);

    background:
        linear-gradient(
            135deg,
            #181818,
            #090909
        );

    color: #777;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 1px;

}


.media-large {
    min-height: 340px;
}


/* =========================================================
   MARKETPLACE
========================================================= */

.member-banner {

    position: relative;

    margin-bottom: 38px;

    padding: 26px 30px;

    border: 1px solid
        rgba(232,18,28,.28);

    background:
        linear-gradient(
            120deg,
            rgba(232,18,28,.07),
            rgba(12,12,13,.85)
        );

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.member-banner-close {

    position: absolute;

    top: 10px;
    right: 12px;

    width: 28px;
    height: 28px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #777;

    font-size: 24px;

    line-height: 1;

}


.member-banner-close:hover {

    color: var(--white);

}


.member-banner-label {

    display: block;

    margin-bottom: 7px;

    color: var(--red);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1.4px;

}


.member-banner h3 {

    margin-bottom: 7px;

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 30px;

    font-weight: 400;

    letter-spacing: 1px;

}


.member-banner p {

    max-width: 650px;

    color: var(--gray);

    font-size: 13px;

    line-height: 1.6;

}


.member-banner.is-hidden {

    display: none;

}


.product-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

}


.product-card {

    border: 1px solid var(--line);

    background: var(--black);

        overflow: hidden;

}


.product-image {

    min-height: 230px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #181818,
            #0a0a0a 
        );

    color: var(--red);

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 80px;

    letter-spacing: 3px;

}


.product-info {

    padding: 22px;

}


.product-type {

    display: block;

    margin-bottom: 7px;

    color: #666;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

}


.product-info h3 {

    margin-bottom: 18px;

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 28px;

    font-weight: 400;

    letter-spacing: 1px;

}


.price-row {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 18px;

}


.regular-price {

    display: block;

    margin-bottom: 3px;

    color: #666;

    font-size: 12px;

    text-decoration: line-through;

}


.member-price {

    display: block;

    color: var(--white);

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 27px;

    font-weight: 400;

}


.save-price {

    color: var(--red);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    text-align: right;

}


/* =========================================================
   CART
========================================================= */

.cart-drawer {

    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    width: min(420px, 92vw);

    z-index: 2000;

    background:
        rgba(12,12,13,.98);

    border-left: 1px solid var(--line);

    transform: translateX(100%);

    transition:
        transform .3s ease;

    display: flex;

    flex-direction: column;

}


.cart-drawer.open {

    transform: translateX(0);

}


.cart-header {

    padding: 22px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid var(--line);

}


.cart-header h2 {

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 31px;

    font-weight: 400;

}


.cart-header button {

    border: 0;

    background: transparent;

    color: var(--white);

    font-size: 30px;

}


.cart-items {

    flex: 1;

    overflow-y: auto;

    padding: 20px;

}


.empty-cart {

    color: var(--gray);

    font-size: 13px;

}


.cart-item {

    padding: 15px 0;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-bottom: 1px solid var(--line);

}


.cart-item-name {

    margin-bottom: 7px;

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 20px;

}


.cart-remove {

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--red);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

}


.cart-item-price {

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 22px;

}


.cart-item small {

    color: #666;

}


.cart-footer {

    padding: 20px;

    border-top: 1px solid var(--line);

}


.cart-total {

    margin-bottom: 15px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.cart-total span {

    color: var(--gray);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 1px;

}


.cart-total strong {

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 27px;

    font-weight: 400;

}


/* =========================================================
   MODALS
========================================================= */

.modal-overlay {

    position: fixed;

    inset: 0;

    z-index: 3000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(0,0,0,.76);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .2s ease,
        visibility .2s ease;

}


.modal-overlay.open {

    opacity: 1;

    visibility: visible;

}


.modal-open {
    overflow: hidden;
}


.auth-modal,
.profile-modal {

    position: relative;

    width: min(460px, 100%);

    padding: 34px;

    border: 1px solid var(--line);

    background: var(--black);

}


.modal-close {

    position: absolute;

    top: 12px;
    right: 14px;

    border: 0;

    background: transparent;

    color: #666;

    font-size: 28px;

}


.modal-close:hover {

    color: var(--white);

}


.auth-kicker {

    display: block;

    margin-bottom: 12px;

    color: var(--red);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 1.5px;

}


.auth-modal h2,
.profile-modal h2 {

    margin-bottom: 14px;

    font-family:
        "Bebas Neue",
        sans-serif;

    font-size: 57px;

    line-height: .85;

    font-weight: 400;

}


.auth-modal h2 span {

    color: var(--red);

}


.auth-modal > p {

    margin-bottom: 24px;

    color: var(--gray);

    font-size: 13px;

    line-height: 1.6;

}


.auth-modal form {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.auth-modal label {

    margin-top: 6px;

    color: #777;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

}


.auth-modal input {

    width: 100%;

    padding: 13px 14px;

    border: 1px solid var(--line);

    outline: none;

    background: var(--black-soft);

    color: var(--white);

}


.auth-modal input:focus {

    border-color: var(--red);

}


.auth-switch {

    margin-top: 18px;

    color: #666;

    font-size: 10px;

}


.auth-switch button {

    margin-left: 5px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--red);

    font-size: 10px;

}


.profile-badge {

    display: inline-block;

    margin-bottom: 14px;

    color: var(--red);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 1px;

}


.profile-modal > p {

    margin-bottom: 20px;

    color: var(--gray);

    font-size: 13px;

}


.benefits-box {

    margin-bottom: 20px;

    padding: 18px;

    border: 1px solid var(--line);

    background: var(--black-soft);

}


.benefits-box > span {

    display: block;

    margin-bottom: 10px;

    color: var(--red);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

}


.benefits-box ul {

    padding-left: 0;

    list-style: none;

}


.benefits-box li {

    margin: 7px 0;

    color: var(--gray);

    font-size: 12px;

}


/* =========================================================
   NOTIFICATION
========================================================= */

.notification {

    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 5000;

    padding: 13px 17px;

    border: 1px solid var(--line);

    background: var(--black);

    color: var(--white);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: .8px;

    opacity: 0;

    transform:
        translateY(12px);

    pointer-events: none;

    transition:
        opacity .2s ease,
        transform .2s ease;

}


.notification.show {

    opacity: 1;

    transform:
        translateY(0);

}




/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .nav-links {
        display: none;
    }


    .mobile-menu-btn {
        display: flex;

        align-items: center;
        justify-content: center;
    }


    .nav-actions {
        margin-left: auto;
    }


    .section-header {

        grid-template-columns: 1fr;

        gap: 20px;

    }


    .ride-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .member-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .product-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .media-grid {

        grid-template-columns: 1fr 1fr;

    }


    .media-large {

        grid-column: span 2;

    }

}


@media (max-width: 650px) {

    .navbar {

        padding:
            15px 4vw;

    }


    .nav-container {

        gap: 10px;

    }


    .brand-logo {

        width: 37px;
        height: 37px;

    }


    .brand-name {

        font-size: 21px;

    }


    .member-btn,
    .cart-btn {

        padding: 0 9px;

        font-size: 8px;

    }


    #home {

        padding:
            115px 18px
            80px;

    }


    #home h1 {

        font-size:
            clamp(68px, 20vw, 110px);

    }


    .hero-bottom {

        width: calc(100% - 30px);

        font-size: 7px;

    }


    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .stat {

        border-bottom: 1px solid var(--line);

    }


    .stat:nth-child(2) {

        border-right: none;

    }


    .stat:nth-child(3) {

        border-right: 1px solid var(--line);

    }


    .content-section,
    .media-section,
    .fnr-section {

        width:
            calc(100% - 28px);

         padding:
        40px 0 60px;

    }


   .ride-grid,
.media-grid {

    grid-template-columns: 1fr;

}
@media (max-width: 650px) {

    .product-image,
    .product-gallery {
        height: auto;
    aspect-ratio: 3 / 2;
    }
    .product-gallery .product-slide {
    object-position: center;
}

    .product-info {
        padding: 14px;
    }

    .product-info h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .product-type {
        font-size: 7px;
    }

    .member-price {
        font-size: 20px;
    }

    .regular-price {
        font-size: 10px;
    }

    .save-price {
        font-size: 7px;
        text-align: left;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 12px;
    }

    .product-card .add-cart {
        font-size: 8px;
        padding: 0 10px;
        min-height: 38px;
    }

}
.product-grid {

    grid-template-columns: repeat(2, 1fr);
    gap: 10px;

}


    .media-large {

        grid-column: auto;

    }


    .fnr-info {

        grid-template-columns: 1fr;

    }


    .fnr-info > div {

        border-right: none;

        border-bottom: 1px solid var(--line);

    }


    .fnr-info > div:last-child {

        border-bottom: none;

    }


    .member-banner {

        flex-direction: column;

        align-items: flex-start;

        padding:
            25px 20px;

        padding-top: 32px;

    }


    .member-banner h3 {

        font-size: 26px;

    }


    

}

@media (max-width: 400px) {
    .nav-container { gap: 6px; }
    .brand-logo { width: 32px; height: 32px; }
    .brand-name { font-size: 18px; letter-spacing: 1.5px; }
    .member-btn, .cart-btn { padding: 0 7px; min-height: 36px; font-size: 8px; }
    .mobile-menu-btn { width: 36px; height: 36px; }
}
/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    .pulse-dot {
        animation: none;
    }

}


/* =========================================================
   GT BOYZ — CAROUSELS
========================================================= 

.carousel-shell {

    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

    gap: 12px;

}


.carousel-window {

    width: 100%;

    overflow: hidden;

    padding: 8px 4px 18px;

}


.carousel-track {

    display: flex;

    gap: 16px;

    will-change: transform;

    transition:
        transform .7s cubic-bezier(.2,.8,.2,1);

}


/* =========================================================
   CARDS
========================================================= 

.carousel-card {

    flex:
        0 0
        calc((100% - 32px) / 3);

    min-width: 0;

    transform:
        translateZ(0);

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        border-color .35s ease,
        box-shadow .35s ease;

}




.carousel-card:hover {

    transform:
        translateY(-7px)
        scale(1.025);

    position: relative;

    z-index: 5;

    border-color:
        rgba(232,18,28,.55);

    box-shadow:
        0 22px 50px rgba(0,0,0,.45);

}


/* =========================================================
   IMAGE
========================================================= 

.ride-image,
.media-visual {

    position: relative;

    width: 100%;

    min-height: 310px;

    overflow: hidden;

    background: var(--black-soft);

}


.ride-image img,
.media-visual img {

    width: 100%;
    height: 100%;

    min-height: 310px;

    display: block;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.2,.8,.2,1),
        filter .5s ease;

}


.carousel-card:hover
.ride-image img,
.carousel-card:hover
.media-visual img {

    transform: scale(1.07);

    filter:
        brightness(1.08)
        saturate(1.08);

}


/* =========================================================
   CARD OVERLAY
========================================================= 

.card-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.04),
            rgba(0,0,0,.18) 45%,
            rgba(0,0,0,.82)
        );

    pointer-events: none;

}


/* =========================================================
   RIDE LABELS
========================================================= 

.ride-number {

    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 2;

    padding: 6px 9px;

    border: 1px solid
        rgba(255,255,255,.18);

    background:
        rgba(0,0,0,.42);

    backdrop-filter: blur(6px);

    color: var(--white);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

}


.card-view {

    position: absolute;

    right: 16px;
    bottom: 16px;

    z-index: 2;

    color: var(--white);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

    opacity: .75;

    transition:
        opacity .2s ease,
        transform .2s ease;

}


.carousel-card:hover
.card-view {

    opacity: 1;

    transform:
        translateX(3px);

}


/* =========================================================
   MEDIA
========================================================= 

.media-card {

    padding: 0 !important;

    overflow: hidden;

}


.media-visual {

    min-height: 360px;

}


.media-visual img {

    min-height: 360px;

}


.media-label {

    position: absolute;

    left: 18px;
    bottom: 18px;

    z-index: 2;

    color: var(--white);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 1px;

}


.media-play {

    position: absolute;

    right: 18px;
    bottom: 14px;

    z-index: 2;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.3);

    border-radius: 50%;

    background:
        rgba(0,0,0,.45);

    backdrop-filter: blur(5px);

    color: var(--white);

    font-size: 12px;

    transition:
        transform .25s ease,
        background .25s ease;

}


.media-card:hover .media-play {

    transform: scale(1.12);

    background:
        rgba(232,18,28,.8);

}


/* =========================================================
   RIDE INFO
========================================================= 

.carousel-card .ride-info {

    background: var(--black);

}


/* =========================================================
   ARROWS
========================================================= 

.carousel-arrow {

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid var(--line);

    background:
        rgba(12,12,13,.9);

    color: var(--white);

    font-size: 17px;

    z-index: 10;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;

}


.carousel-arrow:hover {

    border-color: var(--red);

    background:
        rgba(232,18,28,.12);

    transform: scale(1.05);

}


.carousel-arrow:active {

    transform: scale(.96);

}


/* =========================================================
   DOTS
========================================================= 

.carousel-controls {

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 10px;

}


.carousel-dots {

    display: flex;

    align-items: center;

    gap: 7px;

}


.carousel-dot {

    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        #3c3c3c;

    transition:
        width .25s ease,
        background .25s ease;

}


.carousel-dot.active {

    width: 22px;

    border-radius: 8px;

    background: var(--red);

}


/* =========================================================
   RESPONSIVE
========================================================= 

@media (max-width: 950px) {

    .carousel-card {

        flex:
            0 0
            calc((100% - 16px) / 2);

    }

}


@media (max-width: 650px) {

    .carousel-shell {

        gap: 7px;

    }


    .carousel-arrow {

        flex: 0 0 36px;

        width: 36px;
        height: 36px;

        font-size: 14px;

    }


    .carousel-card {

        flex: 0 0 100%;

    }


    .ride-image,
    .ride-image img {

        min-height: 270px;

    }


    .media-visual,
    .media-visual img {

        min-height: 290px;

    }


    .carousel-card:hover {

        transform:
            translateY(-4px)
            scale(1.01);

    }

}


@media (prefers-reduced-motion: reduce) {

    .carousel-track {

        transition: none;

    }


    .carousel-card,
    .ride-image img,
    .media-visual img {

        transition: none;

    }

}
*/
/* =========================================================
   GT BOYZ — RIDE CAROUSEL
========================================================= */

.carousel-shell {

    position: relative;

    width: 100%;

}


/* =========================================================
   CAROUSEL WINDOW
========================================================= */

.carousel-window {

    width: 100%;

    overflow: hidden;

    padding:
        10px 8px 20px;

}


/* =========================================================
   TRACK
========================================================= */

.carousel-track {

    display: flex;

    gap: 16px;

    will-change: transform;

    transition:
        transform .7s cubic-bezier(.2,.8,.2,1);

}


/* =========================================================
   RIDE CARD
========================================================= */

.carousel-card {

    position: relative;

    flex:
        0 0
        calc((100% - 32px) / 3);

    min-width: 0;

    background:
        var(--black);

    border:
        1px solid var(--line);

    overflow: hidden;

    transform: translateZ(0);

    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        box-shadow .45s ease,
        border-color .45s ease;

}


/* =========================================================
   APPLE STYLE HOVER
========================================================= */

.carousel-card:hover {

    transform:
        translateY(-8px)
        scale(1.025);

    z-index: 5;

    border-color:
        rgba(232,18,28,.45);

    box-shadow:
        0 25px 60px rgba(0,0,0,.55);

}


/* =========================================================
   RIDE IMAGE
========================================================= */

.ride-image {

    position: relative;

    width: 100%;

    height: 420px;

    overflow: hidden;

    background:
        #111;

}


/* =========================================================
   IMAGE
========================================================= */

.ride-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    border: 0;

    outline: none;

    transition:
        transform .7s cubic-bezier(.2,.8,.2,1),
        filter .5s ease;

}


/* =========================================================
   IMAGE HOVER
========================================================= */

.carousel-card:hover
.ride-image img {

    transform:
        scale(1.07);

    filter:
        brightness(1.08)
        saturate(1.08);

}


/* =========================================================
   DARK GRADIENT
========================================================= */

.ride-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02) 0%,
            rgba(0,0,0,.08) 45%,
            rgba(0,0,0,.82) 100%
        );

    pointer-events: none;

}


/* =========================================================
   RIDE NUMBER
========================================================= */

.ride-number {

    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 3;

    padding:
        6px 9px;

    border:
        1px solid
        rgba(255,255,255,.18);

    background:
        rgba(0,0,0,.42);

    backdrop-filter:
        blur(6px);

    color:
        var(--white);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

}


/* =========================================================
   VIEW RIDE
========================================================= */

.card-view {

    position: absolute;

    right: 16px;
    bottom: 16px;

    z-index: 3;

    color:
        var(--white);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

    opacity: .7;

    transition:
        opacity .25s ease,
        transform .25s ease;

}


.carousel-card:hover
.card-view {

    opacity: 1;

    transform:
        translateX(4px);

}


/* =========================================================
   RIDE INFO
========================================================= */

.carousel-card .ride-info {

    background:
        var(--black);

    border-top:
        1px solid var(--line);

}


/* =========================================================
   CAROUSEL CONTROLS
========================================================= */

.carousel-controls {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 2px;

}


/* =========================================================
   APPLE STYLE DOTS
========================================================= */

.carousel-dots {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

}


/* inactive dot */

.carousel-dot {

    width: 6px;
    height: 6px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        rgba(255,255,255,.25);

    opacity: .7;

    cursor: pointer;

    transition:
        width .35s ease,
        opacity .35s ease,
        background .35s ease,
        transform .35s ease;

}


/* hover */

.carousel-dot:hover {

    opacity: 1;

    background:
        rgba(255,255,255,.65);

    transform:
        scale(1.25);

}


/* active dot */

.carousel-dot.active {

    width: 22px;

    height: 6px;

    border-radius: 10px;

    background:
        rgba(255,255,255,.9);

    opacity: 1;

}


/* =========================================================
   ARROWS
========================================================= */

.carousel-arrow {

    position: absolute;

    top: 50%;

    transform:
        translateY(-50%);

    z-index: 20;

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid var(--line);

    background:
        rgba(12,12,13,.85);

    color:
        var(--white);

    font-size: 16px;

    backdrop-filter:
        blur(8px);

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;

}


.carousel-arrow:hover {

    border-color:
        var(--red);

    background:
        rgba(232,18,28,.12);

}


.carousel-arrow.prev {

    left: -22px;

}


.carousel-arrow.next {

    right: -22px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .carousel-card {

        flex:
            0 0
            calc((100% - 16px) / 2);

    }

}


@media (max-width: 650px) {

    .carousel-window {

        padding-left: 4px;
        padding-right: 4px;

    }


    .carousel-card {

        flex:
            0 0 100%;

    }


    .ride-image {

        height: 350px;

    }


    .carousel-arrow {

        width: 36px;
        height: 36px;

    }


    .carousel-arrow.prev {

        left: 5px;

    }


    .carousel-arrow.next {

        right: 5px;

    }

}

/* =========================================================
   REV GAUGE
========================================================= */

.rev-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.rev-gauge {
    width: clamp(170px, 24vw, 230px);
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,.7));
    transition: transform .2s ease, filter .3s ease;
    -webkit-tap-highlight-color: transparent;
}

.rev-gauge:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 0 28px rgba(232,18,28,.35));
}

.rev-gauge:active { transform: scale(.98); }

.rev-gauge.is-redline {
    filter: drop-shadow(0 0 38px rgba(232,18,28,.75));
    animation: gauge-shake .08s linear infinite;
}

@keyframes gauge-shake {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(1px, -1px); }
    50%  { transform: translate(-1px, 1px); }
    75%  { transform: translate(1px, 1px); }
    100% { transform: translate(0, 0); }
}

.rev-gauge svg { width: 100%; height: 100%; display: block; }

.rev-gauge .knurl {
    fill: none;
    stroke: #111;
    stroke-width: 4;
    stroke-dasharray: 1.6 1.6;
}

.rev-gauge .whiteline-outer,
.rev-gauge .whiteline-inner {
    stroke: #f4f2ee;
    stroke-width: 1.4;
    opacity: .9;
}

.rev-gauge .redline {
    stroke: var(--red-bright);
    stroke-width: 2.5;
}
.rev-gauge .snum.red { fill: #ff2530; }

.rev-gauge .lcd-label {
    fill: #2b3425;
    font-family: "JetBrains Mono", monospace;
    font-size: 2.8px;
    letter-spacing: .3px;
}



.rev-gauge .tick        { stroke: #cfcfcf; stroke-width: 1; }
.rev-gauge .tick.major  { stroke: #fff; stroke-width: 2; }
.rev-gauge .tick.red    { stroke: var(--red-bright); }

.rev-gauge .num {
    fill: #f4f2ee;
    font-family:"Helvetica Neue", Arial, sans-serif; /* "Inter", Arial, sans-serif;*/
    font-weight: 700;
    font-size: 9.5px;
    text-anchor: middle;
    dominant-baseline: middle;
}

.rev-gauge .dial-brand {
    fill: var(--red);
    font-family: "Bebas Neue", sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-anchor: middle;
    dominant-baseline: middle;
}

.rev-gauge .dial-badge {
    fill: none;
    stroke: var(--red);
    stroke-width: 1.2;
    opacity: .85;
}

.rev-gauge .dial-small {
    fill: #999;
    font-family: "Inter", Arial, sans-serif;
    font-weight: 600;
    font-size: 6.5px;
    letter-spacing: 1.2px;
    text-anchor: middle;
}
.rev-gauge .lcd-ghost,
.rev-gauge .lcd-text {
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-size: 7.5px;
    letter-spacing: .4px;
    text-anchor: end;
}

.rev-gauge .needle {
    fill: var(--red-bright);
    filter: drop-shadow(0 0 3px rgba(255,37,48,.8));
}

.rev-hint {
    color: var(--gray);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 2px;
    animation: hint-pulse 2s ease-in-out infinite;
}

@keyframes hint-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
}

@media (max-width: 650px) {
    .rev-wrap { margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .rev-gauge.is-redline, .rev-hint { animation: none; }
}

/* =========================================================
   FUTURISTIC CAROUSEL HUD
========================================================= */

/* rides: no "VIEW RIDE" label, whole card is clickable later */
.carousel-card .card-view { display: none; }
#rides .carousel-card { cursor: pointer; }

.carousel-controls {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 18px;
}

.carousel-controls::before,
.carousel-controls::after {
    content: "";
    flex: 1;
    height: 1px;
}

.carousel-controls::before {
    background: linear-gradient(90deg, transparent, rgba(232,18,28,.5));
}

.carousel-controls::after {
    background: linear-gradient(270deg, transparent, rgba(232,18,28,.5));
}

/* counter + caption */

.carousel-count,
.carousel-caption {
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.carousel-count {
    min-width: 64px;
    text-align: right;
    font-size: 10px;
    color: #666;
}

.carousel-count b {
    margin-right: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.carousel-caption {
    min-width: 130px;
    font-size: 9px;
    color: var(--red);
}

.carousel-caption::before {
    content: "// ";
    color: #444;
}

/* dots */

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-dot,
.carousel-dot:hover,
.carousel-dot.active {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    opacity: 1;
    transform: none;
}

.carousel-dot {
    width: 30px;
    height: 22px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: width .5s cubic-bezier(.2,.8,.2,1);
}

.carousel-dot.active {
    width: 82px;
    height: 22px;
}

.dot-bar {
    position: relative;
    display: block;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,.14);
    transform: skewX(-28deg);
    overflow: hidden;
    transition: background .3s ease, height .3s ease, box-shadow .3s ease;
}

.carousel-dot:hover .dot-bar {
    background: rgba(255,255,255,.35);
}

.carousel-dot.active .dot-bar {
    height: 4px;
    background: rgba(255,255,255,.12);
    box-shadow: 0 0 14px rgba(232,18,28,.55);
}

.dot-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--red-dim), var(--red-bright));
    transform: scaleX(0);
    transform-origin: left;
}

.carousel-dot.done .dot-fill {
    transform: scaleX(1);
    opacity: .45;
}

.carousel-dot.active .dot-fill {
    animation: dotFill 5s linear forwards;
}

/* glowing head on the moving fill */
.carousel-dot.active .dot-fill::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 6px;
    background: #fff;
    box-shadow: 0 0 10px 2px var(--red-bright);
}

@keyframes dotFill {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.carousel-controls.is-paused .dot-fill {
    animation-play-state: paused;
}

@media (max-width: 650px) {
    .carousel-caption,
    .carousel-controls::before,
    .carousel-controls::after { display: none; }

    .carousel-count { min-width: 0; }
    .carousel-dot { width: 20px; }
    .carousel-dot.active { width: 52px; }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-dot.active .dot-fill {
        animation: none;
        transform: scaleX(1);
    }
}


/* =========================================================
   MEDIA CARDS + ARROWS
   (your first carousel CSS block is stuck inside a comment
   that never closes, so these styles were never applied)
========================================================= */

.media-card {
    display: block;
    min-height: 0;
    padding: 0 !important;
    overflow: hidden;
    cursor: pointer;
}

.media-visual {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #111;
    
}

.media-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .5s ease;
}
.media-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-card:hover .media-visual img {
    transform: scale(1.07);
    filter: brightness(1.08) saturate(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(0,0,0,.02), rgba(0,0,0,.15) 45%, rgba(0,0,0,.85));
}

.media-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    color: var(--white);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1px;
}

.media-play {
    position: absolute;
    right: 18px;
    bottom: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(5px);
    color: var(--white);
    font-size: 12px;
    transition: transform .25s ease, background .25s ease;
}

.media-card:hover .media-play {
    transform: scale(1.12);
    background: rgba(232,18,28,.8);
}

/* your HTML uses .carousel-prev / .carousel-next */
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

@media (max-width: 650px) {
    .media-visual { height: 350px; }
    .carousel-prev { left: 5px; }
    .carousel-next { right: 5px; }
}

/* =========================================================
   POLISH: hero backdrop, HUD labels, scroll reveal
========================================================= */

/* hero grid, fading out toward the edges */
#home::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 0, transparent 68%);
            mask-image: radial-gradient(circle at 50% 48%, #000 0, transparent 68%);
    animation: gridDrift 24s linear infinite;
}

@keyframes gridDrift {
    to { background-position: 60px 60px; }
}

/* HUD line after every section label */
.section-number {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-number::after {
    content: "";
    width: 70px;
    height: 1px;
    background: linear-gradient(90deg, var(--red), transparent);
}

/* scroll reveal (classes are added by JS, so no-JS still shows everything) */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity .8s cubic-bezier(.2,.8,.2,1),
        transform .8s cubic-bezier(.2,.8,.2,1);
    transition-delay: var(--d, 0s);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    #home::before { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   FNR COUNTDOWN
========================================================= */

.fnr-section { position: relative; }
.fnr-container { position: relative; z-index: 1; }

/* engine-pulse rings */
.fnr-section::before,
.fnr-section::after {
    content: "";
    position: absolute;
    top: 42%;
    left: 50%;
    width: 420px;
    height: 420px;
    margin: -210px 0 0 -210px;
    border: 1px solid rgba(232,18,28,.45);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: fnrRing 4.5s ease-out infinite;
}

.fnr-section::after { animation-delay: 2.25s; }

@keyframes fnrRing {
    0%   { transform: scale(.35); opacity: .55; }
    100% { transform: scale(1.7); opacity: 0; }
}

.fnr-countdown {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.fnr-countdown > div {
    min-width: 92px;
    padding: 16px 10px 12px;
    border: 1px solid var(--line);
    background: rgba(12,12,13,.8);
    text-align: center;
    transform: skewX(-8deg);
}

.fnr-countdown b {
    display: block;
    font-family: "Bebas Neue", sans-serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 1;
    color: var(--white);
    transform: skewX(8deg);
}

.fnr-countdown span {
    display: block;
    margin-top: 6px;
    color: #666;
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: 1.4px;
    transform: skewX(8deg);
}

.fnr-status {
    margin-bottom: 30px;
    color: var(--gray);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 2px;
}

.fnr-container.is-live .fnr-countdown > div {
    border-color: var(--red);
    box-shadow: 0 0 22px rgba(232,18,28,.3);
}

.fnr-container.is-live .fnr-countdown b { color: var(--red-bright); }

.fnr-container.is-live .fnr-status {
    color: var(--red-bright);
    animation: hint-pulse 1.2s ease-in-out infinite;
}

@media (max-width: 650px) {
    .fnr-countdown { gap: 7px; }
    .fnr-countdown > div { min-width: 0; flex: 1; padding: 12px 4px 9px; }
    .fnr-countdown b { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .fnr-section::before, .fnr-section::after { animation: none; opacity: 0; }
}

/* =========================================================
   INTRO / IGNITION SEQUENCE
========================================================= 

.intro-overlay {

    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000;
    overflow: hidden;

    opacity: 1;
    transition: opacity .6s ease;
}

.intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-overlay.fade-out.fast {
    transition-duration: .3s;
}

.intro-overlay.gone {
    display: none;
}

body.intro-lock {
    overflow: hidden;
}



.intro-logo {

    position: relative;
    z-index: 3;

    width: clamp(200px, 34vw, 380px);
    height: clamp(200px, 34vw, 380px);

    border-radius: 50%;
    object-fit: cover;

    opacity: 0;
    transform: scale(.25);

    filter:
        brightness(0)
        drop-shadow(0 0 0 rgba(232,18,28,0));
}

.intro-overlay.run .intro-logo {
    animation: introLogoSeq 3.6s cubic-bezier(.3,.1,.2,1) forwards;
}

@keyframes introLogoSeq {

    0% {
        opacity: 0;
        transform: scale(.25);
        filter: brightness(0) drop-shadow(0 0 0 rgba(232,18,28,0));
    }

    12% {
        opacity: 1;
        transform: scale(1.08);
        filter: brightness(1.5) drop-shadow(0 0 34px rgba(232,18,28,.9));
    }

    20% {
        transform: scale(.96);
        filter: brightness(1) drop-shadow(0 0 16px rgba(232,18,28,.55));
    }

    28% { transform: scale(1.02); }
    36% { transform: scale(.98); }
    44% { transform: scale(1.02); filter: brightness(1.05) drop-shadow(0 0 20px rgba(232,18,28,.6)); }
    50% { transform: scale(1); filter: brightness(1) drop-shadow(0 0 16px rgba(232,18,28,.55)); }

  
    58% {
        transform: scale(1.22);
        filter: brightness(2) drop-shadow(0 0 60px rgba(255,37,48,1));
    }

    64% {
        transform: scale(1.05);
        filter: brightness(1.2) drop-shadow(0 0 30px rgba(232,18,28,.8));
    }


    72% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 20px rgba(232,18,28,.6));
    }

  
    88% {
        opacity: .35;
        transform: scale(1.08);
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
        filter: brightness(1) drop-shadow(0 0 0 rgba(232,18,28,0));
    }

}


.intro-flash {

    position: absolute;
    inset: 0;
    z-index: 2;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255,255,255,.95),
            rgba(255,255,255,0) 60%
        );

    opacity: 0;
    pointer-events: none;
}

.intro-overlay.run .intro-flash {
    animation: introFlashSeq 4.2s ease-out forwards;
}

@keyframes introFlashSeq {
    0%, 55%  { opacity: 0; }
    60%      { opacity: .85; }
    70%      { opacity: 0; }
    100%     { opacity: 0; }
}

.intro-rings {
    position: absolute;
    z-index: 1;
    width: 10px;
    height: 10px;
}

.intro-ring {

    position: absolute;
    top: 50%;
    left: 50%;

    width: 220px;
    height: 220px;

    margin: -110px 0 0 -110px;

    border: 1px solid rgba(232,18,28,.5);
    border-radius: 50%;

    opacity: 0;
}

.intro-overlay.run .intro-logo {
    animation: introLogoSeq 4.2s cubic-bezier(.3,.1,.2,1) forwards;
}

.intro-overlay.run .intro-ring:nth-child(2) { animation-delay: .9s; }
.intro-overlay.run .intro-ring:nth-child(3) { animation-delay: 1.8s; }

@keyframes introRingPulse {
    0%   { transform: scale(.4); opacity: .55; }
    100% { transform: scale(2.1); opacity: 0; }
}


.intro-smoke-canvas {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.intro-fire {

    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 2;

    width: 340px;
    height: 340px;

    margin: -170px 0 0 -170px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,140,40,.95) 0%,
            rgba(232,18,28,.6) 35%,
            rgba(232,18,28,0) 70%
        );

    opacity: 0;
    transform: scale(.3);

    pointer-events: none;
}

.intro-fire.go {
    animation: introFireBurst .75s ease-out forwards;
}

@keyframes introFireBurst {
    0%   { opacity: 0; transform: scale(.25); }
    25%  { opacity: 1; transform: scale(1.15); }
    100% { opacity: 0; transform: scale(1.9); }
}

.intro-skip {

    position: absolute;
    right: 26px;
    bottom: 26px;
    z-index: 4;

    padding: 10px 16px;

    border: 1px solid var(--line);
    background: rgba(12,12,13,.7);

    color: var(--gray);

    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.4px;

    opacity: 0;
    animation: introSkipFade .5s ease .8s forwards;

    transition: border-color .2s ease, color .2s ease;
}

.intro-skip:hover {
    border-color: var(--red);
    color: var(--white);
}

@keyframes introSkipFade {
    to { opacity: 1; }
}


@media (max-width: 650px) {
    .intro-ring { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
    .intro-skip { right: 16px; bottom: 16px; }
}
*/

/* =========================================================
   INTRO / LOGO + BURNOUT
========================================================= */

.intro-overlay {
    --bw: clamp(240px, 32vw, 460px);   /* bike width */
    --ground: 10vh;                    /* road height from bottom */

    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000;
    overflow: hidden;

    opacity: 1;
    transition: opacity .6s ease;
}

.intro-overlay.fade-out { opacity: 0; pointer-events: none; }
.intro-overlay.fade-out.fast { transition-duration: .3s; }
.intro-overlay.gone { display: none; }

body.intro-lock { overflow: hidden; }


/* ---------- logo (original sequence, but it stays on screen) ---------- */

.intro-logo {
    position: relative;
    z-index: 3;

    width: clamp(200px, 34vw, 380px);
    height: clamp(200px, 34vw, 380px);

    border-radius: 50%;
    object-fit: cover;

    opacity: 0;
    transform: scale(.25);

    filter: brightness(0) drop-shadow(0 0 0 rgba(232,18,28,0));
}

.intro-overlay.run .intro-logo {
    animation: introLogoSeq 4.2s cubic-bezier(.3,.1,.2,1) forwards;
}

@keyframes introLogoSeq {

    0% {
        opacity: 0;
        transform: scale(.25);
        filter: brightness(0) drop-shadow(0 0 0 rgba(232,18,28,0));
    }

    12% {
        opacity: 1;
        transform: scale(1.08);
        filter: brightness(1.5) drop-shadow(0 0 34px rgba(232,18,28,.9));
    }

    20% {
        transform: scale(.96);
        filter: brightness(1) drop-shadow(0 0 16px rgba(232,18,28,.55));
    }

    28% { transform: scale(1.02); }
    36% { transform: scale(.98); }
    44% { transform: scale(1.02); filter: brightness(1.05) drop-shadow(0 0 20px rgba(232,18,28,.6)); }
    50% { transform: scale(1); filter: brightness(1) drop-shadow(0 0 16px rgba(232,18,28,.55)); }

    /* REV peak (the bike's burnout starts here) */
    58% {
        transform: scale(1.22);
        filter: brightness(2) drop-shadow(0 0 60px rgba(255,37,48,1));
    }

    64% {
        transform: scale(1.05);
        filter: brightness(1.2) drop-shadow(0 0 30px rgba(232,18,28,.8));
    }

    /* settle and stay */
    72%, 100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 20px rgba(232,18,28,.6));
    }
}


/* ---------- rev flash ---------- */

.intro-flash {
    position: absolute;
    inset: 0;
    z-index: 2;

    background: radial-gradient(
        circle at 50% 50%,
        rgba(255,255,255,.95),
        rgba(255,255,255,0) 60%
    );

    opacity: 0;
    pointer-events: none;
}

.intro-overlay.run .intro-flash {
    animation: introFlashSeq 4.2s ease-out forwards;
}

@keyframes introFlashSeq {
    0%, 55%  { opacity: 0; }
    60%      { opacity: .85; }
    70%      { opacity: 0; }
    100%     { opacity: 0; }
}


/* ---------- road line ---------- */

.intro-ground {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--ground);
    height: 2px;
    z-index: 4;

    background: linear-gradient(90deg,
        transparent, rgba(232,18,28,.75) 30%,
        rgba(232,18,28,.75) 70%, transparent);
    box-shadow: 0 0 18px rgba(232,18,28,.5);

    opacity: 0;
    transition: opacity .5s ease;
}

.intro-overlay.road .intro-ground { opacity: 1; }


/* ---------- smoke canvas ---------- */

.intro-smoke-canvas {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}


/* ---------- bike ---------- */

.intro-bike {
    position: absolute;
    z-index: 6;
    left: 50%;
    width: var(--bw);
    margin-left: calc(var(--bw) / -2);

    /* tyre bottom sits exactly on the road line */
    bottom: calc(var(--ground) - var(--bw) * .085);

    transform: translateX(-110vw);
}

.intro-bike svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.intro-bike.pos-center {
    transform: translateX(0);
    transition: transform .7s cubic-bezier(.1,.75,.25,1);
}

.intro-bike.pos-gone {
    transform: translateX(140vw);
    transition: transform .75s cubic-bezier(.65,0,1,.6);
}

.spin {
    transform-box: fill-box;
    transform-origin: center;
}

@keyframes wheelSpin { to { transform: rotate(360deg); } }

/* rolling in */
.intro-bike.state-roll .spin { animation: wheelSpin .35s linear infinite; }

/* burnout: front wheel locked, rear screaming */
.intro-bike.state-burn .w-rear .spin { animation: wheelSpin .07s linear infinite; }
.intro-bike.state-burn .w-rear .spokes { opacity: .3; }
.intro-bike.state-burn svg {
    transform-origin: 50% 85%;
    animation: bikeShake .09s linear infinite;
}

/* launch */
.intro-bike.state-launch .spin { animation: wheelSpin .09s linear infinite; }
.intro-bike.state-launch .w-rear .spokes { opacity: .3; }

@keyframes bikeShake {
    0%   { transform: translate(0, 0) rotate(0); }
    25%  { transform: translate(1px, -1.5px) rotate(-.25deg); }
    50%  { transform: translate(-1px, 0) rotate(0); }
    75%  { transform: translate(1px, 1px) rotate(.2deg); }
    100% { transform: translate(0, 0) rotate(0); }
}

/* hot rubber glow under the rear tyre */
.tire-glow {
    opacity: 0;
    filter: blur(3px);
    transition: opacity .4s ease;
}

.intro-bike.state-burn .tire-glow { opacity: 1; }


/* ---------- skip ---------- */

.intro-skip {
    position: absolute;
    right: 26px;
    bottom: 26px;
    z-index: 7;

    padding: 10px 16px;

    border: 1px solid var(--line);
    background: rgba(12,12,13,.7);

    color: var(--gray);

    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.4px;

    opacity: 0;
    animation: introSkipFade .5s ease .8s forwards;

    transition: border-color .2s ease, color .2s ease;
}

.intro-skip:hover {
    border-color: var(--red);
    color: var(--white);
}

@keyframes introSkipFade { to { opacity: 1; } }

@media (max-width: 650px) {
    .intro-skip { right: 16px; bottom: 16px; }
}
/* =========================================================
   CREW — CITY FILTER
========================================================= */

.crew-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 50px;
    align-items: start;
}
.city-filter {
    position: sticky;
    top: 110px;
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.city-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 2px;
    border: 0;
    background: transparent;
    text-align: left;
}

.city-line {
    flex-shrink: 0;
    width: 34px;
    height: 2px;
    background: rgba(255,255,255,.18);
    transform: skewX(-20deg);
    transition: width .3s ease, background .3s ease, box-shadow .3s ease;
}

.city-name {
    flex: 1;
    color: #666;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 1.4px;
    white-space: nowrap;
    transition: color .25s ease;
}

.city-count {
    color: #444;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    transition: color .25s ease;
}

.city-btn:hover .city-line { background: rgba(255,255,255,.4); }
.city-btn:hover .city-name { color: var(--white); }

.city-btn.active .city-line {
    width: 54px;
    background: var(--red);
    box-shadow: 0 0 10px rgba(232,18,28,.6);
}

.city-btn.active .city-name { color: var(--white); }
.city-btn.active .city-count { color: var(--red); }

.crew-layout .member-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.crew-layout .member-card {
    flex: 0 1 200px;
}
.crew-empty {
    grid-column: 1 / -1;
    padding: 48px 20px;
    text-align: center;
    border: 1px dashed var(--line);
    background: rgba(255,255,255,.015);
}

.crew-empty strong {
    display: block;
    margin-bottom: 10px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--white);
}

.crew-empty p {
    margin-bottom: 18px;
    color: var(--gray);
    font-size: 13px;
}

/* =========================================================
   CREW — FINAL LAYOUT
========================================================= */

.crew-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    column-gap: 44px;
    align-items: start;
}

.city-filter {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.city-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 2px;
    border: 0;
    background: transparent;
    text-align: left;
}

.city-line {
    flex-shrink: 0;
    width: 34px;
    height: 2px;
    background: rgba(255,255,255,.18);
    transform: skewX(-20deg);
    transition: width .3s ease, background .3s ease, box-shadow .3s ease;
}

.city-name {
    flex: 1;
    color: #666;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 1.4px;
    white-space: nowrap;
    transition: color .25s ease;
}

.city-count {
    color: #444;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    transition: color .25s ease;
}

.city-btn:hover .city-line { background: rgba(255,255,255,.4); }
.city-btn:hover .city-name { color: var(--white); }

.city-btn.active .city-line {
    width: 54px;
    background: var(--red);
    box-shadow: 0 0 10px rgba(232,18,28,.6);
}

.city-btn.active .city-name { color: var(--white); }
.city-btn.active .city-count { color: var(--red); }

.crew-layout .member-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.crew-layout .member-card {
    flex: 0 1 200px;
    padding: 0;
    border: 0;
    background: transparent;
    perspective: 1000px;
    cursor: pointer;
}

.member-card-inner {
    position: relative;
    width: 100%;
    height: 230px;
    transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.4,.15,.2,1);
}

.member-card.flipped .member-card-inner {
    transform: rotateY(180deg);
}

.member-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--black);
    text-align: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.member-face-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(232,18,28,.08), rgba(12,12,13,.95));
}

.member-back-role {
    color: var(--red);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.member-back-name {
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 8px;
}

.member-back-tag {
    color: var(--gray);
    font-size: 11px;
    line-height: 1.6;
}

.member-back-insta {
    margin-top: 10px;
    padding: 6px 12px;
    border: 1px solid rgba(232,18,28,.4);
    color: var(--red-bright);
    text-decoration: none;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: .8px;
    transition: background .2s ease, border-color .2s ease;
}

.member-back-insta:hover {
    background: rgba(232,18,28,.1);
    border-color: var(--red-bright);
}

.crew-empty {
    flex: 1 1 100%;
    padding: 48px 20px;
    text-align: center;
    border: 1px dashed var(--line);
    background: rgba(255,255,255,.015);
}

.crew-empty strong {
    display: block;
    margin-bottom: 10px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--white);
}

.crew-empty p {
    margin-bottom: 18px;
    color: var(--gray);
    font-size: 13px;
}

@media (max-width: 950px) {
    .crew-layout { grid-template-columns: 1fr; }

    .city-filter {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 10px;
        margin-bottom: 24px;
        -webkit-overflow-scrolling: touch;
    }

    .city-btn {
        flex: 0 0 auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 14px;
        border: 1px solid var(--line);
    }

    .city-line { width: 100%; }
    .city-btn.active .city-line { width: 100%; }
    .city-btn.active { border-color: var(--red); }
}

/* =========================================================
   RIDES — FIT IN ONE VIEWPORT (scoped to #rides only)
========================================================= */

#rides.content-section {
    padding-top: 25px;
    padding-bottom: 40px;
}

#rides .section-header {
    margin-bottom: 52px;
}

#rides .section-header h2 {
    font-size: clamp(46px, 6vw, 76px);
}

#rides .ride-image {
    height: 320px;
}

#rides .ride-info {
    padding: 14px 20px;
}

#rides .carousel-controls {
    margin-top: 10px;
}

@media (max-width: 650px) {
    #rides .ride-image {
        height: 220px;
    }
}

/* =========================================================
   JOIN REQUEST — TRIGGER BUTTON
========================================================= */

.join-request-btn {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--red);
    background: rgba(232,18,28,.1);
    color: var(--white);
    min-height: 39px;
    padding: 0 14px;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background .2s ease, box-shadow .2s ease;
}

.join-request-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transform: translateX(-100%);
    animation: joinShine 3s ease-in-out infinite;
}

@keyframes joinShine {
    0%, 60% { transform: translateX(-100%); }
    100%    { transform: translateX(100%); }
}

.join-request-btn:hover {
    background: rgba(232,18,28,.22);
    box-shadow: 0 0 16px rgba(232,18,28,.4);
}

/* =========================================================
   JOIN REQUEST — MODAL
========================================================= */

.join-modal {
    position: relative;
    width: min(640px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    padding: 34px;
    border: 1px solid var(--red-dim);
    background: var(--black);
}

.join-modal h2 {
    margin-bottom: 10px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 44px;
    line-height: .9;
    font-weight: 400;
}

.join-modal h2 span { color: var(--red); }

.join-intro {
    margin-bottom: 26px;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.6;
}

.join-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.join-section:last-of-type {
    border-bottom: 0;
}

.join-section-label {
    display: block;
    margin-bottom: 16px;
    color: var(--red);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 1.6px;
}

#joinForm label {
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
    color: #777;
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

#joinForm input,
#joinForm select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    outline: none;
    background: var(--black-soft);
    color: var(--white);
    font-size: 13px;
}

#joinForm input:focus,
#joinForm select:focus {
    border-color: var(--red);
}

.join-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* declaration */
.field-hint {
    display: block;
    margin-top: 4px;
    color: #555;
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: .5px;
}

#joinForm textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    outline: none;
    background: var(--black-soft);
    color: var(--white);
    font-size: 13px;
    font-family: "Inter", sans-serif;
       resize: none;
}

#joinForm textarea:focus {
    border-color: var(--red);
}

/* declaration — collapsed by default */

/* declaration: 2-line preview, then checkbox */

.declaration-block {
    border: 1px solid var(--red-dim);
    background: rgba(232,18,28,.05);
}

.declaration-full {
    position: relative;
    padding: 12px 18px 0 0;
    font-size: 12px;
    line-height: 1.8;
    color: var(--gray);

    /* collapsed = exactly 2 lines */
    max-height: calc(12px + 3.6em);
    overflow: hidden;
    transition: max-height .35s ease;
}

.declaration-full ol {
    margin: 0;
    padding-left: 34px;
}

.declaration-full li { margin-bottom: 0; }

/* fade on the 2nd line while collapsed */
.declaration-full::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.4em;
    background: linear-gradient(to bottom, transparent, #170c0d);
    pointer-events: none;
}

.declaration-full.open {
    max-height: 260px;
    overflow-y: auto;
}

.declaration-full.open::after { display: none; }

.declaration-full.open li { margin-bottom: 10px; }

.declaration-full.open li:last-child {
    margin-bottom: 0;
    color: var(--white);
    font-weight: 600;
}

.declaration-toggle {
    display: block;
    width: 100%;
    padding: 9px 16px;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    color: var(--red);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.4px;
    text-align: left;
    transition: background .2s ease;
}

.declaration-toggle:hover { background: rgba(232,18,28,.08); }

/* #joinForm prefix is needed to beat the generic #joinForm label/input rules */
#joinForm .declaration-agree {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    cursor: pointer;
}

#joinForm .declaration-agree input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    padding: 0;
    accent-color: var(--red);
}

#joinForm .declaration-agree span {
    color: var(--white);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: .5px;
    line-height: 1.5;
}

.join-submit {
    margin-top: 6px;
}

@media (max-width: 650px) {
    .join-modal { padding: 24px 20px; }
    .join-modal h2 { font-size: 36px; }
    .join-row { grid-template-columns: 1fr; }
}

/* closed dropdown / date showing its placeholder = light grey */
#joinForm select.is-placeholder {
    color: #666 !important;
}

/* chosen value = white again */
#joinForm select:not(.is-placeholder) {
    color: var(--white);
}

/* the options in the opened list keep their own colours */
#joinForm select option {
    color: var(--white);
}

#joinForm select option[disabled] {
    color: #666;
}

/* empty date shows dd-mm-yyyy in grey */
#joinForm input[type="date"].is-placeholder::-webkit-datetime-edit {
    color: #666;
}

#joinForm input[type="date"]::-webkit-datetime-edit {
    color: var(--white);
}

/* declaration: every line identical, no bold/white last line */
#joinForm .declaration-full li,
#joinForm .declaration-full li:last-child,
#joinForm .declaration-full.open li:last-child {
    color: var(--gray) !important;
    font-weight: 400 !important;
}

/* hide the scrollbar but keep scrolling */
.declaration-full {
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* old Edge */
}

.declaration-full::-webkit-scrollbar {
    display: none;                  /* Chrome, Edge, Safari */
}

.join-modal {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.join-modal::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   CUSTOM DATE PICKER
========================================================= */

.dp { position: relative; }

#joinForm .dp-input {
    cursor: pointer;
    padding-right: 40px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e8121c' stroke-width='2'><rect x='3' y='5' width='18' height='16' rx='1'/><path d='M3 10h18M8 3v4M16 3v4'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.dp-pop {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    width: 300px;
    max-width: 100%;
    padding: 14px;
    border: 1px solid var(--red-dim);
    background: var(--black);
    box-shadow: 0 20px 50px rgba(0,0,0,.7), 0 0 24px rgba(232,18,28,.12);
}

.dp-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

#joinForm .dp-head select {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 8px 6px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: .6px;
    color-scheme: dark;
}

.dp-nav {
    flex: 0 0 32px;
    height: 32px;
    border: 1px solid var(--line);
    background: var(--black-soft);
    color: var(--white);
    font-size: 16px;
    line-height: 1;
    transition: border-color .2s ease, background .2s ease;
}

.dp-nav:hover:not(:disabled) {
    border-color: var(--red);
    background: rgba(232,18,28,.12);
}

.dp-nav:disabled { color: #333; cursor: default; }

.dp-week,
.dp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.dp-week span {
    padding: 6px 0;
    text-align: center;
    color: var(--red);
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.dp-day {
    aspect-ratio: 1;
    border: 1px solid transparent;
    background: transparent;
    color: var(--white);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    transition: background .15s ease, border-color .15s ease;
}

.dp-day:hover:not(:disabled) {
    border-color: var(--red);
    background: rgba(232,18,28,.12);
}

.dp-day.sel {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.dp-day:disabled {
    color: #333;
    cursor: default;
}

.dp-blank { aspect-ratio: 1; }

.dp-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.dp-note {
    color: #555;
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: .8px;
}

.dp-clear {
    border: 0;
    background: transparent;
    color: var(--red);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1px;
}

.dp-clear:hover { color: var(--red-bright); }

.mobile-join { display: none; }

@media (max-width: 650px) {

    .join-request-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 39px;
        padding: 0 9px;
        font-size: 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .nav-container {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .brand {
        gap: 6px;
    }

    .brand-logo {
        width: 32px;
        height: 32px;
    }

    .brand-name {
        font-size: 17px;
    }

    .nav-actions {
        gap: 5px;
    }

    .member-btn,
    .cart-btn {
        padding: 0 7px;
        font-size: 7px;
    }

    .mobile-menu-btn {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

}
@media (max-width: 380px) {

    .brand-name {
        display: none;   /* logo icon alone is enough at this width */
    }

    .join-request-btn {
        padding: 0 7px;
        font-size: 7px;
    }

}
/* ================= MARKETPLACE PRODUCT IMAGE ================= */

.product-image,
.product-gallery {
    width: 100%;
    height: 310px;
    overflow: hidden;
    position: relative;
    background: #111;
    cursor: zoom-in;
}


/* ================= PRODUCT GALLERY ================= */

.product-gallery .product-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: top center;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.25s ease;
}

.product-gallery .product-slide.active {
    opacity: 1;
    visibility: visible;
}


/* ================= PRODUCT IMAGE DOTS ================= */

.product-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 8px;

    z-index: 20;
}

.product-dot {
    width: 8px;
    height: 8px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.45);

    cursor: pointer;

    transition: all 0.2s ease;
}

.product-dot.active {
    background: #fff;
    transform: scale(1.35);
}

.product-dot:hover {
    background: #fff;
}

/* =========================================================
   PRODUCT IMAGE ZOOM
========================================================= */

.img-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0,0,0,.92);

    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.img-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.img-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.img-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
}

/* =========================================================
   MARKETPLACE — FIT IN ONE VIEWPORT (scoped to #marketplace)
========================================================= */

#marketplace.content-section {
    padding-top: 25px;
    padding-bottom: 40px;
}

#marketplace .section-header {
    margin-bottom: 30px;
}

#marketplace .section-header h2 {
    font-size: clamp(46px, 6vw, 76px);
}

#marketplace .member-banner {
    margin-bottom: 24px;
    padding: 20px 24px;
}

/* =========================================================
   MEMBER STATE — reacts to body.is-member
========================================================= */

/* hide member pricing until logged in */
.product-card .member-price,
.product-card .save-price {
    display: none;
}

body.is-member .product-card .member-price,
body.is-member .product-card .save-price {
    display: block;
}

.member-lock-note {
    display: block;
    margin-top: 4px;
    color: #555;
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: .5px;
}

body.is-member .member-lock-note {
    display: none;
}

/* members have already joined — hide the marketplace upsell banner */
body.is-member .member-banner {
    display: none;
}

@media (max-width: 950px) {
    .carousel-card,
    .ride-image img,
    .media-visual img {
        transition: none !important;
    }
}

@media (max-width: 950px) {

    .product-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
    }

    .product-grid::-webkit-scrollbar { display: none; }

    .product-card {
        flex: 0 0 calc((100% - 14px) / 2);   /* 2 visible on tablet */
        scroll-snap-align: start;
    }
}

@media (max-width: 650px) {
    .product-card {
        flex: 0 0 82%;       /* 1 card plus a peek of the next, so people know to swipe */
    }
}

@media (max-width: 950px) {

    .city-filter {
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        padding-right: 48px;                 /* so the last city isn't faded out */
        -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
                mask-image: linear-gradient(90deg, #000 88%, transparent);
    }

    .city-filter::-webkit-scrollbar { display: none; }

    .city-btn {
        scroll-snap-align: start;
        padding: 8px 12px;                   /* a little tighter, so more fit */
    }
}

@media (max-width: 950px) {

    .crew-layout > * { min-width: 0; }     /* lets the grid column shrink instead of stretching */

    .city-filter {
        width: 100%;
        max-width: 100%;
    }
}
button.nav-link,
button.mobile-nav-link {
    border: 0;
    background: none;
    text-align: left;
}

/* ================= ABOUT ================= */

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 56px;
}

.about-tags span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    color: var(--gray);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.3px;
}

.about-block { margin-bottom: 60px; }
.about-block:last-child { margin-bottom: 0; }

.about-label {
    display: block;
    margin-bottom: 20px;
    color: var(--red);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 1.6px;
}

.about-timeline,
.about-grid,
.about-rules {
    display: grid;
    gap: 14px;
}

.about-timeline { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.about-grid     { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.about-rules    { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.timeline-item {
    position: relative;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px rgba(232,18,28,.7);
}

.timeline-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--red);
    font-family: "Bebas Neue", sans-serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1;
}

.timeline-item p,
.about-card p,
.about-rule p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
}

.about-card,
.about-rule {
    padding: 24px 20px;
    border: 1px solid var(--line);
    background: var(--black);
    transition: border-color .3s ease, transform .3s ease;
}

.about-card:hover,
.about-rule:hover {
    border-color: rgba(232,18,28,.45);
    transform: translateY(-4px);
}

.about-card h3,
.about-rule h4 {
    margin-bottom: 8px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
}

.about-rule h4 { font-size: 20px; }

.about-rule b {
    display: block;
    margin-bottom: 10px;
    color: var(--red);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 1.4px;
}
/* ================= ABOUT POPUP ================= */

#aboutModal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

#aboutModal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.about-modal {
    position: relative;

    width: min(980px, 100%);
    max-height: 88vh;
    max-height: 88svh;

    overflow: hidden;

    border: 1px solid var(--red-dim);
    background: var(--black);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(232, 18, 28, 0.1);

    transform: translateY(16px) scale(0.98);
    transition: transform 0.3s cubic-bezier(.2, .8, .2, 1);
}

#aboutModal.open .about-modal {
    transform: translateY(0) scale(1);
}

/* SCROLLABLE CONTENT */

.about-scroll {
    max-height: 88vh;
    max-height: 88svh;

    overflow-y: auto;
    overscroll-behavior: contain;

    padding: 44px 40px 40px;

    scrollbar-width: thin;
    scrollbar-color: var(--red-dim) transparent;
}

.about-scroll::-webkit-scrollbar {
    width: 4px;
}

.about-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.about-scroll::-webkit-scrollbar-thumb {
    background: var(--red-dim);
}

/* CLOSE BUTTON */

.about-modal .modal-close {
    position: absolute;
    z-index: 5;
    top: 10px;
    right: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    padding: 0;

    border: 1px solid var(--line);
    background: rgba(12, 12, 13, 0.95);
    color: var(--white);

    font-size: 24px;
    line-height: 1;
    cursor: pointer;

    transition:
        border-color 0.25s ease,
        color 0.25s ease;
}

.about-modal .modal-close:hover {
    border-color: var(--red);
    color: var(--red);
}

/* HEADER */

.about-modal .section-header {
    gap: 30px;
    margin-bottom: 34px;
}

.about-modal .section-header h2 {
    font-size: clamp(44px, 6vw, 72px);
}

/* TAGS */

.about-modal .about-tags {
    margin-bottom: 44px;
}

/* CONTENT BLOCKS */

.about-modal .about-block {
    margin-bottom: 48px;
}

.about-modal .about-block:last-child {
    margin-bottom: 0;
}

/* RESPONSIVE GRIDS */

.about-modal .about-timeline {
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 240px), 1fr)
    );
}

.about-modal .about-grid {
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 220px), 1fr)
    );
}

.about-modal .about-rules {
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 190px), 1fr)
    );
}

/* MOBILE */

@media (max-width: 650px) {
    #aboutModal {
        padding: 12px;
    }

    .about-modal {
        max-height: 92vh;
        max-height: 92svh;
    }

    .about-scroll {
        max-height: 92vh;
        max-height: 92svh;
        padding: 54px 18px 26px;
    }

    .about-modal .section-header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-modal .section-header h2 {
        font-size: 46px;
    }

    .about-modal .about-tags {
        margin-bottom: 36px;
    }

    .about-modal .about-block {
        margin-bottom: 38px;
    }

    .about-modal .about-card,
    .about-modal .about-rule {
        padding: 20px 16px;
    }
}
/* ================= FOOTER ================= */

/* ================= GT BOYZ FOOTER ================= */

.site-footer {
    --footer-bg: #0b0b0c;
    --footer-border: #29292c;
    --footer-muted: #92929a;
    --footer-red: #e8121c;

    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 54px 6% 20px;
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    overflow: hidden;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

/* MAIN GRID */

.site-footer .footer-main {
    display: grid;
    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(0, 0.75fr)
        minmax(0, 0.9fr)
        minmax(0, 1fr);

    gap: clamp(24px, 3.5vw, 56px);

    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 0 48px;
}

/* BRAND */

.site-footer .footer-brand-column {
    min-width: 0;
}

.site-footer .footer-brand {
    display: inline-block;
    margin: 0 0 12px;

    color: #f5f5f5;
    font-family: "Bebas Neue", sans-serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.site-footer .footer-brand span {
    color: var(--footer-red);
}

.site-footer .footer-tagline {
    margin: 0 0 20px;

    color: var(--footer-red);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.8;
}

.site-footer .footer-description {
    max-width: 330px;
    margin: 0 0 22px;

    color: var(--footer-muted);
    font-size: 12px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.site-footer .footer-location {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    color: var(--footer-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.6px;
    line-height: 1.8;
}

.site-footer .footer-status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;

    border-radius: 50%;
    background: var(--footer-red);
    box-shadow: 0 0 8px rgba(232, 18, 28, 0.5);
}

/* NAVIGATION COLUMNS */

.site-footer .footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: start;

    min-width: 0;
    gap: 15px;
}

.site-footer .footer-column h3 {
    margin: 4px 0 10px;

    color: #f5f5f5;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    line-height: 1.5;
}

.site-footer .footer-column > a {
    color: var(--footer-muted);
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;

    transition: color 0.2s ease;
}

.site-footer .footer-column > a:hover {
    color: var(--footer-red);
}

/* SOCIAL COLUMN */

.site-footer .footer-social > p {
    margin: 0 0 4px;
    color: var(--footer-muted);
    font-size: 12px;
    line-height: 1.9;
}

.site-footer .footer-social-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.site-footer .footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    border: 1px solid #38383c;
    border-radius: 2px;

    color: #ededed;
    text-decoration: none;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.site-footer .footer-social-icons svg {
    display: block;
    width: 19px;
    height: 19px;
}

.site-footer .footer-social-icons a:hover {
    color: #ffffff;
    border-color: var(--footer-red);
    background: rgba(232, 18, 28, 0.12);
    transform: translateY(-3px);
}

.site-footer .footer-social-caption {
    margin-top: 4px;
    color: var(--footer-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
    line-height: 1.8;
}

/* CTA ROW */

.site-footer .footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 0;

    border-top: 1px solid var(--footer-border);
    border-bottom: 1px solid var(--footer-border);
}

.site-footer .footer-cta-copy {
    min-width: 0;
}

.site-footer .footer-eyebrow {
    display: block;
    margin-bottom: 10px;

    color: var(--footer-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.5px;
    line-height: 1.8;
}

.site-footer .footer-cta h2 {
    margin: 0;

    color: #f5f5f5;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 400;
    line-height: 0.95;
}

.site-footer .footer-cta h2 span {
    color: var(--footer-red);
}

.site-footer .footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    flex-shrink: 0;
    min-height: 48px;
    padding: 14px 20px;

    border: 1px solid var(--footer-red);
    color: #ffffff;

    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.5;
    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.site-footer .footer-cta-button span {
    color: var(--footer-red);
    font-size: 16px;
    transition: color 0.2s ease;
}

.site-footer .footer-cta-button:hover {
    background: var(--footer-red);
}

.site-footer .footer-cta-button:hover span {
    color: #ffffff;
}

/* BOTTOM BAR */

.site-footer .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;

    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 20px;

    color: var(--footer-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.5px;
    line-height: 1.9;
}

.site-footer .footer-copyright {
    justify-self: start;
}

.site-footer .footer-bottom-motto {
    justify-self: center;
    text-align: center;
}

.site-footer .footer-est {
    justify-self: end;
    text-align: right;
    white-space: nowrap;
}

.site-footer .footer-est span {
    padding: 0 3px;
    color: var(--footer-red);
}

/* TABLET */

@media (max-width: 1050px) {
    .site-footer {
        padding-right: 4%;
        padding-left: 4%;
    }

    .site-footer .footer-main {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 36px 28px;
    }

    .site-footer .footer-brand-column {
        grid-column: 1 / -1;
        max-width: 540px;
    }

    .site-footer .footer-description {
        max-width: 440px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .site-footer {
        padding: 40px 20px 18px;
    }

    .site-footer .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 22px;
        padding-bottom: 34px;
    }

    .site-footer .footer-brand-column {
        grid-column: 1 / -1;
    }

    .site-footer .footer-brand {
        font-size: 46px;
    }

    .site-footer .footer-description {
        max-width: 100%;
    }

    .site-footer .footer-column {
        gap: 13px;
    }

    .site-footer .footer-column h3 {
        margin-bottom: 6px;
        font-size: 9px;
    }

    .site-footer .footer-column > a,
    .site-footer .footer-social > p {
        font-size: 11px;
    }

    .site-footer .footer-social-icons {
        gap: 9px;
    }

    .site-footer .footer-social-icons a {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .site-footer .footer-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        padding: 28px 0;
    }

    .site-footer .footer-cta h2 {
        font-size: 52px;
    }

    .site-footer .footer-cta-button {
        width: 100%;
    }

    .site-footer .footer-bottom {
        grid-template-columns: 1fr;
        gap: 7px;
        padding-top: 18px;
        font-size: 8px;
    }

    .site-footer .footer-copyright,
    .site-footer .footer-bottom-motto,
    .site-footer .footer-est {
        justify-self: start;
        text-align: left;
        white-space: normal;
    }
}
body.is-member .footer-cta,
body.is-member [data-open-join] { display: none; }
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--footer-red), transparent);
    opacity: .6;
}
.site-footer .footer-disclaimer {
    max-width: 1440px;
    margin: 14px auto 0;
    color: #5f5f66;
    font-size: 10px;
    line-height: 1.7;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));   /* sits above the notification toast */
    z-index: 900;

    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;

    border: 1px solid var(--line);
    background: rgba(12,12,13,.9);
    backdrop-filter: blur(6px);
    color: var(--white);
    font-size: 18px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease,
        border-color .2s ease,
        background .2s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    border-color: var(--red);
    background: rgba(232,18,28,.14);
}

@media (max-width: 650px) {
    .back-to-top { right: 14px; width: 40px; height: 40px; }
}

/* ================= SHARED POPUP STYLES =================
   skip this block if your main.css already has .about-modal / .about-scroll */

.about-modal {
    position: relative;
    width: min(980px, 100%);
    border: 1px solid var(--red-dim);
    background: var(--black);
    box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 40px rgba(232,18,28,.1);
    transform: translateY(16px) scale(.98);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
}

.modal-overlay.open .about-modal { transform: none; }

.about-scroll {
    max-height: 88vh;
    max-height: 88svh;
    overflow-y: auto;
    padding: 44px 40px 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.about-scroll::-webkit-scrollbar { display: none; }

.about-modal .modal-close {
    z-index: 5;
    top: 10px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    background: rgba(12,12,13,.9);
    color: var(--white);
    font-size: 24px;
    line-height: 1;
}

.about-modal .modal-close:hover { border-color: var(--red); }
.about-modal .section-header { margin-bottom: 34px; gap: 30px; }
.about-modal .section-header h2 { font-size: clamp(44px, 6vw, 72px); }

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

@media (max-width: 650px) {
    .about-scroll { padding: 52px 18px 26px; }
    .about-modal .section-header h2 { font-size: 46px; }
}

/* ================= RIDE POPUPS ================= */

#rideModal { z-index: 3100; }                 /* above the all-rides popup */
#ridesTrack:empty { min-height: 360px; }      /* no layout jump while loading */

.rides-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

/* fewer than 4 rides: plain grid instead of a slider */
.carousel-shell.is-static .carousel-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    transform: none !important;
}

/* all-rides grid */
.rides-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    padding: 10px 4px 4px;
}

.rides-archive .carousel-card { cursor: pointer; }
.rides-archive .ride-image { height: 200px; }

.rides-chip {
    padding: 8px 14px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--gray);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.3px;
    transition: border-color .2s ease, color .2s ease;
}

.rides-chip:hover,
.rides-chip.active { border-color: var(--red); color: var(--white); }

/* ride detail */
.ride-modal .about-scroll { padding: 0; }

.ride-hero {
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 52vh;
    overflow: hidden;
    background: #111;
}

.ride-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ride-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 45%, rgba(12,12,13,.96));
}

.ride-content {
    position: relative;
    z-index: 2;
    margin-top: -36px;
    padding: 0 40px 40px;
}

.ride-content h2 {
    margin-bottom: 8px;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 400;
    line-height: .92;
}

.ride-route {
    margin-bottom: 22px;
    color: var(--red);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 1.4px;
}

.ride-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    margin-bottom: 26px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.ride-stats > div { padding: 14px; }

.ride-stats span {
    display: block;
    margin-bottom: 6px;
    color: #666;
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: 1.2px;
}

.ride-stats strong {
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
    font-weight: 400;
}

.ride-desc p {
    margin-bottom: 12px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
}

.ride-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ride-thumbs::-webkit-scrollbar { display: none; }

.ride-thumb {
    flex: 0 0 90px;
    height: 62px;
    padding: 0;
    border: 1px solid var(--line);
    background: #111;
    opacity: .6;
    transition: opacity .2s ease, border-color .2s ease;
}

.ride-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ride-thumb:hover { opacity: 1; }
.ride-thumb.active { border-color: var(--red); opacity: 1; }

@media (max-width: 650px) {
    .ride-content { padding: 0 18px 28px; }
}

/* admin button: hidden unless the logged-in user is an admin */
.admin-only { display: none; }

body.is-admin .admin-only {
    display: inline-flex;
    margin-bottom: 10px;
}
/* ================= CREW (data-driven) ================= */

.crew-loading {
    flex: 1 1 100%;
    padding: 48px 20px;
    text-align: center;
    color: var(--gray);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 1.4px;
}

/* optional member photo sits on top of the initials */
.member-avatar { position: relative; overflow: hidden; }

.member-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* beats the old ".member-card span" rule, so CAPTAIN / RIDER stay red */
.member-face-back .member-back-role {
    color: var(--red);
    font-size: 9px;
    letter-spacing: 2px;
}

/* no layout jump while media loads */
#media .carousel-track:empty { min-height: 420px; }
.crew-summary {
    flex: 1 1 100%;
    margin-bottom: 4px;
    color: var(--gray);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 1.4px;
    text-align: center;
}

.crew-summary b { color: var(--white); font-weight: 600; }

/* ================= MARKETPLACE (data-driven) ================= */

.shop-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.shop-chip {
    padding: 8px 14px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--gray);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.3px;
    transition: border-color .2s ease, color .2s ease;
}

.shop-chip:hover,
.shop-chip.active { border-color: var(--red); color: var(--white); }

.product-grid .crew-loading { grid-column: 1 / -1; }

/* products without a member price */
.product-card .plain-price {
    display: block;
    color: var(--white);
    font-family: "Bebas Neue", sans-serif;
    font-size: 27px;
    font-weight: 400;
}

/* logged-out visitors see the normal price, not a crossed-out one */
body:not(.is-member) .product-card .regular-price {
    text-decoration: none;
    color: var(--white);
    font-family: "Bebas Neue", sans-serif;
    font-size: 27px;
}

.product-image:not(.product-gallery) { cursor: default; }

.product-fits {
    margin: -8px 0 14px;
    color: var(--gray);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1px;
    line-height: 1.6;
}

.product-size {
    width: 100%;
    margin-bottom: 12px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    background: var(--black-soft);
    color: var(--white);
    font-size: 12px;
    outline: none;
}

.product-details { margin-bottom: 14px; }

.product-details summary {
    color: var(--red);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.2px;
    cursor: pointer;
}

.product-details p {
    margin-top: 8px;
    color: var(--gray);
    font-size: 12px;
    line-height: 1.7;
    white-space: pre-line;
}

.product-card .btn[disabled] { opacity: .5; cursor: default; }

/* enquiry list */
.cart-note {
    margin: 0 0 14px;
    color: var(--gray);
    font-size: 11px;
    line-height: 1.6;
}

.cart-footer .btn { margin-bottom: 8px; }

.qty {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 6px;
}

.qty button {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--white);
}

.qty span {
    min-width: 14px;
    text-align: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
}

/* ================= UPDATES ================= */

.updates-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    margin-left: 6px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-size: 8px;
}

.update-card {
    margin-bottom: 16px;
    border: 1px solid var(--line);
    background: var(--black-soft);
    overflow: hidden;
}

.update-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(65vh, 560px);   /* never taller than the screen allows */
    object-fit: contain;            /* show the whole image, nothing cropped */
    background: #0a0a0a;            /* fills the sides if the image is narrow */
    cursor: zoom-in;
}

.update-body { padding: 20px; }

.update-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.update-tag {
    padding: 4px 8px;
    border: 1px solid var(--line);
    color: var(--gray);
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.update-tag.members { border-color: var(--red); color: var(--red); }

.update-card h3 {
    margin-bottom: 8px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 1px;
}

.update-card p {
    margin-bottom: 10px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
}

.update-ends {
    margin: 12px 0;
    color: #666;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1px;
}

@media (max-width: 650px) {
    .content-section,
    .media-section,
    .fnr-section {
        padding-top: 40px;
        padding-bottom: 60px;
    }
}

/* ================= CREW: compact member list ================= */

.crew-label {
    flex: 1 1 100%;
    margin-top: 14px;
    color: var(--gray);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.4px;
}

.crew-tools { flex: 1 1 100%; }

.crew-tools input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: var(--black-soft);
    color: var(--white);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 1px;
    outline: none;
}

.crew-tools input:focus { border-color: var(--red); }

.crew-list {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.crew-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: var(--black);
}

.crew-row-avatar {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--red-dim);
    border-radius: 50%;
    color: var(--red);
    font-family: "Bebas Neue", sans-serif;
    font-size: 16px;
}

.crew-row-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crew-row-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.crew-row-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "Bebas Neue", sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
}

.crew-row-info span {
    color: #666;
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.crew-row-insta {
    flex-shrink: 1;
    max-width: 42%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--red-bright);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    text-decoration: none;
}

.crew-row-insta:hover { text-decoration: underline; }

.crew-more {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.crew-none {
    grid-column: 1 / -1;
    padding: 26px 0;
    text-align: center;
    color: var(--gray);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 1px;
}

/* ================= CREW: fold-out member list ================= */

.crew-reveal {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    background: linear-gradient(120deg, rgba(232,18,28,.07), rgba(12,12,13,.9));
    color: var(--white);
    text-align: left;
    transition: border-color .2s ease;
}

.crew-reveal:hover,
.crew-reveal.open { border-color: var(--red); }

.crew-stack { display: flex; flex-shrink: 0; }

.crew-stack-av {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: -10px;
    overflow: hidden;
    border: 2px solid var(--black);
    border-radius: 50%;
    background: var(--black-soft);
    color: var(--red);
    font-family: "Bebas Neue", sans-serif;
    font-size: 14px;
}

.crew-stack-av:first-child { margin-left: 0; }

.crew-stack-av img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crew-reveal-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.crew-reveal-text b {
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 1px;
}

.crew-reveal-text small {
    color: #666;
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: 1.4px;
}

.when-open { display: none; }
.crew-reveal.open .when-closed { display: none; }
.crew-reveal.open .when-open { display: inline; }

.crew-chevron {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin-left: auto;
    color: var(--red);
    animation: crewBounce 1.8s ease-in-out infinite;
    transition: transform .3s ease;
}

.crew-reveal.open .crew-chevron {
    transform: rotate(180deg);
    animation: none;
}

@keyframes crewBounce {
    0%, 100% { transform: translateY(0);   opacity: .6; }
    50%      { transform: translateY(4px); opacity: 1; }
}

/* the folded-away part */
.crew-members {
    flex: 1 1 100%;
    display: none;
    flex-wrap: wrap;
    gap: 14px;
}

.crew-members.open {
    display: flex;
    animation: crewIn .35s ease;
}

@keyframes crewIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .crew-chevron,
    .crew-members.open { animation: none; }
}

/* ================= CREW: gold-and-black admin (captain) style ================= */

/* the ADMIN tab button */
.city-btn.is-admin .city-name { color: #d4af37; }
.city-btn.is-admin .city-line { background: linear-gradient(90deg, #8a6a1f, #f2cf66); }

.city-btn.is-admin.active .city-name { color: #f2cf66; }
.city-btn.is-admin.active .city-line {
    background: linear-gradient(90deg, #b8923a, #f6dc8b);
    box-shadow: 0 0 10px rgba(242, 207, 102, .6);
}

@media (max-width: 950px) {
    .city-btn.is-admin { border-color: rgba(212, 175, 55, .45); }
    .city-btn.is-admin.active { border-color: #d4af37; }
}

.crew-summary.gold b { color: #f2cf66; }

/* captain cards */
.member-card.is-captain .member-face {
    border-color: #b8923a;
    background: linear-gradient(145deg, #1b1608 0%, #0a0a0a 55%, #15100a 100%);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .16), 0 0 22px rgba(212, 175, 55, .08);
}

.member-card.is-captain .member-face-front::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8a6a1f, #f6dc8b, #8a6a1f);
}

.member-card.is-captain .member-face-back {
    background: linear-gradient(145deg, rgba(212, 175, 55, .16), rgba(10, 10, 10, .97));
}

.member-card.is-captain .member-avatar { border-color: #d4af37; color: #f2cf66; }
.member-card.is-captain h3,
.member-card.is-captain .member-back-name { color: #f2cf66; }
.member-card.is-captain .member-face-front span { color: #b8923a; }

.member-card.is-captain .member-face-back .member-back-role { color: #d4af37; }
.member-card.is-captain .member-face-back .member-back-role::before { content: "★ "; }

.member-card.is-captain .member-back-insta {
    border-color: rgba(212, 175, 55, .5);
    color: #f2cf66;
}

.member-card.is-captain .member-back-insta:hover {
    background: rgba(212, 175, 55, .12);
    border-color: #f2cf66;
}

/* tag ribbon on a card (for example MOST ACTIVE) */
.member-card .member-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 3px 7px;
    border: 1px solid var(--red-dim);
    background: rgba(232, 18, 28, .14);
    color: var(--red-bright);
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.member-card.is-captain .member-badge {
    border-color: rgba(212, 175, 55, .6);
    background: rgba(212, 175, 55, .12);
    color: #f2cf66;
}

/* tag on a row in the fold-out list */
.crew-row-info .crew-row-badge {
    font-style: normal;
    color: var(--red-bright);
}

/* ================= CREW: gold rows and gold fold-out bar ================= */

.crew-row.is-captain {
    border-color: rgba(212, 175, 55, .55);
    background: linear-gradient(120deg, rgba(212, 175, 55, .10), rgba(10, 10, 10, .95));
}

.crew-row.is-captain .crew-row-avatar { border-color: #d4af37; color: #f2cf66; }
.crew-row.is-captain .crew-row-info strong { color: #f2cf66; }
.crew-row.is-captain .crew-row-info span { color: #b8923a; }
.crew-row.is-captain .crew-row-badge { color: #f2cf66; }
.crew-row.is-captain .crew-row-insta { color: #f2cf66; }

.crew-stack-av.is-captain {
    color: #f2cf66;
    box-shadow: 0 0 0 1px #d4af37;
}

.crew-reveal.gold {
    border-color: rgba(212, 175, 55, .5);
    background: linear-gradient(120deg, rgba(212, 175, 55, .10), rgba(12, 12, 13, .92));
}

.crew-reveal.gold:hover,
.crew-reveal.gold.open { border-color: #f2cf66; }

.crew-reveal.gold .crew-chevron { color: #f2cf66; }
.crew-reveal.gold .crew-reveal-text b { color: #f2cf66; }

/* =========================================================
   SCROLL BIKE RAIL
========================================================= */

.scroll-rail {
    position: fixed;
    bottom: 16px;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 500;
    pointer-events: none;
}

.scroll-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,.035) 8%,
        rgba(255,255,255,.035) 92%,
        transparent
    );
}
/*
.scroll-bike {
    position: absolute;
    top: 50%;
    left: 0;
    width: 64px;
    transform: translate(0, -50%);
    filter: drop-shadow(0 0 10px rgba(232,18,28,.35));
    transition: left .06s linear;
}

.scroll-bike svg {
    width: 100%;
    height: auto;
    display: block;
}

.s-spin {
    transform-origin: 0 0;
}


@media (max-width: 950px) {
    .scroll-rail {
        bottom: 10px;
        height: 30px;
    }

    .scroll-bike {
        width: 38px;
    }
}
*/
.scroll-bike {
    position: absolute;
    top: 50%;
    left: 0;
    width: 64px;
    transform: translate(0, -50%);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.45));
    transition: left .06s linear;
}

.scroll-bike img {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    pointer-events: none;
}

@media (max-width: 950px) {
    .scroll-bike {
        width: 44px;
    }

    .scroll-rail {
        bottom: 10px;
        height: 30px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .scroll-bike {
        width: 34px;
    }
}

/* Very small phones */
@media (max-width: 400px) {
    .scroll-bike {
        width: 30px;
    }
}

/* ---------- TWIN LAYOUT ---------- */
.gauge-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3vw, 34px);
}

.gauge-pair .rev-gauge {
    width: clamp(130px, 22vw, 220px);
}

/* ---------- SPEEDO (GT650 style) ---------- */
.rev-gauge .spd-ring-red {
    fill: none;
    stroke: #c8201f;
    stroke-width: 1;
    opacity: .95;
}

.rev-gauge .spd-ring-white {
    stroke: #f1efea;
    stroke-width: 1;
    opacity: .9;
}

.rev-gauge .stick       { stroke: #e6e6e6; stroke-width: .8; }
.rev-gauge .stick.major { stroke: #fff;    stroke-width: 1.5; }

.rev-gauge .snum {
    fill: #f0f0f0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: 9.5px;
    text-anchor: middle;
    dominant-baseline: middle;
}

.rev-gauge .spd-unit {
    fill: #d0d0d0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 5.5px;
    letter-spacing: .6px;
    text-anchor: middle;
}

.rev-gauge .spd-brand {
    fill: #ededed;
    font-family: "Times New Roman", Georgia, serif;
    font-weight: 700;
    font-size: 5.8px;
    letter-spacing: .3px;
    text-anchor: middle;
}
.rev-gauge .spd-brand .cap { font-size: 7.6px; }

.rev-gauge .spd-needle {
    fill: #d9231f;
    filter: drop-shadow(0 0 1.5px rgba(0,0,0,.7));
}

.rev-gauge .spd-cap {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
}

/* LCD */
.rev-gauge .lcd-bg {
    fill: #aab69f;
    stroke: #1a1a1a;
    stroke-width: 1.6;
}
.rev-gauge .lcd-blocks rect { fill: #2b3425; opacity: .85; }

.rev-gauge .lcd-label {
    fill: #2b3425;
    font-family: "JetBrains Mono", monospace;
    font-size: 3.6px;
    letter-spacing: .4px;
}
.rev-gauge .lcd-end { text-anchor: end; }

.rev-gauge .lcd-ghost,
.rev-gauge .lcd-text {
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: .5px;
    text-anchor: end;
}

.XXGT {
    font-family: "JetBrains Mono", monospace;
    font-weight: 400;
    font-size: 1.5px;
    letter-spacing: .006px;
    fill: rgba(31, 40, 24, 0.45);
    text-anchor: end;   
    
}
.rev-gauge .lcd-ghost { fill: rgba(43,52,37,.14); }
.rev-gauge .lcd-text  { fill: #1f2818; }

.rev-gauge svg { filter: drop-shadow(0 1px 1px rgba(255,255,255,.15)); }

/* ================= TIER PRICING + SIGN-UP ================= */

.product-card .old-price {
    display: block;
    margin-bottom: 3px;
    color: #666;
    font-size: 12px;
    text-decoration: line-through;
}

.product-card .price-note {
    display: block;
    margin-top: 4px;
    color: #777;
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    letter-spacing: .5px;
    line-height: 1.6;
}

.product-card .save-chip {
    color: var(--red);
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    text-align: right;
}
/* ================= ACCOUNT DETAILS ================= */

.member-only { display: none; }

body.is-paid .member-only {
    display: inline-flex;
    margin-bottom: 10px;
}

.acc-block { margin-bottom: 36px; }
.acc-block .about-label { margin-bottom: 14px; }

.acc-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.acc-row span {
    color: #666;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.2px;
}

.acc-row strong {
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.acc-add { padding: 14px 0; border-bottom: 1px solid var(--line); }

.acc-add label {
    display: block;
    margin-bottom: 8px;
    color: var(--red);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.2px;
}

.acc-add-line { display: flex; gap: 8px; }

.acc-add input[type="text"],
.acc-add input[type="number"],
.acc-add input[type="date"] {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: var(--black-soft);
    color: var(--white);
    outline: none;
}

.acc-add input:focus { border-color: var(--red); }

.acc-add input[type="file"] { display: block; margin-bottom: 8px; color: var(--gray); font-size: 12px; }

.acc-add small,
.acc-photo small {
    display: block;
    margin: 8px 0;
    color: #666;
    font-size: 11px;
    line-height: 1.6;
}

.acc-photo { display: flex; align-items: center; gap: 16px; }

.acc-photo img {
    width: 84px;
    height: 84px;
    border: 1px solid var(--red-dim);
    border-radius: 50%;
    object-fit: cover;
}

.acc-note { color: var(--gray); font-size: 13px; line-height: 1.7; }
/* ---------- size ---------- */
.intro-overlay{ --bw: clamp(260px, 46vw, 640px); }          /* was 78vw */
.intro-bike{ bottom: calc(var(--ground) - var(--bw) * .08); }

.bike-wrap{ position:relative; width:100%; }
.bike-img{ display:block; width:100%; height:auto; user-select:none; pointer-events:none; }

/* exhaust, shock and fork redrawn on top of the wheel blur */
.bike-fg{
  position:absolute; inset:0; width:100%; height:100%;
  pointer-events:none; clip-path:url(#fgClip);
}

/* ---------- wheel blur discs ---------- */
.whl{
  position:absolute; aspect-ratio:1; border-radius:50%;
  transform:translate(-50%,-50%);
  opacity:0; transition:opacity .25s ease; pointer-events:none;
  --streak:.28;
}
.whl-r{ left:21.84%; top:61.1%; width:25.3%; }
.whl-f{ left:78.2%;  top:62.4%; width:25.5%; }

.whl::before{
  content:""; position:absolute; inset:0; border-radius:50%;
  background:
    repeating-conic-gradient(from 0deg,
      rgba(255,255,255,0) 0deg,
      rgba(255,255,255,var(--streak)) 40deg,
      rgba(255,255,255,0) 120deg),
    radial-gradient(circle closest-side, rgba(14,15,18,.74), rgba(22,24,28,.6));
  -webkit-mask:radial-gradient(circle closest-side, transparent 24%, #000 28%, #000 68%, transparent 71%);
          mask:radial-gradient(circle closest-side, transparent 24%, #000 28%, #000 68%, transparent 71%);
  filter:blur(.7px);
}

/* rolling in: both wheels */
.intro-bike.state-roll .whl{ opacity:1; }
.intro-bike.state-roll .whl::before{ animation:wheelSpin .32s linear infinite; }

/* burnout: front wheel locked (shows the real spokes), rear spinning fast */
.intro-bike.state-burn .whl-r{ opacity:1; --streak:.06; }
.intro-bike.state-burn .whl-r::before{ animation:wheelSpin .12s linear infinite; }
.intro-bike.state-burn .bike-wrap{ transform-origin:50% 85%; animation:bikeShake .09s linear infinite; }

/* launch: both fast */
.intro-bike.state-launch .whl{ opacity:1; --streak:.06; }
.intro-bike.state-launch .whl::before{ animation:wheelSpin .12s linear infinite; }

/* ================= FESTIVAL GREETING ================= */

.hero { position: relative; }

.festival-greeting {
    position: absolute;
    top: 96px;                 /* just under the navbar: tweak if needed */
    left: 0;
    right: 0;
    z-index: 5;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.festival-greeting.show {
    visibility: visible;
    animation: festIn .9s cubic-bezier(.2, .8, .2, 1) forwards;
}

.festival-greeting.hide {
    visibility: visible;
    animation: festOut .9s ease forwards;
}

.fest-title {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(34px, 7vw, 72px);
    line-height: 1;
    letter-spacing: .12em;
    background: linear-gradient(90deg, #ff7a00, #ffd966, #ff3b30, #ffd966, #ff7a00);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 14px rgba(255, 150, 0, .55));
    animation: festShimmer 3s linear infinite;
}

.fest-line {
    display: block;
    width: min(220px, 40vw);
    height: 2px;
    margin: 10px auto;
    background: linear-gradient(90deg, transparent, #ffb703, transparent);
}

.fest-sub {
    margin: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(10px, 2.2vw, 13px);
    letter-spacing: .3em;
    color: #ffd9a0;
}

.festival-canvas {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 60;
    pointer-events: none;      /* never blocks taps on gauges or buttons */
    opacity: 1;
    transition: opacity .8s ease;
}
.festival-canvas.fade { opacity: 0; }

@keyframes festIn {
    from { opacity: 0; transform: translateY(-12px) scale(.94); }
    to   { opacity: 1; transform: none; }
}
@keyframes festOut {
    from { opacity: 1; transform: none; }
    to   { opacity: 0; transform: translateY(-8px) scale(.98); }
}
@keyframes festShimmer {
    to { background-position: 200% 0; }
}

@media (max-width: 650px) {
    .festival-greeting { top: 84px; }
}