:root {
    --bg: #05030e;
    --surface: rgba(8, 7, 20, .88);
    --text: #faf9ff;
    --muted: #aaa5b3;
    --purple: #bd55ff;
    --blue: #4b9cff;
    --green: #10df79;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 11% 32%, rgba(91, 32, 172, .16), transparent 27rem),
        radial-gradient(circle at 91% 72%, rgba(20, 80, 181, .13), transparent 32rem),
        linear-gradient(135deg, #070410 0%, #03030b 52%, #030713 100%);
    font-family: "Outfit", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .18;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle, #000, transparent 75%);
}

.ambient { position: fixed; z-index: -1; width: 28rem; height: 28rem; border-radius: 50%; filter: blur(115px); opacity: .16; pointer-events: none; }
.ambient-left { left: -14rem; top: 8rem; background: #9b38ff; }
.ambient-right { right: -16rem; bottom: 5rem; background: #245cff; }

.site-header {
    width: min(100% - 64px, 1440px);
    height: 94px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand { color: #fff; font-size: 1.85rem; font-weight: 900; letter-spacing: -.055em; text-decoration: none; }
.brand span { color: var(--purple); }
.site-header p { margin: 0; color: #a7a2ad; font-size: 1.05rem; letter-spacing: .01em; }
.header-spark { margin-left: 12px; color: var(--purple); font-size: 1.5rem; filter: drop-shadow(0 0 9px #a640ff); }

.page-shell { width: min(100% - 64px, 1380px); margin-inline: auto; }
.hero { padding: 18px 20px 24px; text-align: center; }
.community-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 45px;
    padding: 0 21px;
    border: 1px solid rgba(181, 123, 255, .55);
    border-radius: 999px;
    background: rgba(12, 10, 27, .75);
    box-shadow: inset 0 0 17px rgba(105, 60, 183, .08), 0 0 25px rgba(91, 47, 170, .08);
    color: #dedbe4;
    font-size: .98rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.community-pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(16, 223, 121, .92); animation: pulse 2s ease-in-out infinite; }
.hero h1 { margin: 18px 0 10px; font-size: clamp(4rem, 7.6vw, 7rem); line-height: .96; letter-spacing: -.072em; font-weight: 900; }
.hero h1 span { color: transparent; background: linear-gradient(94deg, #ca55ff 7%, #7b6cff 54%, #419cff 100%); background-clip: text; -webkit-background-clip: text; }
.hero > p { margin: 0; color: #aaa6ae; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.45; font-weight: 500; }
.hero strong { color: var(--green); font-weight: 500; }

.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.group-card {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--edge);
    border-radius: 32px;
    color: inherit;
    background: linear-gradient(122deg, rgba(13, 9, 25, .96) 0%, rgba(6, 7, 17, .94) 52%, rgba(4, 7, 17, .89) 100%);
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 60px rgba(0,0,0,.2);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
}
.card-route { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.card-route:focus-visible, .card-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.moto-card { --accent: #ff6800; --edge: rgba(255, 104, 0, .6); --glow: rgba(255, 85, 0, .26); }
.tcg-card { --accent: #4a9dff; --edge: rgba(62, 139, 255, .58); --glow: rgba(49, 117, 255, .23); }
.group-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(circle at 74% 48%, var(--glow), transparent 44%); opacity: .72; }
.group-card:hover { transform: translateY(-7px); border-color: var(--accent); box-shadow: 0 22px 70px var(--glow), inset 0 1px 0 rgba(255,255,255,.06); }

.card-copy { position: relative; z-index: 3; width: 48%; min-height: 540px; padding: 32px 0 34px 33px; display: flex; flex-direction: column; align-items: flex-start; pointer-events: none; }
.category-icon { display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid var(--accent); border-radius: 18px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-size: 2.4rem; font-weight: 700; box-shadow: inset 0 0 20px color-mix(in srgb, var(--accent) 13%, transparent), 0 0 23px color-mix(in srgb, var(--accent) 10%, transparent); }
.tcg-icon { font-family: Georgia, serif; color: #ffc32d; text-shadow: 0 0 12px rgba(255,178,0,.5); }
.card-eyebrow { margin: 28px 0 11px; color: var(--accent); font-size: .84rem; font-weight: 800; letter-spacing: .115em; text-transform: uppercase; }
.group-card h2 { margin: 0; white-space: nowrap; font-size: clamp(2rem, 3.1vw, 2.75rem); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.title-line { display: block; width: 48px; height: 2px; margin: 18px 0 18px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.card-description { margin: 0; max-width: 230px; color: #aaa6b0; font-size: 1.06rem; line-height: 1.62; }
.card-button {
    position: absolute;
    z-index: 5;
    left: 33px;
    bottom: 34px;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: min(100%, 235px);
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    background: linear-gradient(135deg, #29d469, #15aa55);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 9px 30px rgba(25, 196, 91, .28), inset 0 1px 0 rgba(255,255,255,.16);
    transition: transform .22s, box-shadow .22s, filter .22s;
}
.card-button:hover { transform: translateY(-3px); filter: brightness(1.04); box-shadow: 0 13px 34px rgba(25, 196, 91, .42); }
.card-button svg { flex: 0 0 25px; width: 25px; height: 25px; }
.art-glow { position: absolute; z-index: 0; width: 50%; aspect-ratio: 1; right: 4%; top: 17%; border-radius: 50%; background: var(--glow); filter: blur(50px); }
.card-art { position: absolute; z-index: 2; right: -1%; bottom: -6%; width: 60%; height: 104%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 12px 22px rgba(0,0,0,.42)); transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .35s; }
.moto-card .card-art {
    right: 1%;
    bottom: 5%;
    width: 56%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 119, 0, .2), 0 18px 42px rgba(255, 85, 0, .12);
}
.moto-icon { font-size: 1.85rem; filter: drop-shadow(0 0 10px rgba(255, 104, 0, .55)); }
.group-card:hover .card-art { transform: scale(1.035) translateY(-4px); filter: drop-shadow(0 16px 28px rgba(0,0,0,.52)); }

.benefits {
    width: min(100% - 140px, 1160px);
    min-height: 116px;
    margin: 24px auto 0;
    padding: 20px 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(138, 110, 183, .22);
    border-radius: 30px;
    background: rgba(8, 7, 18, .76);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}
.benefit { display: flex; align-items: center; gap: 20px; padding: 0 25px; }
.benefit + .benefit { border-left: 1px solid rgba(164, 144, 194, .18); }
.benefit-icon { flex: 0 0 47px; display: grid; place-items: center; filter: drop-shadow(0 0 12px currentColor); }
.benefit-icon svg { width: 44px; height: 44px; overflow: visible; }
.benefit-icon svg path:first-child { fill: currentColor; }
.benefit-icon svg circle, .shield-icon svg path:last-child { fill: #101326; }
.tag-icon { color: #ad42e8; }.shield-icon { color: #357cff; }.bolt-icon { color: #ffae13; font-size: 3.5rem; font-family: Georgia, serif; }
.benefit h3 { margin: 0 0 7px; white-space: nowrap; color: #efedf3; font-size: .97rem; }
.benefit p { margin: 0; white-space: nowrap; color: #8f8997; font-size: .89rem; }

footer { padding: 37px 24px 31px; color: #8c8794; text-align: center; font-size: 1rem; }

@keyframes pulse { 50% { opacity: .58; transform: scale(.8); } }

@media (max-width: 1120px) {
    .page-shell { width: min(100% - 36px, 920px); }
    .site-header { width: calc(100% - 44px); }
    .groups { grid-template-columns: 1fr; }
    .group-card { min-height: 540px; }
    .card-copy { min-height: 540px; width: 43%; }
    .card-art { width: 59%; right: 1%; }
    .benefits { width: 100%; }
}

@media (max-width: 760px) {
    .site-header { height: 76px; width: calc(100% - 32px); }
    .brand { font-size: 1.35rem; }
    .site-header p { display: none; }
    .page-shell { width: calc(100% - 24px); }
    .hero { padding: 24px 6px 26px; }
    .community-pill { min-height: 39px; font-size: .78rem; padding-inline: 16px; }
    .hero h1 { max-width: 100%; margin-top: 20px; font-size: clamp(2.35rem, 12.8vw, 3.5rem); white-space: nowrap; }
    .hero > p { font-size: 1rem; }
    .hero br { display: none; }
    .groups { gap: 15px; }
    .group-card { display: flex; min-height: 0; flex-direction: column; border-radius: 25px; }
    .card-copy { flex: 0 0 auto; width: 100%; min-height: 0; padding: 24px 24px 0; }
    .category-icon { width: 57px; height: 57px; border-radius: 15px; font-size: 2rem; }
    .card-eyebrow { margin-top: 24px; }
    .group-card h2 { font-size: 2.2rem; }
    .title-line { margin: 17px 0 14px; }
    .card-description { max-width: 100%; font-size: .94rem; line-height: 1.5; }
    .card-art {
        position: relative;
        inset: auto;
        flex: 0 0 auto;
        width: min(92%, 480px);
        height: auto;
        margin: 18px auto 0;
        object-fit: contain;
        object-position: center;
        opacity: 1;
    }
    .moto-card .card-art { inset: auto; width: min(84%, 420px); height: auto; margin: 18px auto 0; }
    .moto-card .card-description { max-width: 100%; }
    .group-card:hover .card-art { transform: none; }
    .art-glow { width: 75%; right: -4%; top: 30%; }
    .card-button {
        position: relative;
        left: auto;
        bottom: auto;
        align-self: center;
        width: calc(100% - 48px);
        min-height: 54px;
        margin: 14px 24px 24px;
    }
    .benefits { grid-template-columns: 1fr; padding: 8px 22px; border-radius: 25px; }
    .benefit { padding: 20px 4px; }
    .benefit + .benefit { border-left: 0; border-top: 1px solid rgba(164, 144, 194, .18); }
    .benefit h3, .benefit p { white-space: normal; }
    footer { font-size: .86rem; }
}

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