:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #86868b;
    --accent-color: #0071e3;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-speed: 0.5s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Ultra-smooth background glow using multiple layers to prevent banding */
.bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 2px;
    background: white;
    box-shadow: 0 0 400px 150px rgba(255, 255, 255, 0.03),
        0 0 200px 100px rgba(255, 255, 255, 0.05),
        0 0 100px 50px rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    filter: blur(80px);
    animation: glowBreathe 10s ease-in-out infinite alternate;
}

/* Secondary radial gradient layer for depth */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.02) 20%,
            rgba(255, 255, 255, 0.01) 40%,
            rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

@keyframes glowBreathe {
    from {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

.container {
    padding: 20px;
    text-align: center;
    z-index: 10;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeIn 1.2s ease-out;
}

.name {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.role-container {
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.role.active {
    opacity: 1;
    transform: translateY(0);
}

.role.exit {
    opacity: 0;
    transform: translateY(-10px);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.8rem;
    font-size: 1.6rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    color: var(--text-primary);
    transform: translateY(-4px) scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }

    .role {
        font-size: 1.3rem;
    }

    .social-links {
        gap: 1.3rem;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }

    .social-links {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}