:root {
    --jsq-blue: #06111f;
    --jsq-blue-soft: #102948;
    --jsq-cyan: #82dfff;
    --jsq-silver: #e8f4ff;
    --jsq-pink: #e86da8;
    --jsq-gold: #d8c58b;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background: #05070d;
}

.page {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -5;
    background:
        linear-gradient(180deg, rgba(1, 5, 12, 0.25), rgba(1, 5, 12, 0.88)),
        radial-gradient(circle at center,
            rgba(70, 143, 199, 0.28),
            transparent 36%),
        url("/assets/img/bg.png") center / cover no-repeat;
    transform: scale(1.035);
    animation: slowZoom 24s ease-in-out infinite alternate;
}

.page::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        radial-gradient(circle at center,
            transparent 0 28%,
            rgba(0, 0, 0, 0.28) 62%,
            rgba(0, 0, 0, 0.86) 100%),
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.62),
            transparent 24%,
            transparent 76%,
            rgba(0, 0, 0, 0.68));
    pointer-events: none;
}

.noise {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.11;
    background-image:
        linear-gradient(115deg,
            rgba(255, 255, 255, 0.08) 0 1px,
            transparent 1px 7px),
        linear-gradient(25deg,
            rgba(255, 255, 255, 0.04) 0 1px,
            transparent 1px 9px);
    mix-blend-mode: screen;
}

.glow {
    position: absolute;
    width: min(72vw, 820px);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle,
            rgba(86, 173, 230, 0.24),
            rgba(18, 44, 79, 0.1) 38%,
            transparent 68%);
    filter: blur(18px);
    z-index: -2;
}

.teaser {
    position: relative;
    z-index: 2;
    width: min(100%, 920px);
    min-height: 100dvh;
    padding: 3rem 1.25rem 6.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/*.logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}



.logo-wrap::before {
    content: "";
    position: absolute;
    inset: 7% 9%;
    z-index: -1;
    border-radius: 999px;
    background: radial-gradient(circle,
            rgba(133, 214, 255, 0.24),
            transparent 68%);
    filter: blur(28px);
    animation: pulse 4.8s ease-in-out infinite;
}

.logo {
    display: block;
    max-width: min(78vw, 520px);
    height: auto;
}*/

.logo-wrap {
    position: relative;
    width: min(82vw, 520px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.logo-wrap::before {
    content: "";
    position: absolute;
    inset: 7% 9%;
    z-index: -1;
    border-radius: 999px;
    background: radial-gradient(circle,
            rgba(133, 214, 255, 0.24),
            transparent 68%);
    filter: blur(28px);
    animation: pulse 4.8s ease-in-out infinite;
}

.logo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

.status {
    margin-top: clamp(1rem, 3vw, 2rem);
    font-family: "Trajan Pro", Cinzel, Georgia, serif;
    font-size: clamp(0.72rem, 1.6vw, 0.92rem);
    letter-spacing: 0.56em;
    text-transform: uppercase;
    color: rgba(232, 244, 255, 0.82);
    text-shadow: 0 0 18px rgba(130, 223, 255, 0.42);
}

.line {
    width: min(58vw, 420px);
    height: 1px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(130, 223, 255, 0.72),
            rgba(232, 244, 255, 0.88),
            rgba(232, 109, 168, 0.72),
            transparent);
    box-shadow: 0 0 20px rgba(130, 223, 255, 0.28);
}

.petals,
.stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.petal,
.star {
    position: absolute;
    display: block;
    opacity: 0;
}

.petal {
    width: 10px;
    height: 15px;
    border-radius: 10px 0 10px 0;
    background: linear-gradient(135deg,
            rgba(255, 182, 216, 0.95),
            rgba(195, 51, 115, 0.72));
    box-shadow: 0 0 12px rgba(232, 109, 168, 0.28);
    animation: fall linear infinite;
}

.petal:nth-child(1) {
    left: 9%;
    animation-duration: 16s;
    animation-delay: -3s;
    transform: scale(0.8) rotate(15deg);
}

.petal:nth-child(2) {
    left: 22%;
    animation-duration: 21s;
    animation-delay: -12s;
    transform: scale(0.58) rotate(70deg);
}

.petal:nth-child(3) {
    left: 41%;
    animation-duration: 18s;
    animation-delay: -7s;
    transform: scale(0.68) rotate(20deg);
}

.petal:nth-child(4) {
    left: 64%;
    animation-duration: 23s;
    animation-delay: -16s;
    transform: scale(0.9) rotate(115deg);
}

.petal:nth-child(5) {
    left: 83%;
    animation-duration: 19s;
    animation-delay: -9s;
    transform: scale(0.7) rotate(55deg);
}

.petal:nth-child(6) {
    left: 92%;
    animation-duration: 26s;
    animation-delay: -18s;
    transform: scale(0.54) rotate(140deg);
}

.star {
    width: 2px;
    height: 2px;
    border-radius: 999px;
    background: rgba(232, 244, 255, 0.95);
    box-shadow: 0 0 18px 4px rgba(130, 223, 255, 0.44);
    animation: twinkle ease-in-out infinite;
}

.star:nth-child(1) {
    top: 16%;
    left: 18%;
    animation-duration: 4.5s;
    animation-delay: -1s;
}

.star:nth-child(2) {
    top: 23%;
    left: 77%;
    animation-duration: 5.8s;
    animation-delay: -3s;
}

.star:nth-child(3) {
    top: 68%;
    left: 69%;
    animation-duration: 6.2s;
    animation-delay: -2s;
}

.star:nth-child(4) {
    top: 38%;
    left: 88%;
    animation-duration: 7s;
    animation-delay: -5s;
}

.star:nth-child(5) {
    top: 73%;
    left: 24%;
    animation-duration: 5.2s;
    animation-delay: -4s;
}

.footer-mark {
    position: fixed;
    bottom: 1rem;
    z-index: 10;
    font-family: Arial, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.footer-mark.right {
    right: 1.25rem;
}

.footer-mark.left {
    left: 1.25rem;
}

.footer-mark a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(232, 244, 255, 0.46);
    text-decoration: none;
    text-shadow: 0 0 14px rgba(130, 223, 255, 0.22);
    transition:
        color 0.25s ease,
        text-shadow 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

/* Línea base */
.footer-mark a::before,
.footer-mark a::after {
    content: "";
    width: 22px;
    height: 1px;
    box-shadow: 0 0 12px rgba(130, 223, 255, 0.35);
    opacity: 0.55;
    transition:
        opacity 0.25s ease,
        width 0.25s ease,
        box-shadow 0.25s ease;
}

/* Izquierda: línea antes del texto */
.footer-mark.left a::before {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(130, 223, 255, 0.7) 100%);
}

.footer-mark.left a::after {
    display: none;
}

/* Derecha: línea después del texto */
.footer-mark.right a::before {
    display: none;
}

.footer-mark.right a::after {
    background: linear-gradient(90deg,
            rgba(130, 223, 255, 0.7) 0%,
            transparent 100%);
}

/* Hover general */
.footer-mark a:hover,
.footer-mark a:focus-visible {
    color: rgba(232, 244, 255, 0.92);
    text-shadow:
        0 0 18px rgba(130, 223, 255, 0.48),
        0 0 28px rgba(232, 109, 168, 0.18);
    outline: none;
}

/* Movimiento izquierda: hacia el centro */
.footer-mark.left a:hover,
.footer-mark.left a:focus-visible {
    transform: translateX(6px);
}

/* Movimiento derecha: hacia el centro */
.footer-mark.right a:hover,
.footer-mark.right a:focus-visible {
    transform: translateX(-6px);
}

/* Iluminación y crecimiento de la línea izquierda */
.footer-mark.left a:hover::before,
.footer-mark.left a:focus-visible::before {
    width: 34px;
    opacity: 1;
    box-shadow: 0 0 16px rgba(130, 223, 255, 0.55);
}

/* Iluminación y crecimiento de la línea derecha */
.footer-mark.right a:hover::after,
.footer-mark.right a:focus-visible::after {
    width: 34px;
    opacity: 1;
    box-shadow: 0 0 16px rgba(130, 223, 255, 0.55);
}

.noise,
.glow,
.stars,
.petals {
    pointer-events: none;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 36px;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(130, 223, 255, 0.22);
    border-radius: 999px;
    color: rgba(232, 244, 255, 0.62);
    background: rgba(255, 255, 255, 0.035);
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(130, 223, 255, 0.18);
    backdrop-filter: blur(10px);
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.social-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.social-label {
    display: inline-block;
    line-height: 1;
}

.social-links a:hover,
.social-links a:focus-visible {
    color: rgba(232, 244, 255, 0.96);
    border-color: rgba(130, 223, 255, 0.58);
    background: rgba(130, 223, 255, 0.08);
    box-shadow:
        0 0 18px rgba(130, 223, 255, 0.22),
        0 0 28px rgba(232, 109, 168, 0.12);
    transform: translateY(-2px);
    outline: none;
}

.social-icon--facebook {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}

.social-icon--youtube {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}

.social-icon--youtube svg {
    transform: scale(1.08);
}

@keyframes slowZoom {
    from {
        transform: scale(1.035);
    }

    to {
        transform: scale(1.085);
    }
}

@keyframes arrive {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.52;
        transform: scale(0.96);
    }

    50% {
        opacity: 0.95;
        transform: scale(1.04);
    }
}

@keyframes fall {
    0% {
        top: -12%;
        opacity: 0;
        translate: 0 0;
        rotate: 0deg;
    }

    10% {
        opacity: 0.72;
    }

    85% {
        opacity: 0.72;
    }

    100% {
        top: 112%;
        opacity: 0;
        translate: -72px 0;
        rotate: 320deg;
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.16;
        transform: scale(0.82);
    }

    50% {
        opacity: 1;
        transform: scale(1.8);
    }
}

@media (max-width: 768px) {
    body {
        overflow: hidden;
    }

    .page {
        min-height: 100dvh;
        height: 100dvh;
        overflow: hidden;
    }

    .teaser {
        min-height: 100dvh;
        padding: 2rem 1rem 7rem;
        justify-content: center;
        transform: translateY(-1.5rem);
    }

    /*.logo {
        max-width: min(82vw, 340px);
    }*/

    .logo-wrap {
        width: min(88vw, 340px);
        max-width: 100%;
    }

    .logo-wrap::before {
        animation: none;
        opacity: 0.65;
    }

    .logo {
        width: 100%;
        max-width: 100%;
        height: auto;
    }


    .status {
        margin-top: 1.25rem;
    }

    .line {
        margin-top: 1rem;
    }

    .status {
        letter-spacing: 0.36em;
    }

    .footer-mark {
        left: 50%;
        right: auto;
        width: 100%;
        max-width: calc(100vw - 2rem);
        text-align: center;
        font-size: 0.54rem;
        letter-spacing: 0.13em;
        transform: translateX(-50%);
    }

    .footer-mark.left {
        bottom: 4.2rem;
        left: 50%;
        right: auto;
    }

    .footer-mark.center {
        bottom: 2.45rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .footer-mark.right {
        bottom: 0.75rem;
        left: 50%;
        right: auto;
    }

    .footer-mark a {
        justify-content: center;
        max-width: 100%;
        white-space: nowrap;
        gap: 0.35rem;
    }

    .footer-mark a::before,
    .footer-mark a::after {
        width: 12px;
    }

    .footer-mark.left a:hover,
    .footer-mark.left a:focus-visible,
    .footer-mark.right a:hover,
    .footer-mark.right a:focus-visible,
    .footer-mark.center a:hover,
    .footer-mark.center a:focus-visible {
        transform: translateY(-1px);
    }

    .footer-mark.left a:hover::before,
    .footer-mark.left a:focus-visible::before,
    .footer-mark.right a:hover::after,
    .footer-mark.right a:focus-visible::after,
    .footer-mark.center a:hover::before,
    .footer-mark.center a:focus-visible::before,
    .footer-mark.center a:hover::after,
    .footer-mark.center a:focus-visible::after {
        width: 18px;
    }


    .social-links a::before {
        width: 8px;
        margin-right: 0.35rem;
    }

    .social-links a:hover,
    .social-links a:focus-visible {
        transform: translateY(-1px);
    }


        .social-links {
        gap: 0.5rem;
        margin-top: 1.15rem;
    }

    .social-links a {
        min-width: 36px;
        min-height: 36px;
        padding: 0.55rem;
        border-radius: 999px;
        gap: 0;
    }

    .social-label {
        display: none;
    }

    .social-icon {
        width: 15px;
        height: 15px;
        flex: 0 0 15px;
    }
.social-icon--facebook svg {
    transform: scale(1.22);
}
    .social-icon--youtube {
        width: 19px;
        height: 19px;
        flex-basis: 19px;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .page {
        width: 100%;
        height: 100svh;
        min-height: 100svh;
        overflow: hidden;
    }

    .teaser {
        width: 100%;
        height: 100svh;
        min-height: 100svh;
        padding: 2rem 1rem 7rem;
        transform: none;
        justify-content: center;
    }

    .logo-wrap {
        width: clamp(260px, 84vw, 340px);
        max-width: calc(100vw - 2rem);
        position: relative;
        flex: 0 0 auto;
        transform: none;
    }

    .logo {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        transform: none;
        animation: none;
    }

    .page::before {
        animation: none !important;
        transform: scale(1.035);
    }

    .logo-wrap::before {
        animation: none !important;
        transform: none;
        opacity: 0.65;
    }

    /*.star,
    .petal {
        animation-play-state: paused;
    }*/
}