:root {
    /* Core GPT/Gaming Palette */
    --bg-deep: #060709;
    --bg-surface: rgba(18, 22, 33, 0.7);
    --bg-card: rgba(255, 255, 255, 0.03);

    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.5);
    --secondary: #8b5cf6;
    --secondary-glow: rgba(139, 92, 246, 0.5);
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.5);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Styles Overrides */
body {
    background: transparent !important;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Glowing Elements */
.glow-text-primary {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.glow-text-secondary {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary-glow);
}

/* Premium Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 242, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 10px;
}

/* Top Bar Enhancements */
.top-nav {
    background: rgba(6, 7, 9, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Sidebar Enhancements */
.sidebar {
    background: rgba(6, 7, 9, 0.9) !important;
    border-right: none;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
}

.nav-link {
    transition: var(--transition-smooth);
    border-radius: 10px;
    margin: 4px 8px;
}

.nav-link:hover {
    background: var(--bg-card);
    color: var(--primary) !important;
}

.nav-link.active {
    background: linear-gradient(90deg, var(--primary-glow), transparent);
    border-left: 3px solid var(--primary);
    color: var(--primary) !important;
}

/* Mobile Bar Fixes */
.mobile-nav {
    background: rgba(6, 7, 9, 0.95) !important;
    backdrop-filter: blur(20px);
    border-top: none;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
}

/* Shimmer Effect */
.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Unique Background Patterns */
.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 242, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
}

.mesh-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(0, 242, 255, 0.15) 0px, transparent 50%);
    filter: blur(100px);
    pointer-events: none;
}

.floating-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.15;
    animation: float-around 20s infinite linear;
}

@keyframes float-around {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, 50px) scale(1.2);
    }

    66% {
        transform: translate(-50px, 100px) scale(0.8);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Section Header Unique Style */
.section-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-tag::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--primary);
}

.display-glow {
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a5f3fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.bg-glass-dark {
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(10px);
}

/* Modern Top Progress Bar Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* Increased height */
    background: rgba(10, 11, 14, 0.4);
    z-index: 999999;
    /* Max z-index */
    overflow: hidden;
    pointer-events: none;
    /* Keep this to click through */
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
    display: block;
    /* Ensure block display */
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary) 20%,
            var(--secondary) 50%,
            var(--primary) 80%,
            transparent 100%);
    animation: progress-slide 1.8s infinite cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 0 15px var(--primary-glow);
}

@keyframes progress-slide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* 
======================================================
   REMASTERED CYBER-MATRIX BACKGROUND
======================================================
*/
/* Unique Dynamic Background Container */
.page-background-wrapper {
    background: #020305 !important;
}

.matrix-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Relative to page-background-wrapper */
    overflow: hidden;
    pointer-events: none;
}

/* Binary Rain Effect - Denser and Sharper */
.matrix-background::after {
    content: "101100101010110101011001010101101010110010101011010101100101010110101011001010101101010110010101011010101100101010110101011001010101101010110010101011010101100101010110101011001010101101010110010101011010101100101010110101011001010101101010";
    /* Highly dense string */
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    color: var(--primary);
    font-size: 14px;
    font-family: 'Courier New', monospace;
    opacity: 0.15;
    animation: matrix-rain 20s linear infinite;
    word-break: break-all;
    line-height: 0.8;
    text-shadow: 0 0 8px var(--primary-glow);
    white-space: pre-wrap;
    display: block;
    z-index: 1;
}

@keyframes matrix-rain {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(33.33%);
    }
}

.matrix-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 242, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    z-index: 2;
    opacity: 0.3;
}

.matrix-lines {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
        repeating-linear-gradient(0deg,
            rgba(0, 242, 255, 0.02) 0px,
            rgba(0, 242, 255, 0.02) 1px,
            transparent 1px,
            transparent 4px);
    z-index: 3;
    pointer-events: none;
}

/* 
======================================================
   MODERN PARTNER CARDS (SHARP & BORDERLESS)
======================================================
*/
/* Universal removal of borders and radius for partner cards */
section.offerwalls .partners-card {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
    padding: 0 !important;
}

section.offerwalls .partners-card .glass-card {
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 2px solid var(--partner-color, var(--primary)) !important;
    border-radius: 0 20px 0 20px !important;
    box-shadow: none !important;
    transform: none !important;
}

section.offerwalls .partners-card::after,
section.offerwalls .partners-card::before {
    display: none !important;
}

.partners-card .glass-card {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--primary) !important;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease !important;
    height: 100%;
}

/* Scanning Progress Animation */
.partners-card .glass-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--partner-color), transparent);
    animation: scanning-progress 3s linear infinite;
    z-index: 10;
}

@keyframes scanning-progress {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.partners-card .glass-card:hover {
    background: var(--partner-color) !important;
    transform: none !important;
}

.partners-card .partners-body img {
    filter: none !important;
    opacity: 1 !important;
    max-width: 80% !important;
    transition: none !important;
    transform: none !important;
}

.partners-card .partners-footer {
    background: transparent !important;
    padding: 1rem !important;
    border: none !important;
}

.partners-card .partners-footer p {
    color: #fff !important;
    font-size: 13px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 800 !important;
    margin-bottom: 0 !important;
}

body,
.wrapper,
.content,
main,
.main-wrapper,
section,
.container-fluid,
#app,
.page-wrapper {
    background-color: transparent !important;
    background-image: none !important;
}