:root {
    --primary: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.5);
    --bg-dark: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Canvas */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
}

/* Custom Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease-out, background 0.3s;
}

/* Container & Card */
.container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 10;
}

.profile-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Profile Image */
.profile-image-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
}

#profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    object-fit: cover;
}

.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    background: #22c55e;
    border: 3px solid #111;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

/* Text Styles */
.name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge i {
    color: var(--primary);
}

/* Links */
.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.link-item.special {
    background: linear-gradient(45deg, var(--primary), #7c3aed);
    border: none;
}

.link-item.special:hover {
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.5);
}

/* Music Player */
.music-player {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

.track-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

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

button#play-pause {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    width: 30%;
    height: 100%;
    background: var(--primary);
}

footer {
    position: fixed;
    bottom: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    * {
        cursor: auto !important; /* Mobile doesn't need custom cursor */
    }
    
    .custom-cursor, .cursor-follower {
        display: none;
    }

    body {
        overflow-y: auto;
        height: auto;
        padding: 40px 0;
    }

    .container {
        padding: 15px;
    }

    .profile-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .name {
        font-size: 1.75rem;
    }

    .badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .link-item {
        padding: 12px;
        font-size: 0.9rem;
    }

    footer {
        position: relative;
        bottom: 0;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 25px 15px;
    }

    .profile-image-wrapper {
        width: 90px;
        height: 90px;
    }

    .badges {
        flex-wrap: wrap;
    }
}
