:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(255, 255, 255, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0; /* Gris para texto secundario */
    --accent-glow: rgba(255, 255, 255, 0.2); /* Resplandor blanco/gris suave */
    --accent-color: #ffffff; /* Blanco puro para acentos */
}

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

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

/* Fondo y efectos Neón / Glassmorphism */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    left: calc(20% + (var(--mouse-x, 0.5) * 50px));
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, rgba(0,0,0,0) 70%); /* Emerald hint */
    bottom: -150px;
    right: calc(10% + (var(--mouse-y, 0.5) * 50px));
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

/* Contenedor Principal */
.container {
    width: 100%;
    max-width: 500px;
    padding: 3rem 1.5rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s ease-out forwards;
}

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

/* Perfil */
.profile-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    text-align: left;
}

.profile-image-container {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(255, 255, 255, 0.05);
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #1a1a1a;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.profile-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Tarjetas de Enlaces */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: all 0.5s ease;
}

.link-card:hover {
    transform: translateY(-3px);
    border-color: var(--card-hover-border);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 15px rgba(255,255,255,0.05);
}

.link-card:hover::before {
    left: 100%;
}

.link-icon {
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.link-title {
    flex-grow: 1;
    text-align: center;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.link-arrow {
    font-size: 1.2rem;
    color: var(--text-secondary);
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.3s ease;
}

.link-card:hover .link-icon {
    transform: scale(1.1);
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translate(0, 0);
    color: var(--text-primary);
}

/* Footer */
.footer {
    margin-top: 3rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Divisores de Sección */
.section-divider {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 1rem 0 0.5rem;
    position: relative;
    width: 100%;
}
.section-divider::before, .section-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 20%;
    height: 1px;
    background: var(--card-border);
}
.section-divider::before {
    left: 5%;
}
.section-divider::after {
    right: 5%;
}

/* Social Grid (Iconos Cuadrados) */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.1rem;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 1.8rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon-btn:hover {
    transform: translateY(-5px);
    border-color: var(--card-hover-border);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 15px var(--accent-glow);
    color: var(--accent-color);
}
