:root {
    --naranja: #FF6B00;
    --blanco: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.96);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
}

/* FONDOS */
.main-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: background-image 0.8s ease-in-out;
}

.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: -1;
}

/* CONTENEDOR */
.container {
    width: 100%;
    max-width: 420px;
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.avatar {
    width: 110px; height: 110px;
    border-radius: 50%;
    border: 3px solid var(--naranja);
    background: white;
    margin-bottom: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    object-fit: contain;
    padding: 5px;
}

h1 { font-size: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); margin-bottom: 10px; }
.bio { font-size: 0.95rem; opacity: 0.9; margin-bottom: 30px; line-height: 1.4; }

/* REDES */
.social-grid { display: flex; justify-content: center; gap: 20px; margin-bottom: 35px; }
.social-icon { font-size: 1.8rem; color: white; transition: var(--transition); }
.social-icon:hover { color: var(--naranja); transform: translateY(-3px); }

/* BOTONES */
.links-container { display: flex; flex-direction: column; gap: 15px; }

.link-item {
    background: var(--bg-card);
    padding: 18px 22px;
    border-radius: 16px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.link-item:hover { transform: scale(1.02); background: white; }
.icon-left { width: 35px; color: var(--naranja); font-size: 1.3rem; }
.icon-right { margin-left: auto; opacity: 0.3; transition: var(--transition); }

/* DESPLEGABLES */
.dropdown-wrapper { width: 100%; display: flex; flex-direction: column; }
.dropdown-content {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 16px 16px;
    margin-top: -5px;
}
.sub-link {
    background: white;
    color: #333;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ANIMACIONES */
.highlight { background: var(--naranja); color: white; animation: pulse 2s infinite; }
.highlight .icon-left { color: white; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

footer { margin-top: 50px; font-size: 0.8rem; opacity: 0.7; }