:root {
    --primary-color: #FF4500;
    --sidebar-bg-color: #000000;
}

/* 
======================================================
   GLASSMORPHISM & GLOBAL WOW EFFECTS
======================================================
*/

body {
    background-color: #000000;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 69, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 69, 0, 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: #000000;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* 
======================================================
   HEADER (TOP BAR) REDESIGN
======================================================
*/
.top-nav {
    background: rgba(0, 0, 0, 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(255, 69, 0, 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(255, 69, 0, 0.6);
}

/* Buttons */
.btn.primary-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8B0000 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 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(255, 69, 0, 0.6);
    background: linear-gradient(135deg, #FFA07A 0%, #FF6347 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(255, 69, 0, 0.1);
}


/* 
======================================================
   SIDEBAR REDESIGN
======================================================
*/
.side-nav {
    background: rgba(0, 0, 0, 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(255, 69, 0, 0.1) 0%, transparent 100%);
    opacity: 1;
    border-left-color: rgba(255, 69, 0, 0.5);
}

.side-nav .nav-item.active .nav-link {
    background: linear-gradient(90deg, rgba(255, 69, 0, 0.2) 0%, transparent 100%);
    /* New active gradient */
    opacity: 1;
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 69, 0, 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(15, 15, 15, 0.6), rgba(5, 5, 5, 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(255, 69, 0, 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(255, 69, 0, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 69, 0, 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(255, 69, 0, 0.2);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 8px rgba(255, 69, 0, 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(0, 0, 0, 0.8);
    background: linear-gradient(0deg, #000000 0%, #000000 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(255, 69, 0, 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(255, 69, 0, 0.2), transparent);
    z-index: 0;
}

section.live-stats .swiper-container {
    padding: 10px 0;
}

section.live-stats .stats-card {
    background: rgba(0, 0, 0, 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(0, 0, 0, 0.9);
    border-color: rgba(255, 69, 0, 0.4);
    box-shadow: 0 6px 15px rgba(255, 69, 0, 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(255, 69, 0, 0.15);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 69, 0, 0.3);
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.1);
}

/* 
======================================================
   MODAL REDESIGN (Login/Register)
======================================================
*/
.modal-backdrop.show {
    opacity: 0.7;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 50px rgba(255, 69, 0, 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(255, 69, 0, 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(255, 69, 0, 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(255, 69, 0, 0.15);
}

.feature-card img {
    filter: drop-shadow(0 0 10px rgba(255, 69, 0, 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(0, 0, 0, 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(0, 0, 0, 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(0, 0, 0, 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(255, 69, 0, 0.15));
    border-color: rgba(255, 69, 0, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 69, 0, 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(255, 69, 0, 0.2);
    border-color: var(--primary-color) !important;
}

.bg-black-20 {
    background: rgba(255, 69, 0, 0.05);
}

.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: #000000;
    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: #8B0000;
    box-shadow: 0 0 15px rgba(255, 69, 0, 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: #FFD700;
    /* Yellow/Gold accent for fire */
    border-left-color: #FFD700;
    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(255, 69, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.1);
    animation: scale-pulse 2s ease-in-out infinite;
}

.spinner-logo {
    width: 60px;
    height: 60px;
    position: relative;
    background: #000000;
    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(0, 0, 0, 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), #FFD700);
    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;
}

/* 
======================================================
   HERO FIRE ANIMATION & BACKGROUND UPDATES
======================================================
*/
.hero-bg-img {
    background: url('../images/hero_bg.png') no-repeat center center / cover;
    filter: grayscale(100%) brightness(0.2) contrast(1.2);
}

.hero-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(20, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 1) 100%);
}

.fire-container {
    width: 100%;
    height: 100%;
}

.fire-particle {
    position: absolute;
    bottom: -20px;
    background: radial-gradient(circle, #ffbf00, #ff4500, transparent);
    border-radius: 50%;
    opacity: 0;
    filter: blur(2px);
    animation: rise ease-in infinite;
    mix-blend-mode: screen;
}

@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }

    20% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-60vh) translateX(calc(-20px + 40px * var(--drift))) scale(0.2);
    }
}

/* Randomize particles using SCSS-like logic generated in CSS */
.fire-particle:nth-child(1) {
    left: 5%;
    width: 10px;
    height: 10px;
    animation-duration: 4s;
    animation-delay: 0s;
    --drift: 0.2;
}

.fire-particle:nth-child(2) {
    left: 15%;
    width: 15px;
    height: 15px;
    animation-duration: 5s;
    animation-delay: 1.5s;
    --drift: -0.3;
}

.fire-particle:nth-child(3) {
    left: 25%;
    width: 8px;
    height: 8px;
    animation-duration: 3.5s;
    animation-delay: 0.5s;
    --drift: 0.5;
}

.fire-particle:nth-child(4) {
    left: 35%;
    width: 12px;
    height: 12px;
    animation-duration: 6s;
    animation-delay: 2s;
    --drift: -0.1;
}

.fire-particle:nth-child(5) {
    left: 45%;
    width: 20px;
    height: 20px;
    animation-duration: 4.5s;
    animation-delay: 1s;
    --drift: 0.8;
}

.fire-particle:nth-child(6) {
    left: 55%;
    width: 6px;
    height: 6px;
    animation-duration: 3s;
    animation-delay: 0.2s;
    --drift: -0.5;
}

.fire-particle:nth-child(7) {
    left: 65%;
    width: 14px;
    height: 14px;
    animation-duration: 5.5s;
    animation-delay: 2.5s;
    --drift: 0.2;
}

.fire-particle:nth-child(8) {
    left: 75%;
    width: 18px;
    height: 18px;
    animation-duration: 4.8s;
    animation-delay: 0.8s;
    --drift: -0.4;
}

.fire-particle:nth-child(9) {
    left: 85%;
    width: 9px;
    height: 9px;
    animation-duration: 3.8s;
    animation-delay: 1.2s;
    --drift: 0.6;
}

.fire-particle:nth-child(10) {
    left: 95%;
    width: 16px;
    height: 16px;
    animation-duration: 5.2s;
    animation-delay: 1.8s;
    --drift: -0.2;
}

.fire-particle:nth-child(11) {
    left: 2%;
    width: 11px;
    height: 11px;
    animation-duration: 4.2s;
    animation-delay: 2.2s;
    --drift: 0.3;
}

.fire-particle:nth-child(12) {
    left: 12%;
    width: 7px;
    height: 7px;
    animation-duration: 3.2s;
    animation-delay: 0.4s;
    --drift: -0.6;
}

.fire-particle:nth-child(13) {
    left: 22%;
    width: 19px;
    height: 19px;
    animation-duration: 5.8s;
    animation-delay: 3s;
    --drift: 0.1;
}

.fire-particle:nth-child(14) {
    left: 32%;
    width: 13px;
    height: 13px;
    animation-duration: 4.6s;
    animation-delay: 1.4s;
    --drift: -0.7;
}

.fire-particle:nth-child(15) {
    left: 42%;
    width: 22px;
    height: 22px;
    animation-duration: 6.2s;
    animation-delay: 2.8s;
    --drift: 0.4;
}

.fire-particle:nth-child(16) {
    left: 52%;
    width: 5px;
    height: 5px;
    animation-duration: 2.8s;
    animation-delay: 0.1s;
    --drift: -0.1;
}

.fire-particle:nth-child(17) {
    left: 62%;
    width: 17px;
    height: 17px;
    animation-duration: 5.4s;
    animation-delay: 2.4s;
    --drift: 0.7;
}

.fire-particle:nth-child(18) {
    left: 72%;
    width: 10px;
    height: 10px;
    animation-duration: 4.0s;
    animation-delay: 1.6s;
    --drift: -0.3;
}

.fire-particle:nth-child(19) {
    left: 82%;
    width: 14px;
    height: 14px;
    animation-duration: 5.0s;
    animation-delay: 3.5s;
    --drift: 0.5;
}

.fire-particle:nth-child(20) {
    left: 92%;
    width: 8px;
    height: 8px;
    animation-duration: 3.6s;
    animation-delay: 0.6s;
    --drift: -0.2;
}

.fire-particle:nth-child(21) {
    left: 8%;
    width: 12px;
    height: 12px;
    animation-duration: 4.4s;
    animation-delay: 1.1s;
    --drift: 0.2;
}

.fire-particle:nth-child(22) {
    left: 18%;
    width: 15px;
    height: 15px;
    animation-duration: 5.6s;
    animation-delay: 2.6s;
    --drift: -0.4;
}

.fire-particle:nth-child(23) {
    left: 28%;
    width: 9px;
    height: 9px;
    animation-duration: 3.9s;
    animation-delay: 1.3s;
    --drift: 0.6;
}

.fire-particle:nth-child(24) {
    left: 38%;
    width: 16px;
    height: 16px;
    animation-duration: 6.0s;
    animation-delay: 2.9s;
    --drift: -0.5;
}

.fire-particle:nth-child(25) {
    left: 48%;
    width: 20px;
    height: 20px;
    animation-duration: 5.1s;
    animation-delay: 2.1s;
    --drift: 0.3;
}

.fire-particle:nth-child(26) {
    left: 58%;
    width: 6px;
    height: 6px;
    animation-duration: 3.1s;
    animation-delay: 0.3s;
    --drift: -0.1;
}

.fire-particle:nth-child(27) {
    left: 68%;
    width: 18px;
    height: 18px;
    animation-duration: 5.7s;
    animation-delay: 3.1s;
    --drift: 0.8;
}

.fire-particle:nth-child(28) {
    left: 78%;
    width: 11px;
    height: 11px;
    animation-duration: 4.3s;
    animation-delay: 1.7s;
    --drift: -0.6;
}

.fire-particle:nth-child(29) {
    left: 88%;
    width: 13px;
    height: 13px;
    animation-duration: 4.9s;
    animation-delay: 2.7s;
    --drift: 0.4;
}

.fire-particle:nth-child(30) {
    left: 98%;
    width: 7px;
    height: 7px;
    animation-duration: 3.4s;
    animation-delay: 0.7s;
    --drift: -0.2;
}

.fire-particle:nth-child(31) {
    left: 4%;
    width: 14px;
    height: 14px;
    animation-duration: 5.3s;
    animation-delay: 1.9s;
    --drift: 0.5;
}

.fire-particle:nth-child(32) {
    left: 14%;
    width: 9px;
    height: 9px;
    animation-duration: 4.1s;
    animation-delay: 2.3s;
    --drift: -0.3;
}

.fire-particle:nth-child(33) {
    left: 24%;
    width: 17px;
    height: 17px;
    animation-duration: 5.9s;
    animation-delay: 3.2s;
    --drift: 0.7;
}

.fire-particle:nth-child(34) {
    left: 34%;
    width: 10px;
    height: 10px;
    animation-duration: 3.7s;
    animation-delay: 0.9s;
    --drift: -0.4;
}

.fire-particle:nth-child(35) {
    left: 44%;
    width: 21px;
    height: 21px;
    animation-duration: 6.4s;
    animation-delay: 3.3s;
    --drift: 0.2;
}

.fire-particle:nth-child(36) {
    left: 54%;
    width: 5px;
    height: 5px;
    animation-duration: 2.9s;
    animation-delay: 0.2s;
    --drift: -0.5;
}

.fire-particle:nth-child(37) {
    left: 64%;
    width: 15px;
    height: 15px;
    animation-duration: 5.5s;
    animation-delay: 2.5s;
    --drift: 0.6;
}

.fire-particle:nth-child(38) {
    left: 74%;
    width: 12px;
    height: 12px;
    animation-duration: 4.7s;
    animation-delay: 1.5s;
    --drift: -0.1;
}

.fire-particle:nth-child(39) {
    left: 84%;
    width: 19px;
    height: 19px;
    animation-duration: 6.1s;
    animation-delay: 3.4s;
    --drift: 0.3;
}

.fire-particle:nth-child(40) {
    left: 94%;
    width: 8px;
    height: 8px;
    animation-duration: 3.5s;
    animation-delay: 0.5s;
    --drift: -0.7;
}

.fire-particle:nth-child(41) {
    left: 6%;
    width: 16px;
    height: 16px;
    animation-duration: 5.2s;
    animation-delay: 2.0s;
    --drift: 0.4;
}

.fire-particle:nth-child(42) {
    left: 16%;
    width: 7px;
    height: 7px;
    animation-duration: 3.3s;
    animation-delay: 1.0s;
    --drift: -0.2;
}

.fire-particle:nth-child(43) {
    left: 26%;
    width: 18px;
    height: 18px;
    animation-duration: 5.8s;
    animation-delay: 3.6s;
    --drift: 0.8;
}

.fire-particle:nth-child(44) {
    left: 36%;
    width: 11px;
    height: 11px;
    animation-duration: 4.5s;
    animation-delay: 1.8s;
    --drift: -0.3;
}

.fire-particle:nth-child(45) {
    left: 46%;
    width: 22px;
    height: 22px;
    animation-duration: 6.3s;
    animation-delay: 3.7s;
    --drift: 0.5;
}

.fire-particle:nth-child(46) {
    left: 56%;
    width: 6px;
    height: 6px;
    animation-duration: 3.0s;
    animation-delay: 0.3s;
    --drift: -0.6;
}

.fire-particle:nth-child(47) {
    left: 66%;
    width: 14px;
    height: 14px;
    animation-duration: 5.6s;
    animation-delay: 2.2s;
    --drift: 0.2;
}

.fire-particle:nth-child(48) {
    left: 76%;
    width: 13px;
    height: 13px;
    animation-duration: 4.8s;
    animation-delay: 3.8s;
    --drift: -0.4;
}

.fire-particle:nth-child(49) {
    left: 86%;
    width: 20px;
    height: 20px;
    animation-duration: 6.5s;
    animation-delay: 3.9s;
    --drift: 0.7;
}

.fire-particle:nth-child(50) {
    left: 96%;
    width: 9px;
    height: 9px;
    animation-duration: 3.8s;
    animation-delay: 0.8s;
    --drift: -0.5;
}

/* Ensure Section Titles have the Fire Gradient */
.sec-title h2 {
    background: linear-gradient(90deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}