.bf-font-preload-probe {
    position: absolute;
    inline-size: 0;
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    font-family: "Cinzel Decorative", sans-serif;
    font-size: 20px;
    font-weight: 700;
}
:root {
    --bf-footer-h: clamp(40px, 5dvh, 42px);
    --grid-base-height: 420px;
}
#featurebuy-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: transparent !important;
}
#featurebuy-overlay::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(1, 2, 16, 0.45);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 0;
}
@media (hover: hover) and (pointer: fine) {
    .card:hover {
        transform: scale(1.02) translateZ(0);
        z-index: 3;
    }
}
.card:focus-visible {
    outline: 2px solid rgba(255,255,255,.9);
    outline-offset: 2px;
    transform: scale(1.02);
    z-index: 3;
}
@media (prefers-reduced-motion: reduce) {
    .card {
        transition: none;
    }
}
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--main-font);
    position: relative;
    border-radius: 16px;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
    transition: transform 150ms ease, box-shadow 150ms ease, z-index 0s;
    will-change: transform;
    transform-origin: center;
    box-shadow: 0 1.6px 1.6px rgba(0, 0, 0, 0.8);
}
.card--regular {
    background:
            radial-gradient(70% 50% at 50% 38%, rgb(1 19 10), transparent 60%),
            radial-gradient(70% 60% at 50% 65%, rgb(1 22 6 / 69%), transparent 62%),
            linear-gradient(180deg, #0f521d 0%, #062008 55%, #092d04 100%);
    border-radius: 16px;
    z-index: 1;
}
.card--regular::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.2px;
    background: linear-gradient(90deg, #00ff14 0%, #5ad1b3 25%, #087904 50%, #022d27 75%, #35e02b 100%);
    background-size: 200% 100%;
    animation: borderGradientMove 4.5s ease-in-out infinite alternate;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
@keyframes borderGradientMove{
    from { background-position:   0 50%; }
    to   { background-position: 300% 50%; }
}
.card::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -7px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(147, 154, 187, 0.00) 0%, #fff 47.5%, rgba(147, 154, 187, 0.00) 97.81%);
    box-shadow: 0 6px 12px rgba(0,0,0,0.35);
    z-index: -1;
}
.card-title {
    position: relative;
    font-family: "Cinzel Decorative", sans-serif;
    font-size: var(--card-title);
    margin: 0 0 4px 0;
    line-height: 1.5;
    font-weight: 700;
    font-synthesis: none;
    text-align: center;
    color: #ffd85a;
    background-image: linear-gradient(
            180deg,
            #fff9cf 0%,
            #fff19a 14%,
            #ffe14f 30%,
            #ffc92a 50%,
            #f7a90f 68%,
            #d86a02 84%,
            #a84400 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter:
            drop-shadow(0 1px 0 rgba(155, 72, 0, 0.92))
            drop-shadow(2px 2px 2px rgba(20, 6, 0, 0.68));
}
.card-description {
    font-size: var(--card-description);
    color: white;
    margin: 0;
    font-weight: 500;
    text-align: left;
}
.card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}
.card-price {
    font-weight: 700;
    color: #ffffff;
}
.card-check {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: opacity 0.3s ease, transform 0.2s ease;
}
.card-check.disabled {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(100%);
    cursor: not-allowed;
    transform: none !important;
    transition: all 0.2s ease;
}
.card-check:hover:not(.disabled) {
    transform: scale(1.05);
    filter: brightness(1.1);
    cursor: pointer;
}
.scroll-arrow,
.pagination-bf {
    display: none;
}
/* region Footer for Android */
@media (orientation: landscape) {
    .card-content { min-height: 0; }
    .card-main {
        display: grid;
        grid-template-rows: 1fr auto;
        min-height: 0;
    }
    .card-text {
        min-height: 0;
        overscroll-behavior: contain;
    }
    .card-footer {
        width: auto;
        min-height: var(--bf-footer-h);
        gap: 8px;
    }
    .card-price {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .card-check {
        flex: 0 0 auto;
    }
}
/* endregion */
/* region LANDSCAPE */
@media (orientation: landscape) {
    html, body {
        overflow-y: hidden;
        height: 100dvh;
        max-height: 100dvh;
    }
    #featurebuy-overlay {
        background: rgba(1, 2, 16, 0.45);
        align-items: start;
        justify-items: center;
        padding: clamp(1.5%, 2dvh, 3%);
        box-sizing: border-box;
        overflow: hidden;
        opacity: 1;
        transition: opacity 0.3s ease;
        z-index: 1000;
        row-gap: clamp(0.8dvh, 1.5dvh, 2dvh);
        display: grid;
        grid-template-rows: auto 1fr auto;
        grid-template-columns: 1fr;
        grid-template-areas:
          "title"
          "scroll"
          "bet";
    }
    .scroll {
        overflow-x: visible;
    }
    .scroll-track {
        display: none !important;
    }
    .scroll-thumb {
        display: none !important;
    }
    .title-container {
        grid-area: title;
        align-self: start;
        justify-self: center;
        flex: 1;
        text-align: center;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .scroll-container {
        grid-area: scroll;
        align-self: start;

        width: 100%;
        max-height: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        transform-origin: top center;
        max-width: clamp(900px, 95vw, 1200px);
        margin: 0 auto;
    }
    .bet-control-wrapper-bf {
        grid-area: bet;
        align-self: end;
        justify-self: center;

        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
    }
    .balance-bf {
        position: unset !important;
        margin-top: 0;
        margin-bottom: 2dvh;
        font-size: clamp(0.7rem, calc(1.5vw + 0.8dvh), 1.1rem) !important;
    }
    .bet-control-wrapper-bf {
        position: unset !important;
    }
    #block-wrapper {
        display: flex;
        align-items: stretch;

        max-height: 100%;
        flex-direction: row;
        gap: clamp(1.2vw, 2vw, 30px);
        justify-content: center;
        overflow-x: auto;
        box-sizing: border-box;
        margin: 0 auto;
        padding-top: 10px;
        scrollbar-width: none;
        scroll-padding-inline: clamp(24px, 5vw, 40px);

        overflow-y: hidden;
    }
    .card-wrapper {
        flex: 0 0 clamp(17rem, 30vw, 22rem);
        margin-bottom: clamp(0.3dvh, 0.8dvh, 1dvh);
        scroll-snap-align: center;
    }
    .card {
        align-items: center;
        box-sizing: border-box;
    }
    .card-title {
        font-size: clamp(0.9rem, 1.4vw, 1.3rem);
        text-align: center;
        line-height: 1.1;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    .card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5dvh;
        text-align: justify;
        justify-content: space-between;
        flex-grow: 1;
        height: auto;
    }
    .card-main {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.8dvh;
        width: 100%;
        height: auto;
    }
    .card-description {
        font-size: clamp(12px, 1.8vw, 16px);
        text-align: left;
        padding: 0 10px;
        margin-top: 1%;
        line-height: 1.3;
        flex-grow: 1;
        justify-content: center;
        align-items: flex-start;
        display: block;
    }
    .card-footer {
        align-items: center;
        padding-top: 0.5dvh;
        padding-left: 10px;
        padding-right: 10px;
        flex-wrap: nowrap;
        margin-top: auto;
    }
    .card-price {
        font-size: clamp(14px, 2.5vw, 22px);
    }
    .card-check img {
        image-rendering: smooth;
        width: auto;
        height: clamp(2rem, 5vw, 4rem);
    }
    .scroll::-webkit-scrollbar {
        display: none;
    }
    .scroll {
        width: 100%;
        height: auto;
        scrollbar-width: none;
    }
    #featurebuy-overlay .scroll-container {
        transform-origin: top center;
        will-change: transform;
    }
    .bf-magic {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: clamp(120px, 15vw, 190px);
        aspect-ratio: 1624 / 974;
        overflow: visible;
        pointer-events: none;
        z-index: 1;
    }
}
@media (orientation: landscape) and (max-height: 620px) {
    .scroll-container {
        grid-area: scroll;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        max-height: calc(100dvh - var(--bet-wrapper-height));
        overflow: hidden;
        transform-origin: top center;
    }
    .card-wrapper {
        flex: unset !important;
        width: 100%;
        max-width: 100%;
    }
    .card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border-radius: 16px;
        padding: clamp(6px, 1vw, 12px);
        height: auto;
        max-height: none;
    }
    .card-description {
        font-size: clamp(0.5rem, calc(1rem + 1vw), 0.9rem);
    }
    .card-content {
        display: grid;
        grid-template-columns: clamp(130px, 20vw, 140px) 1fr;
        grid-template-rows: auto 1fr auto;
        column-gap: 0.1rem;
        row-gap: 0;
        align-items: start;
        min-height: 0;
    }
    .card-title {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
        min-height: clamp(1em, 1.5em, 2em);
    }
    .card-text,
    .card-description {
        color: #FFFFFF;
        grid-column: 2;
        grid-row: 2;
        min-width: 0;
        min-height: 0;
        overflow: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
    .card-main {
        grid-template-rows: initial;
        min-height: 0;
        display: contents;
    }
    .card-footer {
        display: contents;
    }
    .card-price {
        grid-column: 1;
        grid-row: 3;
        justify-self: start;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1;
        min-block-size: var(--bf-footer-h);
        align-items: center;
        display: flex;
        transform: translateY(1px);
    }
    .card-check {
        grid-column: 2;
        grid-row: 3;
        justify-self: end;
        align-self: center;
        min-block-size: var(--bf-footer-h);
    }
    .card-wrapper {
        width: 100%;
        max-width: clamp(280px, 85vw, 360px);
    }
    .card {
        height: auto;
        padding: 10px 20px;
        position: relative;
        z-index: 0;
    }
}
@media (orientation: landscape) and (max-height: 400px) {
    .card-description {
        font-size: clamp(0.6rem, calc(1rem + 1vw), 0.8rem);
    }
    .scroll-container {
        width: 100% !important;
        max-width: 100% !important;
    }
    #block-wrapper {
        display: grid !important;
        grid-template-columns: 1fr;
        place-items: center;
        gap: clamp(1vw, 2vw, 3vw);
        width: 100%;
    }
    .card-wrapper {
        width: min(360px, 90%);
        flex: unset !important;
        max-width: 100% !important;
    }
    .card {
        height: auto;
    }
    .card-content {
        display: grid;
        grid-template-columns: clamp(100px, 16dvw, 110px) 1fr;
        grid-template-rows: auto 1fr auto;
        column-gap: 16px;
        row-gap: 0;
        align-items: start;
        min-height: 0;
    }
    #featurebuy-overlay .scroll-container {
        transform: scale(0.80);
        transform-origin: top center;
    }
}
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1400px) {
    #featurebuy-overlay .bet-control-wrapper-bf {
        transform: scale(0.7) !important;
        transform-origin: bottom center;
    }
}
@media (orientation: landscape) and (max-height: 300px) {
    .card-title {
        min-height: clamp(1.6em, 1.8em, 2em);
    }
    .card-text {
        margin-top: 0;
    }
    #featurebuy-overlay .scroll-container {
        transform: scale(0.70) !important;
        transform-origin: top center;
    }
    .bet-control-wrapper-bf {
        transform: scale(0.65) !important;
        transform-origin: bottom center;
    }
}
@media (orientation: landscape) and (max-height: 200px) {
    #featurebuy-overlay .scroll-container {
        transform: scale(0.5) !important;
        transform-origin: top center;
    }
}
/* iPad mini / tablets in landscape */
@media (orientation: landscape) and (max-width: 1100px) {
    .card-content,
    .card-main,
    .card-text,
    .card-description,
    .card-footer {
        min-width: 0;
    }
    .card-content > * { min-width: 0; }
    .card-title{
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.1;
        padding-inline: 10px;
        letter-spacing: 0.5px;
        text-wrap: balance;
    }
    .card-text, .card-description{
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .bf-magic {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        aspect-ratio: 1624 / 974;
        overflow: visible;
        pointer-events: none;
        z-index: 1;
    }
}
/* endregion */
/* region PORTRAIT */
@media (orientation: portrait) {
    #featurebuy-overlay {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "scroll"
            "bet";

        align-items: start;
        justify-items: center;

        width: 100dvw;
        height: 100dvh;
        padding: clamp(18px, 4dvh, 34px) clamp(14px, 4vw, 28px);
        box-sizing: border-box;
        overflow: hidden;
        z-index: 1000;
    }
    #featurebuy-overlay .title-container {
        grid-area: title;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0 0 clamp(14px, 2dvh, 24px);
        position: relative;
        z-index: 2;
    }
    #featurebuy-overlay .scroll-container {
        grid-area: scroll;
        height: 100%;
        min-height: 0;
    }
    #featurebuy-overlay .bet-control-wrapper-bf {
        grid-area: bet;
        position: relative !important;
        bottom: auto;
        align-self: end;
        justify-self: center;
        z-index: 2;
    }
    #block-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
        box-sizing: border-box;
        justify-content: flex-start;
        padding-top: 15px;
        padding-bottom: 30px;
        max-width: 100%;
    }
    .card-wrapper {
        width: 100%;
        max-width: clamp(280px, 85vw, 360px);
    }
    .card {
        height: auto;
        padding: 15px 25px;
        position: relative;
        z-index: 0;
    }
    .card--regular {
        background: radial-gradient(70% 50% at 50% 38%, rgb(1 19 10), transparent 60%),
        radial-gradient(70% 60% at 50% 65%, rgb(1 22 6 / 69%), transparent 62%),
        linear-gradient(180deg, #0f521d 0%, #062008 55%, #092d04 100%);
        height: auto;
    }
    .card-content {
        display: grid;
        height: 100%;
        grid-template-columns: auto 1fr;
        gap: 10px;
        align-items: center;
        flex: 1;
    }
    .card-title {
        position: relative;
    }
    .bf-magic {
        /*width: clamp(160px, 42vw, 240px);*/
        width: clamp(170px, 15vw, 390px);
        margin-left: -20px;
        margin-top: -20px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        aspect-ratio: 1624 / 974;
        overflow: visible;
        pointer-events: none;
        z-index: 1;
    }
    .card-main {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        gap: 1px;
        position: relative;
        z-index: 1;
    }
    .card-description {
        text-align: start;
        font-size: clamp(0.8rem, 1vw, 0.9rem);
        height: auto;
        position: relative;
        z-index: 2;
        font-weight: 500;
    }
    .card-text {
        margin-bottom: 5%;
        padding-right: 1%;
    }
    .card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        flex-wrap: nowrap;
        min-width: 0;
        position: relative;
        z-index: 2;
    }
    .card-price {
        display: block;
        font-size: clamp(1rem, 5vw, 1.6rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 1;
        min-width: 0;
    }
    .scroll-container {
        position: relative;
        width: 100%;
        /*height: calc(100dvh - 30dvh);*/
        height: 100%;
        min-height: 0;
        overflow: hidden;
        box-sizing: border-box;
        justify-content: center;
        padding-left: 8px;
        padding-right: 0;
    }
    .scroll {
        height: 100%;
        overflow-y: auto;
        box-sizing: content-box;
        padding-right: 10px;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.2) transparent;

        -webkit-mask-image: -webkit-linear-gradient(top, rgba(0,0,0,1) 88%, rgba(0,0,0,0));
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 88%, rgba(0,0,0,0));
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }
    .scroll::-webkit-scrollbar {
        width: 8px;
        right: 0;
    }
    .scroll::-webkit-scrollbar-track {
        background: transparent;
    }
    .scroll::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        transition: background 0.3s ease;
    }
    .scroll::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    .bet-control-wrapper-bf {
        bottom: 0.3dvh;
    }
    .balance-bf {
        position: unset !important;
        margin-top: 0;
        margin-bottom: 2dvh;
    }
    .card-content{
        display: grid;
        grid-template-columns: clamp(130px, 18vw, 140px) 1fr;
        grid-template-rows: auto minmax(0, 1fr) auto;
        column-gap: 16px;
        row-gap: 0;
        align-items: start;
        min-height: 0;
    }
    .card-title {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
        margin-bottom: 20px;
    }
    .card-text, .card-description {
        color: white;
        grid-column: 2;
        grid-row: 2;
        min-width: 0;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;

        overscroll-behavior: contain;
        box-sizing: border-box;
        line-height: 1.5;

        block-size: calc(6lh + 2px);
        max-block-size: calc(6lh + 2px);

        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        margin-top: -6px;
    }
    .card-text,
    .card-description {
        overscroll-behavior-y: none;
        -webkit-overflow-scrolling: auto;
    }

    .card-text > :first-child,
    .card-description > :first-child { margin-top: 0; }

    .card-text > :last-child,
    .card-description > :last-child { margin-bottom: 0; }

    .card-text p,
    .card-description p,
    .card-text ul,
    .card-description ul { margin: 0; }
    .card-main {
        display: contents;
    }
    .card-footer {
        display: contents;
    }
    .card-price {
        grid-column: 1;
        grid-row: 3;
        justify-self: start;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-block-size: var(--bf-footer-h);
        align-items: center;
        display: flex;
        transform: translateY(1px);
    }
    .card-check {
        grid-column: 2;
        grid-row: 3;
        justify-self: end;
        align-self: center;
        min-block-size: var(--bf-footer-h);
    }
}
@media (orientation: portrait) and (min-width: 768px) and (max-width: 1199px) {
    .card-description {
        font-size: clamp(12px, 1.8vw, 15px);
        margin-top: 1%;
        line-height: 1.5;
    }
    .card-content {
        column-gap: 6px;
    }
    .card-text, .card-description {
        max-height: 120px;
    }
    .bf-magic {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        aspect-ratio: 1624 / 974;
        overflow: visible;
        pointer-events: none;
        z-index: 1;
        transform: translateY(1svh) !important;
    }
}
@media (orientation: portrait) and (max-width: 375px) {
    .card-text, .card-description {
        color: white;
        grid-column: 2;
        grid-row: 2;
        min-width: 0;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        box-sizing: border-box;
        line-height: 1.3;
        block-size: calc(6lh + 2px);
        max-block-size: calc(6lh + 2px);
        display: flex;
        flex-direction: column;
        justify-content: start;
        height: 100%;
    }
    .card {
        padding: 10px 15px;
    }
}
/* endregion */
/* region BUTTON "CONFIRM" */
.confirm-btn {
    --w: 76px;
    --h: 40px;

    width: var(--w);
    height: var(--h);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1.5px solid #fff;
    background:
            radial-gradient(50% 50% at 50% 50%,
            #35F866 32%, #41497D 100%);
    box-shadow:
            inset 0 2px 8px -2px rgba(255, 255, 255, .95),
            inset 0 -2px 8px -2px rgba(0, 0, 0, .65),
            0 2px 2px rgba(0, 0, 0, .5);
    padding: 0;
    outline: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;

    position: relative;
    --icon-w: 42%;
}

.confirm-btn .tick-svg {
    width: var(--icon-w);
    height: auto;
    display: block;
    pointer-events: none;
}
/* endregion */
/* region Magic buy feature animation */
.card-content {
    position: relative;
    z-index: 2;
}
.card--regular::before {
    z-index: 3;
}
.magic-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.magic-card img,
.magic-glow-layer,
.flame-glow {
    position: absolute;
    display: block;
    pointer-events: none;
    user-select: none;
}
.magic-scene {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}
.magic-sparkles {
    left: 10%;
    top: 10%;
    width: 70%;
    z-index: 8;
    opacity: 0.75;
    animation: sparkles-flicker 1.35s steps(4, end) infinite;
    will-change: opacity, filter, transform;
}
.magic-glow-layer {
    left: 32%;
    top: 10%;
    width: 38%;
    height: 55%;
    z-index: 3;
    border-radius: 50%;
    background: radial-gradient(
            circle,
            rgba(0, 255, 170, 0.35) 0%,
            rgba(0, 200, 120, 0.18) 35%,
            transparent 70%
    );
}
.magic-number {
    z-index: 7;
    transform-origin: center center;
    animation-name: number-float-magic;
    animation-duration: var(--float-duration, 4.8s);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    will-change: transform, opacity, filter;
}
.n1-left {
    left: 28%;
    top: 36%;
    width: 6%;
    animation-delay: -0.4s;
}
.n7 {
    left: 24%;
    top: 16%;
    width: 8%;
    animation-delay: -1.2s;
}
.n9 {
    left: 46%;
    top: 7%;
    width: 7%;
    animation-delay: -0.8s;
}
.n3 {
    left: 14%;
    top: 30%;
    width: 7%;
    animation-delay: -1.6s;
}
.n4 {
    left: 6%;
    top: 49%;
    width: 8%;
    animation-delay: -0.2s;
}
.n2-top {
    left: 68%;
    top: 21%;
    width: 5.5%;
    animation-delay: -1s;
}
.n1-right {
    left: 78%;
    top: 30%;
    width: 6%;
    animation-delay: -1.8s;
}
.n5 {
    left: 75%;
    top: 44%;
    width: 8%;
    animation-delay: -0.6s;
}
.n6 {
    left: 86%;
    top: 59%;
    width: 5%;
    animation-delay: -1.4s;
}
.n2-bottom {
    left: 43%;
    top: 76%;
    width: 7%;
    animation-delay: -2s;
}
.n8 {
    left: 61%;
    top: 7%;
    width: 6%;
    animation-delay: -0.9s;
}
@keyframes number-float-magic {
    0% {
        transform:
                translate3d(0, 0, 0)
                rotate(var(--rotate-start, -2deg))
                scale(1);
        opacity: 0.55;
        filter: brightness(0.9);
    }
    25% {
        transform:
                translate3d(var(--move-x, 6%), calc(var(--move-y, -14%) * 0.6), 0)
                rotate(var(--rotate-mid, 4deg))
                scale(1.04);
        opacity: 0.9;
        filter: brightness(1.25) drop-shadow(0 0 5px rgba(0, 255, 170, 0.65));
    }
    50% {
        transform:
                translate3d(calc(var(--move-x, 6%) * -0.5), var(--move-y, -14%), 0)
                rotate(var(--rotate-end, -5deg))
                scale(1.08);
        opacity: 1;
        filter: brightness(1.45) drop-shadow(0 0 8px rgba(0, 255, 170, 0.85));
    }
    75% {
        transform:
                translate3d(calc(var(--move-x, 6%) * -1), calc(var(--move-y, -14%) * 0.35), 0)
                rotate(var(--rotate-mid, 4deg))
                scale(1.03);
        opacity: 0.85;
        filter: brightness(1.15);
    }
    100% {
        transform:
                translate3d(0, 0, 0)
                rotate(var(--rotate-start, -2deg))
                scale(1);
        opacity: 0.55;
        filter: brightness(0.9);
    }
}
@keyframes sparkles-flicker {
    0% {
        opacity: 0.35;
        transform: scale(1);
        filter: brightness(0.9);
    }
    18% {
        opacity: 1;
        transform: scale(1.01);
        filter: brightness(1.8) drop-shadow(0 0 6px rgba(190, 255, 170, 0.8));
    }
    32% {
        opacity: 0.5;
        transform: scale(1);
        filter: brightness(1);
    }
    48% {
        opacity: 0.95;
        transform: scale(1.015);
        filter: brightness(1.6) drop-shadow(0 0 8px rgba(255, 255, 160, 0.75));
    }
    70% {
        opacity: 0.42;
        transform: scale(1);
        filter: brightness(0.95);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.008);
        filter: brightness(1.35);
    }
}
.flame-glow {
    position: absolute;
    z-index: 6;
    width: 7%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(
            circle,
            rgba(255, 245, 170, 0.9) 0%,
            rgba(255, 195, 70, 0.5) 32%,
            rgba(255, 120, 30, 0.18) 58%,
            transparent 75%
    );
    transform: translate(-50%, -50%);
    animation: flame-light-flicker 0.26s infinite alternate;
    pointer-events: none;
    will-change: opacity, transform;
}
.flame-left {
    left: 35%;
    top: 50%;
    width: 5.5%;
    animation-delay: -0.08s;
}
.flame-right {
    left: 65%;
    top: 43%;
    width: 6%;
    animation-delay: -0.18s;
}
.flame-front {
    left: 58%;
    top: 66%;
    width: 7.5%;
    animation-delay: -0.03s;
}
@keyframes flame-light-flicker {
    0% {
        opacity: 0.35;
        transform: translate(-50%, -50%) scale(0.8);
    }
    45% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(1.25);
    }
}
/* endregion */