:root {
    --bg-color: #0f0c29;
    --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-color: #bb86fc;
    --youtube-color: #ff0000;
    --tiktok-color: #00f2ea;
    --instagram-color: #e1306c;
    --spotify-color: #1db954;
    --hover-glow: rgba(255, 255, 255, 0.15);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

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

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

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

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

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.05);
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-align: center;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

/* Profile Header */
.profile-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--accent-color), #7b2cbf);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 0 20px rgba(187, 134, 252, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.profile-logo {
    display: none;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, #b3b3b3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.link-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.link-item::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: 0.5s;
}

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

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-right: 15px;
}

.link-text {
    flex-grow: 1;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.arrow {
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.link-item:hover .arrow {
    transform: translateX(5px);
    opacity: 1;
}

/* Specific Link Colors (on hover) */
.youtube:hover .icon-box {
    color: var(--youtube-color);
    text-shadow: 0 0 10px var(--youtube-color);
}

.tiktok:hover .icon-box {
    color: var(--tiktok-color);
    text-shadow: 0 0 10px var(--tiktok-color);
}

.instagram:hover .icon-box {
    color: var(--instagram-color);
    text-shadow: 0 0 10px var(--instagram-color);
}

/* Spotify Coming Soon */
.spotify {
    opacity: 0.7;
    cursor: not-allowed;
}

.spotify:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.spotify .badge {
    background: var(--spotify-color);
    color: black;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

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

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 480px) {
    .glass-card {
        padding: 30px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .link-item {
        padding: 12px 15px;
    }
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.equalizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 60px;
    gap: 5px;
    margin-bottom: 20px;
}

.bar {
    width: 10px;
    background: var(--accent-color);
    animation: equalizer 1s ease-in-out infinite;
    border-radius: 5px;
}

.bar:nth-child(1) {
    height: 40%;
    animation-delay: 0.1s;
    background: var(--youtube-color);
}

.bar:nth-child(2) {
    height: 80%;
    animation-delay: 0.2s;
    background: var(--tiktok-color);
}

.bar:nth-child(3) {
    height: 60%;
    animation-delay: 0.3s;
    background: var(--instagram-color);
}

.bar:nth-child(4) {
    height: 90%;
    animation-delay: 0.4s;
    background: var(--spotify-color);
}

.bar:nth-child(5) {
    height: 50%;
    animation-delay: 0.5s;
    background: var(--accent-color);
}

@keyframes equalizer {
    0% {
        height: 20%;
    }

    50% {
        height: 100%;
    }

    100% {
        height: 20%;
    }
}

.loader-content p {
    color: white;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}