/* =========================================================
       SWEETALERT
       ========================================================= */

    .swal2-popup.custom-swal {
        background:
                radial-gradient(circle at top, rgba(34,197,94,.10), transparent 38%),
                radial-gradient(circle at bottom, rgba(59,130,246,.08), transparent 42%),
                linear-gradient(180deg, rgba(8,19,40,.96) 0%, rgba(7,16,32,.97) 100%) !important;
        backdrop-filter: blur(.625rem);
        border-radius: 1.25rem !important;
        border: 1px solid rgba(255,255,255,.08);
        box-shadow:
                0 1.5rem 5rem rgba(0,0,0,.58),
                0 0 0 1px rgba(255,255,255,.03) inset;
        padding: 1.75rem 1.5rem;
        color: #fff;
        overflow: hidden;
    }

    .swal2-popup.custom-swal::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 1.25rem;
        pointer-events: none;
        background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 28%, transparent 72%, rgba(255,255,255,.03));
    }

    .custom-swal .swal2-title {
        font-size: 1.75rem;
        line-height: 1.08;
        font-weight: 800;
        color: #f8fafc;
        margin: .25rem 0 .75rem 0;
        letter-spacing: -.02em;
    }

    .custom-swal .swal2-html-container {
        margin-top: 0;
        font-size: .9375rem;
        color: rgba(226,232,240,.88);
        line-height: 1.55;
    }

    .custom-swal .swal2-icon {
        border-width: 3px !important;
        transform: scale(1.06);
        margin-top: .125rem;
        margin-bottom: 1rem;
    }

    .custom-swal .swal2-icon.swal2-success {
        border-color: rgba(34,197,94,.35);
        color: #22c55e;
        box-shadow:
                0 0 0 .625rem rgba(34,197,94,.05),
                0 0 1.875rem rgba(34,197,94,.12);
    }

    .custom-swal .swal2-icon.swal2-error {
        border-color: rgba(239,68,68,.35);
        color: #ef4444;
        box-shadow:
                0 0 0 .625rem rgba(239,68,68,.05),
                0 0 1.875rem rgba(239,68,68,.12);
    }

    .custom-swal .swal2-actions {
        margin-top: 1.5rem;
    }

    .custom-swal .swal2-confirm {
        min-width: 8.5rem;
        height: 3rem;
        padding: 0 1.5rem;
        border: none !important;
        border-radius: .875rem !important;
        background: linear-gradient(180deg, #27df72 0%, #17bf58 100%) !important;
        color: #04110a !important;
        font-size: .875rem;
        font-weight: 800;
        letter-spacing: .01em;
        box-shadow:
                0 .625rem 1.625rem rgba(34,197,94,.30),
                0 0 1.5rem rgba(34,197,94,.16);
        transition: .18s ease;
    }

    .custom-swal .swal2-confirm:hover {
        transform: translateY(-.0625rem);
        filter: brightness(1.04);
        box-shadow:
                0 .875rem 2.125rem rgba(34,197,94,.34),
                0 0 1.75rem rgba(34,197,94,.20);
    }

    .custom-swal .swal2-confirm:focus {
        outline: none !important;
        box-shadow:
                0 0 0 .1875rem rgba(34,197,94,.18),
                0 .625rem 1.625rem rgba(34,197,94,.30);
    }

    .custom-swal .swal2-cancel {
        min-width: 7rem;
        height: 3rem;
        border-radius: .875rem !important;
        background: rgba(255,255,255,.08) !important;
        color: #fff !important;
        border: 1px solid rgba(255,255,255,.08) !important;
    }

    .swal2-container.swal2-backdrop-show {
        background: rgba(3,9,18,.68) !important;
        backdrop-filter: blur(.25rem);
    }

    @media (max-width: 40rem) {
        .swal2-popup.custom-swal {
            width: calc(100% - 1.25rem) !important;
            padding: 1.375rem 1rem;
            border-radius: 1.125rem !important;
        }

        .custom-swal .swal2-title {
            font-size: 1.375rem;
        }

        .custom-swal .swal2-html-container {
            font-size: .875rem;
        }

        .custom-swal .swal2-confirm {
            min-width: 7rem;
            height: 2.75rem;
            font-size: .8125rem;
        }
    }

    /* =========================================================
       GAME RAIL
       ========================================================= */

    .game-rail-section {
        position: relative;
        margin-top: 1.5rem;
        overflow: visible !important;
    }

    .game-rail-section-soft {
        margin-top: 1.125rem;
    }

    .game-section-header-rail {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .875rem;
        margin-bottom: .75rem;
        position: relative;
        z-index: 2;
    }

    .game-rail-controls {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        flex: 0 0 auto;
    }

    .game-rail-nav {
        appearance: none;
        -webkit-appearance: none;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: .625rem;
        border: 1px solid rgba(255,255,255,.08);
        background: rgba(255,255,255,.05);
        color: rgba(255,255,255,.9);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: .18s ease;
        position: relative;
        z-index: 3;
    }

    .game-rail-nav:hover {
        background: rgba(255,255,255,.10);
        border-color: var(--color1);
        color: var(--color1);
    }

    .game-rail-nav.disabled,
    .game-rail-nav:disabled {
        opacity: .35;
        cursor: default;
        pointer-events: none;
    }

    .game-rail {
        position: relative;
        width: 100%;
        overflow: visible !important;
        padding-top: .75rem;
        margin-top: -.25rem;
    }

    .game-rail-track {
        display: flex;
        align-items: stretch;
        gap: .75rem;
        overflow-x: auto;
        overflow-y: visible !important;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-top: .5rem;
        padding-bottom: .5rem;
        padding-left: .125rem;
        padding-right: .125rem;
    }

    .game-rail-track::-webkit-scrollbar {
        display: none;
    }

    .game-rail-item {
        position: relative;
        z-index: 1;
        flex: 0 0 auto;
        width: 11.5rem;
        max-width: 11.5rem;
        min-width: 11.5rem;
        overflow: visible !important;
    }

    .game-rail-item:hover {
        z-index: 30;
    }

    .game-rail-item .square-box-casino,
    .game-rail-item .game-element-image-wrapper,
    .game-rail-item .ng-card-link,
    .game-rail-item .ng-card-shell,
    .game-rail-item .square-content-casino {
        width: 100% !important;
        max-width: 100% !important;
    }

    .game-rail-item .square-box-casino,
    .game-rail-item .game-element-image-wrapper {
        overflow: visible !important;
    }

    .game-rail-item .square-box-casino {
        position: relative !important;
        float: none !important;
        margin: 0 !important;
        flex: unset !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .ng-card-link {
        inset: 0 !important;
    }

    .game-rail-item .square-box-casino {
        float: none !important;
        margin: 0 !important;
        flex: unset !important;
    }

    .game-rail-item:hover .ng-card-link,
    .game-rail-item:hover .square-box-casino,
    .game-rail-item:hover .game-element-image-wrapper,
    .game-rail-item:hover .ng-card-shell {
        z-index: 40 !important;
    }

    .games-grid.vertical-grid .game-rail-item,
    .game-rail-item.is-vertical {
        width: 9.25rem;
        max-width: 9.25rem;
        min-width: 9.25rem;
    }

    @media (max-width: 61.9375rem) {
        .game-rail-item {
            width: 9.375rem;
            max-width: 9.375rem;
            min-width: 9.375rem;
        }

        .games-grid.vertical-grid .game-rail-item,
        .game-rail-item.is-vertical {
            width: 8.125rem;
            max-width: 8.125rem;
            min-width: 8.125rem;
        }

        .game-rail-nav {
            width: 2rem;
            height: 2rem;
            border-radius: .5625rem;
        }
    }

    @media (max-width: 40rem) {
        .game-rail-section {
            margin-top: 1.25rem;
        }

        .game-rail-section-soft {
            margin-top: 1rem;
        }

        .game-section-header-rail {
            margin-bottom: .625rem;
        }

        .game-rail {
            padding-top: .5rem;
            margin-top: -.125rem;
        }

        .game-rail-track {
            gap: .625rem;
            padding-top: .375rem;
            padding-bottom: .375rem;
        }

        .game-rail-item {
            width: 8rem;
            max-width: 8rem;
            min-width: 8rem;
        }

        .games-grid.vertical-grid .game-rail-item,
        .game-rail-item.is-vertical {
            width: 7.25rem;
            max-width: 7.25rem;
            min-width: 7.25rem;
        }

        .game-rail-nav {
            width: 2rem;
            height: 2rem;
        }
    }

    /* =========================================================
       CG MODERN LOADER
       ========================================================= */

    .cg-loader-host {
        position: relative !important;
    }

    .cg-loader-overlay {
        position: absolute;
        inset: 0;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: inherit;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .22s ease, visibility .22s ease;
        backdrop-filter: blur(.5rem);
        -webkit-backdrop-filter: blur(.5rem);
    }

    .cg-loader-overlay.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .cg-loader-overlay[data-theme="light"] {
        background:
                radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 42%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,.18), transparent 38%),
                rgba(255,255,255,.58);
    }

    .cg-loader-overlay[data-theme="dark"] {
        background:
                radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 42%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,.04), transparent 38%),
                rgba(7,10,14,.62);
    }

    .cg-loader-box {
        position: relative;
        min-width: 5.5rem;
        min-height: 5.5rem;
        padding: 1rem;
        border-radius: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow:
                0 .75rem 2.5rem rgba(0,0,0,.22),
                inset 0 1px 0 rgba(255,255,255,.10);
        border: 1px solid rgba(255,255,255,.10);
    }

    .cg-loader-overlay[data-theme="light"] .cg-loader-box {
        background: rgba(255,255,255,.66);
    }

    .cg-loader-overlay[data-theme="dark"] .cg-loader-box {
        background: rgba(17,22,31,.72);
    }

    .cg-loader-spinner {
        position: relative;
        width: 2.875rem;
        height: 2.875rem;
    }

    .cg-loader-ring,
    .cg-loader-ring::before,
    .cg-loader-ring::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 3px solid transparent;
    }

    .cg-loader-ring {
        border-top-color: currentColor;
        border-right-color: rgba(255,255,255,.18);
        animation: cg-loader-spin 1.05s linear infinite;
    }

    .cg-loader-ring::before {
        inset: .375rem;
        border-top-color: currentColor;
        border-left-color: rgba(255,255,255,.14);
        opacity: .72;
        animation: cg-loader-spin-rev 1.45s linear infinite;
    }

    .cg-loader-ring::after {
        inset: .8125rem;
        border-top-color: currentColor;
        opacity: .42;
        animation: cg-loader-spin 1.9s linear infinite;
    }

    .cg-loader-overlay[data-theme="light"] .cg-loader-spinner {
        color: #111;
    }

    .cg-loader-overlay[data-theme="dark"] .cg-loader-spinner {
        color: #fff;
    }

    .cg-loader-overlay[data-accent="casino"] .cg-loader-spinner {
        color: var(--color1, #2ef2c5);
    }

    .cg-loader-overlay[data-accent="default"] .cg-loader-spinner {
        color: #111;
    }

    .cg-loader-overlay[data-theme="dark"][data-accent="default"] .cg-loader-spinner {
        color: #fff;
    }

    .cg-loader-shine {
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        overflow: hidden;
    }

    .cg-loader-shine::after {
        content: "";
        position: absolute;
        top: -120%;
        left: -40%;
        width: 55%;
        height: 260%;
        transform: rotate(24deg);
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 50%, rgba(255,255,255,0) 100%);
        animation: cg-loader-shine 1.8s ease-in-out infinite;
    }

    .cg-loader-inline-text {
        margin-top: .75rem;
        font-size: .6875rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        opacity: .72;
        text-align: center;
    }

    .cg-loader-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    @keyframes cg-loader-spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    @keyframes cg-loader-spin-rev {
        from { transform: rotate(360deg); }
        to { transform: rotate(0deg); }
    }

    @keyframes cg-loader-shine {
        0% { transform: translateX(-120%) rotate(24deg); }
        100% { transform: translateX(290%) rotate(24deg); }
    }
