:root {
    --primary-color: #00e5ff;
    --primary-glow: rgba(0, 229, 255, 0.4);
    --secondary-color: #ff00ea;
    --bg-dark: #07070a;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-dim: #a0a0b0;
    --font-main: 'Outfit', 'Inter', sans-serif;
    --sidebar-width: 280px;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Hide mobile drawer components by default (on PC) */
.mobile-drawer-header,
.m-quick-title,
.nav-links li.m-divider {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================================ */
/* FLEX & UTILITY ENGINE - THE STABILIZER */
.flex {
    display: flex;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.items-center {
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1;
}

.gap-2 {
    gap: 10px;
}

.gap-3 {
    gap: 15px;
}

.gap-4 {
    gap: 20px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 25px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-4 {
    margin-bottom: 25px;
}

.p-3 {
    padding: 15px;
}

.p-4 {
    padding: 25px;
}

.text-center {
    text-align: center;
}

.dark-mode {
    background: #0a0a0f;
    color: #fff;
}

.dark-mode ::-webkit-scrollbar {
    width: 8px;
}

.dark-mode ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.dark-mode ::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.1);
    border-radius: 10px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease !important;
}

.nav-hidden {
    transform: translateY(-120%) !important;
    opacity: 0 !important;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    z-index: 99990;
    transition: 0.4s;
    cursor: pointer;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-links a i {
    font-size: 1.1rem;
    opacity: 0.7;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a.active-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.pwa-install-btn {
    display: none !important;
}

.pwa-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 229, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    gap: 30px;
    margin-bottom: 50px;
}

.pwa-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.pwa-icon-box img {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.pwa-text-box h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: #fff;
}

.pwa-text-box p {
    color: var(--text-dim);
    font-size: 0.95rem;
    max-width: 500px;
}

@media (max-width: 768px) {
    #pwa-install-section {
        margin-top: 60px !important;
        margin-bottom: 40px !important;
        padding: 0 20px;
    }

    .pwa-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
        gap: 20px;
    }

    .pwa-info {
        flex-direction: column;
        gap: 15px;
    }

    .pwa-text-box h3 {
        font-size: 1.25rem;
    }
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 992px) {
    .menu-btn {
        display: block;
    }

    .m-login-btn {
        margin-top: 25px;
    }

    .mobile-drawer-header {
        display: block !important;
        width: 100%;
        padding: 25px 20px;
        background: rgba(255, 255, 255, 0.03);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 10px;
    }

    .m-quick-title {
        display: block !important;
        padding: 25px 20px 10px 20px;
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: rgba(255, 255, 255, 0.3);
        font-weight: 900;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        margin-top: 20px;
    }

    .m-profile-main {
        display: flex;
        align-items: center;
        gap: 15px;
        position: relative;
        padding-right: 40px;
    }

    .m-avatar {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        border: 2px solid var(--primary-color);
    }

    .m-user-info {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .m-name {
        font-weight: 800;
        font-size: 1rem;
        color: #fff;
    }

    .m-role {
        font-size: 0.65rem;
        color: var(--primary-color);
        font-weight: 700;
        text-transform: uppercase;
    }

    .m-stats-row {
        margin-top: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .m-close {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 1.6rem;
        color: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m-add-link {
        padding: 4px 12px;
        background: var(--primary-color);
        color: #000 !important;
        border-radius: 6px;
        font-size: 0.7rem;
        text-decoration: none;
        font-weight: 900;
        box-shadow: 0 4px 10px rgba(0, 229, 255, 0.3);
    }

    .m-guest-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .m-brand-name {
        font-weight: 900;
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .m-quick-title {
        padding: 25px 20px 10px 20px;
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: rgba(255, 255, 255, 0.3);
        font-weight: 900;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        margin-top: 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: #08080c !important;
        backdrop-filter: blur(50px);
        flex-direction: column;
        padding: 0 !important;
        transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000000;
        box-shadow: -20px 0 100px rgba(0, 0, 0, 0.9);
        overflow-y: auto;
    }

    .nav-links a.active {
        background: rgba(0, 229, 255, 0.05) !important;
        color: var(--primary-color) !important;
        border-left: 4px solid var(--primary-color) !important;
        padding-left: 20px !important;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 2px;
    }

    .nav-links a {
        padding: 1.25rem 1.5rem !important;
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        gap: 15px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    }

    .nav-dropdown {
        display: none;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border-radius: 12px !important;
        margin-top: 5px;
        padding: 5px 0 !important;
    }

    .sub-active .nav-dropdown {
        display: block !important;
    }

    .nav-dropdown a {
        padding: 12px 20px 12px 45px !important;
        font-size: 0.95rem !important;
        border-bottom: none !important;
        opacity: 0.8;
    }

    .nav-balance {
        font-size: 1.4rem !important;
        font-weight: 900;
        color: #ffd700;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    }

    .nav-avatar {
        width: 55px !important;
        height: 55px !important;
        border-radius: 14px;
        border: 2px solid var(--primary-color);
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    }

    /* MOBILE DRAWER HEADER STYLES */
    .mobile-drawer-header {
        display: block !important;
        padding: 25px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: linear-gradient(to bottom, rgba(0, 229, 255, 0.03), transparent);
    }

    .m-profile-main {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
        position: relative;
    }

    .m-avatar {
        width: 60px;
        height: 60px;
        border-radius: 18px;
        border: 2px solid var(--primary-color);
        padding: 2px;
        background: #000;
        box-shadow: 0 0 20px var(--primary-glow);
    }

    .m-user-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .m-name {
        font-weight: 900;
        font-size: 1.1rem;
        color: #fff;
        letter-spacing: 0.5px;
    }

    .m-role {
        font-size: 0.7rem;
        color: var(--primary-color);
        text-transform: uppercase;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .m-close {
        margin-left: auto;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        font-size: 1rem;
        color: #889;
        cursor: pointer;
    }

    .m-stats-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.03);
        padding: 12px 15px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .m-stats-row span {
        font-size: 0.9rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .m-add-link {
        background: var(--primary-color);
        color: #000 !important;
        padding: 4px 12px !important;
        border-radius: 6px !important;
        font-size: 0.75rem !important;
        font-weight: 900 !important;
        text-decoration: none !important;
        box-shadow: 0 4px 15px var(--primary-glow);
    }
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    border-radius: 0.8rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: #0a0a0f !important;
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 229, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: #fff !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* ADDITIONAL EFFECTS */
.glow-on-hover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
    z-index: -1;
}

.glow-on-hover:hover::before {
    opacity: 1;
    top: -20%;
    left: -20%;
}

.pulse-primary {
    animation: pulse_border 3s infinite;
}

@keyframes pulse_border {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 229, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
    }
}


/* ============================================================ */

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    transition: 0.3s;
    width: 100%;
}

.glass-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(0, 229, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
}

.gradient-text {
    background: linear-gradient(45deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* LAYOUT ENGINE - OFF-CANVAS MODE */
.layout {
    display: block;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    overflow-x: hidden;
}

.sidebar {
    box-sizing: border-box;
    width: var(--sidebar-width);
    padding: 30px 15px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: calc(-1 * var(--sidebar-width) - 20px);
    display: flex;
    flex-direction: column;
    transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    z-index: 9999999;
    background: rgba(10, 10, 15, 0.9) !important;
    backdrop-filter: blur(40px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 20px 0 80px rgba(0, 0, 0, 0.8);
}

.sidebar.active {
    left: 0;
}

* {
    box-sizing: border-box;
}

.main-content {
    flex: 1;
    padding: 1rem;
    transition: 0.5s;
    min-width: 0;
}

@media (min-width: 768px) {
    .main-content {
        padding: 10px 2.5rem 2.5rem 2.5rem;
    }
}

.menu-toggle {
    display: block !important;
    color: var(--primary-color);
    font-size: 1.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.menu-toggle:hover {
    transform: scale(1.1);
    text-shadow: 0 0 10px var(--primary-color);
}

/* SIDEBAR NAVIGATION */
.brand {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 2px;
}

.side-menu {
    list-style: none;
    flex: 1;
}

.side-menu li {
    padding: 14px 20px;
    margin-bottom: 6px;
    border-radius: 15px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    border: 1px solid transparent;
}

.side-menu li i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    transition: 0.3s;
}

.side-menu li:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    transform: translateX(5px);
}

.side-menu li.active {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.1);
}

.side-menu li.active i {
    color: var(--primary-color);
}

.badge-new {
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 900;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-hot {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 0 15px var(--secondary-color);
}

.badge-buy {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px var(--primary-color);
}

.badge-free {
    background: var(--accent-green);
    color: #000;
    box-shadow: 0 0 15px var(--accent-green);
}

.admin-link {
    color: var(--primary-color) !important;
}

.admin-link i {
    color: var(--primary-color) !important;
}


/* DASHBOARD HEADER */
.dash-header {
    padding: 10px 30px;
    border-radius: 25px;
    margin-bottom: 15px;
    animation: slideInTop 0.8s ease-out;
}

.stats-badge {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-item {
    padding: 0 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-item:last-child {
    border: none;
}

/* PROFILE & DROPDOWN - THE STABILIZER */
.profile-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: 0.3s;
}

.profile-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-color);
}

.avatar-sm {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 280px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-top: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999999;
}

.profile-card:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 15px;
    text-align: center;
}

.dropdown-header h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.dropdown-links {
    list-style: none;
}

.dropdown-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-dim);
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
    font-size: 0.9rem;
    font-weight: 600;
}

.dropdown-links li a:hover {
    background: rgba(0, 229, 255, 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
}

.logout-link {
    color: #ff4444 !important;
}

/* ROLE TAGS */
.role-badge-mini {
    font-size: 0.6rem;
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 900;
    letter-spacing: 1px;
}

.role-ceo {
    background: rgba(255, 0, 234, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.role-staff {
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.role-client {
    background: rgba(0, 255, 127, 0.1);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

/* TAB ENGINE - MOTION & VISIBILITY */
.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-out;
    margin-top: 0;
    padding-top: 0;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* STATS CARDS GRID */
.grid-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.stat-card {
    text-align: left;
    position: relative;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 30px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.stat-card:nth-child(2) {
    border-color: var(--accent-green);
}

.stat-card:nth-child(3) {
    border-color: #a855f7;
}

.stat-icon {
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    opacity: 0.9;
}

.avatar-lg {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    margin: 0 0 15px 0;
    object-fit: cover;
    display: block;
}

.VIP-glow {
    border: 1px solid rgba(255, 215, 0, 0.1) !important;
    box-shadow: inset 0 0 30px rgba(255, 215, 0, 0.05);
}

/* CHAT INTERFACE - NEON GLASS */
#chat-messages::-webkit-scrollbar {
    width: 5px;
}

#chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.2);
    border-radius: 10px;
}

.chat-bubble {
    animation: popIn 0.3s ease-out;
}

.chat-bubble.me {
    flex-direction: row-reverse;
}

.chat-bubble.me div[style*="background"] {
    background: rgba(0, 229, 255, 0.1) !important;
    border-color: rgba(0, 229, 255, 0.2) !important;
}

/* PRODUCT CARDS */
/* PRODUCT CARDS - RESPONSIVE GRID */
.grid-games {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(280px, 100%, 450px), 1fr));
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .grid-games {
        grid-template-columns: 1fr;
    }
}

.product-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 500px) {
    .product-card {
        flex-direction: column;
    }

    .p-img {
        width: 100% !important;
        height: 180px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-right: none !important;
    }
}

.p-img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.p-info {
    padding: 1rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.p-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.card-status-badge {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 5;
    letter-spacing: 0.5px;
}

.status-green {
    background: var(--accent-green);
    color: #000;
    box-shadow: 0 0 15px var(--accent-green);
}

.status-yellow {
    background: #ffaa00;
    color: #000;
    box-shadow: 0 0 15px #ffaa00;
}

.status-risk {
    background: #ff2e2e;
    color: #fff;
    box-shadow: 0 0 15px #ff2e2e;
}

.text-danger {
    color: #ff2e2e !important;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.admin-table th {
    padding: 15px;
    text-align: left;
    color: var(--text-dim);
    text-transform: uppercase;
    font-size: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.admin-table td {
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.02);
}

.admin-table tr td:first-child {
    border-radius: 15px 0 0 15px;
}

.admin-table tr td:last-child {
    border-radius: 0 15px 15px 0;
}

/* ANIMATIONS & RESPONSIVENESS */
@keyframes slideInTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================================ */
/* OFFICIAL STORE CSS RESTORATION */
.store-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s !important;
}

.controls-hidden {
    transform: translateY(-250px) !important;
    opacity: 0;
    pointer-events: none;
}

.chips-nav-wrapper {
    position: relative;
    width: 100%;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 15;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

.scroll-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {

    .store-header,
    .store-controls {
        padding: 10px 15px !important;
        margin-bottom: 15px !important;
        border-radius: 12px !important;
        top: 80px !important;
    }

    .category-wrapper {
        gap: 8px !important;
    }

    .category-chips {
        padding: 5px 32px !important;
        gap: 6px !important;
    }

    .chip {
        padding: 5px 12px !important;
        font-size: 0.75rem !important;
        gap: 4px !important;
        border-radius: 10px !important;
    }

    .chip i {
        font-size: 0.75rem !important;
    }

    .scroll-btn {
        width: 26px !important;
        height: 26px !important;
    }

    .scroll-btn i {
        font-size: 0.65rem !important;
    }

    .search-wrapper {
        min-width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    .search-input {
        padding: 8px 12px 8px 35px !important;
        font-size: 0.8rem !important;
        border-radius: 10px !important;
    }
}

.category-chips::-webkit-scrollbar {
    display: none;
}

.category-chips {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.chip {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.chip i {
    font-size: 0.9rem;
    opacity: 0.6;
}

.chip:hover,
.chip.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

.chip.active i {
    opacity: 1;
}

@media (max-width: 768px) {
    .store-controls {
        padding: 20px !important;
        margin-bottom: 30px !important;
        border-radius: 20px !important;
    }

    .category-chips {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 5px 0 15px 0 !important;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .search-wrapper {
        min-width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        order: -1;
        /* Search at top on mobile */
    }
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
}

.search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px 12px 40px;
    border-radius: 50px;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.v-fade {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.v-fade-inner svg {
    width: 100%;
    max-width: 800px;
    height: 80px;
}

.v-fade-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.v-fade-text h2 {
    font-size: 2.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
    font-weight: 900;
}

.breadcrumb-link:hover {
    color: var(--primary-color) !important;
}

.store-status {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse_stat 1.5s infinite;
}

@keyframes pulse_stat {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* NAVBAR RESTORATION */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 15px;
    border-radius: 8px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nav-links li a.active {
    color: var(--primary-color);
    background: rgba(0, 229, 255, 0.1);
}


.has-dropdown {
    position: relative;
    /* Removed flex to match regular li behavior */
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 220px;
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 15px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 15px !important;
    border-radius: 10px;
    color: #fff !important;
    background: transparent !important;
    font-size: 0.9rem !important;
    transition: 0.3s !important;
    width: 100%;
}

.nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--primary-color) !important;
    padding-left: 20px !important;
}

.dropdown-divider-text {
    font-size: 0.65rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 15px 5px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 5px;
}

.nav-dropdown a i {
    font-size: 1rem;
    width: 20px;
}

.user-profile-nav {
    display: flex;
    align-items: center;
    position: relative;
}

.user-nav-trigger {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.user-nav-trigger:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.nav-balance {
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.user-nav-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.user-nav-trigger:hover .user-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.user-nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 20px;
    color: var(--primary-color);
}

/* ============================================================ */

@media (max-width: 1024px) {

    /* Optimize main content padding for smaller screens */
    .main-content {
        padding: 15px;
    }

    .grid-dashboard {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {

    /* Ensure Header flexes correctly on mobile */
    .dash-header {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-right {
        width: 100%;
        justify-content: center;
    }

    .greeting h3 {
        font-size: 1rem;
    }

    /* Optimize grid for mobile */
    .grid-games {
        grid-template-columns: 1fr;
    }

    /* Ensure chat input area fits mobile */
    .chat-input-area {
        flex-direction: column;
    }

    .chat-input-area button {
        width: 100%;
        padding: 15px;
    }
}

/* --- CHEATVAULT MARQUEE & PAYMENTS --- */
.cv-marquee {
    overflow: hidden;
    user-select: none;
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.cv-marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    min-width: 100%;
    animation: marquee 30s linear infinite;
}

.cv-icon-card {
    width: 120px;
    height: 75px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: 0.4s;
}

.cv-icon-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.cv-icon-card svg {
    width: 100%;
    height: 100%;
    max-height: 40px;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* --- FEATURES SHOWCASE --- */
.showcase-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 40px;
    border-radius: 30px;
    margin-top: 40px;
    align-items: stretch;
    min-height: 500px;
}

.showcase-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.showcase-selectors {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.selector-item {
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.selector-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.3);
}

.selector-item.active {
    background: rgba(0, 229, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
    transform: translateX(-10px);
}

.selector-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.selector-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.6;
    line-height: 1.6;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

/* --- NEW PREMIUM DESIGN SYSTEM --- */
.glass-premium {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 25px;
    transition: 0.3s;
}

.promo-badge:hover {
    background: rgba(0, 229, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.05);
}

.promo-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 0.8rem;
    box-shadow: 0 0 10px var(--primary-color);
}

.promo-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 10px #ff0000;
    animation: pulse_red 1.5s infinite;
}

@keyframes pulse_red {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    z-index: 1;
}

.showcase-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.game-name {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.status-und {
    font-size: 0.65rem;
    font-weight: 900;
    background: var(--accent-green);
    color: #000;
    padding: 2px 10px;
    border-radius: 4px;
    width: fit-content;
    box-shadow: 0 0 15px var(--accent-green);
}

.glow-orb-primary {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    filter: blur(50px);
    z-index: -1;
}

.glow-orb-secondary {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    filter: blur(40px);
    z-index: -1;
}

.pulse-primary {
    animation: pulse_btn 2s infinite;
}

@keyframes pulse_btn {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 229, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
    }
}

.section-title-wrap {
    text-align: center;
    margin: 80px 0 50px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 10px;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.section-subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* --- HERO & SHOWCASE ENGINE --- */
.hero {
    min-height: 850px;
    display: flex;
    align-items: center;
    padding: 120px 10% 60px 10%;
    /* Added top padding to prevent fixed navbar overlap */
    position: relative;
    overflow: hidden;
    gap: 50px;
    z-index: 5;
}

.hero-content {
    flex: 1.2;
    z-index: 10;
}

/* --- HIGH FIDELITY CYBER-GLITCH ENGINE --- */
.glitch {
    font-size: 4.5rem;
    font-weight: 950;
    text-transform: uppercase;
    position: relative;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 25px;
    z-index: 1;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
}

.glitch::before {
    left: 4px;
    text-shadow: -3px 0 #ff00ea;
    clip: rect(10px, 9999px, 45px, 0);
    animation: glitch_cyber_1 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -4px;
    text-shadow: 3px 0 #00e5ff;
    clip: rect(50px, 9999px, 95px, 0);
    animation: glitch_cyber_2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch_cyber_1 {
    0% {
        clip: rect(15px, 9999px, 25px, 0);
        transform: skew(0.5deg);
    }

    15% {
        clip: rect(85px, 9999px, 75px, 0);
        transform: skew(-0.5deg);
    }

    30% {
        clip: rect(10px, 9999px, 85px, 0);
        transform: skew(0.2deg);
    }

    45% {
        clip: rect(45px, 9999px, 35px, 0);
        transform: skew(-0.3deg);
    }

    60% {
        clip: rect(95px, 9999px, 15px, 0);
        transform: skew(0.4deg);
    }

    100% {
        clip: rect(35px, 9999px, 65px, 0);
        transform: skew(-0.1deg);
    }
}

@keyframes glitch_cyber_2 {
    0% {
        clip: rect(2px, 9999px, 88px, 0);
        transform: skew(-0.2deg);
    }

    20% {
        clip: rect(44px, 9999px, 55px, 0);
        transform: skew(0.3deg);
    }

    40% {
        clip: rect(66px, 9999px, 12px, 0);
        transform: skew(-0.4deg);
    }

    60% {
        clip: rect(5px, 9999px, 77px, 0);
        transform: skew(0.5deg);
    }

    80% {
        clip: rect(88px, 9999px, 33px, 0);
        transform: skew(-0.2deg);
    }

    100% {
        clip: rect(12px, 9999px, 22px, 0);
        transform: skew(0.1deg);
    }
}

/* --- UTILITY & HIGHLIGHTS --- */
.highlight {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-glow);
}

.text-cyan {
    color: #00e5ff;
}

.text-gold {
    color: #ffd700;
}

.text-purple {
    color: #a855f7;
}

.subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 550px;
    letter-spacing: 0.2px;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    margin-bottom: 50px;
}

.hero-showcase {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.showcase-card {
    position: absolute;
    width: 600px;
    height: 400px;
    border-radius: 20px;
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-card {
    z-index: 10;
    transform: scale(1);
    opacity: 1;
}

.sub-card {
    z-index: 5;
    transform: translateY(40px) scale(0.9);
    opacity: 0.4;
}

.hero-showcase:hover .main-card {
    transform: translateY(-20px) translateX(-20px) scale(0.95);
    opacity: 0.7;
}

.hero-showcase:hover .sub-card {
    transform: translateY(-20px) translateX(20px) scale(1.05);
    opacity: 1;
    z-index: 20;
    box-shadow: 0 0 50px var(--primary-glow);
}

.live-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    letter-spacing: 1px;
}

.cheat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RESPONSIVE FIXES */
@media (max-width: 1200px) {
    .hero {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 150px !important;
        padding-bottom: 60px !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .hero-content {
        flex: none !important;
        width: 100% !important;
        padding: 0 20px !important;
        position: relative !important;
        left: auto !important;
        order: 1 !important;
    }

    .hero-showcase {
        flex: none !important;
        width: 100% !important;
        min-height: 320px !important;
        position: relative !important;
        transform: none !important;
        order: 2 !important;
        margin: 20px 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: hidden !important;
    }

    .showcase-card {
        width: 95vw !important;
        max-width: 550px !important;
        height: 280px !important;
        position: relative !important;
        left: auto !important;
        transform: scale(0.95) !important;
        border-radius: 25px !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .sub-card {
        display: none !important;
    }

    .glow-orb-primary,
    .glow-orb-secondary {
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .promo-badge {
        width: 90% !important;
        max-width: 420px !important;
        margin: 15px auto !important;
        justify-content: center !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        text-align: center !important;
    }
}

/* GLOBAL HERO CONTENT STYLES */
.showcase-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 25px 25px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 20%, transparent);
    z-index: 5;
    pointer-events: none;
}

.game-name {
    display: block;
    font-size: 1.8rem;
    font-weight: 950;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    line-height: 1.1;
}

.status-und {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 4px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.05), transparent);
    background-size: 100% 4px;
    animation: scanline 4s linear infinite;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* WHY US SECTION */
.whyus-grids {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    width: 100%;
}

.whyus-grid {
    flex: 1;
    min-width: 320px;
    max-width: 450px;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    text-align: center;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform;
}

.whyus-grid:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.1);
}

.whyus-grid .icon {
    margin-bottom: 25px;
}

.whyus-grid .text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.whyus-grid .inner {
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================================ */
/* GRID SYSTEM - THE ARCHITECT */
.grid {
    display: grid;
    gap: 25px;
}


.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 1100px) {
    .grid {
        gap: 15px;
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* CREDIT BUNDLE CARDS - THE TREASURY */
.bundle-card {
    background: rgba(12, 12, 18, 0.97);
    border: 1px solid rgba(0, 229, 255, 0.08);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.bundle-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.bundle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.1;
    transition: 0.3s;
}

.bundle-card:hover::before {
    opacity: 1;
}

.bundle-card .amount {
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
    margin: 10px 0 3px 0;
    display: block;
    color: #fff;
}

.bundle-card .pkg-name {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.3;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.bundle-card .price-tag {
    font-size: 0.9rem;
    font-weight: 900;
    margin: 10px 0;
    display: block;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Subtle Highlights for Professional Tiering */
.bundle-card.elite {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.02), transparent);
}

.bundle-card.elite .amount {
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.bundle-card .icon-shield {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.15);
}

/* MOBILE OVERRIDES & UTILITIES */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    z-index: 9999990;
    transition: 0.4s;
    cursor: pointer;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 993px) {
    .sidebar {
        left: 0;
    }

    .main-content {
        margin-left: var(--sidebar-width);
        padding: 2.5rem !important;
    }

    .sidebar-overlay {
        display: none;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .flex-between {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .dash-header {
        padding: 1.5rem;
        border-radius: 1rem;
        flex-direction: column;
        gap: 1.5rem;
    }

    .stats-badge {
        width: 100%;
        border-radius: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .badge-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 0.8rem;
        width: 100%;
    }

    .badge-item:last-child {
        border-bottom: none;
    }

    .profile-card {
        width: 100%;
        justify-content: center;
    }

    .grid-dashboard {
        grid-template-columns: 1fr;
    }

    .admin-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 1rem;
    }

    .admin-table {
        min-width: 700px;
    }

    .showcase-container {
        grid-template-columns: 1fr !important;
        padding: 20px !important;
        gap: 20px !important;
        margin-top: 20px !important;
        min-height: auto !important;
    }

    .showcase-media {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        min-height: 200px !important;
    }

    .showcase-selectors {
        width: 100% !important;
    }

    .selector-item {
        padding: 15px !important;
    }

    .selector-item.active {
        transform: none !important;
        /* Prevents overlap/off-screen on mobile */
    }
}

@media (max-width: 500px) {
    .p-info {
        padding: 1rem !important;
    }

    .grid-games {
        grid-template-columns: 1fr;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* ============================================================ */
/* COOKIE CONSENT BANNER STYLING */
/* ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 450px;
    z-index: 999999;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 229, 255, 0.1);
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease;
    opacity: 0;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.cookie-icon {
    flex-shrink: 0;
    margin-top: 5px;
}

.cookie-text h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    font-family: var(--font-main);
}

.cookie-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .cookie-actions {
        flex-direction: column;
    }
}