:root {
    --senka-bg: #f1ece5;
    --senka-ink: #313131;
}

*, *::before, *::after { box-sizing: border-box; }

html,
body {
    margin: 0;
    min-width: 320px;
    min-height: 100%;
    overflow: hidden;
    background: var(--senka-bg);
    color: var(--senka-ink);
}

body {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.senka-page {
    container-type: inline-size;
    position: relative;
    width: min(100vw, 177.778svh);
    height: min(100svh, 56.25vw);
    overflow: hidden;
}

.senka-brand,
.senka-soon,
.senka-blessing-mobile {
    display: block;
    height: auto;
}

.senka-header .senka-brand,
.senka-header .senka-edition,
.senka-header .senka-soon,
.senka-footer .senka-brand {
    position: absolute;
}

.senka-logo { left: 6.61%; top: 6.11%; width: 16.93%; }

.senka-edition {
    top: 5.77%;
    right: 6.56%;
    display: flex;
    gap: 0.3em;
    justify-content: flex-end;
    width: max-content;
    margin: 0;
    white-space: nowrap;
    font-size: clamp(7px, 1.251cqw, 24.02px);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: 0.02em;
    text-align: right;
}

.senka-edition__line { display: inline-block; }
.senka-soon--desktop { top: 9.17%; right: 6.58%; width: 18.28%; }
.senka-soon--mobile, .senka-blessing-mobile { display: none; }

.senka-hero {
    position: absolute;
    top: 9.98%;
    left: 25.39%;
    width: 48.34%;
    height: 60.76%;
    display: grid;
    place-items: center;
}

.senka-fan {
    position: relative;
    width: 100%;
    aspect-ratio: 860 / 630;
    mix-blend-mode: darken;
}

.senka-fan img,
.senka-fan video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.senka-fan video {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.senka-video-active .senka-fan video { opacity: 1; }
.senka-video-active .senka-fan__still { visibility: hidden; }

.senka-phuc { left: 6.61%; top: 86.02%; width: 11.77%; }
.senka-imperia { left: 28.7%; top: 86.02%; width: 4.95%; }
.senka-lanh { left: 43.41%; top: 85.94%; width: 11.88%; }
.senka-mik { left: 62.97%; top: 89.85%; width: 9.9%; }
.senka-noro { left: 79.12%; top: 85.68%; width: 14.17%; }

.senka-js .senka-fan {
    opacity: 0;
    transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.senka-video-active .senka-fan,
.senka-video-fallback .senka-fan { opacity: 1; }

.senka-enhanced .senka-phuc,
.senka-enhanced .senka-lanh,
.senka-enhanced .senka-noro { opacity: 0; }

.senka-show-phuc .senka-phuc,
.senka-show-lanh .senka-lanh,
.senka-show-noro .senka-noro { animation: senka-word 1.25s cubic-bezier(0.22, 1, 0.36, 1) both; }

.senka-enhanced .senka-logo,
.senka-enhanced .senka-edition,
.senka-enhanced .senka-imperia,
.senka-enhanced .senka-mik { animation: senka-fade 1.1s both; }

.senka-enhanced .senka-edition { animation-delay: 0.15s; }
.senka-enhanced .senka-soon { opacity: 0; }

.senka-show-soon .senka-soon {
    animation: senka-fade-up 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes senka-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes senka-fade-up {
    from { opacity: 0; translate: 0 8px; }
    to { opacity: 1; translate: 0 0; }
}

@keyframes senka-word {
    from { opacity: 0; clip-path: inset(100% 0 0); translate: 0 10px; }
    to { opacity: 1; clip-path: inset(0); translate: 0 0; }
}

.senka-cursor-halo {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 1px solid rgba(175, 150, 70, 0.6);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms, width 200ms, height 200ms;
    will-change: transform;
}

.senka-cursor-halo.is-visible { opacity: 1; }

@media (max-width: 900px) and (orientation: portrait) {
    body { display: block; }

    .senka-page {
        width: 100vw;
        height: 100vh;
        height: 100svh;
        min-height: 520px;
    }

    .senka-logo {
        top: 5.05%;
        left: 50%;
        width: 37.5%;
        transform: translateX(-50%);
    }

    .senka-edition {
        top: 20.15%;
        right: auto;
        left: 50%;
        display: block;
        width: auto;
        transform: translateX(-50%);
        font-size: clamp(9px, 2.875cqw, 31.05px);
        line-height: 1.15;
        letter-spacing: 0.05em;
        text-align: center;
    }

    .senka-edition__line { display: block; }
    .senka-soon--desktop { display: none; }

    .senka-soon--mobile {
        position: absolute;
        top: 70.05%;
        left: 28.98%;
        display: block;
        width: 42.04%;
    }

    .senka-hero {
        top: 27%;
        left: 50%;
        width: 100%;
        height: 36%;
        overflow: visible;
        transform: translateX(-50%);
    }

    .senka-fan {
        width: min(94vw, 520px);
        max-width: 100%;
        max-height: 100%;
        margin-inline: auto;
    }

    .senka-fan img,
    .senka-fan video {
        max-height: 100%;
        object-position: center;
    }

    .senka-footer {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .senka-imperia { top: 83.4%; left: 6.6%; width: 8.8%; }
    .senka-mik { top: 84%; right: 6.6%; left: auto; width: 17.6%; }
    .senka-phuc, .senka-lanh, .senka-noro { display: none; }

    .senka-blessing-mobile {
        position: absolute;
        bottom: 2.6%;
        left: 5.14%;
        display: block;
        width: 89.72%;
    }

    .senka-blessing-mobile--phuc { clip-path: inset(0 70% 0 0); }
    .senka-blessing-mobile--lanh { clip-path: inset(0 27% 0 29%); }
    .senka-blessing-mobile--noro { clip-path: inset(0 0 0 72%); }

    .senka-enhanced .senka-blessing-mobile { opacity: 0; }

    .senka-show-phuc .senka-blessing-mobile--phuc,
    .senka-show-lanh .senka-blessing-mobile--lanh,
    .senka-show-noro .senka-blessing-mobile--noro {
        animation: senka-word 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .senka-cursor-halo { display: none; }
}

@media (max-height: 360px) and (orientation: landscape) {
    .senka-edition { font-size: max(6px, 1.15cqw); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }

    .senka-enhanced .senka-fan,
    .senka-enhanced .senka-phuc,
    .senka-enhanced .senka-lanh,
    .senka-enhanced .senka-noro,
    .senka-enhanced .senka-soon,
    .senka-enhanced .senka-blessing-mobile { opacity: 1; }

    .senka-cursor-halo { display: none; }

    .senka-zalo .senka-fan__still { visibility: visible; }
}
.senka-zalo-direct .senka-fan { opacity: 1; mix-blend-mode: normal; transition: none; }
.senka-zalo-direct .senka-fan__video { display: none; }
.senka-has-cutout .senka-fan__still { opacity: 0; }
.senka-cutout { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.senka-art-ready .senka-fan { transform-origin: 50% 100%; animation: senka-sway 5s ease-in-out 7s infinite; }
@keyframes senka-sway { 50% { rotate: .35deg; } }
.senka-art-ready :is(.senka-phuc,.senka-lanh,.senka-noro,.senka-blessing-mobile) {
    animation: senka-fade-up 1.2s ease-out both;
}
.senka-art-ready .senka-soon { animation: senka-fade-up 850ms 2.1s both; }
@media (prefers-reduced-motion: reduce) {
    .senka-art-ready .senka-fan { animation: none; }
}