/* Reset universal para evitar desbordamientos */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-pink: #ffd1e8;
    --accent-orange: #1a1a3a;
    --white: #ffffff;
}

body {
    background-color: var(--bg-pink);
    font-family: 'Space Mono', monospace;
    color: var(--accent-orange);
    display: flex;
    justify-content: center;
    /* Centra horizontalmente en PC */
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 450px;
    /* Mantiene el ancho tipo "móvil" en PC */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* Asegura que los hijos ocupen todo el ancho */
}

/* Alineación de la cabecera */
.username {
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: left;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}

h1 {
    font-family: 'Lexend Mega', sans-serif;
    font-size: 2.2rem;
    line-height: 1.1;
    text-transform: none;
}

.profile-pic {
    width: 80px;
    height: 80px;
    min-width: 80px;
    /* Evita que se encoja */
    border-radius: 50%;
    overflow: hidden;
}

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

.bio {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 25px;
    text-align: left;
}

/* Iconos centrados como en la imagen */
.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.social-icons a {
    color: var(--white);
    background-color: var(--accent-orange);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    transition: transform 0.2s;
}

/* Tarjeta del Menú */
.recipes-card {
    border: 2px solid var(--accent-orange);
    border-radius: 30px;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.recipes-title {
    text-align: center;
    font-family: 'Lexend Mega', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.category-title {
    text-align: center;
    font-size: 1.1rem;
    margin: 20px 0 15px 0;
    font-weight: bold;
}

/* Botones responsivos */
.recipe-button {
    background: var(--white);
    border: 2px solid var(--accent-orange);
    border-radius: 50px;
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--accent-orange);
    box-shadow: 0px 4px 0px var(--accent-orange);
    transition: all 0.2s;
}

.recipe-button:hover {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px var(--accent-orange);
}

footer {
    text-align: center;
    font-size: 0.75rem;
    padding: 30px 0;
    opacity: 0.8;
    width: 100%;
}