/* Jalinsava-inspired guest auth assets (localized) */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/playfair-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/playfair-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'TheSilver';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/TheSilverEditorial-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'RetroSignature';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/RetroSignature.otf') format('opentype');
}

@keyframes auth-sway {
    0%, 100% { transform: rotate(-6deg); }
    50% { transform: rotate(6deg); }
}

@keyframes auth-sway-delayed {
    0%, 100% { transform: rotate(5deg); }
    50% { transform: rotate(-7deg); }
}

@keyframes auth-butterfly-wing {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0.65); }
}

@keyframes auth-butterfly-1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(18px, -28px) rotate(12deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes auth-butterfly-2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-14px, -22px) rotate(-10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes auth-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@keyframes auth-scale-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: none; }
}

.animate-sway {
    animation: auth-sway 4.5s ease-in-out infinite;
    transform-origin: bottom center;
}

.animate-sway-delayed {
    animation: auth-sway-delayed 5.2s ease-in-out infinite;
    transform-origin: bottom center;
}

.animate-butterfly-wing {
    animation: auth-butterfly-wing 0.28s ease-in-out infinite alternate;
    transform-origin: center;
}

.animate-butterfly-1 {
    animation: auth-butterfly-1 5s ease-in-out infinite;
}

.animate-butterfly-2 {
    animation: auth-butterfly-2 6.2s ease-in-out infinite;
}

.animate-fade-in {
    animation: auth-fade-in 0.45s ease forwards;
}

.animate-scale-in {
    animation: auth-scale-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
    .animate-sway,
    .animate-sway-delayed,
    .animate-butterfly-wing,
    .animate-butterfly-1,
    .animate-butterfly-2 {
        animation: none;
    }
}
