:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    /* More transparent */
    --card-border: rgba(255, 255, 255, 0.05);
    --card-hover-bg: rgba(255, 255, 255, 0.07);
    --card-hover-border: rgba(255, 255, 255, 0.15);

    --text-primary: #ffffff;
    --text-secondary: #999999;

    --youtube-color: #FF0000;
    --tiktok-color: #00f2ea;
    --discord-color: #5865F2;

    --transition-speed: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Tajawal', sans-serif;
    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;
    /* Reverting from perspective on body to container/cards */
}

/* Elegant Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 50% -20%, #1a1a1a 0%, #000000 70%);
}

/* Subtle moving spotlight effect instead of particles */
.ambient-light {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 150vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    z-index: -2;
    animation: pulseLight 10s infinite alternate ease-in-out;
    pointer-events: none;
}

@keyframes pulseLight {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 1;
}

.profile-header {
    text-align: center;
    animation: fadeInDown 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.logo-container {
    position: relative;
    width: 125px;
    height: 125px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    /* Subtle premium shadow */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.profile-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container:hover {
    transform: scale(1.05);
    /* Simple scale, removed rotation */
}

.username-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0.25rem;
}

.username {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    /* Clean white, removed gradient for pure look */
}

.verified-badge {
    color: #3ba55c;
    /* Discord/Clean Green or keep Twitter Blue? Let's go Blue #1DA1F2 */
    color: #1DA1F2;
    font-size: 1.25rem;
    filter: drop-shadow(0 0 10px rgba(29, 161, 242, 0.3));
}

.bio {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 0.5rem;
}

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}

/* Premium Glass Card - The "Clean" Look */
.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;

    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;

    /* Strong blur for that frosty look */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    text-decoration: none;
    color: var(--text-primary);

    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    transition: transform 0.4s ease;
    color: #ccc;
    /* Default grey icon */
}

.link-text {
    flex-grow: 1;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.arrow-icon {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transform: translateX(5px);
    transition: transform 0.4s ease, color 0.4s;
}

/* Elegant Hover Effects - No chaotic colors, just subtle indicators */
.link-card:hover {
    background: var(--card-hover-bg);
    border-color: var(--card-hover-border);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.link-card:hover .arrow-icon {
    color: #fff;
    transform: translateX(0);
}

/* Reveal brand colors ONLY on hover */
.link-card.youtube:hover .icon-wrapper {
    color: var(--youtube-color);
    transform: scale(1.1);
}

.link-card.tiktok:hover .icon-wrapper {
    color: var(--tiktok-color);
    transform: scale(1.1);
}

.link-card.discord:hover .icon-wrapper {
    color: var(--discord-color);
    transform: scale(1.1);
}


.site-footer {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.2);
    animation: fadeIn 1.5s ease 0.5s backwards;
}

/* Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .username {
        font-size: 1.8rem;
    }

    .container {
        padding: 1.5rem;
    }
}

.bio-separator {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    /* Slightly visible */
    margin: 0.5rem auto;
    border-radius: 2px;
}

.welcome-msg {
    font-size: 0.8rem;
    /* Small font */
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
}