/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== BACKGROUND ===== */
#bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#bg-container img,
#bg-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

/* ===== CLICK OVERLAY ===== */
#click-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#click-overlay .overlay-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(20px);
}

.overlay-box {
    position: relative;
    text-align: center;
    z-index: 10;
    animation: fadeInUp 0.8s ease;
}

.overlay-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 2s ease-out infinite;
}

.pulse-ring.delay {
    animation-delay: 0.5s;
}

@keyframes pulseRing {
    0% {
        width: 90px;
        height: 90px;
        opacity: 1;
    }
    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
    }
}

.overlay-box h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.overlay-box p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* ===== AUDIO TOGGLE ===== */
.audio-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-toggle:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
}

/* ===== VIEWS ===== */
.views-badge {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* ===== CONTAINER ===== */
.container {
    position: relative;
    z-index: 10;
    max-width: 450px;
    margin: 0 auto;
    padding: 60px 20px 100px;
    text-align: center;
}

.hidden {
    display: none !important;
}

/* ===== PROFILE PIC ===== */
.pfp-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.pfp {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.pfp:hover {
    transform: scale(1.05);
}

.pfp-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(130, 80, 255, 0.25);
    filter: blur(25px);
    z-index: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* ===== USERNAME ===== */
.username {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* ===== BADGES ===== */
.badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.badge-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    transition: transform 0.2s ease;
}

.badge-img:hover {
    transform: scale(1.2);
}

/* ===== BIO ===== */
.bio {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin-bottom: 12px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== LOCATION ===== */
.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}

/* ===== DISCORD CARD (Lanyard) ===== */
.discord-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.discord-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}

.discord-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.discord-info {
    text-align: left;
    flex: 1;
}

.discord-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.discord-name {
    font-size: 15px;
    font-weight: 700;
}

.discord-badges-dc img {
    width: 18px;
    height: 18px;
}

.discord-status-text {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    bottom: 14px;
    left: 48px;
    border: 3px solid rgba(0,0,0,0.6);
}

.status-dot.online { background: #43b581; }
.status-dot.idle { background: #faa61a; }
.status-dot.dnd { background: #f04747; }
.status-dot.offline { background: #747f8d; }

/* ===== SPOTIFY CARD ===== */
.spotify-card {
    background: rgba(30, 215, 96, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(30, 215, 96, 0.15);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.spotify-card:hover {
    background: rgba(30, 215, 96, 0.14);
}

.spotify-art-wrapper {
    flex-shrink: 0;
}

.spotify-art {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.spotify-info {
    text-align: left;
    flex: 1;
    overflow: hidden;
}

.spotify-label {
    font-size: 11px;
    color: #1ed760;
    margin-bottom: 4px;
    font-weight: 600;
}

.spotify-song {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-artist {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== LINKS ===== */
.links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    font-size: 30px;
    position: relative;
    box-shadow: none;
    padding: 0;
}

.link-item:hover {
    transform: translateY(-4px) scale(1.08);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.link-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

.link-item .link-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.link-item:hover .link-tooltip {
    opacity: 1;
}

/* Full width link style */
.link-item.full-width {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    justify-content: center;
}

.link-item.full-width img {
    width: 22px;
    height: 22px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container > * {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.container > *:nth-child(1) { animation-delay: 0.1s; }
.container > *:nth-child(2) { animation-delay: 0.15s; }
.container > *:nth-child(3) { animation-delay: 0.2s; }
.container > *:nth-child(4) { animation-delay: 0.25s; }
.container > *:nth-child(5) { animation-delay: 0.3s; }
.container > *:nth-child(6) { animation-delay: 0.35s; }
.container > *:nth-child(7) { animation-delay: 0.4s; }
.container > *:nth-child(8) { animation-delay: 0.45s; }
.container > *:nth-child(9) { animation-delay: 0.5s; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
    .container {
        padding: 40px 16px 80px;
    }

    .pfp {
        width: 90px;
        height: 90px;
    }

    .pfp-glow {
        width: 100px;
        height: 100px;
    }

    .username {
        font-size: 24px;
    }

    .badge-img {
        width: 32px;
        height: 32px;
    }

    .link-item {
        font-size: 26px;
    }

    .link-item img {
        width: 36px;
        height: 36px;
    }
}

/* ===== CURSOR EFFECT ===== */
.cursor-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(130,80,255,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 5;
    transform: translate(-50%, -50%);
    transition: left 0.1s ease, top 0.1s ease;
    }
