:root {
    --bg-gradient: radial-gradient(circle at top right, #083344, #02060f);
    --glass-bg: rgba(15, 23, 42, 0.6);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
    text-align: center;
    z-index: 1;
}

/* Entry Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.profile-section {
    margin-bottom: 2.5rem;
}

.logo-container {
    margin: 0 auto 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.logo-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--text-color);
}

.logo-text span {
    color: var(--primary-color);
}

.logo-container:hover .logo-circle {
    transform: rotate(360deg);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.6);
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.bio {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Links Buttons */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.link-card i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.link-card:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: -5px 0 15px rgba(34, 211, 238, 0.2);
}

.link-card:active {
    transform: scale(0.98);
}

h1 .dud {
    color: var(--primary-color);
    opacity: 0.6;
}

.social-sidebar {
    position: fixed;
    left: 40px;
    top: 0;
    bottom: 0;
    height: fit-content;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-color);
    opacity: 0.6;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .social-sidebar {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .social-sidebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 90px; /* Más espacio para evitar overlapping y dar aire */
        top: auto;
        margin: 0;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        z-index: 100;
    }
    
    .social-icon {
        opacity: 0.5; /* Más transparente */
        font-size: 1.2rem; /* Más pequeño */
    }

    .social-icon:hover {
        opacity: 1;
        transform: translateY(-5px);
    }
}

/* Staggered Delay for items */
.animate:nth-child(1) { animation-delay: 0.1s; }
.animate:nth-child(2) { animation-delay: 0.2s; }
.animate:nth-child(3) { animation-delay: 0.3s; }
.animate:nth-child(4) { animation-delay: 0.4s; }
.animate:nth-child(5) { animation-delay: 0.5s; }
.animate:nth-child(6) { animation-delay: 0.6s; }

