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

@font-face {
    font-family: "Causten";
    src: local("Causten Regular"),
        local("Causten-Regular"),
        url("fonts/Causten Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Causten";
    src: local("Causten Bold"),
        local("Causten-Bold"),
        url("fonts/Causten Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(17, 7, 32, 0.35);
}

html,
body {
    min-height: 100%;
}

body {
    font-family: "Causten", "Aptos", "Segoe UI", sans-serif;
    color: var(--white);
    font-weight: 400;
}

.page {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
}

.background-video,
.video-overlay,
.video-fallback {
    position: absolute;
    inset: 0;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -4;
}

.background-video-mobile {
    display: none;
}

/* .video-fallback {
    z-index: -5;
    background:
        linear-gradient(90deg, rgba(117, 86, 155, 0.92) 0%, rgba(78, 49, 118, 0.92) 100%),
        url("img/forolatam.png") center/cover no-repeat;
    filter: saturate(0.9);
} */
.video-fallback {
    z-index: -5;
    background:
        linear-gradient(90deg, rgba(117, 86, 155, 0.92) 0%, rgba(78, 49, 118, 0.92) 100%);
    filter: saturate(0.9);
}

.hero {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
}

.prox-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 4rem;
    border-radius: 999px;
    background: #91be2e;
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    box-shadow: var(--shadow);
}

.branding {
    display: grid;
    grid-template-columns: 280px auto;
    align-items: center;
    justify-items: center;
    gap: 1rem;
}

.branding-logo {
    width: 240px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(24, 10, 40, 0.28));
}

.branding-copy {
    font-size: 3rem;
    line-height: 0.9;
    font-weight: 400;
    text-align: start;
    text-shadow: 0 8px 24px rgba(21, 8, 35, 0.18);
}

.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 1.5rem;
    font-weight: 400;
}

.location-tag img{
    width: 70px;

}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-panel {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
}

.days-group {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    line-height: 0.9;
}

.days-label {
    font-size: 4rem;
    font-weight: 700;
    transform: translateY(-0.6rem);
}

.days-value {
    font-size: 12rem;
    font-weight: 700;
    letter-spacing: -0.09em;
    line-height: 0.8;
    text-shadow: 0 16px 35px rgba(24, 9, 42, 0.18);
    min-width: 2.6ch;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

.time-strip {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
}

.time-item {
    display: flex;
    align-items: anchor-center;
    gap: 0.5rem;
    width: 150px;
    justify-content: center;
}

.time-value {
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.8;
    min-width: 2.2ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

.time-label {
    font-size: 1.5rem;
    font-weight: 400;
    min-width: 78px;
    text-align: left;
}

.presave-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 4rem;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 400;
    background: rgba(116, 78, 159, 0.18);
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow);
    transition: background 0.2s ease, transform 0.2s ease;
}

.presave-btn:hover {
    background: rgba(116, 78, 159, 0.32);
    transform: translateY(-1px);
}

.deco {
    position: absolute;
    animation: spin linear infinite;
    pointer-events: none;
    z-index: 0;
}

.mobile-hide {
    display: block;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinr {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.spinr {
    animation-name: spinr;
}

@media (max-width: 1350px) {
    .page {
        padding: 1.75rem 2rem 2rem;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left,
    .hero-right,
    .countdown-panel {
        align-items: center;
        justify-content: center;
    }

    .branding {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 1.5rem;
    }

    .branding-copy {
        font-size: 2.9rem;
        text-align: center;
    }

    .branding-logo {
        width: 270px;
    }

    .prox-badge {
        font-size: 2.2rem;
        padding: 0.6rem 3rem;
    }

    .location-tag {
        font-size: 1.7rem;
    }

    .days-label {
        font-size: 3.5rem;
        transform: none;
    }

    .days-value {
        font-size: 9rem;
    }

    .days-group{
        gap: 0;
    }

    .days-group,
    .time-strip {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }

    .time-strip {
        gap: 1rem 1.5rem;
    }

    .time-item {
        width: 150px;
    }

    .time-value {
        font-size: 3.2rem;
    }

    .time-label {
        font-size: 2.15rem;
        min-width: 58px;
    }

    .deco.outline[style*="right:-28vw"] {
        display: block !important;
        width: 75vw !important;
        height: 75vw !important;
        right: -40vw !important;
        top: 5vw !important;
        transform: translateY(-50%);
    }

    .deco.outline[style*="left:7vw"] {
        width: 45vw !important;
        height: 45vw !important;
        left: -6vw !important;
        bottom: -24vw !important;
    }

    .deco.outline[style*="top:0vw;left:1vw"] {
        width: 25vw !important;
        height: 25vw !important;
        top: -2vw !important;
        left: -1vw !important;
    }
}

@media (max-width: 640px) {
    .background-video-desktop {
        display: none;
    }

    .background-video-mobile {
        display: block;
    }

    .page {
        padding: 1.25rem 0.75rem 1.5rem;
    }

    .hero {
        gap: 2rem;
    }

    .prox-badge {
        padding: 0.55rem 2rem;
        font-size: 1.05rem;
    }

    .branding-logo {
        width: 220px;
    }

    .branding-copy {
        font-size: 1.9rem;
        line-height: 1;
    }

    .branding {
        gap: 1rem;
    }

    .days-label {
        font-size: 2.4rem;
        transform: none;
    }

    .days-value {
        font-size: 4.5rem;
        letter-spacing: -0.06em;
    }

    .time-strip {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
    }

    .time-value {
        font-size: 2.4rem;
    }

    .time-label {
        font-size: 1rem;
        min-width: 54px;
    }

    .time-item {
        width: 100%;
        max-width: 130px;
        justify-content: space-between;
    }

    .location-tag {
        font-size: 1.05rem;
    }

    .presave-btn {
        min-width: 220px;
    }

    .deco.outline[style*="top:0vw;left:1vw"] {
        width: 40vw !important;
        height: 40vw !important;
        top: -5vw !important;
        left: -5vw !important;
    }

    .deco.outline[style*="left:7vw"] {
        width: 80vw !important;
        height: 80vw !important;
        left: 55vw !important;
        bottom: -120px !important;
    }

    .deco.outline[style*="right:-28vw"] {
        width: 0 !important;
        height: 0 !important;
        top: 0 !important;
        left: 0 !important;
    }

    .deco.outline {
        opacity: 0.95;
    }

    .mobile-hide {
        display: none !important;
    }
}
