:root {
    --primary-color: #BF40BF;
    --sidebar-bg-color: #0f1117;
}

/* 
======================================================
   GLASSMORPHISM & GLOBAL WOW EFFECTS
======================================================
*/

body {
    background-color: #0f1117;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(191, 64, 191, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(191, 64, 191, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
    font-family: 'Outfit', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif !important;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f1117;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* 
======================================================
   HEADER (TOP BAR) REDESIGN
======================================================
*/
.top-nav {
    background: rgba(15, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* User Info Section */
.top-nav .balance,
.top-nav .avatar-dt {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.top-nav .balance:hover,
.top-nav .avatar-dt:hover {
    background: rgba(191, 64, 191, 0.15) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.top-nav .icon-balance {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(191, 64, 191, 0.6);
}

/* Buttons */
.btn.primary-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #902090 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(191, 64, 191, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn.primary-btn:hover {
    transform: scale(1.02);
    color: #000;
    box-shadow: 0 6px 15px rgba(191, 64, 191, 0.6);
    background: linear-gradient(135deg, #d65cd6 0%, #aa30aa 100%);
}

.btn.secondary-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn.secondary-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(191, 64, 191, 0.1);
}


/* 
======================================================
   SIDEBAR REDESIGN
======================================================
*/
.side-nav {
    background: rgba(15, 17, 23, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.side-nav .nav-link {
    border-radius: 0 25px 25px 0;
    margin-right: 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.side-nav .nav-link:hover {
    background: linear-gradient(90deg, rgba(191, 64, 191, 0.1) 0%, transparent 100%);
    opacity: 1;
    border-left-color: rgba(191, 64, 191, 0.5);
}

.side-nav .nav-item.active .nav-link {
    background: linear-gradient(90deg, rgba(191, 64, 191, 0.2) 0%, transparent 100%);
    /* New active gradient */
    opacity: 1;
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(191, 64, 191, 0.1);
}

.side-nav li.nav-item.active {
    background-color: transparent !important;
}

.side-nav .nav-icon {
    filter: grayscale(1) brightness(2);
    transition: all 0.3s ease;
}

.side-nav .nav-item.active .nav-icon,
.side-nav .nav-link:hover .nav-icon {
    filter: none;
    /* Show original color or specific highlight if manipulated via filter */
    filter: drop-shadow(0 0 5px var(--primary-color));
}


/* 
======================================================
   OFFERWALL CARDS
======================================================
*/
section.offerwalls .partners-card svg {
    display: none !important;
}

section.offerwalls .partners-card {
    background: linear-gradient(145deg, rgba(20, 22, 28, 0.6), rgba(10, 12, 16, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    /* For inner glow effects */
    position: relative;
}

/* Inner Glow Effect on Hover */
section.offerwalls .partners-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(191, 64, 191, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

section.offerwalls .partners-card:hover::after {
    opacity: 1;
}

section.offerwalls .partners-card:hover {
    transform: translateY(-8px);
    border-color: rgba(191, 64, 191, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(191, 64, 191, 0.2);
}

section.offerwalls .partners-card .partners-content {
    left: 0 !important;
    width: 100%;
    height: 100%;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

section.offerwalls .partners-card .partners-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

section.offerwalls .partners-card .partners-body img {
    max-height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease;
}

section.offerwalls .partners-card:hover .partners-body img {
    transform: scale(1.1);
}

section.offerwalls .partners-card .bonus {
    background: rgba(191, 64, 191, 0.2);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 8px rgba(191, 64, 191, 0.2);
    color: #fff;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

section.offerwalls .partners-card .partners-footer p {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 
======================================================
   FOOTER REDESIGN
======================================================
*/
footer.footer-sticky {
    background: rgba(5, 32, 50, 0.4);
    background: linear-gradient(0deg, #050505 0%, #0f1117 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
}

footer .footer-social a {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

footer .footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(191, 64, 191, 0.4);
}

footer .footer-social a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.5;
}

footer .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    font-weight: 500;
}

footer .footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 
======================================================
   TITLES & SECTIONS
======================================================
*/
.sec-title h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Live Stats Redesign */
section.live-stats {
    padding: 1rem 0;
    position: relative;
}

section.live-stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(191, 64, 191, 0.2), transparent);
    z-index: 0;
}

section.live-stats .swiper-container {
    padding: 10px 0;
}

section.live-stats .stats-card {
    background: rgba(15, 17, 23, 0.7) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    /* Pill shape */
    padding: 6px 15px 6px 6px;
    /* Tight padding left for icon */
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto !important;
    min-width: 220px;
    margin-right: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

section.live-stats .stats-card:hover {
    transform: translateY(-2px);
    background: rgba(15, 17, 23, 0.9);
    border-color: rgba(191, 64, 191, 0.4);
    box-shadow: 0 6px 15px rgba(191, 64, 191, 0.15);
}

section.live-stats .stats-card .icon-stats {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    text-transform: uppercase;
}

section.live-stats .stats-card .stats-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
    margin-right: auto;
}

section.live-stats .stats-card .stats-content .title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

section.live-stats .stats-card .stats-content .desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

section.live-stats .stats-card .stats-payout {
    background: rgba(191, 64, 191, 0.15);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(191, 64, 191, 0.3);
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(191, 64, 191, 0.1);
}

/* 
======================================================
   MODAL REDESIGN (Login/Register)
======================================================
*/
.modal-backdrop.show {
    opacity: 0.7;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(15, 17, 23, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 50px rgba(191, 64, 191, 0.15) !important;
    backdrop-filter: blur(20px);
    border-radius: 24px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    /* Override template */
}

/* Modal Header */
.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 1.5rem 2rem !important;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-close {
    filter: invert(1);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.btn-close:hover {
    opacity: 1;
}

/* Tabs */
.modal .nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin: 0 !important;
    padding: 0 1rem;
}

.modal .nav-tabs .nav-link {
    color: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.modal .nav-tabs .nav-link:hover {
    color: #fff !important;
}

.modal .nav-tabs .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color) !important;
    background: transparent !important;
}

/* Form Inputs */
.form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #fff !important;
    padding-left: 45px !important;
    /* Space for icon */
    height: 50px !important;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(191, 64, 191, 0.1) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Input Icons */
.mb-2 .position-relative svg.icon {
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.form-control:focus+svg.icon {
    opacity: 1;
}

.form-control:focus+svg.icon path,
.form-control:focus+svg.icon circle {
    stroke: var(--primary-color) !important;
}

/* Google Button */
.google-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #fff !important;
    height: 50px !important;
    transition: all 0.3s ease;
}

.google-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}

/* 
======================================================
   HERO & LANDING PAGE STYLES
======================================================
*/
.hero-section {
    position: relative;
    padding-top: 8rem !important;
    /* Increased top padding */
    padding-bottom: 8rem;
    min-height: 85vh;
    /* Wonderful height */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Background decorative blob using pseudo element */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(191, 64, 191, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.text-primary-gradient {
    background: linear-gradient(90deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Glass Card for features */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(191, 64, 191, 0.15);
}

.feature-card img {
    filter: drop-shadow(0 0 10px rgba(191, 64, 191, 0.5));
}

/* 
======================================================
   GUEST LAYOUT OVERRIDES (Landing Page)
======================================================
*/
body.guest-mode .content,
body.guest-mode footer {
    margin-left: 0 !important;
}

body.guest-mode .wrapper::before {
    display: none !important;
}

body.guest-mode footer {
    width: 100% !important;
}

/* 
======================================================
   LANDING NAVBAR STYLES
======================================================
*/
.landing-nav {
    background: rgba(15, 17, 23, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.landing-nav.scrolled {
    background: rgba(15, 17, 23, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.landing-nav .logo,
.top-nav .logo,
.footer-logo .logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 991px) {

    .landing-nav .logo,
    .top-nav .logo {
        max-height: 40px;
        width: auto;
    }
}

.landing-nav .nav-link {
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.landing-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.landing-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.landing-nav .nav-link:hover::after {
    width: 80%;
}

/* 
======================================================
   API OFFERS REDESIGN (Latest Offers)
======================================================
*/

/* Hide old section background 
section.api-offers {
    background: transparent !important;
    min-height: auto;
}*/

/* Card Container */
section.api-offers .api-offers-card {
    background: linear-gradient(145deg, rgba(20, 22, 28, 0.8), rgba(15, 17, 23, 0.9));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: auto !important;
    /* Allow auto height */
    min-height: 240px;
    width: 170px !important;
    /* Standardize width */
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

section.api-offers .api-offers-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, rgba(20, 22, 28, 0.95), rgba(191, 64, 191, 0.15));
    border-color: rgba(191, 64, 191, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(191, 64, 191, 0.2);
}

/* Image */
section.api-offers .api-offers-card img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

/* Typography */
section.api-offers .api-offers-card p.fw-semibold {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
    text-align: left;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

section.api-offers .api-offers-card small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    align-self: flex-start;
}

/* Payout & System Icons */
section.api-offers .api-offers-card .cpi {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1rem;
}

section.api-offers .api-offers-card .cpi span {
    font-size: 0.8rem;
    opacity: 0.8;
}

section.api-offers .api-offers-card .system {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    /* Push to right */
}

section.api-offers .api-offers-card .system img {
    width: 14px;
    height: 14px;
    filter: invert(1);
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

/* 
======================================================
   LANDING PAGE EXTRA SECTIONS
======================================================
*/
.landing-game-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(191, 64, 191, 0.2);
    border-color: var(--primary-color) !important;
}

.bg-black-20 {
    background: rgba(0, 0, 0, 0.2);
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.stats-counter-section h2 {
    background: linear-gradient(90deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 
======================================================
   ANIMATIONS
======================================================
*/
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes float-reverse {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(15px) rotate(-5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.floating-icon.icon-1 {
    animation: float 6s ease-in-out infinite;
}

.floating-icon.icon-2 {
    animation: float-reverse 7s ease-in-out infinite;
}

.floating-icon.icon-3 {
    animation: float 8s ease-in-out infinite;
}

.floating-icon.icon-4 {
    animation: float-reverse 9s ease-in-out infinite;
}

/* 
======================================================
   AMAZING PRELOADER
======================================================
*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0f1117;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-content {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-right-color: #902090;
    box-shadow: 0 0 15px rgba(191, 64, 191, 0.5);
    animation: spinner-spin 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.spinner-ring::before,
.spinner-ring::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

/* Inner Ring */
.spinner-ring::before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-top-color: #ffb800;
    /* Cyan accent for contrast */
    border-left-color: #ffb800;
    opacity: 0.6;
    animation: spinner-spin 2s linear infinite reverse;
}

/* Outer Glow Ring */
.spinner-ring::after {
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(191, 64, 191, 0.1);
    box-shadow: 0 0 30px rgba(191, 64, 191, 0.1);
    animation: scale-pulse 2s ease-in-out infinite;
}

.spinner-logo {
    width: 60px;
    height: 60px;
    position: relative;
    background: #0f1117;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.spinner-logo img {
    max-width: 40px;
    animation: logo-pulse 1.5s ease-in-out infinite;
}

@keyframes spinner-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes logo-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
        filter: drop-shadow(0 0 5px var(--primary-color));
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes scale-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.5;
    }
}

/* 
======================================================
   MOBILE MENU REDESIGN (SIMPLE)
======================================================
*/
.bottom-menu {
    background: rgba(15, 17, 23, 0.95);
    /* Solid dark with slight transparency */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
    height: 65px;
    /* Standard height */
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    z-index: 999;
}

.bottom-menu .nav-item {
    position: relative;
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-menu .nav-link {
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-menu .icon-wrapper {
    width: auto;
    height: auto;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bottom-menu .icon-wrapper img {
    width: 24px;
    height: 24px;
    filter: grayscale(1) brightness(1.5);
    /* Light gray/white */
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Active State */
.bottom-menu .nav-item.active .icon-wrapper img,
.bottom-menu .nav-link:hover .icon-wrapper img {
    filter: none;
    /* Show original color if colorful, or use CSS filter for single color */
    opacity: 1;
    /* If you want icons to be purple: */
    /* filter: brightness(0) saturate(100%) invert(35%) sepia(59%) saturate(4529%) hue-rotate(279deg) brightness(85%) contrast(106%); #BF40BF approximation */
}

/* Active Indicator (Dot) */
.bottom-menu .nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--primary-color);
}

/* Specific fix for the home icon if we want it slightly larger but inline */
.bottom-menu .nav-item.center-item .icon-wrapper.home-icon img {
    width: 28px;
    height: 28px;
}

/* 
======================================================
   WITHDRAW METHODS SECTION
======================================================
*/
.withdraw-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.withdraw-text {
    opacity: 0.7;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.withdraw-text:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* 
======================================================
   TOP GAMES SECTION (LAYERED)
======================================================
*/
.cards-perspective-container {
    height: 500px;
    position: relative;
    /* perspective: 1000px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-layer {
    position: absolute;
    width: 380px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Back Card */
.card-layer.layer-3 {
    top: 50px;
    right: 0;
    transform: translateX(20%) scale(0.8);
    opacity: 0.5;
    z-index: 1;
    filter: blur(2px);
}

/* Middle Card */
.card-layer.layer-2 {
    top: 100px;
    right: 50px;
    transform: translateX(10%) scale(0.9);
    opacity: 0.8;
    z-index: 2;
}

/* Front Card */
.card-layer.layer-1 {
    top: 150px;
    right: 150px;
    width: 320px;
    z-index: 3;
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: float-card-main 6s ease-in-out infinite;
}

/* Hover Stagger Effect */
.cards-perspective-container:hover .card-layer.layer-3 {
    transform: translateX(40%) translateY(-20px) scale(0.8) rotate(5deg);
    opacity: 0.7;
    filter: blur(0);
}

.cards-perspective-container:hover .card-layer.layer-2 {
    transform: translateX(20%) translateY(-10px) scale(0.9) rotate(3deg);
    opacity: 0.9;
}

.cards-perspective-container:hover .card-layer.layer-1 {
    transform: scale(1.15) rotate(-2deg);
}

@keyframes float-card-main {

    0%,
    100% {
        transform: scale(1.1) translateY(0);
    }

    50% {
        transform: scale(1.1) translateY(-15px);
    }
}

.bg-glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.floating-shape {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-color), #40bfbf);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    z-index: 0;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 40%;
    animation: float-reverse 10s ease-in-out infinite;
}

@media (max-width: 991px) {
    .cards-perspective-container {
        height: 400px;
        transform: scale(0.8);
        margin-top: -50px;
    }

    .card-layer.layer-1 {
        right: auto;
    }
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.object-cover {
    object-fit: cover;
}