:root {
    --bg-black: #000000;
    --bg-void: #0a001a;
    --purple-main: #1a0033;
    --purple-light: #4c0099;
    --purple-neon: #a020f0;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --glass-bg: rgba(26, 0, 51, 0.4);
    --glass-border: rgba(160, 32, 240, 0.2);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --primary-glow: rgba(160, 32, 240, 0.4);
    --secondary-glow: rgba(160, 32, 240, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Atmospheric Background --- */
.void-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #1a0033 0%, #0a001a 40%, #000000 100%);
    background-size: 150% 150%;
    animation: gradientMove 10s ease infinite alternate;
}

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

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: starsMove 60s linear infinite;
    opacity: 0.5;
    will-change: transform;
}

.nebula {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, rgba(160, 32, 240, 0.4) 0%, transparent 70%);
    animation: nebulaPulse 12s ease-in-out infinite alternate;
    will-change: transform, opacity;
    mix-blend-mode: screen;
}

.scanline {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.03) 50%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 100% 4px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.2;
}

.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.5s ease;
    mix-blend-mode: screen;
    filter: blur(40px);
    will-change: left, top, transform, background;
}

@keyframes starsMove {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-550px);
    }
}

@keyframes nebulaPulse {
    from {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }

    to {
        transform: scale(1.2) rotate(10deg);
        opacity: 0.8;
    }
}

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

.card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

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

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

/* --- Profile Section --- */
.profile-section {
    margin-bottom: 40px;
}

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e0b0ff;
    /* Light purple to blend with white-background logo */
    border: 2px solid var(--purple-neon);
    box-shadow: 0 0 40px rgba(160, 32, 240, 0.4);
    overflow: hidden;
}

.logo-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(160, 32, 240, 0.2) 0%, transparent 70%);
    animation: breathe 4s ease-in-out infinite;
}

.logo-icon {
    font-size: 3rem;
    color: var(--text-white);
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    /* Removes white background from the logo */
    filter: drop-shadow(0 0 15px var(--purple-neon));
    transition: var(--transition);
}

.logo-icon img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px var(--purple-neon));
}

.title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(160, 32, 240, 0.5);
}

.subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

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

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(160, 32, 240, 0.15);
    border: 1px solid rgba(160, 32, 240, 0.3);
    font-size: 0.75rem;
    color: #e0b0ff;
    font-weight: 600;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}

/* --- Links Section --- */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-btn {
    text-decoration: none;
    color: var(--text-white);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--glass-bg);
}

.link-btn:hover {
    transform: translateX(10px) scale(1.03);
    background: rgba(160, 32, 240, 0.25);
    border-color: var(--purple-neon);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(160, 32, 240, 0.4),
        inset 0 0 10px rgba(160, 32, 240, 0.2);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.link-btn::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-btn:hover::before {
    left: 100%;
}

.link-btn i:first-child {
    font-size: 1.4rem;
    width: 30px;
    text-align: center;
    color: var(--purple-neon);
}

.link-btn span {
    font-weight: 600;
    font-size: 1.1rem;
    flex-grow: 1;
}

.arrow {
    font-size: 0.8rem;
    opacity: 0.5;
    transition: var(--transition);
}

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

/* --- Footer --- */
.footer-section {
    margin-top: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.voidtails-text {
    margin-top: 8px;
    font-weight: 600;
    color: var(--purple-neon);
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
    background: var(--purple-main);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--purple-neon);
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .title {
        font-size: 1.8rem;
    }
}