@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Space+Grotesk:wght@400;500&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Variables ── */
:root {
    --cyan:       #00E5FF;
    --purple:     #9B6FFF;
    --pink:       #FF4FCB;
    --white:      #FFFFFF;
    --bg-main:    #0D0D12;
    --bg-card:    #14161C;
    --border:     rgba(155, 111, 255, 0.25);
    --text-main:  #CCCCCC;
    --text-muted: #666666;
    --font-head:  'Orbitron', monospace;
    --font-body:  'Space Grotesk', sans-serif;
}

/* ── Base ── */
body {
    background: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--white); }

img { max-width: 100%; display: block; }

/* ── Container ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* ── Nav ── */
.nav {
    padding: 16px 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    font-family: var(--font-head);
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--white);
    text-decoration: none;
}

.cyan { color: var(--cyan); }
.pink { color: var(--pink); }
.nav-logo .cyan  { color: var(--cyan); }
.nav-logo .pink  { color: var(--pink); }

.gradient-text {
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cyan); }

.nav-login {
    background: transparent;
    border: 1px solid var(--purple);
    color: var(--purple);
    padding: 7px 18px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.nav-login:hover {
    background: var(--purple);
    color: var(--white);
}

/* ── City Animation Layer ── */
.city-animation-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}


/* Particles */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0;
    animation: particleDrift linear infinite;
}

.p1  { background: var(--cyan);   left: 8%;  top: 60%; animation-duration: 14s; animation-delay: 0s;  }
.p2  { background: var(--pink);   left: 15%; top: 50%; animation-duration: 18s; animation-delay: 0s;  }
.p3  { background: var(--purple); left: 23%; top: 70%; animation-duration: 12s; animation-delay: 0s;  }
.p4  { background: var(--cyan);   left: 34%; top: 55%; animation-duration: 20s; animation-delay: 0s;  }
.p5  { background: var(--white);  left: 42%; top: 65%; animation-duration: 16s; animation-delay: 0s;  }
.p6  { background: var(--pink);   left: 51%; top: 45%; animation-duration: 13s; animation-delay: 0s;  }
.p7  { background: var(--cyan);   left: 60%; top: 60%; animation-duration: 19s; animation-delay: 0s;  }
.p8  { background: var(--purple); left: 68%; top: 50%; animation-duration: 15s; animation-delay: 0s;  }
.p9  { background: var(--pink);   left: 75%; top: 70%; animation-duration: 17s; animation-delay: 0s;  }
.p10 { background: var(--cyan);   left: 82%; top: 55%; animation-duration: 11s; animation-delay: 0s;  }
.p11 { background: var(--white);  left: 90%; top: 65%; animation-duration: 14s; animation-delay: 0s;  }
.p12 { background: var(--purple); left: 47%; top: 40%; animation-duration: 22s; animation-delay: 0s;  }

.p13 { background: var(--pink);   left: 29%; top: 58%; animation-duration: 25s; animation-delay: 5s;  opacity: 0; }
.p14 { background: var(--cyan);   left: 57%; top: 72%; animation-duration: 28s; animation-delay: 9s;  opacity: 0; }
.p15 { background: var(--white);  left: 73%; top: 48%; animation-duration: 30s; animation-delay: 3s;  opacity: 0; }

@keyframes particleDrift {
    0%   { transform: translateY(0)      translateX(0);   opacity: 0;   }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.4; }
    100% { transform: translateY(-200px) translateX(12px); opacity: 0;  }
}

/* Billboard flicker */
.billboard {
    position: absolute;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    opacity: 0.55;
    animation: billboardFlicker 8s infinite;
}

.b1 { background: var(--pink);   left: 22%; bottom: 32%; animation-delay: 0s;  }
.b2 { background: var(--cyan);   left: 78%; bottom: 30%; animation-delay: 3s;  }

@keyframes billboardFlicker {
    0%, 92%, 100% { opacity: 0.55; }
    94%            { opacity: 1;    }
    96%            { opacity: 0.25; }
    98%            { opacity: 0.9;  }
}

/* Hovercar */
.hovercar {
    position: absolute;
    width: 8px;
    height: 2px;
    background: var(--cyan);
    border-radius: 2px;
    bottom: 48%;
    left: -10px;
    opacity: 0.5;
    box-shadow: 0 0 4px var(--cyan);
    animation: hovercarFly 22s 3s infinite linear;
}

@keyframes hovercarFly {
    0%   { left: -10px;  opacity: 0;   }
    5%   { opacity: 0.5; }
    95%  { opacity: 0.5; }
    100% { left: 110%;   opacity: 0;   }
}

/* Shooting stars */
.shooting-star {
    position: absolute;
    height: 1px;
    opacity: 0;
    background: linear-gradient(90deg, transparent, var(--white), transparent);
}

.ss1 {
    width: 60px;
    top: 12%;
    left: 60%;
    transform: rotate(-25deg);
    animation: shootStar1 18s 6s infinite;
}

.ss2 {
    width: 45px;
    top: 8%;
    left: 20%;
    transform: rotate(20deg);
    animation: shootStar2 22s 2s infinite;
}

.ss3 {
    width: 70px;
    top: 18%;
    left: 40%;
    transform: rotate(-40deg);
    animation: shootStar3 25s 14s infinite;
}

@keyframes shootStar1 {
    0%,  85%, 100% { opacity: 0;   transform: rotate(-25deg) translateX(0);    }
    87%             { opacity: 0.8; transform: rotate(-25deg) translateX(40px);  }
    90%             { opacity: 0;   transform: rotate(-25deg) translateX(100px); }
}

@keyframes shootStar2 {
    0%,  80%, 100% { opacity: 0;   transform: rotate(20deg) translateX(0);    }
    82%             { opacity: 0.7; transform: rotate(20deg) translateX(35px);  }
    85%             { opacity: 0;   transform: rotate(20deg) translateX(90px);  }
}

@keyframes shootStar3 {
    0%,  88%, 100% { opacity: 0;   transform: rotate(-40deg) translateX(0);    }
    90%             { opacity: 0.9; transform: rotate(-40deg) translateX(50px);  }
    93%             { opacity: 0;   transform: rotate(-40deg) translateX(120px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .city-animation-layer * {
        animation: none !important;
    }
}

/* ── Glitch Text Effect ── */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.glitch::before {
    color: var(--white);
    animation: glitch-top 3s infinite linear;
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
}

.glitch::after {
    color: var(--white);
    animation: glitch-bottom 3s infinite linear;
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
}

@keyframes glitch-top {
    0%   { transform: translate(0); opacity: 1; }
    2%   { transform: translate(-3px, -1px); opacity: 0.8; }
    4%   { transform: translate(3px, 1px); opacity: 1; }
    6%   { transform: translate(0); }
    92%  { transform: translate(0); }
    94%  { transform: translate(2px, -2px); opacity: 0.8; }
    96%  { transform: translate(-2px, 1px); }
    98%  { transform: translate(0); }
    100% { transform: translate(0); }
}

@keyframes glitch-bottom {
    0%   { transform: translate(0); opacity: 1; }
    2%   { transform: translate(3px, 1px); opacity: 0.8; }
    4%   { transform: translate(-3px, -1px); opacity: 1; }
    6%   { transform: translate(0); }
    88%  { transform: translate(0); }
    90%  { transform: translate(-2px, 2px); opacity: 0.8; }
    92%  { transform: translate(2px, -1px); }
    94%  { transform: translate(0); }
    100% { transform: translate(0); }
}

/* ── Hero ── */
.hero {
    text-align: center;
    padding: 0px 32px 185px;
    background-image: url('../images/hero.webp');
    background-size: cover;
    background-position: center bottom;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 13, 18, 0.85) 0%,
        rgba(13, 13, 18, 0.55) 35%,
        rgba(13, 13, 18, 0.30) 65%,
        rgba(13, 13, 18, 0.30) 100%
    );
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
        ellipse at center bottom,
        rgba(120, 92, 255, 0.12) 0%,
        transparent 70%
    );
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-ghost {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    display: block;
}

.hero-logo {
    width: 308px;
    height: 308px;
    object-fit: contain;
    margin: 0 auto -16px;
}

.hero-ghost-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--bg-card);
    border: 2px solid var(--purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 0 32px rgba(120, 92, 255, 0.4);
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 36px;
    letter-spacing: 4px;
    color: var(--white);
    margin-bottom: 8px;
}

.hero h1 .cyan { color: var(--cyan); }
.hero h1 .pink { color: var(--pink); }

.hero-tagline {
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #cccccc;
    margin-bottom: 40px;
}

.hero-tagline .pink { color: var(--pink); }

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    display: inline-block;
    border: none;
    text-decoration: none;
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--purple);
    color: var(--white);
    font-family: var(--font-head);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-body);
}

/* ── Section ── */
.section {
    padding: 48px 40px;
}

.section + .section {
    border-top: 1px solid var(--border);
}

.section-label {
    font-family: var(--font-head);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 24px;
}

.section-label::before {
    content: '> ';
    color: var(--pink);
}

.section-title {
    font-family: var(--font-head);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.section-intro {
    color: var(--text-muted);
    margin-bottom: 12px;
    max-width: 600px;
}

/* ── Life in Pixel City ── */
.city-life-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.city-life-text {
    flex: 1;
}

/* Live City Cam */
.city-cam {
    flex-shrink: 0;
    width: 300px;
    background: #08080d;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 32px rgba(155, 111, 255, 0.12);
}

.city-cam-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #0D0D12;
    border-bottom: 1px solid var(--border);
}

.city-cam-label {
    font-family: var(--font-head);
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cam-dot {
    color: var(--pink);
    font-size: 10px;
    animation: camBlink 2s infinite;
}

@keyframes camBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.15; }
}

.city-cam-time {
    font-family: var(--font-head);
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 2px;
}

.city-cam-screen {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.city-cam-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: camPan 20s ease-in-out infinite alternate;
}

@keyframes camPan {
    0%   { transform: scale(1.12) translate(0%, 0%); }
    100% { transform: scale(1.12) translate(-5%, -3%); }
}

.city-cam-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.07) 2px,
        rgba(0, 0, 0, 0.07) 4px
    );
    pointer-events: none;
}

.cam-static {
    position: absolute;
    inset: -20%;
    width: 140%;
    height: 140%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
    animation: staticShift 0.1s steps(1) infinite, staticPop 5s infinite;
}

@keyframes staticShift {
    0%   { transform: translate(0%,   0%);   }
    10%  { transform: translate(-8%,  -12%); }
    20%  { transform: translate(12%,  5%);   }
    30%  { transform: translate(-5%,  18%);  }
    40%  { transform: translate(9%,   -20%); }
    50%  { transform: translate(-14%, 8%);   }
    60%  { transform: translate(6%,   -5%);  }
    70%  { transform: translate(-10%, 14%);  }
    80%  { transform: translate(14%,  -8%);  }
    90%  { transform: translate(-4%,  10%);  }
    100% { transform: translate(3%,   -3%);  }
}

@keyframes staticPop {
    0%, 80%, 100% { opacity: 0.03; }
    81%            { opacity: 0.22; }
    82%            { opacity: 0.06; }
    83%            { opacity: 0.28; }
    84%            { opacity: 0.04; }
    85%            { opacity: 0.18; }
    86%            { opacity: 0.03; }
}


.city-cam-footer {
    padding: 8px 12px;
    border-top: 1px solid var(--border);
    background: #0D0D12;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.city-cam-district {
    font-family: var(--font-head);
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.city-cam-weather {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Meet the Residents */
.residents {
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.residents-heading {
    font-family: var(--font-head);
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.residents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.resident-card {
    background: var(--bg-card);
    border: 1px solid rgba(155, 111, 255, 0.4);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.resident-card:hover {
    border-color: rgba(155, 111, 255, 0.7);
    box-shadow: 0 0 20px rgba(155, 111, 255, 0.12);
}

.resident-portrait {
    width: calc(100% + 2px);
    margin: -1px -1px 0 -1px;
    aspect-ratio: 1;
    overflow: hidden;
}

.resident-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.resident-info {
    padding: 16px 18px 18px;
}

.resident-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.resident-avatar {
    font-size: 24px;
    line-height: 1;
    display: inline-block;
}

.resident-name {
    font-family: var(--font-head);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
}

.resident-role {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin: 2px 0 10px;
    opacity: 0.8;
}

.res-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 12px;
}

.res-label {
    font-family: var(--font-head);
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--cyan);
    text-transform: uppercase;
}

.res-val {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.res-coffee {
    display: flex;
    gap: 3px;
    align-items: center;
    padding-top: 2px;
}

.coffee-bar {
    width: 12px;
    height: 10px;
    border-radius: 2px;
}

.coffee-bar.filled {
    background: var(--purple);
}

.coffee-bar.empty {
    background: rgba(155, 111, 255, 0.12);
    border: 1px solid rgba(155, 111, 255, 0.2);
}

/* Glitch hover — whole card floats */
.resident-glitch:hover {
    animation: residentFloat 2s ease-in-out infinite;
}

@keyframes residentFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* Pixel hover — whole card halo pulses */
.resident-pixel:hover {
    animation: haloPulse 2s ease-in-out infinite;
}

@keyframes haloPulse {
    0%, 100% { box-shadow: 0 0 6px rgba(155, 111, 255, 0.15); border-color: rgba(155, 111, 255, 0.4); }
    50%       { box-shadow: 0 0 16px rgba(155, 111, 255, 0.45); border-color: rgba(155, 111, 255, 0.8); }
}

/* Zombie hover — whole card dims like a monitor losing power */
.resident-zombie:hover {
    animation: monitorFlicker 3s infinite;
}

@keyframes monitorFlicker {
    0%, 100%  { filter: brightness(1); }
    5%        { filter: brightness(0.55); }
    7%        { filter: brightness(1.05); }
    9%        { filter: brightness(0.75); }
    11%       { filter: brightness(1); }
    60%       { filter: brightness(1); }
    62%       { filter: brightness(0.65); }
    63%       { filter: brightness(1); }
}

/* ── Cards ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
}

.card:hover {
    border-color: rgba(120, 92, 255, 0.6);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.card h3 {
    font-family: var(--font-head);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.card-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 12px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cyan);
}

/* ── Gallery ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.gallery-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s;
}

.gallery-item:hover { border-color: var(--cyan); }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 11px;
    font-family: var(--font-head);
    letter-spacing: 2px;
}

/* ── Lightbox ── */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 32px;
    color: var(--text-muted);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.lightbox-close:hover { color: var(--white); }

/* ── Downloads ── */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: border-color 0.2s;
}

.download-item:hover { border-color: rgba(120, 92, 255, 0.5); }

.download-info { flex: 1; }

.download-name {
    font-size: 14px;
    color: var(--white);
    margin-bottom: 3px;
}

.download-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.badge {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
}

.badge-public  { background: rgba(0, 229, 255, 0.15); color: var(--cyan); }
.badge-locked  { background: rgba(255, 64, 255, 0.15); color: var(--pink); }

.btn-download {
    background: transparent;
    border: 1px solid var(--purple);
    color: var(--purple);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-download:hover {
    background: var(--purple);
    color: var(--white);
}

.btn-download.locked {
    border-color: #333;
    color: #444;
    cursor: not-allowed;
}

/* ── Divider ── */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--cyan), transparent);
    margin: 0 40px;
    opacity: 0.4;
}

/* ── Cable Divider ── */
.cable-divider {
    padding: 0 40px;
    line-height: 0;
}

.cable-svg {
    width: 100%;
    height: 50px;
    display: block;
    overflow: visible;
}

.cable-flow {
    stroke-dasharray: 18 1300;
    stroke-dashoffset: 1318;
    animation: cableFlow 10s linear infinite;
    opacity: 0.8;
}

.cf2 { animation-delay: -1.5s; }
.cf3 { animation-delay: -3s; }
.cf4 { animation-delay: -0.8s; }

@keyframes cableFlow {
    from { stroke-dashoffset: 1340; }
    to   { stroke-dashoffset: -40; }
}

/* ── Pixel Mascot ── */
.mascot-pixel {
    position: relative;
    height: 0;
}

.mascot-pixel img {
    position: absolute;
    bottom: 0;
    right: 60px;
    width: 400px;
    object-fit: contain;
}

/* ── Footer ── */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--text-muted);
}

.footer-tagline {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-tagline .pink { color: var(--pink); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav { padding: 14px 20px; }
    .nav-links { display: none; }
    .hero { padding: 48px 20px 40px; }
    .hero h1 { font-size: 24px; }
    .section { padding: 36px 20px; }
    .divider { margin: 0 20px; }
    .footer { padding: 20px; flex-direction: column; text-align: center; }
}
