/* CSS Reset & Variables */
:root {
    --bg-color: #1E293B; /* Color principal de marca (Dark Slate) */
    --text-primary: #ffffff;
    --text-secondary: #94A3B8; /* Color de marca (Slate Gray) */
    --card-bg: rgba(212, 230, 253, 0.05); /* Tinte sutil con #D4E6FD */
    --hover-bg: rgba(212, 230, 253, 0.1);
    --border-color: rgba(212, 230, 253, 0.15);
    --accent: #D4E6FD; /* Color principal de marca (Light Blue) */
    --accent-glow: rgba(212, 230, 253, 0.4);
    --transition-speed: 0.4s;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* Fondo animado vibrante con paleta de marca */
    background: linear-gradient(-45deg, #0f172a, var(--bg-color), #334155, var(--bg-color));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    line-height: 1.6;
    overflow-x: hidden; /* Evita scroll horizontal por la imagen flotante */
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Background Floating Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.shape-1 {
    width: 350px;
    height: 350px;
    background: var(--accent);
    top: -100px;
    left: -100px;
    animation: drift 18s ease-in-out infinite alternate;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #334155; /* A secondary tone from the palette */
    bottom: -150px;
    right: -100px;
    animation: drift 25s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
    100% { transform: translate(-30px, 50px) scale(0.9); }
}

/* Container Principal */
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    flex: 1;
    position: relative;
    z-index: 10;
}

/* Profile Section */
.profile {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.profile-img-placeholder {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img-placeholder:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 0 35px var(--accent);
}

.profile-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    /* Efecto de texto con gradiente */
    background: linear-gradient(to right, #ffffff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--accent);
}

.bio {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 85%;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

.main-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.main-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 230, 253, 0.6);
}

/* Proof Section */
.proof-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    opacity: 0;
}

.proof-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.proof-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--text-primary);
}

/* Currently Section */
.currently-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
    backdrop-filter: blur(12px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
    opacity: 0;
    transition: transform 0.3s ease;
}

.currently-section:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 230, 253, 0.25);
}

.currently-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #22c55e; /* Green for "active/now" */
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.currently-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.currently-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

/* Individual Link Button */
.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.2rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    /* Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    
    /* Estado inicial para la animación en JS */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.link-btn:hover {
    background-color: var(--hover-bg);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--accent-glow);
    border-color: var(--accent);
}

.link-icon {
    margin-right: 0.75rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.link-btn:hover .link-icon {
    transform: scale(1.2) rotate(-10deg);
}

/* Decorative Image (Full Body) - Ahora flotando */
.decorative-image {
    position: fixed;
    bottom: -20px;
    right: 5%;
    z-index: 1;
    pointer-events: none; /* Para que no interfiera con los clicks */
    animation: float 6s ease-in-out infinite;
}

.decorative-image img {
    max-width: 320px;
    height: auto;
    opacity: 0.8;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
}

/* Animaciones */
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Footer */
footer {
    margin-top: 4rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
    position: relative;
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .decorative-image {
        right: -80px;
        bottom: -30px;
        opacity: 0.4; /* Menos intrusiva en móviles */
        z-index: 0;
    }
    .decorative-image img {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 2rem 1rem;
    }
    
    .name {
        font-size: 1.75rem;
    }
    
    .link-btn {
        padding: 1rem;
        font-size: 1rem;
    }
}