@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Force Modal Dark Background Globally */
.modal-dark,
[role="dialog"] div {
    background-color: #050505 !important;
    color: white !important;
}


/* Logo Styling - High Scale & Effects */
.vex-logo {
    height: 200px;
    /* SUPER High scale as requested */
    width: auto;
    min-width: 180px;

    /* Sharpness / Quality improvements */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    object-fit: contain;

    /* Absolute positioning to 'overflow' the thin header */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;

    /* Ensure no background interference */
    background: transparent;
    mix-blend-mode: screen;

    /* Continuous subtle shine animation */
    animation: subtleShine 6s linear infinite;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progress-grow {
    from {
        width: 0;
        height: 0;
    }

    to {
        width: 100%;
        height: 100%;
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

@keyframes float-y {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate-y {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.animate-float-y {
    animation: float-y 4s ease-in-out infinite;
}

.animate-rotate-y {
    animation: rotate-y 4s linear infinite;
    transform-style: preserve-3d;
}

@keyframes jump-spin {
    0% {
        transform: translateY(0) rotateY(0deg);
    }

    40% {
        transform: translateY(-30px) rotateY(0deg);
    }

    100% {
        transform: translateY(0) rotateY(360deg);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.animate-progress-grow {
    animation: progress-grow 1.5s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite ease-in-out;
}

.animate-jump-spin {
    animation: jump-spin 1.5s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes subtleShine {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }

    50% {
        filter: brightness(1.3) drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    }
}


/* --- Safe Modal Animations (Audio 11) --- */

@keyframes border-run {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.animate-border-run {
    background: linear-gradient(90deg, transparent, #FFD400, transparent);
    background-size: 200% 100%;
    animation: border-run 2s linear infinite;
}

@keyframes solar-flare {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes space-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.animate-solar-flare {
    background: linear-gradient(90deg, transparent, #FFD400, #FFFFFF, #FFD400, transparent);
    background-size: 200% 100%;
    animation: solar-flare 3s linear infinite;
}

.animate-space-pulse {
    animation: space-pulse 4s ease-in-out infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(110vh);
        opacity: 0;
    }
}

.animate-fall {
    animation: fall linear infinite;
}

@keyframes red-flash {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
        border-color: rgba(255, 255, 255, 0.05);
    }

    10% {
        box-shadow: 0 0 50px 10px rgba(220, 38, 38, 0.5);
        border-color: rgba(220, 38, 38, 1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
        border-color: rgba(255, 255, 255, 0.05);
    }
}

.animate-red-flash {
    animation: red-flash 0.5s ease-out forwards;
}

/* --- Meteor Animation --- */
@keyframes meteor {
    0% {
        transform: rotate(215deg) translateX(0);
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: rotate(215deg) translateX(-500px);
        opacity: 0;
    }
}

.animate-meteor {
    animation: meteor 5s linear infinite;
}

/* --- Structure Section Animations --- */

@keyframes float-3d {

    0%,
    100% {
        transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(0);
        text-shadow:
            0px 4px 0px #854d0e,
            0px 0px 20px rgba(250, 204, 21, 0.4);
    }

    50% {
        transform: perspective(1000px) rotateX(-5deg) rotateY(5deg) translateY(-10px);
        text-shadow:
            0px 8px 0px #854d0e,
            0px 0px 30px rgba(250, 204, 21, 0.6);
    }
}

.animate-float-3d {
    animation: float-3d 6s ease-in-out infinite;
    transform-style: preserve-3d;
    will-change: transform, text-shadow;
}

@keyframes electric-trace {
    0% {
        mask-position: 0 0;
    }

    100% {
        mask-position: 100% 0;
    }
}

.electric-border {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 24px;
    padding: 2px;
    background: conic-gradient(from 90deg at 50% 50%, #0000 0%, #0000 50%, #facc15 100%);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.electric-card {
    position: relative;
    background: white;
    z-index: 1;
}

.electric-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: conic-gradient(from var(--angle), transparent 70%, #facc15);
    animation: spin 4s linear infinite;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
}

.electric-card::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: conic-gradient(from var(--angle), transparent 70%, #facc15);
    animation: spin 4s linear infinite;
    z-index: -1;
}

@keyframes shine-sweep {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.animate-shine-sweep {
    animation: shine-sweep 4s linear infinite;
    background-size: 200% auto;
}

@keyframes nebula-breathe {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1) translate(2%, 2%);
        opacity: 0.5;
    }
}

.animate-nebula-breathe {
    animation: nebula-breathe 15s ease-in-out infinite;
}

@keyframes comet-pass {
    0% {
        transform: translateX(-100vw) translateY(-100vh) rotate(45deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    20% {
        opacity: 0;
    }

    100% {
        transform: translateX(100vw) translateY(100vh) rotate(45deg);
        opacity: 0;
    }
}

.animate-comet-pass {
    animation: comet-pass 20s linear infinite;
    animation-delay: 5s;
    /* Rare occurrence */
}

@keyframes separator-expand {
    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 100%;
        opacity: 0.5;
    }
}

.animate-separator-expand {

    animation: separator-expand 1s ease-out forwards;
    animation-delay: 0.5s;
}

/* Strategic Filter Animation */
@keyframes grid-flow {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 40px;
        /* Matches the background-size height to loop seamlessly */
    }
}

.animate-grid-flow {
    animation: grid-flow 3s linear infinite;
}

@keyframes grid-flow-horizontal {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 0;
    }
}

.animate-grid-flow-horizontal {
    animation: grid-flow-horizontal 3s linear infinite;
}

@keyframes underlineGrow {
    0% {
        width: 0%;
        opacity: 0;
    }

    100% {
        width: 100%;
        opacity: 1;
    }
}

.animate-underline-grow {
    animation: underlineGrow 0.6s ease-out forwards;
}

/* Custom keyframes for shimmer/lightning effect */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

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

/* Ensure shimmer class works even if not in tailwind config */
.animate-shimmer {
    animation: shimmer 3s infinite linear;
}

/* Custom Dropdown Styling for sophistication */
select option {
    background-color: white;
    color: black;
    padding: 10px;
}

select option:checked,
select option:hover {
    background-color: #FACD15 !important;
    color: black !important;
    box-shadow: 0 0 10px 100px #FACD15 inset;
}

.animate-spin-slow {
    animation: spin 8s linear infinite;
}

/* Smoke / Fog Animation */
@keyframes smoke-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-smoke {
    background-size: 200% 200%;
    animation: smoke-flow 6s ease infinite;
}

/* --- VEX MODAL V12 (USER PROVIDED CSS) --- */
:root {
    --vex-bg: #0B0B0D;
    --vex-panel: #0F1012;
    --vex-panel2: #0B0B0D;
    --vex-stroke: rgba(255, 255, 255, .06);
    --vex-stroke2: rgba(255, 255, 255, .09);
    --vex-text: #FFFFFF;
    --vex-muted: rgba(255, 255, 255, .55);
    --vex-muted2: rgba(255, 255, 255, .35);
    --vex-yellow: #FFD400;
    --vex-yellow2: #E6B800;
    --vex-watermark-url: url("/vex-logo-white.png");
}

/* Modal */
.vex-modal {
    position: relative;
    width: min(760px, 92vw);
    border-radius: 28px;
    background: radial-gradient(1200px 700px at 50% 20%, rgba(255, 212, 0, .06), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02)),
        linear-gradient(180deg, var(--vex-panel), var(--vex-panel2));
    border: 1px solid var(--vex-stroke);
    box-shadow: 0 40px 120px rgba(0, 0, 0, .75);
    padding: 44px 46px 34px;
    overflow: hidden;
    color: white;
}

/* Overlay */
.vex-overlay {
    position: fixed;
    inset: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    padding: 24px;
    transition: all 0.5s ease;
    opacity: 0;
    visibility: hidden;
}

.vex-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Watermark ZAUDI */
.vex-watermark {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    opacity: .06;
    transform: translateY(10px);
    background: radial-gradient(900px 500px at 50% 55%, rgba(255, 255, 255, .35), transparent 55%);
    mix-blend-mode: normal;
}

.vex-watermark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(520px, 80%);
    height: min(260px, 40%);
    background-image: var(--vex-watermark-url);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .45;
}

/* Close */
.vex-close {
    position: absolute;
    right: 22px;
    top: 18px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .06);
    background: rgba(0, 0, 0, .25);
    color: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vex-close:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .35);
}

/* Icon */
.vex-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 212, 0, .12), rgba(255, 212, 0, .05));
    border: 1px solid rgba(255, 212, 0, .18);
    box-shadow: 0 10px 30px rgba(255, 212, 0, .08);
}

.vex-bolt {
    color: rgba(255, 212, 0, .95);
    font-size: 22px;
    filter: drop-shadow(0 6px 14px rgba(255, 212, 0, .18));
}

/* Title */
.vex-title {
    margin: 0 0 28px;
    text-align: center;
    color: var(--vex-text);
    font: 700 44px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
    letter-spacing: -.02em;
}

/* Form grid */
.vex-form {
    position: relative;
    z-index: 1;
}

.vex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 18px;
    margin-top: 6px;
}

.vex-label {
    display: block;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .28);
    font: 600 11px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.vex-input {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--vex-stroke2);
    background: rgba(255, 255, 255, .03);
    color: #fff;
    padding: 0 14px;
    outline: none;
    transition: .2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.vex-input::placeholder {
    color: rgba(255, 255, 255, .26);
}

.vex-input:focus {
    border-color: rgba(255, 212, 0, .35);
    box-shadow:
        0 0 0 4px rgba(255, 212, 0, .06),
        inset 0 1px 0 rgba(255, 255, 255, .04);
}

.vex-selectWrap {
    position: relative;
}

.vex-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--vex-stroke2);
    background: rgba(255, 255, 255, .03);
    color: rgba(255, 255, 255, .92);
    padding: 0 42px 0 14px;
    outline: none;
    transition: .2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.vex-select:focus {
    border-color: rgba(255, 212, 0, .35);
    box-shadow: 0 0 0 4px rgba(255, 212, 0, .06);
}

.vex-selectChevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .55);
    pointer-events: none;
    font-size: 14px;
}

/* CTA */
.vex-cta {
    width: 100%;
    height: 54px;
    margin: 22px 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .35);
    font: 700 16px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    transition: .2s ease;
}

.vex-ctaIcon {
    opacity: .6;
}

/* Active State */
.vex-cta.is-active {
    cursor: pointer;
    color: rgba(10, 10, 10, .85);
    background: linear-gradient(180deg, rgba(255, 212, 0, .95), rgba(230, 184, 0, .92));
    border-color: rgba(255, 212, 0, .25);
    box-shadow: 0 18px 40px rgba(255, 212, 0, .12);
}

.vex-cta.is-active:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 50px rgba(255, 212, 0, .16);
}

/* Foot */
.vex-foot {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, .22);
    font: 600 11px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding-top: 6px;
}

.vex-footDot {
    color: rgba(255, 212, 0, .55);
    margin-right: 8px;
    font-size: 10px;
}

/* Responsive */
@media (max-width: 720px) {
    .vex-modal {
        padding: 36px 22px 26px;
        border-radius: 22px;
    }

    .vex-title {
        font-size: 34px;
    }

    .vex-grid {
        grid-template-columns: 1fr;
    }
}

/* --- VEX MODAL V13 (GREEN REFERENCE -> YELLOW VERSION) --- */

/* Animations */
@keyframes vex-fade-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes vex-pulse-yellow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 212, 0, 0);
        border-color: rgba(255, 212, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 0 rgba(255, 212, 0, 0.2);
        border-color: rgba(255, 212, 0, 0.8);
    }
}

@keyframes vex-fog-flow {
    0% {
        transform: translateX(-10%) translateY(-10%);
    }

    50% {
        transform: translateX(10%) translateY(10%);
    }

    100% {
        transform: translateX(-10%) translateY(-10%);
    }
}

.vex-v13-overlay {
    animation: vex-fade-in 0.3s ease-out forwards;
}

/* Modal Container */
.vex-v13-card {
    background-color: #18181C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

/* Yellow Haze Top */
.vex-v13-haze {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 300px;
    background: radial-gradient(circle, rgba(230, 184, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
    animation: vex-fog-flow 20s infinite ease-in-out alternate;
}

/* Inputs */
.vex-v13-input {
    background-color: #222226;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s ease;
}

.vex-v13-input:focus {
    border-color: #FFD400;
    box-shadow: 0 0 0 1px rgba(255, 212, 0, 0.1);
    outline: none;
    background-color: #26262b;
}

/* Button */
.vex-v13-btn {
    background-color: #E6B800;
    /* Sophisticated Base */
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    color: #1A1A1F;
    border: 1px solid rgba(255, 212, 0, 0.3);
    font-weight: 700;
    transition: all 0.2s ease;
}

.vex-v13-btn:hover {
    background-color: #FFD400;
    /* Highlight */
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -5px rgba(255, 212, 0, 0.3);
}

/* External Logo Position */
.vex-v13-logo-external {
    position: absolute;
    top: -60px;
    /* Moves it outside */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 140px;
    opacity: 1;
}

/* Internal Watermark */
.vex-v13-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    opacity: 0.05;
    /* User requested 0.04-0.07 */
    pointer-events: none;
    z-index: 0;
    filter: grayscale(100%);
}

/* Text Highlights */
.vex-highlight {
    color: #FFD400;
}

/* --- VEX PREMIUM PAGE STYLES (FROM ZIP) --- */

/* Meteor Animation */
@keyframes meteor {
    0% {
        transform: rotate(195deg) translateX(0);
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: rotate(195deg) translateX(-500px);
        opacity: 0;
    }
}

.meteor-shower {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.meteor {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, #F6D44B, transparent);
    opacity: 0;
    transform: rotate(195deg);
    animation: meteor 3s linear infinite;
    box-shadow: 0 0 0 1px rgba(246, 212, 75, 0.1);
}

.meteor::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, #F6D44B, transparent);
}

/* Lightning Border Animation */
@keyframes border-spin {
    from {
        transform: rotate(0deg);
    }

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

.lightning-bg-layer {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    overflow: hidden;
    z-index: 0;
}

.lightning-bg-layer::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, #F6D44B, transparent);
    animation: border-spin 4s linear infinite;
}

.lightning-content-mask {
    position: absolute;
    inset: 2px;
    background-color: #0A0A0A;
    border-radius: 2px;
    z-index: 1;
}

/* Global Modern Yellow Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0B0B0D;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFD400, #E6B800);
    border-radius: 20px;
    border: 2px solid #0B0B0D;
    /* Adds slight padding/gap illusion */
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFE040, #FFD400);
}

/* Fallback for generic .custom-scrollbar classes */
.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFD400, #E6B800);
    border-radius: 20px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFE040, #FFD400);
}

/* --- Coin Flip Animation (VEX Premium) --- */
@keyframes coin-flip {
    0% {
        transform: translateY(0) rotateY(0deg) rotateX(10deg);
    }

    50% {
        transform: translateY(-20px) rotateY(180deg) rotateX(10deg);
    }

    100% {
        transform: translateY(0) rotateY(360deg) rotateX(10deg);
    }
}

.animate-coin-flip {
    animation: coin-flip 3.5s ease-in-out infinite;
    transform-style: preserve-3d;
}

/* --- HUD & Technical Animations --- */
@keyframes scanline {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    5% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.2;
    }

    95% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.animate-scanline {
    animation: scanline 8s linear infinite;
}

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

    50% {
        transform: translateX(0);
    }

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

.animate-loading-bar {
    animation: loading-bar 2s ease-in-out infinite;
}