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

.logo-menu {
    width: 150px;
    height: auto;
    vertical-align: middle;
    margin: 0;
    padding: 0px;
}

/*====================
    Variables CSS
====================*/
:root {
    --primary-color: #f071b1;
    --secondary-color: #98FB98;
    --accent-color: #21ace3;
    --text-color: #333;
    --bg-color: #fff;
    --gradient: linear-gradient(135deg, #FFE6F3, #fff);
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --border-radius: 12px;
    --box-shadow: 0 8px 24px rgba(255,105,180,0.15);
}

/*====================
    Estilos Base
====================*/
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--gradient);
    padding: clamp(var(--spacing-xs), 2vw, var(--spacing-md));
    min-height: 100vh;
}

h2 {
    color: var(--secondary-color);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    line-height: 1.8;
}
/*====================
    Navegación
====================*/

.menu ul {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    list-style: none;
    margin: 10;
    padding: 10;
}

.menu a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    position: relative;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.menu a:hover {
    background: var(--gradient);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}
/* Encabezado */
/*====================
    Encabezado
====================*/
header {
    background: var(--gradient);
    color: var(--primary-color);
    padding: var(--spacing-lg) var(--spacing-lg);
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 900;
}

h1::after {
    content: '✨';
    position: absolute;
    right: -3rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    -webkit-text-fill-color: initial;
    font-size: 2rem;
}

header h2 {
    font-size: 2,5rem;
    font-weight: 300;
    color: var(--accent-color);
    letter-spacing: 0;
    max-width: 4000px;
    line-height: 5;
}

/* Nivel 1 */
h2 {
    color: #00664d;
    font-size: 2rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    font-size: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    margin: 2rem auto;
    display: block;
    box-shadow: var(--box-shadow);
    border: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

/* Secciones */
section {
    padding: var(--spacing-lg) var(--spacing-md);
    background: var(--bg-color);
    border-radius: var(--border-radius);
    margin: var(--spacing-md);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

section h2 {
    font-size: 3,5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '✨';
    position: absolute;
    right: -2rem;
    top: 0;
    color: var(--accent-color);
    -webkit-text-fill-color: initial;
    font-size: 1.5rem;
}

/* Navegación */
nav {
    margin-top: 20px;
    font-family: 'Segoe UI', sans-serif;
}

nav p {
    margin: 12px 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

nav p span {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    padding: 0 0.3rem;
}

nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    background: var(--gradient);
    color: var(--text-color);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    margin-top: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

footer p {
    margin: 0;
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 0.9;
}

footer p span {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    padding: 0 0.3rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

footer a:hover {
    color: var(--primary-color);
}

footer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
/*====================
    Sección Niveles
====================*/
.niveles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(var(--spacing-md), 3vw, var(--spacing-lg));
    margin-bottom: var(--spacing-lg);
}

.nivel {
    background: var(--bg-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nivel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: height 0.3s ease;
}

.nivel:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255,105,180,0.2);
}

.nivel:hover::before {
    height: 6px;
}

.nivel h2 {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
}

.nivel h2::after {
    content: '✨';
    position: absolute;
    right: -2rem;
    top: 0;
    color: var(--accent-color);
    -webkit-text-fill-color: initial;
}

.nivel p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    opacity: 0.9;
}

.nivel ul {
    margin-top: var(--spacing-md);
    list-style: none;
    padding: 0;
}

.nivel ul li {
    padding: 0.8rem 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: var(--gradient);
    border-radius: var(--border-radius);
    cursor: pointer;
}

.nivel ul li::before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nivel ul li:hover {
    color: var(--primary-color);
    padding-left: 2.5rem;
    background: linear-gradient(to right, var(--gradient), transparent);
    box-shadow: var(--box-shadow);
}

.nivel ul li:hover::before {
    opacity: 1;
    transform: translateX(0);
}
.integrantes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.integrantes div {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.integrantes div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: height 0.3s ease;
}

.integrantes div:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255,105,180,0.2);
}

.integrantes div:hover::before {
    height: 6px;
}

.integrantes a {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    padding: var(--spacing-sm);
}

.integrantes a:hover {
    transform: scale(1.05);
}

/*====================
    Media Queries
====================*/
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 15px;
    }

    .menu ul {
        flex-direction: column;
        align-items: center;
    }

    .menu a {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .nivel {
        padding: 15px;
    }

    .integrantes div {
        padding: 0.5rem;
    }
}
