/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    inline-size: 100%;
    font-family: Inter, sans-serif;
    background: transparent;
}

.eclipse-banner *,
.eclipse-banner svg{

    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;

}

.hide {display: none;}
/* ==========================================================
   BANNER
========================================================== */

.eclipse-banner {
    position: relative;
    isolation: isolate;
    inline-size: 100%;
    max-inline-size: 61.875rem;
    min-block-size: 9.375rem;
    margin-inline: auto;
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto auto;
    align-items: center;
    gap: 2.5rem;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    background:
        radial-gradient(circle at left center, #204356 0%, transparent 46%),
        linear-gradient(135deg, #24748C, #204356);
    transition:
        transform .2s ease,
        filter .2s ease,
        box-shadow .2s ease;
}

.eclipse-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 50%,
            rgba(255, 210, 90, .13) 0,
            rgba(255, 210, 90, .05) 18%,
            transparent 44%);
    pointer-events: none;
    z-index: 0;
}

.eclipse-banner:hover {
    filter: brightness(1.05);
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25);
}

.eclipse-banner:active {
    transform: translateY(.0625rem);
}

.eclipse-banner:focus-visible {
    outline: .1875rem solid rgba(255, 255, 255, .9);
    outline-offset: .1875rem;
}

/* ==========================================================
   ECLIPSE
========================================================== */

.eclipse-hero {
    position: absolute;
    left: -2.5rem;
    top: 50%;
    inline-size: 11.5rem;
    block-size: 11.5rem;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: .96;
    z-index: 0;
    transition:
        inline-size .25s ease,
        block-size .25s ease,
        opacity .25s ease;

}

.eclipse-hero svg {
    inline-size: 100%;
    block-size: 100%;
    display: block;
    overflow: visible;
}

/* ==========================================================
   CONTENT
========================================================== */

.eclipse-info,
.countdown,
.btn {
    position: relative;
    z-index: 2;
}

.eclipse-info {
    display: flex;
    align-items: center;
    min-inline-size: 0;
    margin-inline-start: 1rem;
}

.eclipse-text {
    min-inline-size: 0;
}

.title {
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.02em;
    text-shadow: 0 .125rem .5rem rgba(0, 0, 0, .35);
}

.subtitle {
    margin-top: .3rem;
    font-size: .875rem;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .9;
}

/* ==========================================================
   COUNTDOWN
========================================================== */

.countdown {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}

.countdown-item {
    inline-size: 4.4rem;
    block-size: 4.85rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: .75rem;
    background: #fff;
    color: #111;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .18);
}

.countdown-number {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
}

.countdown-label {
    margin-top: .25rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #777;
}

/* ==========================================================
   BOTÓN
========================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: .8rem 1.4rem;
    border-radius: 999rem;
    background: #FDB813;
    color: #111;
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    transition:
        background-color .2s ease,
        transform .2s ease;
}

.eclipse-banner:hover .btn {
    background: #FFD34F;
    transform: translateX(.2rem);
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width:56.25rem) {
    .eclipse-banner {
        grid-template-columns: 1fr;
        gap: 1.125rem;
        justify-items: center;
        text-align: center;
        padding: 1.5rem;
        min-block-size: auto;
    }
    .eclipse-hero {
        inline-size: 16.5rem;
        block-size: 42.5rem;
        left: -1.75rem;
        opacity: .65;
    }
    .eclipse-info {
        margin-inline-start: 1.5rem;
        justify-content: center;
    }
    .eclipse-text {
        text-align: left;
    }
    .countdown {
        justify-content: center;
        flex-wrap: nowrap;
    }
    .btn {
        min-inline-size: 16rem;
    }
}

/* ==========================================================
   MÓVIL
========================================================== */

@media (max-width:37.5rem) {
    .eclipse-banner {
        padding: 1.25rem;
        gap: 1rem;
    }
    .eclipse-hero {
        inline-size: 13.5rem;
        block-size: 13.5rem;
        left: -.5rem;
        top: 50%;
        transform: translateY(-50%);
        opacity: .35;
    }
    .eclipse-info {
        margin-inline-start: 0;
        justify-content: center;
    }
    .eclipse-text {
        text-align: center;
    }
    .title {
        font-size: 1.4rem;
    }
    .subtitle {
        font-size: .8rem;
    }
    .countdown {
        justify-content: center;
        gap: .4rem;
        flex-wrap: nowrap;
    }
    .countdown-item {
        inline-size: 3.5rem;
        block-size: 3.8rem;
    }
    .countdown-number {
        font-size: 1.45rem;
    }
    .countdown-label {
        margin-top: .15rem;
        font-size: .6rem;
    }
    .btn {
        min-inline-size: 14rem;
        padding: .8rem 1.25rem;
        font-size: .875rem;
    }
}

/* ==========================================================
   MÓVILES MUY PEQUEÑOS
========================================================== */

@media (max-width:22.5rem) {
    .eclipse-banner {
        padding: 1rem;
    }
    .eclipse-hero {
        inline-size: 13.5rem;
        block-size: 13.5rem;
        left: -.75rem;
        opacity: .35;
    }
    .title {
        font-size: 1.2rem;
    }
    .subtitle {
        font-size: .75rem;
    }
    .countdown {
        gap: .3rem;
    }
    .countdown-item {
        inline-size: 3.1rem;
        block-size: 3.5rem;
    }
    .countdown-number {
        font-size: 1.25rem;
    }
    .countdown-label {
        font-size: .55rem;
    }
    .btn {
        min-inline-size: 12rem;
        font-size: .8125rem;
    }
}