/* styles.css */
:root {
    --bg: #f0f0f0;
    --text: #1e1e1e;
    --accent: #9aa0a6;
    --metal-light: #ffffff;
    --metal-mid: #cfcfcf;
    --metal-dark: #464646;
}


@font-face {
    font-family: 'Mistral';
    font-style: normal;
    font-weight: normal;
    src: local('Mistral'), url('../fonts/MISTRAL.woff') format('woff');
}

@font-face {
    font-family: "Athelas";
    src: url("../fonts/8a8da4e29aedaa26c72e1b57293ddf2d.eot");
    src: url("../fonts/8a8da4e29aedaa26c72e1b57293ddf2d.eot?#iefix")format("embedded-opentype"),
        url("../fonts/8a8da4e29aedaa26c72e1b57293ddf2d.woff")format("woff"),
        url("../fonts/8a8da4e29aedaa26c72e1b57293ddf2d.woff2")format("woff2"),
        url("../fonts/8a8da4e29aedaa26c72e1b57293ddf2d.ttf")format("truetype"),
        url("../fonts/8a8da4e29aedaa26c72e1b57293ddf2d.svg#Athelas W01 Regular")format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.text-mistral {
    font-family: 'Mistral', sans-serif;
}

.text-athelas {
    font-family: 'Athelas', sans-serif;
}

body {
    font-family: 'Athelas', system-ui, -apple-system, Segoe UI, Roboto;
    background: linear-gradient(45deg, #e7e7e8 0%, #e4e3e3 100%);
    font-size: 20px;
    line-height: 1.5;
}
/* Hero con “brillitos” */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #ffffffdd 0%, #ffffff00 70%);
}

.hero h1 {
    font-size: 8rem;
    margin-top: 10rem;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 4rem;
}
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 5rem;
        margin-top: 5rem;
    }

    .hero h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
}
.hero-text {
    background: transparent url('../img/bg-hero.jpg') no-repeat center center;
    background-size: cover;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.1) saturate(0);
}


/* Banda metálica con shimmer */
.metal-bar {
    height: 10px;
    width: 100%;
    background: linear-gradient(90deg,
            #454544 0%,
            #898888 22%,
            #f7f7f7 50%,
            #898888 78%,
            #454544 100%);
    background-size: 100% 100%;
    position: relative;
    overflow: hidden;
}

.metal-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, #ffffff80 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shimmer 3.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    60% {
        transform: translateX(100%);
    }

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

/* seccion fiesta */
section.fiesta-info {

    background-image: url("../img/brillos-left.png"), url("../img/brillos-right.png");
    background-position: left top, right top;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, contain;
}

section.fiesta-info .bola-boliche, lottie-player {
    width: 100px;
    height: 100px;
    margin: 50px auto;
}

section.fiesta-info .card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.owl-carousel .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.owl-carousel img {
    background: #fff;
    /* fondo blanco polaroid */
    padding: 10px 10px 40px 10px;
    /* más espacio abajo */
    border: 1px solid #eee;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    max-width: 100%;
    height: auto;
    transition: transform 0.2s ease-in-out;
}

/* efecto al pasar el mouse */
.owl-carousel img:hover {
    transform: rotate(-2deg) scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
}


section.rsvp {
    background-image: url("../img/brillos-top.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}


/* Countdown */
.countdown .unit {
    min-width: 110px;
    padding: 1.2rem 1rem;
    position: relative;
}

.countdown .unit:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    background: #454544;
    top: 0px;
    right: -10px;
}
@media screen and (max-width: 550px) {
    .countdown .unit::after {
       display: none;
    }
    
}
.countdown .num {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.countdown .lab {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #666;
}

section {
    background: radial-gradient(circle, #f7f7f7 0%, #dadada 98%);
}

.lens-flare {
    position: relative;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
}

.lens-flare::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 80%);
    border-radius: 50%;
    filter: blur(6px);
}

.lens-flare::after {
    content: "";
    position: absolute;
    top: 80px;
    left: 150px;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 80%);
    border-radius: 50%;
    filter: blur(4px);
}

.glitter-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #f0f0f0;
    /* Color de fondo similar al de la imagen */
    overflow: hidden;
}

.glitter-container::before,
.glitter-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
    background-size: 10px 10px;
    /* Ajusta el tamaño para controlar la densidad */
    animation: move-dots 10s linear infinite;
    opacity: 0.8;
}

.glitter-container::after {
    background-size: 15px 15px;
    /* Otro tamaño para variar la densidad */
    animation: move-dots 15s linear infinite reverse;
    opacity: 0.6;
}

@keyframes move-dots {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(50%, 50%);
    }
}

.glitter-shine {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(15px);
    animation: shine-pulse 3s infinite alternate;
}

@keyframes shine-pulse {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }

    to {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}