/* =========================================================================
   VARIABLES GLOBALES - COLORES Y FUENTES PARA AUDIENCIA MAYOR
   ========================================================================= */
:root {
    /* Paleta Clínica y Natural */
    --bg-color: #F8F9FA;
    /* Blanco Crema súper suave, no cansa la vista */
    --text-primary: #212529;
    /* Gris casi negro para máximo contraste y legibilidad */
    --text-secondary: #495057;
    /* Gris oscuro para subtítulos */

    /* Colores de Botones (Psicología del color para salud) */
    --btn-health: #2E7D32;
    /* Verde oscuro natural (Aceites/Salud) */
    --btn-health-hover: #1B5E20;

    --btn-comfort: #0277BD;
    /* Azul médico profundo (Camas/Descanso) */
    --btn-comfort-hover: #01579B;

    --btn-food: #E65100;
    /* Naranja oscuro apetitoso (Comida) */
    --btn-food-hover: #BF360C;

    --white: #FFFFFF;

    /* Variables de diseño */
    --border-radius: 12px;
    /* Bordes muy redondeados, amigables */
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Sombra marcada para que los botones parezcan "pulsables" */

    /* Tipografía grande y clara */
    --font-family: 'Roboto', sans-serif;
}

/* =========================================================================
   RESETEOS BÁSICOS
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    /* Evita que en celular se pueda hacer scroll horizontal accidental */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =========================================================================
   CONTENEDOR PRINCIPAL (Móvil First)
   ========================================================================= */
.container {
    max-width: 600px;
    /* Ancho máximo para parecer un celular en PC */
    margin: 0 auto;
    padding: 30px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================================================
   CABECERA / PERFIL
   ========================================================================= */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    /* Borde verde que inspira salud alrededor de la foto */
    border: 4px solid var(--btn-health);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-title {
    font-size: 28px;
    /* Letra muy grande y llamativa */
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.profile-bio {
    font-size: 18px;
    /* Biografía muy legible */
    color: var(--text-secondary);
    max-width: 90%;
    margin: 0 auto;
}

/* =========================================================================
   SECCIÓN DE ENLACES (BOTONES)
   ========================================================================= */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Mucho espacio entre botones para no equivocarse al hacer clic con el dedo */
    flex-grow: 1;
}

/* Estilo Base de todos los botones */
.link-btn {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 18px 20px;
    text-decoration: none;
    box-shadow: var(--box-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 8px solid;
    /* Línea de color a la izquierda para identificar rápido */
    position: relative;
}

/* Efecto al tocar en celular o pasar mouse */
.link-btn:hover,
.link-btn:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Colores Específicos por Botón */
.link-health {
    border-left-color: var(--btn-health);
}

.link-health .btn-icon {
    color: var(--btn-health);
}

.link-comfort {
    border-left-color: var(--btn-comfort);
}

.link-comfort .btn-icon {
    color: var(--btn-comfort);
}

.link-food {
    border-left-color: var(--btn-food);
}

.link-food .btn-icon {
    color: var(--btn-food);
}

/* Icono a la izquierda */
.btn-icon {
    font-size: 28px;
    /* Iconos enormes y muy claros */
    margin-right: 20px;
    width: 40px;
    text-align: center;
}

/* Textos dentro del botón */
.btn-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.btn-title {
    font-size: 20px;
    /* Título importantísimo que sea fácil de leer */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.btn-subtitle {
    font-size: 15px;
    /* Subtítulo explicativo en gris oscuro */
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Flecha de "Ir" a la derecha */
.btn-arrow {
    color: var(--text-secondary);
    opacity: 0.5;
    font-size: 20px;
    margin-left: 10px;
}

/* =========================================================================
   PIE DE PÁGINA
   ========================================================================= */
.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* =========================================================================
   MEDIA QUERIES (Pequeños ajustes para pantallas muy, muy pequeñas)
   ========================================================================= */
@media (max-width: 400px) {
    .btn-icon {
        font-size: 24px;
        margin-right: 15px;
    }

    .btn-title {
        font-size: 18px;
    }

    .btn-subtitle {
        font-size: 14px;
    }

    .profile-title {
        font-size: 24px;
    }
}