﻿* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

#background {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.1s ease 0.15s;
}

body.site-entered #background { opacity: 1; }

#particles-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.4s ease 0.35s;
}

body.site-entered #particles-canvas { opacity: 1; }

.bg-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease 0.2s;
}

body.site-entered .bg-overlay { opacity: 1; }

#start-screen {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    background: #000;
    cursor: pointer;
    transition: opacity 0.65s ease 0.05s;
}

#start-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.start-inner {
    display: flex; flex-direction: column; align-items: center; gap: 28px;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

#start-screen.fade-out .start-inner {
    transform: scale(0.9) translateY(-12px);
    opacity: 0;
}

.start-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
    opacity: 0;
    animation: startAvatarIn 0.8s ease forwards;
    box-shadow: 0 0 30px rgba(255,255,255,0.08);
}

@keyframes startAvatarIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.start-prompt {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.45);
    text-transform: lowercase;
}

.start-cursor {
    animation: cursorBlink 1s step-end infinite;
    color: rgba(255,255,255,0.7);
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.page {
    position: relative; z-index: 10;
    min-height: 100dvh;
    display: flex; align-items: center; justify-content: center;
    padding: 60px 20px 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    perspective: 1200px;
}

.page.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tilt-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    transition: transform 0.15s ease-out;
    opacity: 0;
    transform: translateY(32px) scale(0.97);
}

.page.visible .tilt-card {
    animation: cardEnter 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.12s;
}

@keyframes cardEnter {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.page:not(.visible) .card-content > *,
.page:not(.visible) .banner-wrap {
    opacity: 0;
}

.page.visible .banner-wrap,
.page.visible .card-content > * {
    animation: revealUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.page.visible .banner-wrap { animation-delay: 0.22s; }
.page.visible .avatar-wrap { animation-delay: 0.34s; }
.page.visible .name-wrap { animation-delay: 0.42s; }
.page.visible .user-line { animation-delay: 0.48s; }
.page.visible #custom-badge-line { animation-delay: 0.54s; }
.page.visible #discord-badge-line:not(:empty) { animation-delay: 0.58s; }
.page.visible .bio { animation-delay: 0.62s; }
.page.visible .skills-tags { animation-delay: 0.66s; }
.page.visible .card-divider { animation-delay: 0.7s; }
.page.visible .presence-grid { animation-delay: 0.74s; }
.page.visible .socials { animation-delay: 0.82s; }
.page.visible .stats-footer { animation-delay: 0.9s; }

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page.visible .card-border-anim {
    animation: revealFade 0.8s ease backwards;
    animation-delay: 0.18s;
}

.page:not(.visible) .card-border-anim {
    opacity: 0;
}

@keyframes revealFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tilt-card:hover .profile-card {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.profile-card {
    position: relative;
    width: 100%;
    --mx: 50%;
    --my: 50%;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: box-shadow 0.35s, border-color 0.35s;
}

.card-border-anim {
    position: absolute; inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    overflow: hidden;
    pointer-events: none;
    z-index: 6;
    transition: transform 0.12s ease-out;
}

.card-border-anim::before {
    content: '';
    position: absolute;
    width: 200%; height: 200%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(255, 255, 255, 0.45) 6%,
        transparent 14%,
        rgba(255, 255, 255, 0.15) 38%,
        transparent 52%,
        rgba(255, 255, 255, 0.35) 68%,
        transparent 82%,
        rgba(255, 255, 255, 0.2) 92%,
        transparent 100%
    );
    animation: spinBorderRotate 4.5s linear infinite;
}

@keyframes spinBorderRotate {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.card-mouse-glow {
    display: none;
}

.banner-wrap {
    position: relative;
    z-index: 2;
    height: 140px;
    overflow: hidden;
    background: #0a0a0a;
}

.banner-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 3;
}

.banner-fallback {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1c1c28 0%, #12121a 50%, #0a0a10 100%);
}

@keyframes bannerGlitch {
    0%, 88%, 100% {
        transform: translate(0);
        filter: contrast(1.05) saturate(0.9);
    }
    89% {
        transform: translate(-3px, 0) skewX(-0.5deg);
        filter: contrast(1.12) saturate(0.85);
    }
    90% {
        transform: translate(3px, 1px);
        filter: contrast(1.1) saturate(0.8) hue-rotate(4deg);
    }
    91% {
        transform: translate(-1px, -1px);
    }
}

.banner-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: contrast(1.05) saturate(0.9);
    animation: bannerGlitch 9s step-end infinite;
}

.banner-glitch {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    background: linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.04) 49%, rgba(255, 255, 255, 0.04) 51%, transparent 52%);
    animation: bannerGlitchFlash 9s step-end infinite;
}

@keyframes bannerGlitchFlash {
    0%, 88%, 100% { opacity: 0; transform: translateX(0); }
    89% { opacity: 1; transform: translateX(-4px); }
    90% { opacity: 0.6; transform: translateX(4px); }
    91% { opacity: 0; transform: translateX(0); }
}

.banner-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 1px,
        rgba(0, 0, 0, 0.14) 1px,
        rgba(0, 0, 0, 0.14) 2px
    );
    pointer-events: none;
    z-index: 2;
}

.banner-fade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, #000 100%);
    pointer-events: none;
    z-index: 4;
}

.profile-card.has-banner .banner-fallback { display: none; }

.card-content {
    padding: 0 26px 0;
    text-align: center;
    margin-top: -44px;
    position: relative;
    z-index: 4;
    isolation: isolate;
    -webkit-font-smoothing: subpixel-antialiased;
}

.avatar-wrap {
    position: relative;
    z-index: 4;
    width: 92px; height: 92px;
    margin: 0 auto 14px;
    overflow: visible;
}

.avatar-glow {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.35), transparent 60%);
    animation: avatarSpin 4s linear infinite;
    z-index: 0;
    opacity: 0.7;
    transition: opacity 0.35s;
}

@keyframes avatarSpin { to { transform: rotate(360deg); } }

.avatar {
    position: relative; z-index: 1;
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #000;
    background: #0a0a0a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.35s;
}

.avatar-deco {
    position: absolute;
    top: 50%; left: 50%;
    width: 114px; height: 114px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 20;
}

.status-ring {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 5;
    width: 20px;
    height: 20px;
    background: #000;
    border: 2px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(8, 8, 12, 0.6);
}

.status-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #3ba55c;
    box-shadow: 0 0 10px rgba(59, 165, 92, 0.75);
}

.name-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    margin-bottom: 3px;
}

.name {
    display: inline-block;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    background: linear-gradient(
        90deg,
        #aaa 0%,
        #fff 20%,
        #ddd 40%,
        #fff 60%,
        #aaa 80%,
        #fff 100%
    );
    background-size: 200% auto;
    background-position: 0% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: nameShine 4s linear infinite;
}

@keyframes nameShine {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.user-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.handle {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.clan-tag {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 2px 7px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.clan-tag img { width: 13px; height: 13px; }

.badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}
.badges:empty { display: none; }

@keyframes badgePop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(5px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.page.visible .custom-badges .badge-container,
.page.visible .skills-tags span {
    animation: badgePop 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.page.visible .custom-badges .badge-container:nth-child(1) { animation-delay: 0.58s; }
.page.visible .custom-badges .badge-container:nth-child(2) { animation-delay: 0.62s; }
.page.visible .custom-badges .badge-container:nth-child(3) { animation-delay: 0.66s; }
.page.visible .custom-badges .badge-container:nth-child(4) { animation-delay: 0.70s; }
.page.visible .custom-badges .badge-container:nth-child(5) { animation-delay: 0.74s; }
.page.visible .skills-tags span:nth-child(1) { animation-delay: 0.72s; }
.page.visible .skills-tags span:nth-child(2) { animation-delay: 0.76s; }
.page.visible .skills-tags span:nth-child(3) { animation-delay: 0.80s; }
.page.visible .skills-tags span:nth-child(4) { animation-delay: 0.84s; }
.page.visible .skills-tags span:nth-child(5) { animation-delay: 0.88s; }

.badge-pop {
    animation: badgePop 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.badge-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s, transform 0.2s ease, box-shadow 0.2s;
    cursor: default;
}
.badge-container:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}
.badge {
    width: 18px;
    height: 18px;
    display: block;
    transition: transform 0.2s ease;
}
.badge-container:hover .badge {
    transform: scale(1.08);
}

.custom-badges .badge-container {
    background: transparent;
    border: none;
    padding: 0;
}
.custom-badges .badge-container:hover {
    background: transparent;
    transform: translateY(-2px) scale(1.04);
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 0 0 transparent;
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 5px var(--badge-glow);
        filter: brightness(1.06);
    }
}

.custom-badge {
    position: relative;
    overflow: hidden;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    padding: 4px 8px;
    border-radius: 5px;
    border: 1px solid;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    transition: filter 0.2s ease;
    animation: badgeGlow 5s ease-in-out infinite;
}

.custom-badges .badge-container:nth-child(1) .custom-badge { animation-delay: 0s; }
.custom-badges .badge-container:nth-child(2) .custom-badge { animation-delay: 1s; }
.custom-badges .badge-container:nth-child(3) .custom-badge { animation-delay: 2s; }
.custom-badges .badge-container:nth-child(4) .custom-badge { animation-delay: 3s; }
.custom-badges .badge-container:nth-child(5) .custom-badge { animation-delay: 4s; }

.custom-tooltip {
    position: fixed;
    z-index: 10001;
    padding: 7px 12px;
    background: rgba(10, 10, 14, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -100%);
    transition: opacity 0.15s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.custom-tooltip.visible {
    opacity: 1;
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: rgba(10, 10, 14, 0.96);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.custom-badge.owner {
    --badge-glow: rgba(212, 168, 67, 0.25);
    background: rgba(212, 168, 67, 0.1);
    border-color: rgba(212, 168, 67, 0.45);
    color: #d4a843;
}
.custom-badge.dev {
    --badge-glow: rgba(107, 159, 212, 0.25);
    background: rgba(107, 159, 212, 0.1);
    border-color: rgba(107, 159, 212, 0.45);
    color: #7aade0;
}
.custom-badge.vip {
    --badge-glow: rgba(155, 123, 204, 0.25);
    background: rgba(155, 123, 204, 0.1);
    border-color: rgba(155, 123, 204, 0.45);
    color: #a888d4;
}
.custom-badge.og {
    --badge-glow: rgba(201, 122, 106, 0.25);
    background: rgba(201, 122, 106, 0.1);
    border-color: rgba(201, 122, 106, 0.45);
    color: #c97a6a;
}
.custom-badge.axs {
    --badge-glow: rgba(255, 107, 157, 0.3);
    background: rgba(255, 107, 157, 0.1);
    border-color: rgba(255, 107, 157, 0.45);
    color: #ff6b9d;
}
.custom-badges .badge-container:hover .custom-badge {
    filter: brightness(1.1);
}

#discord-badge-line {
    gap: 4px;
    margin-top: -2px;
    margin-bottom: 10px;
}

#discord-badge-line .badge-container {
    padding: 3px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

#discord-badge-line .badge {
    width: 16px;
    height: 16px;
}

.bio {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.45;
    margin-bottom: 12px;
    min-height: 1.3em;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}
.bio:empty { display: none; }

.skills-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
.skills-tags span {
    font-size: 10px;
    padding: 4px 9px;
    border-radius:6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s ease;
}
.skills-tags span:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px) scale(1.04);
}

.card-divider {
    height: 1px;
    margin: 12px 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.presence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}
.presence-grid.single-col { grid-template-columns: 1fr; }

.activity-row,
.spotify-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    padding: 10px 12px;
    text-align: left;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.35s, box-shadow 0.35s, background 0.35s, opacity 0.35s;
}

.activity-row {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(255,255,255,0.03) 55%, rgba(0,0,0,0.15) 100%);
    border: 1px solid rgba(88, 101, 242, 0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.activity-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 10px;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.activity-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.activity-text span:first-child {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.activity-text span:last-child {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-row {
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.12) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.spotify-row.inactive {
    opacity: 0.45;
}

.spotify-row.active {
    opacity: 1;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.14) 0%, rgba(0,0,0,0.2) 45%, rgba(29, 185, 84, 0.08) 100%);
    border-color: rgba(29, 185, 84, 0.4);
    box-shadow:
        0 0 22px rgba(29, 185, 84, 0.12),
        inset 0 1px 0 rgba(29, 185, 84, 0.2);
    animation: spotifyPulse 3s ease-in-out infinite;
}

.spotify-row.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(105deg, transparent 40%, rgba(29, 185, 84, 0.08) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: spotifyShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes spotifyPulse {
    0%, 100% { box-shadow: 0 0 18px rgba(29, 185, 84, 0.1), inset 0 1px 0 rgba(29, 185, 84, 0.18); }
    50% { box-shadow: 0 0 28px rgba(29, 185, 84, 0.2), inset 0 1px 0 rgba(29, 185, 84, 0.28); }
}

@keyframes spotifyShine {
    0%, 100% { background-position: 200% 0; opacity: 0; }
    45% { opacity: 1; }
    55% { background-position: -100% 0; opacity: 0; }
}

.spotify-art-wrap {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}

.spotify-art {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.35s, transform 0.35s;
}

.spotify-row.active .spotify-art {
    box-shadow: 0 4px 18px rgba(29, 185, 84, 0.35);
}

.spotify-equalizer {
    position: absolute;
    bottom: -3px;
    right: -3px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    width: 20px;
    height: 16px;
    padding: 3px 4px;
    background: #1db954;
    border-radius: 5px;
    border: 1.5px solid rgba(12, 12, 16, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.spotify-equalizer span {
    display: block;
    width: 3px;
    height: 8px;
    background: #fff;
    border-radius: 1px;
    transform-origin: bottom;
    animation: eqBar 0.75s ease-in-out infinite;
}

.spotify-equalizer span:nth-child(1) { animation-delay: 0s; }
.spotify-equalizer span:nth-child(2) { animation-delay: 0.15s; }
.spotify-equalizer span:nth-child(3) { animation-delay: 0.3s; }

@keyframes eqBar {
    0%, 100% { transform: scaleY(0.35); }
    50% { transform: scaleY(1); }
}

.spotify-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.spotify-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    line-height: 1.2;
}

.spotify-row.active .spotify-label {
    color: #1ed760;
    text-shadow: 0 0 12px rgba(30, 215, 96, 0.35);
}

.spotify-song {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.spotify-row.active .spotify-song {
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.88) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spotify-artist {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-row.active .spotify-artist {
    color: rgba(30, 215, 96, 0.75);
}

.socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 4px auto 0;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s;
}

.social-link img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.82;
    transition: opacity 0.25s, transform 0.25s;
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.25s, transform 0.25s;
}

.social-link:hover img,
.social-link:hover svg {
    opacity: 1;
}

.social-discord:hover { background: rgba(88, 101, 242, 0.12); border-color: rgba(88, 101, 242, 0.3); }
.social-github:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
.social-web:hover { background: rgba(255, 107, 157, 0.12); border-color: rgba(255, 107, 157, 0.35); }

.stats-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 14px -26px 0;
    padding: 14px 20px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.stat-item[hidden] { display: none; }

.stat-value {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.9);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.stat-label {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
    line-height: 1;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
}
.status-pill .status-dot {
    width: 7px; height: 7px;
    box-shadow: none;
}

@media (max-width: 680px) {
    .presence-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .tilt-card { max-width: 100%; }
    .profile-card,
    .card-border-anim,
    .card-mouse-glow { border-radius: 14px; }
    .card-content { padding: 0 18px 0; }
    .stats-footer { margin: 12px -18px 0; padding: 12px 16px 16px; }
    .name { font-size: 22px; }
    .banner-wrap { height: 100px; }
    .start-avatar { width: 60px; height: 60px; }
}
