.card {
    font-family: var(--main-font);
    position: relative;
    border-radius: 20px;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
}

#block-wrapper > .card-wrapper:nth-child(1) {
    order: 2;
}

#block-wrapper > .card-wrapper:nth-child(2) {
    order: 1;
}

#block-wrapper > .card-wrapper:nth-child(3) {
    order: 3;
}

.card::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -10px;
    height: 13px;
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0,0,0,0.35);
    z-index: -1;
}

.card--red::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -10px;
    height: 13px;
    border-radius: 50%;
    background: linear-gradient(
            90deg,
            rgba(255, 51, 75, 0) 0%,
            rgba(255, 51, 75, 0.8) 35%,
            #ffffff 50%,
            rgba(255, 51, 75, 0.8) 65%,
            rgba(255, 51, 75, 0) 97.81%
    );
    z-index: 1;
}

.card--purple::after {
    background: linear-gradient(
            90deg,
            rgba(212, 0, 140, 0) 0%,
            rgba(212, 0, 140, 0.8) 35%,
            #ffffff 50%,
            rgba(212, 0, 140, 0.8) 65%,
            rgba(212, 0, 140, 0) 97.81%
    );
    z-index: 1;
}

.card--teal::after {
    background: linear-gradient(
            90deg,
            rgba(37, 188, 213, 0) 0%,
            rgba(37, 188, 213, 0.8) 35%,
            #ffffff 50%,
            rgba(37, 188, 213, 0.8) 65%,
            rgba(37, 188, 213, 0) 97.81%
    );
    z-index: 1;
}

.card-image img {
    image-rendering: smooth;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.card-title {
    font-size: var(--card-title);
    font-family: var(--splash-font-family, "superpop-variable", Nunito, sans-serif);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.card-description {
    font-size: var(--card-description);
    color: white;
    margin: 0;
    font-weight: 500;
}

.card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.card-price {
    font-size: clamp(20px, 2vw, 22px);
    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;
}

.scroll-arrow,
.pagination-bf {
    display: none;
}

@media (orientation: landscape) {

    html, body {
        overflow-y: hidden;
        height: 100dvh;
        max-height: 100dvh;
    }

    .scroll {
        height: 100%;
        overflow-x: visible;
    }

    .scroll-arrow {
        display: none !important;
    }

    .pagination-bf {
        display: none !important;
    }

    .scroll-track {
        display: none !important;
    }

    .scroll-thumb {
        display: none !important;
    }

    #featurebuy-overlay .buy-feature {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: rgba(1, 2, 16, 0.55);
        backdrop-filter: blur(clamp(5px, 2vh, 20px));

        align-items: start;
        justify-items: center;
        padding: clamp(1.5%, 2vh, 3%);
        box-sizing: border-box;
        overflow: hidden;
        opacity: 1;
        transition: opacity 0.3s ease;
        z-index: 1000;
        row-gap: clamp(0.8vh, 1.5vh, 2vh);

        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "scroll"
            "bet";
    }

    .title-container {
        width: 100%;
        grid-area: title;
        align-self: start;
        justify-self: center;
        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%;
        min-height: 0;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        transform-origin: top center;
        max-width: clamp(900px, 95vw, 1200px);
        margin: 0 auto;
        overflow-y: unset !important;
    }

    #featurebuy-overlay .bet-control-wrapper-bf {
        /* Keep the bet panel in the grid instead of the common fixed layout. */
        position: relative;
        grid-area: bet;
        align-self: end;
        justify-self: center;

        position: unset !important;
        bottom: unset;

        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
    }

    .balance-bf {
        padding-bottom: 0;
        bottom: 0 !important;
        font-size: clamp(0.7rem, calc(1.5vw + 0.8vh), 1.1rem) !important;
        margin-top: -1dvh;
    }

    #block-wrapper {
        display: flex;
        align-items: stretch;

        max-height: 100%;
        min-height: 0;
        flex-direction: row;
        gap: clamp(1.2vw, 2vw, 30px);
        justify-content: center;
        overflow-x: auto;
        box-sizing: border-box;
        margin: 0 auto;
        padding-top: clamp(1vh, calc(1vw + 1vh), 2vh);

        scrollbar-width: none;
        scroll-padding-inline: clamp(24px, 5vw, 40px);

        overflow-y: hidden;
    }

    .card-wrapper {
        flex: 1 1 clamp(17rem, 30vw, 22rem);
        max-width: 22rem;
        min-width: 17rem;
        margin-bottom: clamp(0.3vh, 0.8vh, 1vh);
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
    }

    #block-wrapper:has(.card-wrapper:nth-child(2):last-child) .card-wrapper {
        flex: 1 1 40%;
        max-width: 30rem;
    }

    .card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        border-radius: 20px;
        box-shadow: 0px 1.57514px 1.57514px rgba(0, 0, 0, 0.8);
        box-sizing: border-box;
        flex: 1;
    }

    .card--purple,
    .card--red,
    .card--teal {
        position: relative;
        z-index: 2;
        overflow: hidden;
        border-radius: 20px;
        border: 2px solid transparent;
    }

    .card--purple {
        background:
                radial-gradient(
                        circle at 50% 100%,
                        #A82B96 0%,
                        #80136E 42%,
                        #4A0039 78%,
                        #300025 100%
                ) padding-box,

                linear-gradient(
                        180deg,
                        #6B0055 0%,
                        #E02BD0 100%
                ) border-box;
    }

    .card--purple::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;

        background:
                radial-gradient(
                        circle at 50% 40%,
                        rgba(210, 40, 185, 0.22) 0%,
                        rgba(180, 25, 155, 0.08) 35%,
                        transparent 68%
                );

        filter: blur(20px);
        pointer-events: none;
        z-index: 1;
    }


    .card--red {
        background:
                radial-gradient(
                        circle at 50% 100%,
                        #A92849 0%,
                        #79152F 42%,
                        #4B0925 76%,
                        #300016 100%
                ) padding-box,

                linear-gradient(
                        180deg,
                        #650021 0%,
                        #E5254D 100%
                ) border-box;
    }

    .card--red::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;

        background:
                radial-gradient(
                        circle at 50% 40%,
                        rgba(220, 35, 70, 0.22) 0%,
                        rgba(190, 20, 55, 0.08) 35%,
                        transparent 68%
                );

        filter: blur(20px);
        pointer-events: none;
        z-index: 1;
    }


    .card--teal {
        background:
                radial-gradient(
                        circle at 50% 100%,
                        #277F96 0%,
                        #14536D 40%,
                        #0A2A45 72%,
                        #06172D 100%
                ) padding-box,

                linear-gradient(
                        180deg,
                        #0A3560 0%,
                        #25BCD5 100%
                ) border-box;
    }

    .card--teal::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;

        background:
                radial-gradient(
                        circle at 50% 40%,
                        rgba(40, 175, 205, 0.24) 0%,
                        rgba(25, 130, 170, 0.08) 35%,
                        transparent 68%
                );

        filter: blur(20px);
        pointer-events: none;
        z-index: 1;
    }


    .card-content,
    .card-main,
    .card-image,
    .card-footer {
        position: relative;
        z-index: 3;
    }

    .card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5vh;
        text-align: justify;
        justify-content: space-between;
        flex-grow: 1;
        height: 100%;
    }

    .card-main {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.8vh;
        width: 100%;
        height: auto;
        padding-inline: clamp(0.5vw, 1vw, 1.5vw);
    }

    .card-title {
        font-size: clamp(11px, 1.2vw + 1vh, 16px);
        text-align: center;
        line-height: 1.1;
        display: flex;
        justify-content: center;
        margin: 0 0 4px clamp(20px, 3vw, 40px);
        padding-right: clamp(18px, 2.5vw, 32px);
        min-height: clamp(2em, 2.2em, 2.5em);
        align-items: flex-start;
    }

    .card-icon {
        position: absolute;
        top: clamp(8px, 1vh, 10px);
        left: clamp(8px, 1vh, 10px);
        width: clamp(18px, 3.2vw, 40px);
        height: clamp(18px, 3.2vw, 40px);
        transition: transform 0.2s ease, filter 0.2s ease;
        z-index: 5;
    }

    .card-icon img {
        image-rendering: smooth;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .card-text {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /*transform: translateY(clamp(-8px, -2vh, -4px));*/
    }

    .card-description {
        font-size: clamp(14px, 1.8vw, 18px);
        text-align: center;
        margin-top: 1%;
        line-height: 1.3;
        min-height: 3.9em;
        justify-content: center;
        align-items: flex-start;
    }

    .card-image {
        max-height: clamp(14vh, 25vh, 30vh);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
        z-index: -5;
    }

    .card-image img {
        image-rendering: smooth;
        height: clamp(14vh, 20vh, 24vh);
        object-fit: contain;
    }

    .card-footer {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.5vh;
        flex-wrap: nowrap;
        margin-top: auto;
    }

    .card-price {
        font-size: clamp(14px, 2.5vw, 22px);
    }

    .scroll::-webkit-scrollbar {
        display: none;
    }

    .scroll {
        scrollbar-width: none;
    }

    .buy.card .card-image {
        margin-top: 6%;
        height: clamp(130px, 16vh, 180px);
        position: relative;
        pointer-events: none;
    }

    .buy.card .hidden-img {
        visibility: hidden;
    }

    .buy.card .pulse-img {
        position: absolute;
        top: clamp(25%, calc(50vh - 18%), 42%);
        left: 50%;
        transform: translate(-50%, -50%) scale(1.6);
        z-index: -5;
        object-fit: contain;
        pointer-events: none;
        animation: pulse 4s infinite ease-in-out;
        box-shadow: none !important;
        filter: none !important;
        text-shadow: none !important;
        drop-shadow: none !important;
    }

    @keyframes pulse {
        0%, 100% {
            transform: translate(-50%, -50%) scale(1.6);
        }

        50% {
            transform: translate(-50%, -50%) scale(1.75);
        }
    }
}

@media (orientation: landscape) and (max-height: 500px) and (max-width: 1400px) {

    .bet-control-wrapper-bf {
        margin-top: -2%;
        transform: scale(0.8) !important;
        transform-origin: bottom center;
    }

    .balance-bf {
        margin-top: -2.1dvh;
    }
}

@media (orientation: landscape) and (max-height: 500px) {

    #featurebuy-overlay .buy-feature {
        padding-top: clamp(3px, 1vh, 8px);
        padding-bottom: clamp(3px, 1vh, 8px);
        row-gap: clamp(2px, 0.8vh, 6px);
    }

    .scroll-container {
        height: 100%;
        min-height: 0;
        max-height: 100%;
        overflow: hidden !important;
    }

    #block-wrapper {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: 100%;

        gap: clamp(4px, 1vw, 10px);

        padding-top: clamp(2px, 0.7vh, 5px);
        padding-bottom: clamp(2px, 0.7vh, 5px);

        align-items: stretch;

        overflow-x: hidden !important;
        overflow-y: hidden !important;
    }

    .card-wrapper {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        margin-bottom: 0;
    }

    #block-wrapper:has(.card-wrapper:nth-child(2):last-child) .card-wrapper {
        flex: 1 1 0;
        max-width: none;
    }
    .card {
        min-width: 0;
        padding: clamp(6px, 1.5vh, 10px) 16px;
    }
    .card-title {
        font-size: clamp(12px, calc(1vw + 1.5vh), 26px);
        min-height: 2.1em;
        height: auto;
        line-height: 1.05;
        margin-bottom: clamp(1px, 0.4vh, 3px);
    }
    .card-description {
        font-size: clamp(10px, 2vw, 12px);
        line-height: 1.1;
        margin-top: 0;
        min-height: 3.3em;
    }
    .card-main {
        gap: clamp(1px, 0.4vh, 4px);
    }
    .card-content {
        gap: clamp(1px, 0.3vh, 3px);
    }
    .card-image {
        min-height: 0;
        max-height: clamp(40px, 17vh, 85px);
    }

    .card-image img {
        height: clamp(38px, 15vh, 78px);
        max-height: 100%;
    }
    .buy.card .card-image {
        margin-top: clamp(0px, 1vh, 4px);

        height: clamp(40px, 16vh, 80px);
        max-height: clamp(40px, 16vh, 80px);
    }
    .card-footer {
        flex-wrap: nowrap;
        gap: 12px;
        padding-top: 0.5vh;
    }

    .card-price {
        font-size: clamp(14px, 2.5vw, 22px);
    }

    #featurebuy-overlay .card-check {
        --btn-scale: 0.85;
    }
}

@media (orientation: landscape) and (max-height: 800px) and (max-width: 1366px) {
    #block-wrapper {
        height: 82%;
        align-items: center;
    }

    .card-wrapper,
    .card {
        height: 100%;
    }
}

@media (orientation: landscape) and (max-height: 300px) {

    .card-title {
        min-height: clamp(1.6em, 1.8em, 2em);
    }

    .buy.card .card-image {
        height: clamp(13vh, 14vh, 15vh);
    }

    #featurebuy-overlay .scroll-container {
        transform: scale(0.85) !important;
        transform-origin: top center;
    }

    .bet-control-wrapper-bf {
        margin-top: -6%;
        transform: scale(0.5) !important;
        transform-origin: bottom center;
    }
}

@media screen and (orientation: landscape) and (max-width: 740px) {

    #block-wrapper {
        gap: 8px;
    }

    .card-wrapper {
        flex: 1 1 0;
        min-width: 0;
        max-width: calc((100% - 16px) / 3);
    }

    .card {
        padding: 10px;
    }

    .card-title {
        font-size: 11px;
    }

    .card-description {
        font-size: 11px;
    }

    .card-image img {
        height: clamp(70px, 14vh, 100px);
    }

    .card-price {
        font-size: 16px;
    }

    .card-title {
        line-height: 1.1;
        height: 2.2em;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #featurebuy-overlay .card-check {
        --btn-scale: 0.85;
    }

    .card--red::after,
    .card--purple::after,
    .card--teal::after,
    .card::after {
        bottom: -7px;
        height: 10px;
    }

    .card-footer {
        padding-top: 3vh;
    }
}

@media (orientation: landscape) and (min-height: 200px) and (max-height: 370px) {
    #block-wrapper {
        height: 100%;
    }

    .card-content {
        display: grid;
        grid-template-columns: minmax(60px, 40%) minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto;
        column-gap: 6px;
        row-gap: 0;
        align-items: center;
    }

    .card-title {
        grid-column: 1 / -1;
        grid-row: 1;
        margin: 0;
        padding: 0;
    }

    .buy.card .card-image {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        height: 100%;
        max-height: none;
        margin-top: 0;
    }

    .card-image img {
        height: clamp(55px, 21vh, 76px);
    }

    .buy.card .pulse-img {
        top: 50%;
        animation: pulse-narrow 4s infinite ease-in-out;
    }

    .card-main {
        display: contents;
    }

    .card-text {
        grid-column: 2;
        grid-row: 2;
        min-width: 0;
        align-self: center;
        transform: none;
    }

    .card-description {
        min-height: 0;
        margin: 0;
        font-size: clamp(9px, 1.1vw, 11px);
        line-height: 1.1;
        text-align: left;
    }

    .card-footer {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 0;
        padding-top: 0.5vh;
    }

    @keyframes pulse-narrow {
        0%, 100% {
            transform: translate(-50%, -50%) scale(1.45);
        }

        50% {
            transform: translate(-50%, -50%) scale(1.55);
        }
    }
}

@media (orientation: portrait) {

    #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);
        display: flex;
        flex-direction: column;
    }

    .card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: clamp(200px, 22vh, 260px);
        padding: 10px;
        width: 100%;
        position: relative;
        z-index: 0;
    }

    .card--purple,
    .card--red,
    .card--teal {
        position: relative;
        z-index: 2;
        overflow: hidden;
        border-radius: 20px;
        border: 2px solid transparent;
    }


    .card--purple {
        background:
                radial-gradient(
                        circle at 50% 100%,
                        #A82B96 0%,
                        #80136E 42%,
                        #4A0039 78%,
                        #300025 100%
                ) padding-box,

                linear-gradient(
                        180deg,
                        #6B0055 0%,
                        #E02BD0 100%
                ) border-box;
    }

    .card--purple::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;

        background:
                radial-gradient(
                        circle at 50% 40%,
                        rgba(210, 40, 185, 0.22) 0%,
                        rgba(180, 25, 155, 0.08) 35%,
                        transparent 68%
                );

        filter: blur(20px);
        pointer-events: none;
        z-index: 0;
    }


    .card--red {
        background:
                radial-gradient(
                        circle at 50% 100%,
                        #A92849 0%,
                        #79152F 42%,
                        #4B0925 76%,
                        #300016 100%
                ) padding-box,

                linear-gradient(
                        180deg,
                        #650021 0%,
                        #E5254D 100%
                ) border-box;
    }

    .card--red::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;

        background:
                radial-gradient(
                        circle at 50% 40%,
                        rgba(220, 35, 70, 0.22) 0%,
                        rgba(190, 20, 55, 0.08) 35%,
                        transparent 68%
                );

        filter: blur(20px);
        pointer-events: none;
        z-index: 0;
    }


    .card--teal {
        background:
                radial-gradient(
                        circle at 50% 100%,
                        #277F96 0%,
                        #14536D 40%,
                        #0A2A45 72%,
                        #06172D 100%
                ) padding-box,

                linear-gradient(
                        180deg,
                        #0A3560 0%,
                        #25BCD5 100%
                ) border-box;
    }

    .card--teal::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;

        background:
                radial-gradient(
                        circle at 50% 40%,
                        rgba(40, 175, 205, 0.24) 0%,
                        rgba(25, 130, 170, 0.08) 35%,
                        transparent 68%
                );

        filter: blur(20px);
        pointer-events: none;
        z-index: 0;
    }


    .card-content {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
        align-items: center;
        flex: 1;
    }

    .card-title {
        margin-bottom: 4px;
        margin-top: 0;
        font-size: 1.1rem;
        text-align: left;
        grid-column: 2;
        z-index: 5;
    }

    .card-icon {
        position: absolute;
        top: 10px;
        left: 10px;
        width: clamp(35px, 3.1vw, 40px);
        height: clamp(35px, 3.1vw, 40px);
        transition: transform 0.2s ease, filter 0.2s ease;
        z-index: 5;
    }

    .card-icon img {
        image-rendering: smooth;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .card-image {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        width: 120px;
        grid-column: 1;
        grid-row: 1 / 4;
        align-self: center;
        box-sizing: border-box;
        position: relative;
        transform: translateX(-1px);
    }

    .card-image img {
        image-rendering: smooth;
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

    .card-main {
        /* Place the description and footer directly in the portrait card grid. */
        display: contents;
    }

    .card-description {
        font-size: 0.8rem;
        height: auto;
        position: relative;
        z-index: 2;
        font-weight: 500;
        text-align: left;
    }

    .buy.card .hidden-img {
        visibility: hidden;
        width: 100%;
        height: auto;
    }

    .buy.card .pulse-img {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        pointer-events: none;
        object-fit: contain;
        animation: pulse-portrait 4s infinite ease-in-out;
        /* Keep the portrait animation centered while it scales. */
        transform-origin: center center;
        z-index: -5;
    }

    @keyframes pulse-portrait {

        0%, 100% {
            transform: translateX(-3%) scale(1.22);
        }

        50% {
            transform: translateX(-3%) scale(1.32);
        }
    }

    .card-text {
        grid-column: 2;
        min-width: 0;
        margin-bottom: 5%;
        padding-right: 1%;
    }

    .card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        grid-column: 2;
        min-width: 0;
        container-type: inline-size;
        flex-wrap: nowrap;
        position: relative;
        z-index: 1;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .card-footer {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .card-price {
        display: block;
        white-space: normal;
        overflow-wrap: anywhere;
        font-weight: 700;
        color: #fff;
        text-align: left;
        /* Reserve the button and gap before sizing a typical formatted price. */
        font-size: clamp(0.5rem, calc((100cqw - var(--btn-w) - 8px) / 6.25), 1.1rem);
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
    }

    #featurebuy-overlay .card-check {
        flex: 0 0 auto;
    }

    .scroll-container {
        position: relative;
        width: 100%;
        height: calc(100dvh - 30vh);
        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: #ffffff80 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.4);
        transition: background 0.3s ease;
    }

    .scroll::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.6);
    }
}

.card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.card--red .card-icon {
    animation: icon-glow-pulse 2.5s ease-in-out infinite;
}

@keyframes icon-glow-pulse {

    0%, 100% {
        filter:
                drop-shadow(0 0 2px rgba(255, 140, 0, 0.6))
                drop-shadow(0 0 6px rgba(255, 165, 0, 0.4));
    }

    50% {
        filter:
                drop-shadow(0 0 6px rgba(255, 200, 0, 0.9))
                drop-shadow(0 0 16px rgba(255, 140, 0, 0.7))
                drop-shadow(0 0 24px rgba(255, 100, 0, 0.4));
    }
}

.super-highlight {
    display: inline-block;
    animation: super-zoom 3s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
    margin: 0 0.20em;
}

@keyframes super-zoom {

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

    4%, 12% {
        transform: scale(1.25);
    }

    8% {
        transform: scale(1);
    }
}
