/* =========================================================================
   ESTILOS PREMIUM - BIO LINK COACH SAÚL LICONA
   ========================================================================= */

:root {
    --bg-color: #F7F5F0;
    /* Soft Cream / Sand White */
    --text-primary: #1F2226;
    --text-secondary: #5C626A;

    --btn-terracotta: #8F4A3F;
    --btn-terracotta-hover: #733930;

    --btn-charcoal: #2B2E33;
    --btn-charcoal-hover: #1E2024;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 1.5rem;
    position: relative;
    overflow-x: hidden;
    /* Soft noise texture for cinematic depth */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
}

/* Subtle cinematic lighting effect */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.85) 0%, rgba(247, 245, 240, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* =========================================================================
   HEADER & PROFILE
   ========================================================================= */

.profile-header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.profile-img-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, rgba(143, 74, 63, 0.15) 0%, rgba(143, 74, 63, 0.02) 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-img-wrapper:hover {
    transform: scale(1.04);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    /* Ajusta este porcentaje (ej. top, center, o 20%) para subir o bajar la foto */
    border-radius: 50%;
    background-color: #FFF;
    display: block;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.profile-name {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.profile-slogan {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    font-family: var(--font-serif);
    letter-spacing: 0.02em;
    font-weight: 500;
}

.profile-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-weight: 400;
}

.profile-bio--highlight {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.4rem;
    margin-bottom: 0.2rem;
    line-height: 1.4;
}

.profile-bio--cierre {
    margin-top: 1.2rem;
}

.profile-cta {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--btn-terracotta);
    margin-top: 2.2rem;
    letter-spacing: 0.02em;
    font-family: var(--font-sans);
}

/* =========================================================================
   LINKS CONTAINER
   ========================================================================= */

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 3rem;
    perspective: 1000px;
}

/* Base Link Button Elements */
.link-btn {
    display: block;
    text-decoration: none;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.link-btn:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
}

.btn-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.btn-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.btn-title {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1.35;
}

/* Destacado / Terracotta */
.featured-btn {
    background: linear-gradient(145deg, var(--btn-terracotta), #7A3E34);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 22px rgba(143, 74, 63, 0.25);
}

.featured-btn:hover {
    background: linear-gradient(145deg, var(--btn-terracotta-hover), #613028);
    box-shadow: 0 16px 32px rgba(143, 74, 63, 0.35);
}

.featured-btn .btn-title {
    color: #FFFFFF;
}

/* Secondary / Charcoal */
.secondary-btn {
    background: linear-gradient(145deg, var(--btn-charcoal), #222529);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.secondary-btn:hover {
    background: linear-gradient(145deg, var(--btn-charcoal-hover), #17181A);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Glassy shine hover effect */
.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    z-index: 1;
}

.link-btn:hover::before {
    left: 200%;
    transition: all 0.7s ease;
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.profile-footer {
    text-align: center;
    width: 100%;
    margin-top: auto;
    padding-top: 2.5rem;
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--text-primary);
    background-color: transparent;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--text-primary);
}

.closing-quote {
    font-family: var(--font-serif);
    color: var(--text-primary);
    font-size: 1.05rem;
    font-style: italic;
    max-width: 85%;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.85;
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */

.link-btn {
    animation: slideUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
}

.link-btn:nth-child(1) {
    animation-delay: 0.10s;
}

.link-btn:nth-child(2) {
    animation-delay: 0.20s;
}

.link-btn:nth-child(3) {
    animation-delay: 0.30s;
}

.link-btn:nth-child(4) {
    animation-delay: 0.40s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */

@media (max-width: 480px) {
    body {
        padding: 2.5rem 1.25rem;
    }

    .link-btn {
        padding: 1.15rem 1.25rem;
    }

    .btn-icon {
        font-size: 1.65rem;
        min-width: 2rem;
    }

    .btn-content {
        gap: 1rem;
    }

    .profile-name {
        font-size: 1.7rem;
    }

    .profile-slogan {
        font-size: 1rem;
    }

    .profile-img-wrapper {
        width: 120px;
        height: 120px;
    }
}