@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --color-bg-main: #0e0e11;
    --color-bg-dark: #050507;

    --color-primary: #e11d48;
    /* rojo rosado */
    --color-secondary: #fb7185;
    /* rosa suave */

    --color-accent: #f43f5e;

    --color-text: #fafafa;
    --color-text-muted: #a1a1aa;

    --fuente-parrafo: 'Inter';
    --fuente-tituli: 'Poppins';
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    transition: 0.5s;
    scroll-behavior: smooth;
}

/* SCROLLBAR (opcional pero PRO) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}



/*Generales*/
.container {
    width: 85%;
    margin: 0 auto;
}

p {
    font-family: var(--fuente-parrafo);
}

/* ========================= */
/* MENU / NAVBAR */
/* ========================= */
/* MENU / NAVBAR */
/* ========================= */
/* ========================= */
/* 🍔 BOTÓN HAMBURGUESA */
/* ========================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    border-radius: 5px;
    transition: 0.3s;
}

/* ANIMACIÓN A "X" */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.menu {
    padding: 20px 0;
    background: rgba(5, 7, 13, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fa-spa {
    color: var(--color-primary);
    font-size: 22px;
}

.textLogo {
    color: var(--color-text);
    font-family: var(--fuente-parrafo);
    font-size: 20px;
    font-weight: bold;
}

/* MENU ITEMS */
.menuNav {
    display: flex;
    gap: 40px;
}

.itemMenu {
    color: var(--color-text);
    font-family: var(--fuente-parrafo);
    font-size: 15px;
    position: relative;
    transition: 0.3s;
}

.itemMenu::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: 0.3s;
}

.itemMenu:hover {
    color: var(--color-primary);
}

.itemMenu:hover::after {
    width: 100%;
}

/* ========================= */
/* HERO / BANNER */
/* ========================= */
header {
    width: 100%;
    height: 100vh;

    background:
        linear-gradient(to right,
            rgba(0, 0, 0, 0.9) 20%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.2) 80%),
        url('../img/fondo1.jpg');

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* CONTENEDOR HERO */
.informacionheader {
    height: 100%;
    display: flex;
    align-items: center;
}

/* TEXTO */
.infoHead {
    max-width: 550px;
}

/* TITULOS */
h1 {
    font-family: var(--fuente-tituli);
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--color-text);
}

.h1Span {
    color: var(--color-primary);
}

/* TEXTO */
.pBanner {
    margin-top: 20px;
    color: var(--color-text-muted);
    font-family: var(--fuente-parrafo);
    font-size: 16px;
    line-height: 1.6;
}

/* ========================= */
/* BOTON */
/* ========================= */
.butonBanner {
    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-secondary));
    color: var(--color-text);
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--fuente-parrafo);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 25px;
    transition: all 0.25s ease;
}

/* HOVER */
.butonBanner:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* CLICK */
.butonBanner:active {
    transform: scale(0.97);
}


/* ========================= */
/* ABOUT */
/* ========================= */
.about {
    padding: 100px 20px;
    background: var(--color-bg-dark);
}

/* CONTENIDO */
.aboutContent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* TEXTO */
.aboutText {
    flex: 1;
}

.aboutText h2 {
    font-size: 40px;
    color: var(--color-text);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.aboutText p {
    color: var(--color-text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
    max-width: 500px;
}

/* BOTÓN (MISMO ESTILO QUE BANNER) */
.btn-about {
    display: inline-block;
    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-secondary));
    color: var(--color-text);
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    font-family: var(--fuente-parrafo);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* HOVER */
.btn-about:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* CLICK */
.btn-about:active {
    transform: scale(0.97);
}

/* IMAGEN */
.aboutImg {
    flex: 1;
}

.aboutImg img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* ================= SHOP ================= */
.shop {
    background-color: var(--color-bg-dark);
    padding: 60px 0;
}

/* ================= TITULO ================= */
.tituloShop {
    text-align: center;
    color: var(--color-text);
    font-size: 40px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: var(--fuente-tituli);
}

.descShop {
    text-align: center;
    color: var(--color-text-muted);
    font-family: var(--fuente-parrafo);
    max-width: 650px;
    margin: 0 auto 30px auto;
    font-size: 14px;
    line-height: 1.6;
}

/* ================= BUSQUEDA WRAPPER ================= */
.busqueda {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 20px;
}

/* ================= FILTROS ================= */
.filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* BOTONES FILTRO */
.filtros button {
    padding: 13px 24px;
    border-radius: 12px;

    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);

    color: var(--color-text-muted);
    cursor: pointer;

    transition: 0.3s ease;

    font-size: 13px;

    backdrop-filter: blur(10px);

    position: relative;
    overflow: hidden;
}

/* HOVER FILTRO */
.filtros button:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
    color: var(--color-text);
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.15);
}

/* LIGHT SWEEP FILTROS */
.filtros button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(225, 29, 72, 0.15),
        transparent
    );
    transition: 0.5s;
}

.filtros button:hover::before {
    left: 120%;
}

/* ACTIVO */
.filtros button.activo {
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-secondary)
    );

    color: white;

    border: 1px solid rgba(255,255,255,0.1);

    box-shadow: 0 0 18px rgba(225, 29, 72, 0.35);
}

/* ================= BUSCADOR ================= */
.buscador {
    position: relative;
    width: 280px;
}

.buscador input {
    width: 100%;
    padding: 12px 42px 12px 15px;
    border-radius: 14px;

    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(5,5,7,0.6);

    color: var(--color-text);

    outline: none;

    backdrop-filter: blur(12px);

    transition: 0.3s;

    font-size: 14px;
}

/* FOCUS BUSCADOR */
.buscador input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 18px rgba(225, 29, 72, 0.25);
}

/* ICONO */
.icono {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    transition: 0.3s;
    pointer-events: none;
}

.buscador input:focus + .icono {
    color: var(--color-primary);
}

/* ================= CONTADOR ================= */
#contador {
    text-align: center;
    color: var(--color-text-muted);
    margin: 15px 0;
    font-size: 13px;
}

/* ================= GRID PRODUCTOS ================= */
#cardPro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 30px;
}

/* ================= CARD ================= */
.carta {
    border-radius: 18px;
    overflow: hidden;

    background: rgba(0, 0, 0, 0.08); /* transparencia */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;

    transition: 0.35s ease;
}

/* HOVER CARD */
.carta:hover {
    transform: translateY(-10px);

    border-color: rgba(225, 29, 72, 0.35);

    box-shadow: 0 20px 45px rgba(0,0,0,0.6);
}

/* IMAGEN */
.imagen {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

/* ZOOM IMG */
.carta:hover img {
    transform: scale(1.1);
}

/* ================= INFO ================= */
.infoProducts {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* TITULO */
.tituloP {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 6px;
    font-family: var(--fuente-tituli);
}

/* CATEGORIA */
.catp {
    display: inline-block;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;

    background: rgba(225, 29, 72, 0.1);
    color: var(--color-secondary);

    margin-bottom: 8px;
}

/* DESCRIPCIÓN */
.pDescripP {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    min-height: 38px;
}

/* FOOTER CARD */
.footercard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* PRECIO */
.costo {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 16px;
}

/* ================= BOTÓN PRO ================= */
.btnCardP {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-accent)
    );

    border: 1px solid rgba(255, 255, 255, 0.08);

    padding: 8px 14px;
    border-radius: 12px;

    color: white;
    cursor: pointer;

    font-weight: 600;
    font-size: 13px;

    transition: all 0.35s ease;

    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25);
}

/* BOTÓN HOVER */
.btnCardP:hover {
    transform: translateY(-3px) scale(1.05);

    box-shadow:
        0 12px 30px rgba(225, 29, 72, 0.35),
        0 0 18px rgba(225, 29, 72, 0.25);
}

/* LIGHT SWEEP BOTÓN */
.btnCardP::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );

    transition: 0.5s;
}

.btnCardP:hover::before {
    left: 100%;
}

/* ================= ANIMACIÓN ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================= */
/* COCINA */
/* ========================= */
.cocina {
    background-color: var(--color-bg-dark);
    padding: 30px 0;
}

.h2C {
    text-align: center;
    color: var(--color-text);
    font-size: 40px;
    font-family: var(--fuente-tituli);
}

.pC {
    width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 25px;
    color: var(--color-text);
    font-size: 16px;
}

.cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    align-items: stretch;
}

/* CARD */
.card {
    width: 280px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    cursor: pointer;

    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(10px);

    transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
}

/* HOVER PRO DEPORTIVO */
.card:hover {
    transform: translateY(-14px) scale(1.04);

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(225, 29, 72, 0.25);
    /* --color-primary glow */

    border: 1px solid rgba(225, 29, 72, 0.45);
}

/* IMAGEN */
.card-img {
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* ZOOM SUAVE */
.card:hover .card-img img {
    transform: scale(1.1);
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(to top,
            rgba(5, 5, 7, 0.95),
            rgba(0, 0, 0, 0.568));

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;

    color: var(--color-text);
}

/* TITULO */
.overlay h3 {
    margin: 0;
    font-size: 18px;
    font-family: var(--fuente-tituli);
    text-align: center;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--color-text);
}

/* TEXTO */
.overlay p {
    margin: 6px 0 0;
    font-family: var(--fuente-parrafo);
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* LÍNEA ENERGÍA */
.card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;

    background: linear-gradient(90deg,
            var(--color-bg-dark),
            var(--color-primary),
            var(--color-bg-dark));

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.card:hover::after {
    transform: scaleX(1);
}

/* BRILLO SUAVE EXTRA */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top,
            rgba(225, 29, 72, 0.12),
            transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover::before {
    opacity: 1;
}

/* CONTENEDOR PAGINACIÓN */
.pagination {
    text-align: center;
    margin: 40px 0;
}

/* LINKS (BOTONES) */
.pagination a {
    display: inline-block;
    margin: 6px;
    padding: 10px 16px;

    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;

    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition: all 0.25s ease;

    position: relative;
    overflow: hidden;

    transform: translateY(0);
}

/* EFECTO HOVER (FLOTAR + GLASS + GLOW) */
.pagination a:hover {
    transform: translateY(-4px) scale(1.05);
    
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-secondary)
    );

    color: white;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 255, 255, 0.15);
}

/* EFECTO CLICK */
.pagination a:active {
    transform: translateY(-1px) scale(1.02);
}

/* BOTÓN ACTIVO (PÁGINA SELECCIONADA) */
.pagination a.active {
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-secondary)
    );

    color: white;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.2);

    border: 1px solid rgba(255, 255, 255, 0.25);

    transform: translateY(-2px);
}

/* EFECTO BRILLO ANIMADO */
.pagination a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    transition: 0.5s;
}

.pagination a:hover::before {
    left: 100%;
}

/* ================= BACKDROP ================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);

    display: none;
    /* 🔥 CAMBIO CLAVE */

    justify-content: center;
    align-items: center;

    z-index: 99999;
    /* 🔥 subir prioridad */
    animation: fadeIn 0.25s ease;
    padding-top: 60px;
}

/* ================= MODAL BOX ================= */
.modal-content {
    width: min(900px, 92%);
    max-height: 90vh;
    overflow: hidden;

    /* GLASS BASE */
    background: rgba(0, 0, 15, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    /* CAPA DE VIDRIO (brillo interno) */
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02),
        rgba(0, 0, 0, 0.4)
    );

    border-radius: 20px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;

    /* SOMBRA MÁS PROFUNDA */
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    /* BORDE TIPO VIDRIO */
    border: 1px solid rgba(225, 29, 72, 0.25);

    animation: slideUp 0.3s ease;

    /* leve brillo exterior */
    outline: 1px solid rgba(255, 255, 255, 0.03);
}
.modal-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(225, 29, 72, 0.12),
        transparent 60%
    );
    pointer-events: none;
}


/* ================= CLOSE ================= */
.close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 38px;
    cursor: pointer;
    color: var(--color-primary);
    z-index: 10;
    transition: 0.2s;
}

.close:hover {
    color: var(--color-primary);
    transform: scale(1.2);
}

/* ================= LEFT SIDE ================= */
.modal-left {
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-left img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.modal-left h2 {
    color: var(--color-text);
    margin-bottom: 5px;
    font-family: var(--fuente-tituli);
}

.modal-left p {
    color: var(--color-text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: var(--fuente-parrafo);
}

/* ================= RIGHT SIDE ================= */
.modal-right {
    padding: 20px;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-right h3 {
    color: var(--color-secondary);
    margin-top: 10px;
    margin-bottom: 8px;
    font-family: var(--fuente-tituli);
}

/* ================= LISTS ================= */
.modal-right ul,
.modal-right ol {
    padding-left: 18px;
    color: var(--color-text);
}

.modal-right li {
    margin-bottom: 6px;
    line-height: 1.4;
}

/* ================= SCROLL BAR ================= */
.modal-right::-webkit-scrollbar {
    width: 6px;
}

.modal-right::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

/* ================= UTIL ================= */
.modal.active {
    display: flex;
}
.separacionCocina{
    margin-bottom: 30px;
}
/* ================= ANIMATIONS ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}










/* ================= COMMUNITY ================= */
.community {
    padding: 40px 20px;
    background-color: var(--color-bg-dark);
    color: var(--color-text);
}

/* ===== TITULO ===== */
.community-title {
    text-align: center;
    margin-bottom: 30px;
}

.community-title h2 {
    font-family: var(--fuente-tituli);
    font-size: 2.2rem;
    color: var(--color-text);
}

.community-title p {
    color: var(--color-text);
    font-family: var(--fuente-parrafo);
}

/* ===== BOTONES ===== */
.community-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-primary);

    padding: 12px 20px;
    border-radius: 12px;

    color: var(--color-text);
    font-weight: 600;

    cursor: pointer;
    position: relative;
    overflow: hidden;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition: all 0.3s ease;
}

/* brillo igual estilo filtro */
.btn-action::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 0, 0, 0.25),
        transparent
    );

    transition: 0.5s;
}

.btn-action:hover::before {
    left: 100%;
}

/* icono */
.btn-action i {
    margin-right: 8px;
}

/* hover igual filtro */
.btn-action:hover {
    background: var(--color-primary);
    color: #fff;

    transform: translateY(-3px);

    border: 1px solid var(--color-primary);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.25),
        0 0 18px rgba(255, 0, 0, 0.35);
}

/* ===== CREAR POST ===== */
.create-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.create-box input {
    width: 60%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    transition: 0.3s;
}

.create-box input:focus {
    box-shadow: 0 0 10px var(--color-accent);
}

.create-box button {
    background: var(--color-secondary);
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    transition: 0.3s;
}

.create-box button:hover {
    box-shadow: 0 0 15px var(--color-secondary);
    transform: scale(1.05);
}

/* ===== FEED ===== */
.feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== POST ===== */
.post {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
    animation: fadeInUp 0.5s ease;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(237, 58, 58, 0.3);
}

.post h4 {
    color: var(--color-accent);
    margin-bottom: 5px;
}

.post p {
    margin-bottom: 10px;
}

/* ===== ACTIONS ===== */
.actions {
    display: flex;
    gap: 10px;
}

.actions button {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: 0.3s;
}

.actions button:hover {
    color: var(--color-primary);
}

/* LIKE ACTIVO */
.like.active {
    color: red;
    transform: scale(1.2);
}

.like.active i {
    animation: pop 0.3s ease;
}

/* ===== COMENTARIOS ===== */
.comments {
    margin-top: 10px;
}

.comment-input {
    width: 100%;
    padding: 8px;
    margin-top: 8px;
    border-radius: 8px;
    border: none;
    outline: none;
}

.comments p {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    border-radius: 8px;
    margin-top: 5px;
}

/* ===== CHATBOT PRO ULTRA ===== */
.chatbot {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 350px;
    height: 420px;
    background: rgba(20, 19, 19, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow:
        0 0 10px rgba(237, 58, 58, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
    display: none;
    flex-direction: column;
    overflow: hidden;

    animation: fadeInUp 0.4s ease;
}

/* HEADER */
.chat-header {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    padding: 15px 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 1px;
    color: var(--color-text);
}

.chat-header span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fuente-tituli);
}

.chat-header button {
    background: transparent;
    border: none;
    color: white;
    font-size: 15px;
    cursor: pointer;
}

/* BODY */
.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* MENSAJES */
.msg {
    padding: 10px 14px;
    border-radius: 15px;
    max-width: 75%;
    font-size: 0.9rem;
    animation: fadeInUp 0.3s ease;
}

/* USUARIO */
.user {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    align-self: flex-end;
    color: white;
    box-shadow: 0 0 10px rgba(246, 59, 59, 0.4);
}

/* BOT */
.bot {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-self: flex-start;
    color: var(--color-text);
}

/* INPUT */
.chat-input {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.chat-input input {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--color-text);
}

.chat-input input::placeholder {
    color: var(--color-text-muted);
}

/* BOTON SEND */
.chat-input button {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    color: white;
    transition: 0.3s;
}

.chat-input button:hover {
    box-shadow: 0 0 15px var(--color-primary);
    transform: scale(1.1);
}

/* SCROLL PRO */
.chat-body::-webkit-scrollbar {
    width: 5px;
}

.chat-body::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--color-primary), var(--color-accent));
    border-radius: 10px;
}

/* EFECTO APERTURA */
.chatbot.show {
    display: flex;
    animation: fadeInUp 0.4s ease;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pop {
    0% {
        transform: scale(0.5);
    }

    100% {
        transform: scale(1.2);
    }
}

/* ===== OVERLAY ===== */
.modal1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.95));
    backdrop-filter: blur(12px);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 999;
    animation: fadeInModal 0.4s ease;
}

/* ===== CONTENIDO ===== */
.modal-content1 {
    width: 850px;
    height: 500px;
    padding: 30px;
    border-radius: 20px;

    background: rgba(1, 0, 0, 0.727);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    position: relative;

    animation: scaleIn 0.3s ease;
}

/* ===== TITULO ===== */
.modal-content1 h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: var(--fuente-tituli);
    font-size: 25px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== TEXTO ===== */
.modal-content1 p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-family: var(--fuente-parrafo);
}

/* ===== BOTON CERRAR ===== */
.modal-content1 button {
    position: absolute;
    top: 12px;
    right: 12px;

    width: 28px;
    height: 28px;

    border-radius: 50%;
    border: none;

    background: var(--color-primary);
    color: white;

    cursor: pointer;
    transition: 0.3s;
}

/* HOVER BOTON */
.modal-content1 button:hover {
    background: var(--color-accent);
}

/* ===== EFECTO "CONECTANDO" ===== */
.modal-content1 p::after {
    content: "...";
    animation: dots 1.5s infinite;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes dots {
    0% {
        content: ".";
    }

    33% {
        content: "..";
    }

    66% {
        content: "...";
    }
}

/* CAMARA FAKE */
.fake-camera {
    width: 100%;
    height: 350px;
    margin-top: 15px;
    border-radius: 15px;

    background: linear-gradient(135deg, #000000, #000);
    position: relative;
    overflow: hidden;

    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

/* EFECTO LUZ CAMARA */
.fake-camera::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(238, 34, 34, 0.2),
            transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}


.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h3 {
    color: var(--color-text);
    font-size: 16px;
    margin-bottom: 8px;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* LINKS FOOTER */
.itemMenuF {
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--fuente-parrafo);
    font-size: 14px;

    position: relative;
    width: fit-content;

    transition: 0.3s ease;
}

/* línea más sutil */
.itemMenuF::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0;
    height: 1px;

    background: var(--color-primary);
    transition: 0.3s ease;
    opacity: 0.8;
}

/* hover más elegante (no tan agresivo como header) */
.itemMenuF:hover {
    color: var(--color-text);
    transform: translateX(4px);
}

.itemMenuF:hover::after {
    width: 100%;
}






.sport {
    position: relative;
    height: 100vh;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.838),
            rgba(0, 0, 0, 0.481),
            rgba(0, 0, 0, 0.1)
        ),
        url(../img/fondosport.jpg);

    background-size: cover;
    background-position: top;
}

/* contenido del header */
.inforheaderSport {
    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    padding-bottom: 70px;
    text-align: center;

    color: #fff;
}

/* botón contenedor */
.botonSpo {
    width: 250px;
    margin: 20px auto 0;
}

/* texto */
.pSportB {
    margin: 0 auto;
    max-width: 600px;

    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);

    line-height: 1.5;
}

/* =========================
   SECTION
========================= */
.terminos-section{
    background-color: var(--color-bg-dark);
}
.titulo-seccion{
    font-family: var(--fuente-tituli);
    font-size: 40px;
    color: var(--color-text);
    text-align: center;
    padding: 20px 0;
}
.grid-terminos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 22px;
    padding: 20px 0;
}
.card-termino {
    position: relative;
    padding: 26px;
    border-radius: 12px;

    background: #0a0c10; /* negro gym real */
    border: 1px solid rgba(255,255,255,0.06);

    display: flex;
    flex-direction: column;
    gap: 14px;

    transition: 0.25s ease;

    box-shadow: 0 8px 22px rgba(0,0,0,0.45);

    overflow: hidden;
}

/* BANDA CROSSFIT SUPERIOR (IDENTIDAD FUERTE) */
.card-termino::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #e11d48,
        #fb7185
    );
}

/* DETALLE INDUSTRIAL LATERAL */
.card-termino::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;

    width: 3px;
    height: 100%;

    background: rgba(255,255,255,0.05);
}

/* HOVER LIMPIO PERO FUERTE */
.card-termino:hover {
    transform: translateY(-8px);

    border-color: rgba(225, 29, 72, 0.6);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.6),
        0 0 0 1px rgba(225, 29, 72, 0.2);
}

/* TITULO (FUERTE TIPO CROSSFIT BOX) */
.header-term h3 {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #ffffff;
}

/* SUBTITULO TIPO “TAG” */
.header-term span {
    display: inline-block;

    margin-top: 6px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    padding: 4px 10px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;

    color: #fb7185;
    background: rgba(255,255,255,0.03);
}

/* DESCRIPCIÓN LIMPIA */
.card-termino > p {
    font-size: 13px;
    line-height: 1.6;

    color: rgba(255,255,255,0.65);
}

/* BLOQUE INTERNO ESTILO “DATA SHEET” */
.extra {
    margin-top: 12px;
    padding-top: 12px;

    border-top: 1px solid rgba(255,255,255,0.06);

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.extra p {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 12px;
    color: rgba(255,255,255,0.85);
}

/* LABEL IZQUIERDO TIPO CROSSFIT */
.extra strong {
    display: flex;
    align-items: center;
    gap: 8px;

    font-weight: 800;
    color: #e11d48;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ICONOS LIMPIOS */
.extra i {
    color: #fb7185;
}

/* CLICK SUTIL */
.card-termino:active {
    transform: scale(0.98);
}

/* =========================
   GRID LAYOUT
========================= */
.rutinas{
    background-color: var(--color-bg-dark);
}
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 18px;
    margin-top: 20px;
    align-items: stretch;
}

/* =========================
   SECTION HEADER
========================= */
.section-header {
    margin-bottom: 20px;
}

.titulo-seccion {
    font-size: 40px;
    font-family: var(--fuente-tituli), sans-serif;
    color: var(--color-text);
    margin-bottom: 6px;
}

.descripcionRuti {
    color: var(--color-text-muted);
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* =========================
   CARD BASE
========================= */
.info-overlay {
    background: var(--color-bg-main);
    border-radius: 18px;
    overflow: hidden;
    padding: 18px;
    color: var(--color-text);
    font-family: var(--fuente-parrafo), sans-serif;

    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);

    transition: 0.25s ease;

    /* IMPORTANT: same size cards */
    min-height: 420px;
    height: 100%;

    display: flex;
    flex-direction: column;
}

.info-overlay:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
}

/* =========================
   HEADER
========================= */
.header-content {
    margin-bottom: 12px;
    position: relative;
}

.tituloR {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--fuente-tituli), sans-serif;
    letter-spacing: 0.5px;
    margin: 0;
    color: var(--color-text);
}

.focus {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* TYPE BADGE */
.badge-type {
    display: inline-block;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;

    background: rgba(225, 29, 72, 0.12);
    color: var(--color-primary);

    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* =========================
   META ROW
========================= */
.meta-row {
    display: flex;
    gap: 8px;
    margin: 10px 0;
    font-size: 12px;
    flex-wrap: wrap;
}

.meta-row span {
    background: var(--color-bg-dark);
    padding: 5px 10px;
    border-radius: 10px;

    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
}

/* =========================
   LEVEL (ALL RED FAMILY)
========================= */
.level.basic {
    color: rgba(225, 29, 72, 1);
}

.level.intermediate {
    color: rgba(225, 29, 72, 1);
}

.level.advanced {
    color: var(--color-primary);
    font-weight: 700;
}

/* =========================
   INTENSITY
========================= */
.intensity.low {
    color: #c52222;
}

.intensity.medium {
    color: #fa1515;
}

.intensity.high {
    color: var(--color-accent);
}

/* =========================
   DESCRIPTION
========================= */
.desc {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

/* =========================
   WOD BOX (MAIN FOCUS)
========================= */
.wod-box {
    background: linear-gradient(
        135deg,
        rgba(225, 29, 72, 0.10),
        rgba(0, 0, 0, 0)
    );

    border: 1px solid rgba(225, 29, 72, 0.25);
    border-radius: 14px;

    padding: 12px;
    margin-bottom: 12px;

    position: relative;
    overflow: hidden;
}

.wod-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-primary);
}

.wod-box h4 {
    font-size: 12px;
    color: var(--color-primary);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.wod-box p {
    font-size: 13px;
    color: var(--color-text);
}

/* =========================
   MINI GRID DETAILS
========================= */
.mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;

    margin-top: auto; /* IMPORTANT: pushes to bottom */
}

.mini-grid div {
    background: var(--color-bg-dark);
    padding: 10px;
    border-radius: 12px;

    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-grid span {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mini-grid p {
    font-size: 12px;
    color: var(--color-text);
    margin-top: 4px;
}

/* =========================
   HOVER EFFECT
========================= */
.info-overlay:hover .wod-box {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(225, 29, 72, 0.2);
}

.atletas{
    background-color: var(--color-bg-dark);
    padding: 40px 0;
}
.atletas h2{
    color: var(--color-text);
    font-size: 40px;
    text-align: center;
    font-family: var(--fuente-tituli);
}
/* =========================
   GRID
========================= */


.cardsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

/* =========================
   CARD
========================= */
/* =========================
   CARD BASE
========================= */
.cardFlip {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 420px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* IMAGEN */
.cardFlip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* oscurecer en hover */
.cardFlip:hover img {
  transform: scale(1.05);
  filter: brightness(0.6);
}

/* =========================
   BADGE
========================= */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}
/* =========================
   OVERLAY (ESTA ES LA MAGIA)
========================= */
.cardOverlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -100%;   /* 👈 OCULTO ABAJO */
  padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
  transition: bottom 0.45s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 👇 HOVER: SUBE TODO */
.cardFlip:hover .cardOverlay {
  bottom: 0;
}

/* =========================
   TEXTOS
========================= */
.cardOverlay h3 {
  margin: 0;
  color: white;
  font-size: 1.2rem;
}

.paisAtle {
  color: #ccc;
  font-size: 0.85rem;
}

.recorAtle {
  color: #bbb;
  font-size: 0.9rem;
}

/* =========================
   STATS
========================= */
.statsAtleta {
  display: flex;
  gap: 10px;
}

.stat {
  flex: 1;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  text-align: center;
}

.stat span {
  display: block;
  font-size: 0.7rem;
  color: #aaa;
}

.stat strong {
  color: white;
}

/* =========================
   LOGROS
========================= */
.logros {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 0.7rem;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #ddd;
}

/* =========================
   REDES
========================= */
.redesSociales {
  display: flex;
  gap: 12px;
}

.redesSociales a {
  color: #aaa;
  transition: 0.2s;
}

.redesSociales a:hover {
  color: white;
}

/* ========================= */
/* COMPETITIONS CLEAN V2 */
/* ========================= */

.competitions {
    background: var(--color-bg-dark);
    padding: 70px 0;
}

/* GRID */
.cardsCompetitions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1p0x;
}

/* CARD */
.cardComp.pro {
    width: 290px;
    padding: 22px;
    border-radius: 14px;

    background: linear-gradient(180deg, #0e0e11, #050507);

    border: 1px solid rgba(161,161,170,0.15);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: 0.25s ease;
}

/* HOVER limpio deportivo */
.cardComp.pro:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
}

/* ========================= */
/* BADGES */
/* ========================= */
.estado {
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* LIVE */
.live {
    background: var(--color-primary);
    color: var(--color-text);
}

/* UPCOMING */
.upcoming {
    background: rgba(251,113,133,0.12);
    border: 1px solid rgba(251,113,133,0.4);
    color: var(--color-secondary);
}

/* BADGES */
.badge {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 13px;
    color: var(--color-primary);
}
 

/* niveles */
.global {
    background: rgba(225,29,72,0.1);
    border: 1px solid rgba(225,29,72,0.3);
    color: var(--color-primary);
}

.intermedio {
    background: rgba(251,113,133,0.08);
    border: 1px solid rgba(251,113,133,0.3);
    color: var(--color-secondary);
}

.avanzado {
    background: rgba(244,63,94,0.08);
    border: 1px solid rgba(244,63,94,0.3);
    color: var(--color-accent);
}

/* TITLE */
.headerComp h3 {
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* INFO */
.infoComp p {
    color: var(--color-text-muted);
    font-size: 13px;
    margin: 6px 0;
}

/* ICONS */
.infoComp i {
    margin-right: 8px;
    color: var(--color-primary);
}

/* BUTTON */
.btn-watch {
    margin-top: 16px;
    width: 100%;
    padding: 10px;

    background: var(--color-primary);
    color: var(--color-text);

    border: none;
    border-radius: 8px;

    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;

    cursor: pointer;

    transition: 0.25s ease;
}

.btn-watch:hover {
    background: var(--color-secondary);
}

/*TABLA DE POSICIONES*/
.leaderboard {
    background-color: var(--color-bg-dark);
    padding: 60px 0;
}

/* TITLES */
.titulo-seccion {
    color: var(--color-text);
    font-family: var(--fuente-tituli);
    font-size: 32px;
    text-align: center;
}

.subinfo {
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 6px;
}

/* GRID (2 columnas) */
.leaderboardGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .leaderboardGrid {
        grid-template-columns: 1fr;
    }
}

/* TABLA */
.tablaRanking {
    padding: 22px;
    border-radius: 18px;

    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);

    backdrop-filter: blur(10px);
}

/* SUBTITULO */
.subtitulo {
    color: var(--color-text);
    font-family: var(--fuente-tituli);
    margin-bottom: 18px;
    font-size: 18px;
}

/* FILA */
.fila {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 16px;
    margin-bottom: 12px;

    border-radius: 12px;
    background: rgba(255,255,255,0.03);

    transition: 0.25s ease;
    cursor: pointer;
}

.fila:hover {
    transform: translateX(6px);
    background: rgba(255,255,255,0.06);
}

/* TOP 1 HIGHLIGHT */
.champions {
    background: rgba(225, 29, 72, 0.08);
    border: 1px solid rgba(225, 29, 72, 0.25);
}

/* RANK NUMBER */
.rankBadge {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    font-weight: 700;
    font-size: 13px;

    color: var(--color-text);

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);

    flex-shrink: 0;
}

/* INFO */
.info {
    flex: 1;
    margin-left: 12px;
}

.info h4 {
    color: var(--color-text);
    font-size: 15px;
    margin: 0;
}

.info p {
    color: var(--color-text-muted);
    font-size: 12px;
    margin: 2px 0 0;
}

/* POINTS */
.points {
    font-weight: bold;
    color: var(--color-primary);
    font-size: 14px;
}

/* OPTIONAL: smooth animation entrance */
.fila {
    animation: fadeInUp 0.4s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= FOOTER ================= */
.footer {
    background: linear-gradient(180deg, var(--color-bg-dark), #02030a);
    padding: 50px 20px 20px;
    color: var(--color-text);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* CONTENEDOR */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

/* TITULOS */
.footer h2,
.footer h3 {
    font-family: var(--fuente-tituli);
}

/* MARCA */
.footer-brand h2 {
    color: var(--color-primary);
    text-shadow: 0 0 10px var(--color-primary);
}

.footer-brand p {
    color: var(--color-text-muted);
    margin-top: 5px;
}

/* LINKS */
.footer-links a {
    display: block;
    text-decoration: none;
    color: var(--color-text-muted);
    margin: 5px 0;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

/* CONTACTO */
.footer-contact p {
    color: var(--color-text-muted);
    margin: 5px 0;
}

/* REDES */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    font-size: 1.2rem;
    color: var(--color-text);
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px var(--color-primary);
    transform: scale(1.2);
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* NATOFER */
.natofer {
    margin-top: 5px;
    color: var(--color-text-muted);
    font-weight: bold;
}


/* ========================= */
/* 💻 TABLETS (<= 1024px) */
/* ========================= */
@media (max-width: 1024px) {

    /* HERO SPORT */
    .inforheaderSport {
        padding-bottom: 50px;
    }

    .pSportB {
        font-size: 14px;
        padding: 0 15px;
    }

    /* TERMINOS */
    .grid-terminos {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* RUTINAS */
    .training-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* ATLETAS */
    .cardsGrid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    /* COMPETITIONS */
    .cardsCompetitions {
        justify-content: center;
    }

    .cardComp.pro {
        width: 260px;
    }

    /* LEADERBOARD */
    .leaderboardGrid {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: flex;
    }

    .menuNav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;

        background: rgba(5, 7, 13, 0.95);
        backdrop-filter: blur(12px);

        flex-direction: column;
        align-items: center;

        gap: 25px;
        padding: 30px 0;

        transform: translateY(-120%);
        opacity: 0;
        transition: 0.4s ease;

        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .menuNav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .itemMenu {
        font-size: 18px;
    }
}


/* ========================= */
/* 📱 MÓVILES (<= 768px) */
/* ========================= */
@media (max-width: 768px) {

    /* HERO SPORT */
    .sport {
        height: auto;
        padding: 120px 0 60px 0;
    }

    .inforheaderSport {
        height: auto;
        padding-bottom: 40px;
    }

    .pSportB {
        font-size: 13px;
    }

    .botonSpo {
        width: 100%;
    }

    /* TITULOS */
    .titulo-seccion,
    .atletas h2 {
        font-size: 28px;
    }

    /* TERMINOS */
    .grid-terminos {
        grid-template-columns: 1fr;
    }

    /* CARDS TERMINOS */
    .card-termino {
        padding: 18px;
    }

    .header-term h3 {
        font-size: 18px;
    }

    /* RUTINAS */
    .training-grid {
        grid-template-columns: 1fr;
    }

    .info-overlay {
        min-height: auto;
    }

    /* ATLETAS */
    .cardFlip {
        height: 350px;
    }

    .cardOverlay {
        padding: 12px;
    }

    /* COMPETITIONS */
    .cardsCompetitions {
        flex-direction: column;
        align-items: center;
    }

    .cardComp.pro {
        width: 90%;
    }

    /* LEADERBOARD */
    .fila {
        flex-direction: row;
        padding: 12px;
    }

    .info h4 {
        font-size: 14px;
    }

    .points {
        font-size: 13px;
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
    
}


/* ========================= */
/* 📱 MÓVILES PEQUEÑOS (<= 480px) */
/* ========================= */
@media (max-width: 480px) {

    /* HERO TEXT */
    .pSportB {
        font-size: 12px;
    }

    /* TITULOS */
    .titulo-seccion,
    .atletas h2 {
        font-size: 24px;
    }

    /* TERMINOS */
    .card-termino {
        padding: 15px;
    }

    .card-termino > p {
        font-size: 12px;
    }

    /* RUTINAS */
    .tituloR {
        font-size: 16px;
    }

    .desc {
        font-size: 12px;
    }

    /* ATLETAS */
    .cardFlip {
        height: 300px;
    }

    .cardOverlay h3 {
        font-size: 1rem;
    }

    /* STATS */
    .stat {
        padding: 6px;
    }

    .stat span {
        font-size: 0.6rem;
    }

    .stat strong {
        font-size: 0.8rem;
    }

    /* COMPETITIONS */
    .cardComp.pro {
        padding: 16px;
    }

    .headerComp h3 {
        font-size: 16px;
    }

    /* LEADERBOARD */
    .fila {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .rankBadge {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    /* FOOTER */
    .footer {
        padding: 30px 15px;
    }

    .footer h2 {
        font-size: 20px;
    }
}