/* =========================
   DESIGN TOKENS
========================= */
:root {
    --bg:#080a0f;
    --panel:#0e1118;
    --panel2:#121722;
    --text:#f3f4f6;
    --muted:#8b929f;
    --line:rgba(255,255,255,.1);
    --lime:#c8ff38;
    --cyan:#65e7ff;
    --max:1180px
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Manrope,Arial,sans-serif;
    overflow-x:hidden
}

body::before {
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background:radial-gradient(circle at 80% 10%,rgba(101,231,255,.06),transparent 25%),radial-gradient(circle at 15% 50%,rgba(200,255,56,.045),transparent 28%);
    z-index:-2
}

.grain {
    position:fixed;
    inset:0;
    opacity:.035;
    pointer-events:none;
    z-index:5;
    background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='.45'/%3E%3C/svg%3E")
}

.cursor-glow {
    position:fixed;
    width:500px;
    height:500px;
    border-radius:50%;
    pointer-events:none;
    background:radial-gradient(circle,rgba(200,255,56,.045),transparent 65%);
    transform:translate(-50%,-50%);
    z-index:-1
}

.controls {
    display:flex;
    align-items:center;
    gap:8px
}

.controls select {
    height:38px;
    padding:0 8px;
    border:1px solid var(--line);
    background:var(--panel);
    color:var(--text);
    font:10px 'DM Mono';
    border-radius:20px;
    cursor:pointer
}

.topbar,main,footer {
    width:min(var(--max),90vw);
    margin:auto
}

.topbar {
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between
}

.brand {
    color:var(--text);
    text-decoration:none;
    font-weight:800;
    font-size:13px;
    letter-spacing:.12em;
    display:flex;
    align-items:center;
    gap:9px
}

.brand-mark {
    width:10px;
    height:10px;
    border-radius:50%;
    background:var(--lime);
    box-shadow:0 0 18px var(--lime);
    display:inline-block
}

.nav-status {
    font:10px 'DM Mono';
    letter-spacing:.12em;
    color:var(--muted);
    display:flex;
    gap:8px;
    align-items:center
}

.nav-status span,.game-badge span {
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--lime);
    box-shadow:0 0 12px var(--lime);
    animation:pulse 2s infinite
}

.theme-toggle {
    width:38px;
    height:38px;
    border:1px solid var(--line);
    border-radius:50%;
    background:transparent;
    color:var(--text);
    cursor:pointer;
    font-size:17px
}

.hero {
    min-height:650px;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center
}

.kicker {
    font:10px 'DM Mono';
    letter-spacing:.17em;
    color:var(--muted);
    margin:0 0 20px
}

.kicker i {
    display:inline-block;
    width:4px;
    height:4px;
    background:var(--lime);
    border-radius:50%;
    margin:0 8px
}

.hero h1,.section-title h2,.contact h2 {
    font-size:clamp(64px,9vw,128px);
    line-height:.82;
    letter-spacing:-.075em;
    margin:0;
    font-weight:800
}

.hero h1 em,.section-title em,.joyor-copy em,.contact em {
    font-style:normal;
    color:var(--lime)
}

.lead {
    max-width:480px;
    color:#a9b0bc;
    line-height:1.75;
    font-size:16px;
    margin:30px 0
}

.hero-actions {
    display:flex;
    align-items:center;
    gap:22px
}

.button {
    font:10px 'DM Mono';
    letter-spacing:.12em;
    text-decoration:none
}

.primary {
    background:var(--lime);
    color:#10130b;
    padding:14px 18px;
    font-weight:bold
}

.primary b {
    font-size:15px;
    margin-left:12px
}

.hero-actions>span {
    font:9px 'DM Mono';
    color:#606875;
    letter-spacing:.1em
}

.hero-visual {
    height:520px;
    position:relative;
    display:grid;
    place-items:center
}

.orb {
    width:410px;
    height:410px;
    border-radius:50%;
    background:radial-gradient(circle at 35% 35%,#243137,#10151c 58%,transparent 59%);
    box-shadow:0 0 100px rgba(101,231,255,.08)
}

.orb-ring {
    position:absolute;
    border:1px solid rgba(200,255,56,.2);
    border-radius:50%
}

.r1 {
    width:450px;
    height:450px;
    animation:spin 20s linear infinite
}

.r2 {
    width:500px;
    height:500px;
    border-style:dashed;
    opacity:.4;
    animation:spin 35s linear infinite reverse
}

.speed {
    position:absolute;
    height:1px;
    background:linear-gradient(90deg,transparent,var(--lime),transparent);
    width:170px
}

.speed1 {
    right:0;
    top:110px
}

.speed2 {
    left:20px;
    bottom:120px;
    width:90px
}

.spec-card {
    position:absolute;
    right:5%;
    bottom:14%;
    display:flex;
    gap:8px;
    align-items:center;
    border:1px solid var(--line);
    padding:10px 14px;
    background:rgba(8,10,15,.7);
    backdrop-filter:blur(10px)
}

.spec-card b {
    font-size:32px;
    color:var(--lime);
    letter-spacing:-.08em
}

.spec-card span {
    font:8px 'DM Mono';
    line-height:1.5;
    color:var(--muted)
}

/* hero scooter */
.hero-scooter,.joyor-scooter {
    position:absolute;
    width:380px;
    height:220px;
    filter:drop-shadow(0 30px 18px rgba(0,0,0,.5))
}

.s-wheel,.j-wheel {
    position:absolute;
    border-radius:50%;
    background:radial-gradient(circle,#101319 0 38%,#aeb8bf 39% 43%,#202630 44% 67%,#050608 68%);
    width:62px;
    height:62px;
    bottom:16px
}

.sw1 {
    left:35px
}

.sw2 {
    right:30px
}

.s-deck {
    position:absolute;
    left:68px;
    bottom:53px;
    width:230px;
    height:18px;
    border-radius:10px;
    background:linear-gradient(#e8eef0,#606b73 40%,#111820 42%);
    transform:skewX(-10deg)
}

.s-fork {
    position:absolute;
    width:13px;
    height:108px;
    background:linear-gradient(90deg,#a8b2b8,#273039);
    right:73px;
    bottom:62px;
    transform:rotate(20deg);
    transform-origin:bottom
}

.s-stem {
    position:absolute;
    width:15px;
    height:125px;
    background:linear-gradient(90deg,#f2f4f2,#4c555d);
    right:108px;
    bottom:80px;
    transform:rotate(-7deg);
    transform-origin:bottom
}

.s-bar {
    position:absolute;
    width:84px;
    height:10px;
    border-radius:8px;
    background:#d8e0e1;
    right:88px;
    top:18px;
    transform:rotate(-7deg)
}

.s-display {
    position:absolute;
    width:30px;
    height:15px;
    border-radius:4px;
    background:#111;
    border:2px solid #9ba5a8;
    right:115px;
    top:34px;
    transform:rotate(-7deg)
}

.s-light {
    position:absolute;
    width:13px;
    height:13px;
    border-radius:50%;
    background:var(--cyan);
    box-shadow:0 0 20px var(--cyan);
    right:67px;
    bottom:83px
}

.section-title {
    margin-bottom:30px
}

.section-title>span {
    font:10px 'DM Mono';
    color:var(--lime);
    display:block;
    margin-bottom:12px
}

.section-title h2 {
    font-size:clamp(46px,6vw,82px);
    max-width:550px
}

.section-title p {
    max-width:390px;
    color:var(--muted);
    font-size:13px;
    line-height:1.7
}

.links-section {
    margin-top:100px;
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:80px
}

.links {
    display:grid;
    gap:10px
}

.link {
    min-height:92px;
    padding:0 22px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.025);
    display:flex;
    align-items:center;
    gap:20px;
    text-decoration:none;
    color:var(--text);
    transition:transform .3s,background .3s,border .3s
}

.link:hover {
    transform:translateX(10px);
    background:rgba(200,255,56,.06);
    border-color:rgba(200,255,56,.4)
}

.featured {
    background:linear-gradient(100deg,rgba(200,255,56,.13),rgba(255,255,255,.025))
}

.link-index {
    font:10px 'DM Mono';
    color:#69717e
}

.link-main {
    flex:1;
    display:flex;
    flex-direction:column;
    gap:4px
}

.link-main b {
    font-size:15px
}

.link-main small {
    font-size:11px;
    color:var(--muted)
}

.link-icon {
    font-size:22px;
    color:var(--lime)
}

.joyor,.game-section {
    margin-top:140px
}

.joyor-card {
    min-height:430px;
    border:1px solid var(--line);
    background:linear-gradient(115deg,#111720,#080b10 58%);
    display:grid;
    grid-template-columns:1fr 1.1fr;
    overflow:hidden;
    position:relative
}

.joyor-copy {
    padding:60px;
    position:relative;
    z-index:2
}

.joyor-copy h3 {
    font-size:clamp(38px,5vw,70px);
    letter-spacing:-.07em;
    line-height:.9;
    margin:0 0 25px
}

.joyor-copy>p:last-of-type {
    max-width:360px;
    color:var(--muted);
    line-height:1.7;
    font-size:13px
}

.joyor-tags {
    display:flex;
    gap:8px;
    margin-top:28px
}

.joyor-tags span {
    font:9px 'DM Mono';
    border:1px solid var(--line);
    padding:8px;
    color:#aab2ba
}

.joyor-stage {
    position:relative;
    min-height:430px;
    background:radial-gradient(circle at 60% 45%,rgba(200,255,56,.12),transparent 30%)
}

.halo {
    position:absolute;
    width:330px;
    height:330px;
    border-radius:50%;
    border:1px solid rgba(200,255,56,.16);
    left:50%;
    top:50%;
    transform:translate(-50%,-50%)
}

.road {
    position:absolute;
    left:-10%;
    right:-10%;
    bottom:65px;
    height:2px;
    background:linear-gradient(90deg,transparent,#5e6670 20%,#5e6670 80%,transparent);
    box-shadow:0 8px 0 rgba(255,255,255,.04)
}

.joyor-scooter {
    left:50%;
    top:50%;
    transform:translate(-50%,-42%) scale(1.05)
}

.j-wheel {
    width:72px;
    height:72px;
    bottom:8px
}

.jw1 {
    left:25px
}

.jw2 {
    right:22px
}

.j-deck {
    position:absolute;
    left:67px;
    bottom:59px;
    width:245px;
    height:23px;
    border-radius:12px;
    background:linear-gradient(180deg,#d8dedf,#4d575f 42%,#141a20 44%);
    transform:skewX(-12deg);
    box-shadow:0 8px 0 #050608
}

.j-rear {
    position:absolute;
    width:85px;
    height:22px;
    border-radius:0 0 30px 30px;
    background:#232a30;
    left:35px;
    bottom:70px;
    transform:rotate(-9deg)
}

.j-stem {
    position:absolute;
    width:19px;
    height:155px;
    right:104px;
    bottom:76px;
    background:linear-gradient(90deg,#e9eeee,#69747a);
    transform:rotate(-8deg);
    transform-origin:bottom;
    border-radius:5px
}

.j-fork {
    position:absolute;
    width:16px;
    height:125px;
    right:65px;
    bottom:65px;
    background:#606a71;
    transform:rotate(18deg);
    transform-origin:bottom
}

.j-handle {
    position:absolute;
    width:105px;
    height:13px;
    right:68px;
    top:5px;
    border-radius:8px;
    background:linear-gradient(90deg,#4e575d 10%,#e0e5e4 10% 90%,#4e575d 90%);
    transform:rotate(-8deg)
}

.j-screen {
    position:absolute;
    width:37px;
    height:21px;
    border-radius:5px;
    background:#050607;
    border:2px solid #9da7a9;
    right:108px;
    top:25px;
    transform:rotate(-8deg)
}

.j-light {
    position:absolute;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#f4ffcf;
    box-shadow:0 0 25px #eaff9a;
    right:57px;
    bottom:90px
}

.joyor-logo {
    position:absolute;
    right:25px;
    bottom:22px;
    font-size:34px;
    font-weight:800;
    letter-spacing:-.07em;
    color:rgba(255,255,255,.15)
}

.joyor-logo span {
    font-size:10px;
    vertical-align:top
}

.game-section {
    display:grid;
    grid-template-columns:.7fr 1.3fr;
    gap:70px
}

.game-title {
    margin:0
}

.game-card {
    background:#0a0d13;
    border:1px solid var(--line);
    padding:18px;
    align-self:start
}

.game-head,.game-foot {
    display:flex;
    align-items:center;
    justify-content:space-between
}

.game-head {
    padding:4px 4px 16px
}

.game-badge,.game-score {
    font:9px 'DM Mono';
    letter-spacing:.1em;
    color:var(--muted);
    display:flex;
    align-items:center;
    gap:7px
}

.game-score b {
    font-size:20px;
    color:var(--lime)
}

.game-score small {
    margin-left:12px
}

.game-score i {
    font-style:normal;
    color:#aeb5bf
}

.game-wrap {
    position:relative
}

.game-card canvas {
    display:block;
    width:100%;
    height:320px;
    background:#080a0f;
    border:1px solid rgba(255,255,255,.05);
    touch-action:none
}

.game-overlay {
    position:absolute;
    inset:0;
    display:grid;
    place-content:center;
    text-align:center;
    background:linear-gradient(rgba(8,10,15,.3),rgba(8,10,15,.78));
    pointer-events:none;
    transition:.25s
}

.game-overlay.hidden {
    opacity:0
}

.game-overlay strong {
    font-size:36px;
    letter-spacing:-.06em
}

.game-overlay span {
    max-width:290px;
    margin:10px auto;
    color:#929aa5;
    font-size:11px;
    line-height:1.6
}

.game-foot {
    padding:14px 4px 2px;
    font:9px 'DM Mono';
    letter-spacing:.08em;
    color:#6d7580
}

.game-foot button {
    background:var(--lime);
    border:0;
    padding:11px 14px;
    font:9px 'DM Mono';
    font-weight:bold;
    letter-spacing:.1em;
    cursor:pointer
}

.game-foot button b {
    font-size:14px;
    margin-left:8px
}

.contact {
    margin:140px 0 80px;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:80px 0;
    display:flex;
    justify-content:space-between;
    align-items:end
}

.contact h2 {
    font-size:clamp(48px,7vw,94px)
}

.mail-button {
    color:var(--text);
    text-decoration:none;
    border-bottom:1px solid var(--lime);
    padding:15px 0;
    font:11px 'DM Mono';
    letter-spacing:.12em
}

.mail-button span {
    color:var(--lime);
    font-size:20px;
    margin-left:25px
}

footer {
    border-top:1px solid var(--line);
    padding:24px 0 40px;
    font:9px 'DM Mono';
    letter-spacing:.1em;
    color:#68717c
}

footer .brand-mark {
    width:6px;
    height:6px;
    margin-right:7px
}

footer i {
    color:var(--lime);
    font-style:normal;
    margin:0 8px
}

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

.reveal.visible {
    opacity:1;
    transform:none
}

body.light {
    --bg:#eef0ec;
    --panel:#f8f9f5;
    --panel2:#e5e8e2;
    --text:#101318;
    --muted:#66707c;
    --line:rgba(0,0,0,.13)
}


body.light .game-card,body.light .game-card canvas {
    background:#e9ece8
}


body.light .joyor-card {
    background:linear-gradient(115deg,#edf0eb,#fff)
}

body.light .link {
    background:rgba(255,255,255,.72)
}

body.light .spec-card {
    background:rgba(255,255,255,.78)
}

body.light .profile-frame img {
    background:#e2e6df
}

body.light .profile-frame.profile-placeholder {
    background:linear-gradient(135deg,var(--lime),#d7ddd4)
}
@keyframes spin {
    to {
        transform:rotate(360deg)
    }
}
@keyframes pulse {
    50% {
        opacity:.35;
        transform:scale(.7)
    }
}
@media(max-width:800px) {
    .nav-status {
        display:none
    }
    .hero {
        grid-template-columns:1fr;
        min-height:auto;
        padding:70px 0 40px
    }
    .hero-visual {
        height:390px;
        order:-1
    }
    .orb {
        width:280px;
        height:280px
    }
    .r1 {
        width:320px;
        height:320px
    }
    .r2 {
        width:360px;
        height:360px
    }
    .hero-scooter {
        transform:scale(.72)
    }
    .spec-card {
        right:0
    }
    .links-section,.game-section {
        grid-template-columns:1fr;
        gap:35px;
        margin-top:90px
    }
    .joyor,.game-section {
        margin-top:90px
    }
    .joyor-card {
        grid-template-columns:1fr
    }
    .joyor-copy {
        padding:38px
    }
    .joyor-stage {
        min-height:330px
    }
    .joyor-scooter {
        transform:translate(-50%,-45%) scale(.72)
    }
    .contact {
        margin-top:90px;
        padding:55px 0;
        display:block
    }
    .mail-button {
        display:inline-block;
        margin-top:35px
    }
    .game-card canvas {
        height:270px
    }
    .hero-actions {
        flex-wrap:wrap
    }
    .section-title h2 {
        font-size:60px
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        animation:none!important;
        transition:none!important
    }
    .reveal {
        opacity:1;
        transform:none
    }
}

/* Linktree profile image */
.profile-frame {
    position:absolute;
    width:310px;
    height:310px;
    border-radius:50%;
    padding:7px;
    background:linear-gradient(135deg,var(--lime),rgba(101,231,255,.55),transparent);
    box-shadow:0 0 70px rgba(200,255,56,.12);
    z-index:2;
    overflow:hidden
}

.profile-frame img {
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    display:block;
    background:#171c23
}

.profile-initials {
    display:none
}

.profile-frame.profile-placeholder {
    background:linear-gradient(135deg,var(--lime),#202832);
    display:grid;
    place-items:center
}

.profile-frame.profile-placeholder .profile-initials {
    display:block;
    font-size:90px;
    font-weight:800;
    letter-spacing:-.1em;
    color:#080a0f
}

.contact-copy {
    max-width:420px;
    color:var(--muted);
    line-height:1.7;
    margin:22px 0 0
}

.joyor-tags a {
    font:9px 'DM Mono';
    border:1px solid var(--line);
    padding:8px;
    color:#aab2ba;
    text-decoration:none;
    transition:.2s
}

.joyor-tags a:hover {
    border-color:var(--lime);
    color:var(--lime)
}
@media(max-width:800px) {
    .profile-frame {
        width:220px;
        height:220px
    }
    .spec-card b {
        font-size:20px
    }
}

/* Custom scooter image slot */
.scooter-image-frame {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: min(54%, 440px);
    height: 330px;

    display: grid;
    place-items: center;

    z-index: 2;

    /* Rahmen des Bild-Slots */
    border-radius: 100%;
    overflow: hidden;
}

.scooter-image-frame img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    border-radius: 60%;

    filter: drop-shadow(
        0 28px 24px rgba(0, 0, 0, 0.38)
    );
}

.scooter-placeholder-text {
    display: none;

    text-align: center;

    font: 700 34px/1 Manrope, sans-serif;

    color: rgba(255, 255, 255, 0.28);

    letter-spacing: -0.06em;
}

.scooter-image-frame.scooter-placeholder {
    border: 1px dashed rgba(200, 255, 56, 0.35);

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.025);
}

.scooter-image-frame.scooter-placeholder
.scooter-placeholder-text {
    display: block;
}

.profile-frame {
    background: linear-gradient(
        135deg,
        var(--lime),
        rgba(101, 231, 255, 0.55),
        var(--lime)
    );
}

.profile-frame img {
    background: transparent;
}

.profile-frame.profile-placeholder {
    background: linear-gradient(
        135deg,
        var(--lime),
        #202832
    );
}

body.light .scooter-placeholder-text {
    color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 800px) {

    .controls {
        gap: 5px;
    }

    .controls select {
        width: 52px;
    }

    .scooter-image-frame {
        width: 88%;
        height: 270px;
    }
}

/* FINAL THEME FIX — only Dark + Light, no hidden dark backdrop */
body.light {
    --bg:#f3f5f1;
    --panel:#ffffff;
    --panel2:#e8ece6;
    --text:#11151a;
    --muted:#65707a;
    --line:rgba(16,21,26,.12)
}

body.light::before {
    background:radial-gradient(circle at 80% 10%,rgba(101,231,255,.10),transparent 25%),radial-gradient(circle at 15% 50%,rgba(200,255,56,.08),transparent 28%)
}

body.light .cursor-glow {
    background:radial-gradient(circle,rgba(200,255,56,.07),transparent 65%)
}

body.light .orb {
    background:radial-gradient(circle at 35% 35%,rgba(200,255,56,.14),rgba(101,231,255,.07) 58%,transparent 59%);
    box-shadow:none
}

body.light .orb-ring {
    border-color:rgba(93,117,68,.16)
}

body.light .profile-frame {
    background:#fff!important;
    box-shadow:0 18px 45px rgba(15,25,20,.12);
    isolation:isolate
}

body.light .profile-frame.profile-placeholder {
    background:linear-gradient(135deg,#c8ff38,#a8d62f)!important
}

body.light .profile-frame.profile-placeholder .profile-initials {
    color:#10150c
}

body.light .spec-card {
    background:rgba(255,255,255,.94);
    color:var(--text);
    box-shadow:0 12px 30px rgba(0,0,0,.08)
}

body.light .joyor-card {
    background:linear-gradient(115deg,#e8ede6,#fff)
}

body.light .link {
    background:rgba(255,255,255,.86)
}

body.light .game-card,body.light .game-card canvas {
    background:#eef1ec
}

body.light .game-overlay {
    background:linear-gradient(rgba(238,241,236,.25),rgba(238,241,236,.9))
}

body.light .joyor-logo {
    color:rgba(15,20,25,.13)
}

body.light .scooter-placeholder-text {
    color:rgba(0,0,0,.28)
}

/* =========================================
   FINAL CONTENT ADJUSTMENTS
   ========================================= */

/* Small visual gap between "Hey, I am" and your name. */
.hero-greeting,
.hero-name {
    display: block;
}

.hero-name {
    margin-top: 0.14em;
}

/* =========================================
   AFFILIATE CODES
   Edit the content directly in index.html.
   ========================================= */
.affiliate-section {
    margin-top: 140px;
}

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

.affiliate-card {
    min-height: 280px;
    padding: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.affiliate-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200,255,56,.45);
    background: linear-gradient(145deg, rgba(200,255,56,.08), rgba(255,255,255,.02));
}

.affiliate-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.affiliate-label,
.affiliate-discount {
    font: 9px 'DM Mono';
    letter-spacing: .1em;
}

.affiliate-label {
    color: var(--muted);
}

.affiliate-discount {
    color: var(--lime);
}

.affiliate-card h3 {
    margin: 28px 0 10px;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -.06em;
}

.affiliate-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.code-row {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    gap: 8px;
}

.code-row code {
    flex: 1;
    padding: 13px 14px;
    border: 1px dashed rgba(200,255,56,.4);
    background: rgba(200,255,56,.06);
    color: var(--lime);
    font: 700 14px 'DM Mono';
    letter-spacing: .08em;
}

.copy-code {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    padding: 0 14px;
    font: 9px 'DM Mono';
    letter-spacing: .08em;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.copy-code:hover {
    background: var(--lime);
    color: #10130b;
    border-color: var(--lime);
}

/* Light mode versions for the new cards. */
body.light .affiliate-card {
    background: rgba(255,255,255,.82);
}

body.light .affiliate-card:hover {
    background: rgba(255,255,255,.98);
}

@media (max-width: 800px) {
    .affiliate-section {
        margin-top: 90px;
    }

    .affiliate-grid {
        grid-template-columns: 1fr;
    }
}
