:root {
    --bg-primary: #0a0c10;
    --bg-secondary: #121620;
    --accent-primary: #00ff9d;
    --accent-secondary: #4f46e5;
    --text-primary: #e6e6e6;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(10, 12, 16, 0.6);
}

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

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: clamp(1px, 0.5vw, 2px);
    height: clamp(1px, 0.5vw, 2px);
    background: var(--accent-primary);
    opacity: 0.5;
    border-radius: 50%;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    background: 
        radial-gradient(circle at 0% 0%, var(--accent-secondary) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, var(--accent-primary) 0%, transparent 50%);
    filter: blur(80px);
    animation: backgroundFloat 15s ease-in-out infinite alternate;
}

.container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: clamp(1rem, 5vw, 3rem);
    width: clamp(280px, 90vw, 800px);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: clamp(10px, 2vw, 20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

.name {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(54, 211, 153, 0.3);
    transition: all 0.3s ease;
}

.name::before {
    content: '<';
    color: var(--accent-primary);
    opacity: 0.6;
    margin-right: 0.5rem;
}

.name::after {
    content: '/\200B>';
    color: var(--accent-primary);
    opacity: 0.6;
    margin-left: 0.5rem;
}

.role {
    font-size: clamp(1rem, 4vw, 1.5rem);
    line-height: 1.3;
    color: var(--accent-primary);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
    font-family: 'Space Mono', monospace;
}

.description {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin: clamp(1rem, 4vw, 2rem) 0;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

.badge {
    cursor: default;
    background: rgba(54, 211, 153, 0.1);
    padding: clamp(0.3rem, 1.5vw, 0.5rem) clamp(0.6rem, 2vw, 1rem);
    border-radius: 20px;
    font-family: 'Space Mono', monospace;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    color: var(--accent-primary);
    border: 1px solid rgba(54, 211, 153, 0.2);
    transition: all 0.3s ease;
    touch-action: none;
}

.badge:hover {
    background: rgba(54, 211, 153, 0.2);
    transform: translateY(-2px);
}

.socials {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 1.5rem);
    margin-top: clamp(1rem, 4vw, 2rem);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.9s forwards;
}

.link {
    color: var(--text-secondary);
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: clamp(0.3rem, 1.5vw, 0.5rem);
    position: relative;
    border-radius: 50%;
}

.link::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.link:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

.link:hover::before {
    opacity: 0.1;
    transform: scale(1.2);
}

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

@keyframes backgroundFloat {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    body {
        display: block;
        padding: 1rem;
    }

    .container {
        width: 100%;
        max-height: none;
        overflow-y: visible;
        padding: 1.5rem;
    }

    .description {
        font-size: 1rem;
    }
}
