:root {
    --bg-color: #0f1115;
    --card-bg: rgba(25, 28, 36, 0.7);
    --text-primary: #ffffff;
    --text-secondary: #a0aabf;
    --accent-color: #7b61ff;
    --spotify-color: #1DB954;
    --apple-color: #fb233b;
    --youtube-color: #FF0000;
    --tiktok-color: #00f2fe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 15% 50%, rgba(123, 97, 255, 0.15), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(0, 242, 254, 0.1), transparent 25%);
    animation: pulse 15s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem 1.5rem;
    z-index: 1;
}

.profile-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-image-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.profile-image-container:hover .profile-image {
    transform: scale(1.05);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(123, 97, 255, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(15px);
    animation: glowPulse 4s infinite alternate;
}

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

.artist-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #a0aabf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bio {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.link-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.link-item:hover::before {
    transform: translateX(100%);
}

.vendor-icon {
    width: 28px;
    height: 28px;
    margin-right: 1.25rem;
    transition: transform 0.3s ease;
}

.link-item:hover .vendor-icon {
    transform: scale(1.1);
}

/* Vendor specific colors on hover */
.link-item.spotify:hover { border-color: rgba(29, 185, 84, 0.3); box-shadow: 0 10px 20px -10px rgba(29, 185, 84, 0.2); }
.link-item.spotify:hover .vendor-icon { color: var(--spotify-color); }

.link-item.apple-music:hover { border-color: rgba(251, 35, 59, 0.3); box-shadow: 0 10px 20px -10px rgba(251, 35, 59, 0.2); }
.link-item.apple-music:hover .vendor-icon { color: var(--apple-color); }

.link-item.youtube:hover { border-color: rgba(255, 0, 0, 0.3); box-shadow: 0 10px 20px -10px rgba(255, 0, 0, 0.2); }
.link-item.youtube:hover .vendor-icon { color: var(--youtube-color); }

.link-item.tiktok:hover { border-color: rgba(0, 242, 254, 0.3); box-shadow: 0 10px 20px -10px rgba(0, 242, 254, 0.2); }
.link-item.tiktok:hover .vendor-icon { color: var(--tiktok-color); }

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.divider span {
    padding: 0 1rem;
}

/* Staggered animation for links */
.link-item {
    animation: fadeInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.link-item:nth-child(1) { animation-delay: 0.3s; }
.link-item:nth-child(2) { animation-delay: 0.4s; }
.link-item:nth-child(3) { animation-delay: 0.5s; }
.divider { animation: fadeInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; transform: translateX(-20px); animation-delay: 0.6s; }
.link-item:nth-child(5) { animation-delay: 0.7s; }

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .profile-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    
    .profile-image-container {
        width: 120px;
        height: 120px;
    }
    
    .link-item {
        padding: 1rem 1.25rem;
        font-size: 1.05rem;
    }
    
    .vendor-icon {
        width: 24px;
        height: 24px;
    }
}
