/* Global Reset */
:root {
    --primary-bg: #0f0c29;
    --secondary-bg: #302b63;
    --accent-color: #24243e;
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.15);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Outfit', sans-serif;
    --youtube-color: #ff0000;
    --spotify-color: #1DB954;
    --default-icon-color: #ffffff;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Background Animation Elements */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-animation::before,
.background-animation::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite alternate;
}

.background-animation::before {
    background: #4a1c40;
    top: 10%;
    left: 10%;
    animation-delay: -2s;
}

.background-animation::after {
    background: #1c2e4a;
    bottom: 10%;
    right: 10%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 50px);
    }
}

/* Main Container */
.container {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Profile Header */
.profile-header {
    text-align: center;
    margin-bottom: 32px;
    width: 100%;
}

.profile-image-container {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.artist-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.artist-bio {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* Link Cards */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.link-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    background: var(--card-hover);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.link-card:hover::before {
    left: -100%;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}

.icon {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.link-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.link-title {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.link-subtitle {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    margin-left: 10px;
}

.link-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Platform Colors on Hover */
.youtube:hover .icon {
    color: var(--youtube-color);
}

.spotify:hover .icon {
    color: var(--spotify-color);
}

.streetvoice:hover .icon {
    color: #f4ba1d;
}

.ultimate-guitar:hover .icon {
    color: #fece00;
}


/* Footer */
.footer {
    margin-top: 32px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* Divider in Bio */
.divider {
    margin: 0 8px;
    opacity: 0.4;
    font-weight: 300;
}

.cn {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 30px 16px;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .link-card {
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(10px);
    }
}

/* Featured Section */
.featured-section {
    width: 100%;
    margin-bottom: 32px;
}

.section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
}

.album-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border-radius: 32px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(168, 85, 247, 0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.album-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: rotateGradient 12s linear infinite;
}

@keyframes rotateGradient {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.album-wrapper:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.7);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(168, 85, 247, 0.3);
}

.new-badge {
    display: inline-block;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    animation: pulseBadge 2s infinite;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    z-index: 2;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.7);
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

.album-cover {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    position: relative;
    border-radius: 50%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    border: 4px solid rgba(255, 255, 255, 0.05);
}

/* Enhanced Vinyl/CD Look */
.vinyl-disc {
    width: 100%;
    height: 100%;
    background: repeating-radial-gradient(circle at center,
            #0a0a0a 0px,
            #0a0a0a 1px,
            #1a1a1a 2px,
            #0a0a0a 3px);
    border-radius: 50%;
    position: relative;
    animation: spin 8s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vinyl-disc::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(255, 255, 255, 0.05) 45deg,
            transparent 90deg,
            rgba(255, 255, 255, 0.05) 135deg,
            transparent 180deg,
            rgba(255, 255, 255, 0.05) 225deg,
            transparent 270deg,
            rgba(255, 255, 255, 0.05) 315deg,
            transparent 360deg);
    z-index: 2;
}

.vinyl-grooves {
    position: absolute;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.vinyl-label-inner {
    width: 32%;
    height: 32%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 50%;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

.vinyl-label-inner::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.album-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    width: 100%;
    text-align: center;
}

.album-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.2;
    background: linear-gradient(90deg, #fff, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.album-artist {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    font-weight: 300;
    letter-spacing: 1px;
}

.album-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.album-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.icon-mini {
    width: 22px;
    height: 22px;
    margin-right: 12px;
}

.spotify-mini {
    background: rgba(29, 185, 84, 0.12);
    color: #2ebd59;
    border-color: rgba(29, 185, 84, 0.2);
}

.spotify-mini:hover {
    background: rgba(29, 185, 84, 0.25);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(29, 185, 84, 0.3);
}

.youtube-mini {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4d4d;
    border-color: rgba(255, 0, 0, 0.2);
}

.youtube-mini:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
}

/* Responsive adjustments for Album */
@media (max-width: 480px) {
    .album-wrapper {
        padding: 40px 20px;
        gap: 20px;
    }

    .album-cover {
        width: 100px;
        height: 100px;
    }

    .album-name {
        font-size: 1.6rem;
    }
}