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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f5f5f5;
    background: #1B262C;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ----------------- NAVBAR ----------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1077bb;
}

.logo span {
    font-size: 0.75rem;
    color: #ffffffb5;
}

nav ul {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

nav a {
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s, transform 0.1s;
}

nav a:hover {
    background: #0C3F61;
    color: #edefff;
    transform: translateY(-1px);
}

.nav-tutoriales {
    margin-left: 1rem;
    padding: 0.45rem 0.9rem;

    border-radius: 999px;
    border: 1px solid rgba(11, 121, 209, 0.75);

    color: #cfe8ff;
    background: linear-gradient(135deg, #0065a8, #004497);


    box-shadow:
        0 0 12px rgba(11, 121, 209, 0.45),
        inset 0 0 0 rgba(0, 0, 0, 0);

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease,
        color 0.3s ease;
}

.nav-tutoriales:hover {
    background: rgba(11, 121, 209, 0.22);
    color: #ffffff;

    box-shadow:
        0 0 18px rgba(37, 164, 255, 0.75),
        inset 0 0 8px rgba(32, 162, 255, 0.199);

    transform: translateY(-1px);
}


/* ----------------- BOTONES ------------- */

.btn {
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.8rem 1.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border 0.15s;
}

.btn-primary {
    background: linear-gradient(135deg, #0074c4, #004ba7);
    color: #f1f4fc;
    box-shadow: 0 12px 30px rgba(0, 116, 196, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 116, 196, 0.4);
}

.btn-ghost {
    background: transparent;
    color: #ffffffd5;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}


/* ----------------- BLOQUE LOGO ENTRE SECCIONES ----------------- */

.space-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image: url('img/space.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    overflow: hidden;
}

.space-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(0, 90, 180, 0.18), transparent 60%),
        rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.space-banner-inner {
    position: relative;
    z-index: 1;
}

.space-logo-big {
    position: relative;
    width: 370px;
    height: 370px;
    max-width: 70vw;
    max-height: 70vw;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    will-change: transform;
}

.space-logo-big img {
    width: 110%;
    height: 110%;
    object-fit: contain;
    animation: spaceFloat 7s ease-in-out infinite alternate;
}

@keyframes spaceFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* responsive */
@media (max-width: 780px) {
    .space-banner {
        padding: 2.2rem 1.2rem;
        background-attachment: scroll;
    }

    .space-logo-big {
        width: 170px;
        height: 170px;
    }

    .space-banner-text {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }
}

/* ----------------- BLOQUE LOGO ENTRE SECCIONES 2 ----------------- */

.space-banner1 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image: url('img/space.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    overflow: hidden;
}

.space-banner1::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(0, 90, 180, 0.18), transparent 60%),
        rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.space-banner-inner1 {
    position: relative;
    z-index: 1;
}

.space-logo-big1 {
    position: relative;
    height: 100px;
    max-width: 70vw;
    max-height: 70vw;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    will-change: transform;
}

.space-logo-big1 img {
    width: 110%;
    height: 100%;
    object-fit: contain;
    animation: spaceFloat 7s ease-in-out infinite alternate;
}

@keyframes spaceFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* responsive */
@media (max-width: 780px) {
    .space-banner1 {
        padding: 2.2rem 1.2rem;
        background-attachment: scroll;
    }

    .space-logo-big1 {
        width: 170px;
        height: 170px;
    }

    .space-banner-text1 {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }
}

/* ----------------- SECCIONES ----------------- */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #cccccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 2.5rem;
    align-items: start;
}

/* ----------------- SOCIAL ----------------- */

#inicio.parallax {
    position: relative;
}

.hero-socials {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.7rem;
    z-index: 5;
}

.social-icon {
    width: 32px;
    height: 32px;
    color: #0b79d1;
    filter: drop-shadow(0 0 4px rgba(11, 121, 209, 0.45));
    transition:
        transform 0.22s ease,
        filter 0.22s ease,
        color 0.22s ease;
}

.social-icon:hover {
    color: #27a4ff;
    transform: translateY(-3px) scale(1.7);
    filter: drop-shadow(0 0 10px rgba(39, 164, 255, 0.85));
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.hero-socials-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: #8da5ff;
    opacity: 0.85;
}

.hero-social-links {
    display: flex;
    gap: 0.5rem;
}

.hero-social-link {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s, border 0.15s;
}

.hero-social-link img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.hero-social-link:hover {
    background: #002a5c;
    border-color: #00c4d8;
    box-shadow: 0 0 18px rgba(0, 130, 220, 0.7);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 780px) {
    .hero-socials {
        right: 1.2rem;
        bottom: 1.6rem;
        align-items: flex-end;
    }
}

/* ----------------- SOBRE NOSOTROS ----------------- */

.section--about {
    max-width: 100%;
    margin: 0;
    padding: 5rem 0;

    background:
        radial-gradient(circle at top left, rgba(0, 40, 90, 0.65), transparent 55%),
        radial-gradient(circle at bottom right, rgba(0, 15, 40, 0.85), #020308);
}

.section--about .section-title,
.section--about .section-subtitle,
.section--about .about-inner {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.about-inner {
    background: radial-gradient(circle at top, rgba(0, 60, 130, 0.4), rgba(3, 8, 20, 0.98));
    border-radius: 1.5rem;
    padding: 2.5rem 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
}

.about-grid {
    align-items: center;
    gap: 2.3rem;
}

.about-text p {
    font-size: 0.96rem;
    color: #e4e9ff;
    line-height: 1.8;
}

.about-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 1.2rem;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.about-video-wrapper iframe,
.about-video-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 780px) {
    .section--about {
        padding: 4rem 0;
    }

    .section--about .section-title,
    .section--about .section-subtitle,
    .section--about .about-inner {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .about-inner {
        padding: 2rem 1.4rem;
        border-radius: 1.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------- CALENDARIO ----------------- */

#calendario {
    position: relative;
    padding: 6rem 0;

    background:
        linear-gradient(to bottom,
            #031124 0%,
            #020b18 40%,
            #01060f 70%,
            #000308 100%);

    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

#calendario::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 15% 0%, rgba(0, 60, 130, 0.30), transparent 60%),
        radial-gradient(circle at 85% 70%, rgba(0, 40, 90, 0.27), transparent 65%);
    filter: blur(8px);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
    animation: calendarioGlow 18s ease-in-out infinite alternate;
}


#calendario::after {
    content: "";
    position: absolute;
    inset: -30% 0 -60% 0;

    background-image:
        radial-gradient(3px 3px at 10% -5%, rgba(190, 235, 255, 0.9), transparent 60%),
        radial-gradient(3px 3px at 25% 0%, rgba(170, 225, 255, 0.85), transparent 60%),
        radial-gradient(3px 3px at 40% -10%, rgba(160, 220, 255, 0.85), transparent 60%),
        radial-gradient(3px 3px at 55% 5%, rgba(170, 230, 255, 0.9), transparent 60%),
        radial-gradient(3px 3px at 70% -8%, rgba(190, 235, 255, 0.95), transparent 60%),
        radial-gradient(3px 3px at 85% -3%, rgba(160, 220, 255, 0.85), transparent 60%),

        radial-gradient(2.5px 2.5px at 15% -2%, rgba(150, 210, 255, 0.7), transparent 60%),
        radial-gradient(2.5px 2.5px at 35% 3%, rgba(150, 210, 255, 0.75), transparent 60%),
        radial-gradient(2.5px 2.5px at 60% -12%, rgba(160, 220, 255, 0.8), transparent 60%),
        radial-gradient(2.5px 2.5px at 78% -6%, rgba(170, 225, 255, 0.75), transparent 60%),

        radial-gradient(2px 2px at 5% -15%, rgba(140, 200, 245, 0.55), transparent 60%),
        radial-gradient(2px 2px at 45% -20%, rgba(150, 210, 245, 0.6), transparent 60%),
        radial-gradient(2px 2px at 75% -18%, rgba(130, 185, 240, 0.55), transparent 60%),
        radial-gradient(2px 2px at 95% -10%, rgba(150, 210, 245, 0.6), transparent 60%);

    background-size:
        240px 240px, 260px 260px, 230px 230px, 250px 250px, 240px 240px, 260px 260px,
        260px 260px, 240px 240px, 230px 230px, 250px 250px,
        260px 260px, 240px 240px, 230px 230px, 250px 250px;

    opacity: 1;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;

    animation:
        fallRandom1 22s linear infinite,
        fallRandom2 35s linear infinite,
        calendarioTwinkle 7s ease-in-out infinite alternate;
}


.calendario-inner {
    position: relative;
    z-index: 1;
}

.calendario-inner::before {
    content: "";
    position: absolute;
    inset: -15% -5% -40% -5%;

    background-image:
        radial-gradient(2px 2px at 10% -5%, rgba(130, 190, 240, 0.55), transparent 60%),
        radial-gradient(1.8px 1.8px at 60% 0%, rgba(120, 185, 240, 0.5), transparent 60%),
        radial-gradient(1.6px 1.6px at 90% 10%, rgba(110, 175, 235, 0.45), transparent 60%),
        radial-gradient(1.5px 1.5px at 35% 5%, rgba(140, 200, 245, 0.5), transparent 60%);

    background-size: 280px 280px, 300px 300px, 320px 320px, 280px 280px;

    opacity: 0.8;
    mix-blend-mode: screen;
    pointer-events: none;

    z-index: -1;

    animation: calendarioParticlesFar 55s linear infinite;
}

.calendar-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.match-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.7rem 1.5rem;
    align-items: center;

    padding: 1.8rem 2.3rem;
    border-radius: 1.2rem;
    background:
        radial-gradient(circle at top left, rgba(0, 90, 180, 0.12), transparent 45%),
        rgba(10, 13, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
    position: relative;
    overflow: hidden;
}

.match-card,
.social-card {
    transition:
        box-shadow 0.25s ease,
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.25s ease;
    cursor: pointer;
}

.match-card:hover,
.social-card:hover {
    transform: translateY(-3px);
}

/* barra lateral */
.match-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, #0074c4, #003f8c);
    opacity: 0.9;
}

/* estados */
.match-card.status-upcoming::before {
    background: linear-gradient(180deg, #0074c4, #003f8c);
}

.match-card.status-winned::before {
    background: linear-gradient(180deg, #4caf50, #2e7d32);
}

.match-card.status-lost::before {
    background: linear-gradient(180deg, #d32f2f, #b71c1c);
}

.match-title {
    grid-column: 1 / 3;
    grid-row: 1 / 2;

    font-size: 1.2rem;
    font-weight: 650;
    margin: 0;
}

.match-date {
    grid-column: 1 / 2;
    grid-row: 2 / 3;

    min-width: 90px;
    padding: 1rem 0.6rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    box-shadow: 0 0 14px rgba(0, 116, 196, 0.25);
}

.match-date .day {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.match-date .month {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0074c4;
}

.match-date .time {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #dddddd;
}

.match-outcome {
    grid-column: 2 / 3;
    grid-row: 2 / 3;

    justify-self: flex-start;

    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.4rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(0, 0, 0, 0.7);
}

/* Victoria */
.match-outcome--win {
    border-color: rgba(76, 175, 80, 0.9);
    color: #c8ffcf;
    box-shadow: 0 0 16px rgba(76, 175, 80, 0.6);
}

/* Empate */
.match-outcome--draw {
    border-color: rgba(0, 116, 196, 0.95);
    color: #d6e9ff;
    box-shadow: 0 0 16px rgba(0, 116, 196, 0.6);
}

/* Derrota */
.match-outcome--loss {
    border-color: rgba(211, 47, 47, 0.95);
    color: #ffd0c8;
    box-shadow: 0 0 16px rgba(211, 47, 47, 0.6);
}

.match-meta {
    grid-column: 1 / 3;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0.6rem;

    color: #ffffff;
    letter-spacing: 0.12em;
}

.match-card.is-selected {
    transform: translateY(-4px) scale(1.01);
}

/* Victoria */
.match-card.status-winned.is-selected {
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.8);
    border-color: rgba(76, 175, 80, 0.95);
    background:
        radial-gradient(circle at top left, rgba(76, 175, 80, 0.22), transparent 55%),
        rgba(10, 13, 20, 0.98);
}

.match-card.status-winned.is-selected::before {
    box-shadow: 0 0 18px rgba(76, 175, 80, 0.9);
}

/* Derrota */
.match-card.status-lost.is-selected {
    box-shadow: 0 0 30px rgba(211, 47, 47, 0.8);
    border-color: rgba(211, 47, 47, 0.95);
    background:
        radial-gradient(circle at top left, rgba(211, 47, 47, 0.22), transparent 55%),
        rgba(10, 13, 20, 0.98);
}

.match-card.status-lost.is-selected::before {
    box-shadow: 0 0 18px rgba(211, 47, 47, 0.9);
}

/* Empate */
.match-card.status-upcoming.is-selected {
    box-shadow: 0 0 30px rgba(0, 116, 196, 0.9);
    border-color: rgba(0, 140, 230, 0.95);
    background:
        radial-gradient(circle at top left, rgba(0, 120, 255, 0.24), transparent 55%),
        rgba(10, 13, 20, 0.98);
}

.match-card.status-upcoming.is-selected::before {
    box-shadow: 0 0 18px rgba(0, 140, 230, 0.95);
}

/* responsive calendario */
@media (max-width: 600px) {
    .match-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 1.5rem 1.4rem;
    }

    .match-title {
        grid-column: 1 / 2;
    }

    .match-date {
        grid-column: 1 / 2;
        justify-self: flex-start;
        width: fit-content;
    }

    .match-outcome {
        grid-column: 1 / 2;
        margin-top: 0.4rem;
    }

    .match-meta {
        grid-column: 1 / 2;
    }
}



/* ----------------- CALENDARIO SOCIAL ----------------- */

#calendario-social {
    position: relative;
    padding: 5rem 0 5.5rem;

    background:
        linear-gradient(to bottom,
            #000308 0%,
            #01060f 30%,
            #020b18 65%,
            #031124 100%);

    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

#calendario-social::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 60, 130, 0.22), transparent 70%),
        radial-gradient(circle at 80% 100%, rgba(0, 40, 90, 0.25), transparent 65%);
    filter: blur(8px);
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
    animation: calendarioGlow 20s ease-in-out infinite alternate-reverse;
}

#calendario-social::after {
    content: "";
    position: absolute;
    inset: -30% 0 -60% 0;

    background-image:
        radial-gradient(3px 3px at 10% -5%, rgba(190, 235, 255, 0.9), transparent 60%),
        radial-gradient(3px 3px at 25% 0%, rgba(170, 225, 255, 0.85), transparent 60%),
        radial-gradient(3px 3px at 40% -10%, rgba(160, 220, 255, 0.85), transparent 60%),
        radial-gradient(3px 3px at 55% 5%, rgba(170, 230, 255, 0.9), transparent 60%),
        radial-gradient(3px 3px at 70% -8%, rgba(190, 235, 255, 0.95), transparent 60%),
        radial-gradient(3px 3px at 85% -3%, rgba(160, 220, 255, 0.85), transparent 60%),

        radial-gradient(2.5px 2.5px at 15% -2%, rgba(150, 210, 255, 0.7), transparent 60%),
        radial-gradient(2.5px 2.5px at 35% 3%, rgba(150, 210, 255, 0.75), transparent 60%),
        radial-gradient(2.5px 2.5px at 60% -12%, rgba(160, 220, 255, 0.8), transparent 60%),
        radial-gradient(2.5px 2.5px at 78% -6%, rgba(170, 225, 255, 0.75), transparent 60%),

        radial-gradient(2px 2px at 5% -15%, rgba(140, 200, 245, 0.55), transparent 60%),
        radial-gradient(2px 2px at 45% -20%, rgba(150, 210, 245, 0.6), transparent 60%),
        radial-gradient(2px 2px at 75% -18%, rgba(130, 185, 240, 0.55), transparent 60%),
        radial-gradient(2px 2px at 95% -10%, rgba(150, 210, 245, 0.6), transparent 60%);

    background-size:
        240px 240px, 260px 260px, 230px 230px, 250px 250px, 240px 240px, 260px 260px,
        260px 260px, 240px 240px, 230px 230px, 250px 250px,
        260px 260px, 240px 240px, 230px 230px, 250px 250px;

    opacity: 1;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;

    animation:
        fallRandom1 22s linear infinite,
        fallRandom2 35s linear infinite,
        calendarioTwinkle 7s ease-in-out infinite alternate;
}

.calendario-social-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.calendario-social-inner::before {
    content: "";
    position: absolute;
    inset: -15% -5% -40% -5%;

    background-image:
        radial-gradient(2px 2px at 10% -5%, rgba(130, 190, 240, 0.55), transparent 60%),
        radial-gradient(1.8px 1.8px at 60% 0%, rgba(120, 185, 240, 0.5), transparent 60%),
        radial-gradient(1.6px 1.6px at 90% 10%, rgba(110, 175, 235, 0.45), transparent 60%),
        radial-gradient(1.5px 1.5px at 35% 5%, rgba(140, 200, 245, 0.5), transparent 60%);

    background-size: 280px 280px, 300px 300px, 320px 320px, 280px 280px;

    opacity: 0.8;
    mix-blend-mode: screen;
    pointer-events: none;

    z-index: -1;

    animation: calendarioParticlesFar 55s linear infinite;
}


.social-calendar-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.social-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.7rem 1.4rem;
    align-items: center;
    max-width: 420px;
    justify-self: start;

    padding: 1.6rem 2.1rem;
    border-radius: 1.2rem;
    background:
        radial-gradient(circle at top left, rgba(0, 90, 180, 0.12), transparent 45%),
        rgba(10, 13, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
}

.social-title {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    font-size: 1.1rem;
    font-weight: 650;
    margin: 0 0 0.15rem;
}

.social-date {
    grid-column: 1 / 2;
    grid-row: 2 / 3;

    min-width: 90px;
    padding: 0.9rem 0.6rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    box-shadow: 0 0 12px rgba(0, 116, 196, 0.28);
}

.social-date .day {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.social-date .month {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0074c4;
}

.social-date .time {
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: #dddddd;
}


.social-meta {
    grid-column: 2 / 3;
    grid-row: 2 / 3;

    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #d8d8d8;
    margin: 0;
    opacity: 0.95;
}


.social-card.is-selected {
    box-shadow: 0 0 26px rgba(0, 140, 230, 0.85);
    border-color: rgba(0, 150, 255, 0.95);
    background:
        radial-gradient(circle at top left, rgba(0, 120, 255, 0.22), transparent 55%),
        rgba(10, 13, 20, 0.98);
    transform: translateY(-4px) scale(1.01);
}



/* Responsive social calendar */
@media (max-width: 600px) {
    .social-calendar-grid {
        grid-template-columns: 1fr;
    }

    .social-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 1.4rem 1.3rem;
    }

    .social-title {
        grid-column: 1 / 2;
    }

    .social-date {
        grid-column: 1 / 2;
        justify-self: flex-start;
    }

    .social-meta {
        grid-column: 1 / 2;
        margin-top: 0.4rem;
    }
}




/* ----------------- CARDS ----------------- */
.card {
    background: radial-gradient(circle at top left, rgba(0, 90, 180, 0.12), transparent 40%),
        rgba(10, 10, 15, 0.95);
    border-radius: 1.2rem;
    padding: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.card h3 {
    margin-bottom: 0.7rem;
    font-size: 1.2rem;
}

/* ----------------- PILLS ----------------- */
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pill {
    padding: 0.35rem 0.9rem;
    background: rgba(0, 90, 180, 0.18);
    border-radius: 999px;
    font-size: 0.8rem;
    color: #e0fafe;
}


/* ---------- BANNER ----------- */

.cg-strip {
    position: relative;
    width: 100%;
    padding: 1rem 0;
    background: #000;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cg-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 140, 255, 0.15), transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(140, 0, 255, 0.15), transparent 60%);
    opacity: 0.35;
    pointer-events: none;
    mix-blend-mode: screen;
}

.cg-strip-inner {
    display: flex;
    width: max-content;
    animation: cg-scroll 40s linear infinite;
}


.cg-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 2rem;
    white-space: nowrap;
    flex: 0 0 auto;
}

.cg-logo {
    max-height: 32px;
    opacity: 0.88;
    filter: blur(0.25px);
    transform: translateY(0.5px);
}

.cg-text {
    font-size: 0.92rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.85;
    font-weight: 500;
    filter: blur(0.18px);
}

@keyframes cg-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .cg-strip {
        padding: 0.45rem 0;
    }

    .cg-pill {
        padding: 0 1.2rem;
        gap: 1rem;
    }

    .cg-logo {
        max-height: 26px;
        filter: blur(0.22px);
    }

    .cg-text {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
        filter: blur(0.16px);
    }
}



/* ----------------- SECCION EQUIPOS ----------------- */

#equipos {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(to bottom,
            #000103 0%,
            #000207 30%,
            #01050c 65%,
            #01101b 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    z-index: 1;
}


#equipos::before {
    content: "";
    position: absolute;
    width: 160%;
    height: 160%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(0, 128, 255, 0.2), transparent 65%);
    filter: blur(10px);
    animation: equiposLightMove 16s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes equiposLightMove {
    0% {
        transform: translate(0%, 0%) scale(1);
    }

    50% {
        transform: translate(34%, 26%) scale(1.16);
    }

    100% {
        transform: translate(-18%, 38%) scale(1);
    }
}

.equipos-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

#equipos-3d .section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;

    background: linear-gradient(90deg, #bfe9ff, #4fc3ff, #bfe9ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 18px rgba(120, 200, 255, 0.25);
}

#equipos-3d .section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 0.95rem;
    color: rgba(200, 230, 255, 0.75);
    letter-spacing: 0.02em;
}


/* ----------------- EQUIPOS ----------------- */

.teams-grid {
    display: grid;
    gap: 2rem;
    margin-top: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.team-card {
    display: none;
    opacity: 0;
    transform: translateY(25px) scale(0.97);
}

.team-card.is-visible {
    display: block;
    animation: revealTeam 0.55s ease forwards;
}

@keyframes revealTeam {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(0, 120, 255, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.team-card:hover::before {
    opacity: 1;
}

.team-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #0072d4;
    margin-bottom: 0.4rem;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.team-meta {
    font-size: 0.9rem;
    color: #e0e0e0c5;
    margin-bottom: 1rem;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.team-tag {
    font-size: 0.75rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ----------------- SECCION JUGADORES ----------------- */

#jugadores {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;

    background: linear-gradient(to bottom,
            #000308 0%,
            #01060f 30%,
            #020b18 65%,
            #031124 100%);

    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#jugadores::before {
    content: "";
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at 40% 20%, rgba(0, 120, 255, 0.12), transparent 70%);
    opacity: 0.45;
    filter: blur(12px);
    pointer-events: none;
    z-index: 0;
}

#jugadores .section-title,
#jugadores .section-subtitle,
#jugadores .player-carousel,
#jugadores .carousel-dots {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    text-align: center;
}

#jugadores .section-title {
    margin-bottom: 0.5rem;
}

#jugadores .section-subtitle {
    margin-bottom: 2rem;
}

.players-team-heading {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 2.5rem auto 0.8rem;
    padding: 0 1.5rem;
    text-align: left;
}

.players-team-heading--team1 {
    margin-top: 2.2rem;
}

.players-team-heading--team2 {
    margin-top: 3rem;
}

.players-team-kicker {
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #1985d8;
    margin-bottom: 0.25rem;
}

.players-team-title {
    font-size: 1.1rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f5f7ff;
    opacity: 0.95;
}


/* ----------------- CARRUSEL JUGADORES ----------------- */
.player-carousel {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    margin-top: 1.5rem;

    overflow: hidden;
    border-radius: 1.6rem;
    background: radial-gradient(circle at top, rgba(0, 90, 180, 0.18), transparent 55%),
        linear-gradient(135deg, rgba(7, 9, 18, 0.96), rgba(5, 6, 14, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}


.player-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.player-card {
    min-width: 100%;
    padding: 2.5rem 3.5rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.8rem;
    align-items: center;
    opacity: 0.7;
    transform: scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.player-card.active {
    opacity: 1;
    transform: scale(1);
}

.player-portrait {
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-circle {
    width: 150px;
    height: 150px;
    border-radius: 999px;
    border: 2px solid rgba(0, 116, 196, 0.7);
    background: radial-gradient(circle at 30% 20%, #005ec2, #000870);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #050608;
    text-transform: uppercase;
    box-shadow:
        0 0 25px rgba(0, 116, 196, 0.4),
        0 18px 45px rgba(0, 0, 0, 0.7);
}

.portrait-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.player-info {
    text-align: left;
}

/* ---------- BANDERA JUNTO AL NOMBRE ---------- */
.player-name {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    line-height: 1.1;
}

.player-flag {
    width: 23px;
    height: 17px;
    border-radius: 4px;
    display: inline-block;
    flex: 0 0 auto;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
    transform: translateY(1px);
}

.player-flag-emoji {
    font-size: 1rem;
    line-height: 1;
    transform: translateY(1px);
    filter: saturate(0.95);
}


.player-role {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #0074c4;
    margin-bottom: 0.9rem;
}

.player-bio {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 1.1rem;
}

.player-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.player-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Flechas */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    z-index: 2;
}

.carousel-arrow:hover {
    background: #0074c4;
    color: #020308;
    box-shadow: 0 0 20px rgba(0, 116, 196, 0.6);
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev {
    left: 0.4rem;
}

.carousel-arrow.next {
    right: 0.4rem;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: width 0.2s, background 0.2s, transform 0.15s;
}

.carousel-dots .dot.active {
    width: 24px;
    background: #0074c4;
    transform: translateY(-1px);
}

/* Responsive carrusel */
@media (max-width: 780px) {
    .player-card {
        padding: 2.2rem 1.4rem;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .player-info {
        text-align: center;
    }

    .carousel-arrow.prev {
        left: 0.1rem;
    }

    .carousel-arrow.next {
        right: 0.1rem;
    }
}

/* ----------------- SVG JUGADORES ----------------- */

.player-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.player-social-icon {
    width: 25px;
    height: 25px;
    color: #0b79d1;
    filter: drop-shadow(0 0 4px rgba(11, 121, 209, 0.45));
    transition: transform 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.player-social-icon:hover {
    color: #27a4ff;
    transform: translateY(-1px) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(39, 164, 255, 0.85));
}

.player-social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.player-social-icon svg {
    fill: currentColor;
}



/* ----------------- PARTICULAS ----------------- */

@keyframes calendarioGlow {
    0% {
        transform: translate3d(-10px, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(10px, -12px, 0) scale(1.04);
    }

    100% {
        transform: translate3d(-6px, 10px, 0) scale(1.02);
    }
}

@keyframes calendarioParticles {
    0% {
        background-position:
            0 0,
            50px 80px,
            -80px -40px,
            120px -60px;
    }

    100% {
        background-position:
            0 260px,
            50px 300px,
            -80px 260px,
            120px 320px;
    }
}

@keyframes calendarioTwinkle {
    0% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.65;
    }
}

@keyframes calendarioParticlesFall {
    0% {
        background-position:
            0px -200px,
            50px -280px,
            -80px -240px,
            120px -260px;
    }

    100% {
        background-position:
            0px 260px,
            50px 320px,
            -80px 300px,
            120px 360px;
    }
}

@keyframes calendarioParticlesNear {
    0% {
        background-position:
            0px -260px,
            50px -320px,
            -80px -300px,
            120px -340px;
    }

    100% {
        background-position:
            0px 260px,
            50px 320px,
            -80px 300px,
            120px 340px;
    }
}

@keyframes calendarioParticlesFar {
    0% {
        background-position:
            0px -180px,
            40px -200px,
            -60px -190px,
            100px -210px;
    }

    100% {
        background-position:
            0px 180px,
            40px 200px,
            -60px 190px,
            100px 210px;
    }
}

@keyframes calendarioTwinkle {
    0% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.65;
    }
}

@keyframes fallRandom1 {
    0% {
        background-position:
            0px -300px,
            -40px -280px,
            20px -260px,
            -10px -320px,
            50px -290px,
            -60px -310px,

            0px -180px,
            -20px -160px,
            30px -190px,
            -10px -200px,

            10px -130px,
            -30px -140px,
            40px -150px,
            -20px -160px;
    }

    100% {
        background-position:
            0px 260px,
            -40px 240px,
            20px 230px,
            -10px 260px,
            50px 240px,
            -60px 230px,

            0px 180px,
            -20px 170px,
            30px 190px,
            -10px 185px,

            10px 150px,
            -30px 140px,
            40px 160px,
            -20px 170px;
    }
}

@keyframes fallRandom2 {
    0% {
        background-position:
            0px -160px,
            20px -150px,
            -40px -170px,
            60px -180px,
            -20px -155px,
            30px -165px,

            0px -120px,
            10px -130px,
            -30px -110px,
            40px -140px,

            0px -90px,
            20px -85px,
            -10px -95px,
            30px -80px;
    }

    100% {
        background-position:
            0px 190px,
            20px 200px,
            -40px 180px,
            60px 210px,
            -20px 185px,
            30px 195px,

            0px 130px,
            10px 135px,
            -30px 120px,
            40px 145px,

            0px 95px,
            20px 100px,
            -10px 90px,
            30px 105px;
    }
}

/* ----------------- FOOTER ----------------- */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #aaaaaa;
    background: #020308;
}

footer a {
    color: #0074c4;
}


/* =========================
   EQUIPOS 3D
========================= */
.model-3d-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(0, 90, 180, 0.15), transparent 70%),
        linear-gradient(135deg, #050712, #020308);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        inset 0 0 100px rgba(0, 120, 255, 0.1);
    perspective: 1000px;
}

.model-3d-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.model-3d-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 150, 255, 0.4));
    transition: transform 0.1s ease-out;
    pointer-events: none;
    user-select: none;
}

.hotspot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10;
    transform-style: preserve-3d;
    backface-visibility: hidden;

    background: radial-gradient(circle, #e6f6ff 20%, #5cc6ff 55%, transparent 70%);
    box-shadow:
        0 0 6px rgba(120, 200, 255, 0.9),
        0 0 14px rgba(0, 140, 255, 0.6);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hotspot::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
}

.hotspot:hover {
    transform: scale(1.6);
    box-shadow:
        0 0 10px rgba(150, 220, 255, 1),
        0 0 22px rgba(0, 160, 255, 0.9);
}

.hotspot-label {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;

    background: rgba(5, 8, 18, 0.95);
    color: #fff;
    border: 1px solid rgba(120, 200, 255, 0.4);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, top 0.25s ease;
}

.hotspot:hover .hotspot-label {
    opacity: 1;
    top: 150%;
}


@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Posiciones de hotspots - AJUSTA SEGÚN TU IMAGEN */
.hotspot-cg {
    top: 25%;
    left: 43%;
}

.hotspot-cgen {
    top: 44%;
    left: 63%;
}

#equipos-3d {
    position: relative;
    padding: 6rem 0;
    background:
        radial-gradient(circle at top, rgba(0, 80, 160, 0.25), transparent 55%),
        linear-gradient(to bottom, #000103, #01050c, #01101b);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

#equipos-3d::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(0, 120, 255, 0.18), transparent 65%);
    filter: blur(20px);
    animation: equiposLightMove 18s ease-in-out infinite alternate;
    pointer-events: none;
}


/* Responsive */
@media (max-width: 768px) {
    .model-3d-container {
        height: 400px;
    }

    .hotspot {
        width: 28px;
        height: 28px;
    }
}