:root {

    --primary: #00d2ff;
    --primary-dark: #0072ff;

    --bg-dark: #050505;

    /* كروت الثيم الأزرق */
    --card-bg: linear-gradient(180deg,
            rgba(8, 15, 28, 0.96),
            rgba(2, 6, 14, 0.98));

    --glow: rgba(0, 210, 255, 0.35);
    --border-glow: rgba(0, 210, 255, 0.18);
    --hero-glow: #002b4d;

    --btn-color: var(--primary);
    --btn-shadow: #0056b3;

    --btn-fixed-start: #00d2ff;
    --btn-fixed-end: #0072ff;
    --btn-fixed-shadow: #0056b3;
}

body.red-theme {

    --primary: #ff2e63;
    --primary-dark: #ff004c;

    --bg-dark: #050505;

    /* كروت الثيم الأحمر */
    --card-bg: linear-gradient(180deg,
            rgba(40, 6, 14, 0.97),
            rgba(18, 2, 6, 0.99));

    --glow: rgba(255, 46, 99, 0.40);
    --border-glow: rgba(255, 46, 99, 0.22);
    --hero-glow: #4d001f;

    --btn-color: var(--primary);
    --btn-shadow: #b3003c;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-image:
        radial-gradient(circle at 50% 0%,
            var(--hero-glow) 0%,
            transparent 60%);
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

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

.float-icon {
    animation: floating 3s ease-in-out infinite;
}

.cyber-card {

    background: var(--card-bg);

    border: 1px solid var(--border-glow);

    border-radius: 35px;

    padding: 45px 30px;

    text-align: center;

    transition: all 0.5s ease;

    backdrop-filter: blur(20px);

    position: relative;

    overflow: hidden;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cyber-card:hover {

    transform: translateY(-12px);

    border-color: var(--primary);

    box-shadow:
        0 0 30px var(--glow),
        0 25px 60px rgba(0, 0, 0, 0.7);
}

.btn-3d-action {
    background: linear-gradient(135deg, var(--btn-color), var(--btn-color));
    color: white;
    font-weight: 900;

    border: none;
    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.15s ease;
    transform: translateY(0);
    cursor: pointer;

    box-shadow:
        0 6px 0 var(--btn-shadow),
        0 14px 30px rgba(0, 0, 0, 0.35),
        0 0 25px color-mix(in srgb, var(--btn-color) 40%, transparent);
}

.btn-3d-action:active {
    transform: translateY(6px);
    box-shadow:
        0 2px 0 var(--btn-shadow),
        0 6px 15px rgba(0, 0, 0, 0.25);
}

.auth-cancel-btn {
    color: rgba(255, 255, 255, 0.75);

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.08);

    height: 42px;

    border-radius: 14px;

    transition: all 0.25s ease;
}

/* اخفاء الاسكرول */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

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

/* تأثيرات احترافية للكروت */
.product-card {
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(15, 15, 20, .95);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px);
}

/* لمعة */
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, .08),
            transparent);
    transform: translateX(-100%);
    transition: .7s;
}

.product-card:hover::before {
    transform: translateX(100%);
}

.theme-user-icon {
    background:
        color-mix(in srgb, var(--primary) 20%, transparent);

    color: var(--primary);

    border-color:
        color-mix(in srgb, var(--primary) 35%, transparent);

    box-shadow:
        0 0 12px color-mix(in srgb, var(--primary) 25%, transparent);

    transition: all 0.25s ease;
}

.theme-user-email {
    color:
        color-mix(in srgb, var(--primary) 70%, white);

    text-shadow:
        0 0 8px color-mix(in srgb, var(--primary) 30%, transparent);

    transition: all 0.25s ease;
}

.auth-cancel-btn:hover {
    color: white;

    border-color: var(--primary);

    background:
        color-mix(in srgb, var(--primary) 12%, transparent);

    box-shadow:
        0 0 15px color-mix(in srgb, var(--primary) 35%, transparent);
}

.auth-toggle-link {
    color: var(--primary);

    transition: all 0.25s ease;

    text-shadow:
        0 0 10px color-mix(in srgb, var(--primary) 45%, transparent);
}

.auth-toggle-link:hover {
    color: white;

    text-shadow:
        0 0 15px var(--primary),
        0 0 30px color-mix(in srgb, var(--primary) 60%, transparent);
}

.modal-theme-title {
    color: var(--primary);

    text-shadow:
        0 0 12px color-mix(in srgb, var(--primary) 60%, transparent);

    transition: all 0.3s ease;
}

.theme-icon {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
}

.theme-icon-text {
    color: var(--primary);
    transition: all 0.3s ease;
}

.theme-text {
    color: var(--primary);
    text-shadow: 0 0 10px color-mix(in srgb, var(--primary) 60%, transparent);
}

.auth-btn-signup {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;

    border: none;

    box-shadow:
        0 6px 20px color-mix(in srgb, var(--primary) 35%, transparent);

    transition: all 0.25s ease;
}

.auth-btn-signup:hover {
    transform: translateY(-3px) scale(1.03);

    box-shadow:
        0 0 15px var(--primary),
        0 0 35px color-mix(in srgb, var(--primary) 40%, transparent);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    /* التحكم في المسافة بين الجرس والسلة */
}

#notifications-box {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 0.2s ease;
}

#notifications-box.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-icon {
    position: relative;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: 0.3s;
}

.icon-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    background: red;
    color: white;

    font-size: 10px;
    font-weight: 900;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.page-content {
    display: none;
    opacity: 0;
    transition: 0.5s;
}

.page-content.active {
    display: block;
    opacity: 1;
}

.checkout-sidebar {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 25px;
}

#checkout-page {
    overflow: hidden;
}

.checkout-sidebar {
    width: 100%;
}

.input-cyber {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    color: white;
    margin-bottom: 15px;
    outline: none;
    font-size: 13px;
}

.input-cyber:focus {
    border-color: var(--primary);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    display: none;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-show {
    display: flex;
}

/* تعديلات القائمة المنسدلة */
#user-dropdown {

    position: absolute;

    top: 80px;

    right: 20px;

    left: auto;

    /* التبديل لليسار لتتناسب مع موقع السلة الجديد */
    background: rgba(15, 15, 15, 0.95);

    border: 1px solid var(--primary);

    padding: 16px;

    border-radius: 25px;

    min-width: 200px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 210, 255, 0.1);

    display: none;

    z-index: 99999;

    backdrop-filter: blur(15px);

    text-align: center;
    /* توسيط المحتوى داخلياً */
}

#user-dropdown.show {
    display: block;
    animation: fadeInDown 0.3s ease;
}

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

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

#notifications-box h3 {
    color: var(--primary);
}



#notifications-box {
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.97), rgba(10, 10, 10, 0.98));
    border: 1px solid var(--border-glow);
}

#notification-bar {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glow);
    border: 1px solid var(--border-glow);
    backdrop-filter: blur(20px);
    padding: 18px 45px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.6s;
    z-index: 3000;
}

#notification-bar.show {
    bottom: 40px;
}

.method-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.3s;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.method-btn i {
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.method-btn.active {
    border-color: var(--primary);
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
}

.notification-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 15px;
    font-size: 12px;
}

.social-fixed {

    position: fixed;

    right: 20px;

    bottom: 20px;

    display: flex;

    flex-direction: column;

    gap: 15px;

    z-index: 9999;
}

.social-btn {

    width: 60px;

    height: 60px;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

    color: white;

    text-decoration: none;

    transition: 0.3s;

    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.social-btn:hover {

    transform: translateY(-5px) scale(1.05);
}

.whatsapp {

    background: #25D366;
}

.instagram {

    background: linear-gradient(45deg,
            #f09433,
            #e6683c,
            #dc2743,
            #cc2366,
            #bc1888);
}

.telegram {

    background: #229ED9;
}

.discord {

    background: #5865F2;
}

/* =========================================
   MOBILE FIRST RESPONSIVE FIX
========================================= */

/* ================= GLOBAL ================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   MOBILE BASE
========================================= */

@media screen and (max-width:768px) {

    /* ================= GLOBAL ================= */

    body {
        overflow-x: hidden !important;
    }

    /* ================= NAVBAR ================= */

    nav {

        width: 100% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        padding: 12px 14px !important;

        position: relative !important;

        gap: 10px !important;

        flex-wrap: nowrap !important;
    }

    /* اللوجو */

    nav>div:last-child {

        display: flex !important;
        align-items: center !important;

        flex-shrink: 0 !important;
    }

    nav>div:last-child,
    nav>div:last-child * {

        font-size: 18px !important;

        white-space: nowrap !important;

        font-weight: 900 !important;
    }

    /* الجزء اليمين */

    nav>div:first-child {

        display: flex !important;

        align-items: center !important;

        gap: 7px !important;

        flex-shrink: 0 !important;
    }

    /* ================= MOBILE MENU ================= */

    /* اخفاء مربع العميل الأصلي */

    nav>div:first-child>#user-info {
        display: none !important;
    }

    /* اظهار مربع العميل داخل ☰ */

    .extra-top-sections #user-info {
        display: flex !important;
        width: 100% !important;
        justify-content: flex-start !important;
        padding: 12px !important;
        border-radius: 14px !important;
        margin-bottom: 5px !important;
    }

    .extra-top-sections {

        position: fixed !important;

        top: 72px !important;

        left: 12px !important;
        right: 12px !important;

        background: rgba(10, 10, 10, .95) !important;

        border: 1px solid rgba(255, 255, 255, .08) !important;

        border-radius: 18px !important;

        padding: 14px !important;

        display: none !important;

        flex-direction: column !important;

        gap: 10px !important;

        z-index: 99999 !important;

        backdrop-filter: blur(18px) !important;
    }

    .extra-top-sections.show {
        display: flex !important;
    }

    .extra-top-section {

        position: relative !important;

        width: 100% !important;

        min-height: 56px !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        border-radius: 20px !important;

        padding: 0 18px !important;

        overflow: hidden !important;

        text-decoration: none !important;

        text-transform: uppercase !important;

        letter-spacing: 2px !important;

        font-size: 12px !important;

        font-weight: 900 !important;

        color: var(--primary) !important;

        background:
            linear-gradient(180deg,
                rgba(255, 255, 255, .08),
                rgba(255, 255, 255, .03)) !important;

        border:
            1px solid color-mix(in srgb,
                var(--primary) 25%,
                transparent) !important;

        backdrop-filter: blur(16px) !important;

        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .08),
            0 6px 18px rgba(0, 0, 0, .35),
            0 0 14px color-mix(in srgb,
                var(--primary) 15%,
                transparent);

        transition: all .28s ease !important;
    }

    /* لمعة متحركة */

    .extra-top-section::before {

        content: '';

        position: absolute;

        inset: 0;

        background:
            linear-gradient(120deg,
                transparent,
                rgba(255, 255, 255, .12),
                transparent);

        transform: translateX(-120%);

        transition: .8s;
    }

    /* هوفر / ضغط */

    .extra-top-section:hover,
    .extra-top-section:active {

        transform:
            translateY(-3px) scale(1.02) !important;

        color: white !important;

        border-color:
            color-mix(in srgb,
                var(--primary) 60%,
                white) !important;

        box-shadow:
            0 0 18px color-mix(in srgb,
                var(--primary) 40%,
                transparent),
            0 10px 30px rgba(0, 0, 0, .45);
    }

    /* تشغيل اللمعة */

    .extra-top-section:hover::before,
    .extra-top-section:active::before {

        transform: translateX(120%);
    }


    /* ================= HAMBURGER ================= */

    .mobile-menu-btn {

        width: 38px !important;
        height: 38px !important;

        border-radius: 12px !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        background: rgba(255, 255, 255, .05) !important;

        border: 1px solid rgba(255, 255, 255, .08) !important;

        color: white !important;

        cursor: pointer !important;

        flex-shrink: 0 !important;
    }

    .mobile-menu-btn svg {

        width: 18px !important;
        height: 18px !important;
    }

    /* ================= USER BOX ================= */

    #user-info {

        height: 34px !important;

        min-width: 92px !important;

        padding: 0 8px !important;

        border-radius: 10px !important;

        gap: 5px !important;

        margin-left: 2px !important;
    }

    #display-name {

        font-size: 10px !important;

        max-width: 58px !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;

        white-space: nowrap !important;
    }

    /* ================= ICONS ================= */

    .nav-icons {

        display: flex !important;

        align-items: center !important;

        gap: 6px !important;
    }

    .icon-box {

        width: 34px !important;

        height: 34px !important;

        border-radius: 10px !important;

        flex-shrink: 0 !important;
    }

    .icon-box i {

        font-size: 12px !important;
    }

    .badge {

        min-width: 16px !important;

        height: 16px !important;

        font-size: 9px !important;
    }

    /* ================= HERO ================= */

    header {

        padding-top: 15px !important;

        text-align: center !important;
    }

    header h1 {

        font-size: clamp(2.2rem, 11vw, 3rem) !important;

        line-height: 1.1 !important;

        margin-bottom: 10px !important;
    }

    header p {

        font-size: 10px !important;

        padding: 0 14px !important;

        line-height: 1.7 !important;
    }

    /* ================= PRODUCTS ================= */

    .products-grid {

        display: grid !important;

        grid-template-columns: 1fr !important;

        gap: 16px !important;

        padding: 10px !important;

        padding-bottom: 90px !important;
    }

    .product-card {

        width: 92% !important;

        margin: auto !important;

        min-height: 250px !important;

        border-radius: 24px !important;

        padding: 18px 15px !important;
    }

    .cyber-card .w-24 {

        width: 60px !important;

        height: 60px !important;
    }

    .cyber-card h3 {

        font-size: 1.05rem !important;
    }

    .cyber-card p {

        font-size: 10px !important;

        line-height: 1.6 !important;
    }

    .btn-3d-action {
        height: 44px !important;
        font-size: 13px !important;
    }

    .btn-optimize {
        box-shadow:
            0 5px 0 #0056b3,
            0 10px 20px rgba(0, 0, 0, 0.3),
            0 0 18px rgba(0, 210, 255, 0.35);
    }

    .btn-emulator {
        box-shadow:
            0 5px 0 #4c1d95,
            0 10px 20px rgba(0, 0, 0, 0.3),
            0 0 18px rgba(168, 85, 247, 0.35);
    }

    .btn-settings {
        box-shadow:
            0 5px 0 #065f46,
            0 10px 20px rgba(0, 0, 0, 0.3),
            0 0 18px rgba(52, 211, 153, 0.35);
    }

    /* ================= SOCIAL ================= */

    .social-fixed {

        right: 8px !important;

        bottom: 55px !important;

        gap: 8px !important;
    }

    .social-btn {

        width: 40px !important;

        height: 40px !important;

        border-radius: 12px !important;

        font-size: 16px !important;
    }

    /* =========================================
   ACCOUNTS PRODUCTS ONLY
========================================= */

    /* السلايدر */
    .accounts-products {

        display: grid;

        grid-auto-flow: column;

        grid-template-rows: repeat(2, auto);

        row-gap: 10px;

        /* بين الكارت اللي فوق واللي تحت */

        column-gap: 40px;

        /* بين الأعمدة اللي جنب بعض */

        overflow-x: auto;

        overflow-y: hidden;

        padding: 0 calc(11vw) 12px;

        scroll-snap-type: x mandatory;

        scroll-behavior: smooth;

        -ms-overflow-style: none;

        scrollbar-width: none;
    }

    .accounts-products::-webkit-scrollbar {
        display: none;
    }

    /* الكارت */
    .account-card {

        width: 78vw;

        min-width: 78vw;

        min-height: 250px;

        padding: 14px;

        border-radius: 24px;

        scroll-snap-align: center;
    }

    /* الصورة */
    .account-image {

        width: 100%;

        height: 160px;

        border-radius: 18px;

        overflow: hidden;

        margin-bottom: 10px;
    }

    .account-image img {

        width: 100%;

        height: 100%;

        object-fit: cover;
    }

    /* العنوان */
    .account-card h3 {

        font-size: 16px;

        margin-bottom: 5px;

        line-height: 1.4;
    }

    /* الوصف */
    .account-card p {

        font-size: 12px;

        margin-bottom: 10px;

        line-height: 1.5;
    }

    /* السعر */
    .account-price {

        font-size: 20px;

        margin-bottom: 10px;
    }

    /* الزر */
    .account-card .btn-3d-action {

        width: 100%;

        height: 40px;

        font-size: 12px;

        border-radius: 14px;
    }

    /* ================= HIDE MOBILE AUTH AFTER LOGIN ================= */

    body.logged-in #mobile-auth-buttons {
        display: none !important;
    }

}


/* =========================================
   TABLET
========================================= */

@media screen and (min-width:769px) and (max-width:1023px) {

    .grid {

        grid-template-columns:
            repeat(2, 1fr) !important;

        gap: 18px !important;
    }

}

/* =========================================
   DESKTOP
========================================= */

@media screen and (min-width:1024px) {

    nav {
        padding: 18px 40px !important;
    }

    nav img {
        width: 120px !important;
    }

    .products-grid {

        grid-template-columns:
            repeat(3, 1fr) !important;

        gap: 24px !important;

        padding: 20px 40px 120px !important;
    }

    .product-card {

        min-height: 380px !important;

        padding: 26px !important;

        border-radius: 28px !important;
    }

    .product-card .w-24 {

        width: 90px !important;
        height: 90px !important;
    }

    .product-card h3 {
        font-size: 1.7rem !important;
    }

    .product-card p {
        font-size: 14px !important;
    }

    .btn-3d-action {

        height: 55px !important;

        font-size: 18px !important;
    }

    .social-btn {

        width: 52px !important;
        height: 52px !important;

        font-size: 20px !important;
    }

    /* ===== CHECKOUT DESKTOP FIX ===== */

    #checkout-page .flex.flex-col.lg\:flex-row {
        align-items: flex-start !important;
        gap: 30px !important;
    }

    #checkout-page .lg\:w-2\/3 {
        width: 68% !important;
        max-width: 68% !important;
    }

    #checkout-page .lg\:w-1\/3 {
        width: 32% !important;
        max-width: 32% !important;
    }

    #checkout-page .bg-white\/5.border {
        padding: 35px !important;
        border-radius: 30px !important;
    }

    #checkout-product-header {
        width: 100% !important;
        overflow: hidden !important;
    }

    #checkout-page input {
        height: 55px !important;
        font-size: 14px !important;
    }

    #checkout-page .grid.grid-cols-1.md\:grid-cols-2 {
        gap: 20px !important;
    }

    #checkout-page .btn-3d-action {
        height: 58px !important;
        font-size: 18px !important;
    }

    #checkout-page .border-2.border-dashed {
        min-height: 180px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* ================= MOBILE AUTH MENU ================= */

#mobile-auth-buttons {
    display: none;
}

@media(max-width:768px) {

    /* اخفاء ازرار الدخول العادية */

    #auth-buttons {
        display: none !important;
    }

    /* اظهار زر الثلاث شرط */

    .mobile-menu-btn {
        display: flex !important;
    }

    /* ================= MOBILE AUTH BUTTONS ================= */

    #mobile-auth-buttons {

        display: flex !important;

        flex-direction: column !important;

        gap: 12px !important;

        padding-bottom: 14px !important;

        margin-bottom: 10px !important;

        border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    }

    /* زر دخول */

    #mobile-auth-buttons button:first-child {

        background: rgba(0, 210, 255, .08) !important;

        border: 1px solid rgba(0, 210, 255, .25) !important;

        color: var(--primary) !important;

        height: 48px !important;

        border-radius: 14px !important;

        font-size: 13px !important;

        font-weight: 900 !important;
    }

    /* زر تسجيل */

    #mobile-auth-buttons button:last-child {

        background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;

        color: white !important;

        height: 48px !important;

        border-radius: 14px !important;

        font-size: 13px !important;

        font-weight: 900 !important;

        box-shadow: 0 10px 25px rgba(0, 114, 255, .25) !important;
    }

    .mobile-links-box {

        display: flex !important;

        flex-direction: column !important;

        gap: 12px !important;

        margin-top: 12px !important;
    }

    #notifications-box {
        top: 50px !important;
        left: 30% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(-10px) !important;
        width: 70vw !important;
        max-width: 200px !important;
    }

    #notifications-box.show {
        transform: translateX(-50%) translateY(0) !important;
    }

    /* اخفاء الاقسام افتراضياً */

    .extra-top-sections {
        display: none !important;
    }

    .mobile-menu-divider {

        position: relative;

        width: 100%;

        height: 1px;

        margin: 18px 0;

        background:
            linear-gradient(90deg,
                transparent,
                color-mix(in srgb,
                    var(--primary) 70%,
                    white),
                transparent);

        overflow: hidden;

        opacity: .95;
    }

    /* اللمعة */

    .mobile-menu-divider::before {

        content: '';

        position: absolute;

        top: -3px;

        left: -35%;

        width: 35%;

        height: 6px;

        background:
            radial-gradient(circle,
                rgba(255, 255, 255, .95) 0%,
                transparent 70%);

        filter: blur(7px);

        animation: mobileDividerGlow 2.5s linear infinite;
    }

    @keyframes mobileDividerGlow {

        0% {
            left: -35%;
        }

        100% {
            left: 120%;
        }
    }


    .copy-btn {
        width: 95px;
        height: 30px;

        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;

        font-size: 10px;
        font-weight: 900;
        color: white;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;

        cursor: pointer;

        transition: transform 0.2s ease, box-shadow 0.25s ease;
    }

    .copy-btn i {
        font-size: 10px;
    }

    .copy-btn:hover {
        transform: translateY(-2px);
        border-color: var(--primary);
        box-shadow: 0 0 12px var(--glow);
    }

    .copy-btn:active {
        transform: scale(0.96);
    }
}

/* ================= DESKTOP ================= */

@media(min-width:769px) {

    .nav-icons {

        transform: translateX(640px);

    }

    nav>div:last-child {
        transform: translateX(-120px);
    }

    #user-info {

        transform: translateX(120px);

        justify-content: flex-end !important;

        padding-right: 8px !important;

    }

    #auth-buttons {

        transform: translateX(120px);

    }

    /* اخفاء زر المنيو */

    .mobile-menu-btn {
        display: none !important;
    }

    /* اخفاء تسجيل الهاتف */

    #mobile-auth-buttons {
        display: none !important;
    }

    .mobile-links-box {

        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;

        gap: 22px !important;

        transform: translateX(-190px);

    }

    #notifications-box {
        top: 110% !important;
        left: 72% !important;
        right: auto !important;
        transform: translateY(-10px) !important;
        width: 240px !important;
    }

    #notifications-box.show {
        transform: translateY(0) !important;
    }

    /* ================= EXTRA TOP SECTION HOVER ================= */

    .extra-top-section {
        position: relative;
        transition: all 0.25s ease;

        padding: 10px 14px;
        border-radius: 12px;

        transform-origin: center;
        will-change: transform;
    }

    /* Hover effect */
    .extra-top-section:hover {
        transform: translateY(-4px) scale(1.07);

        background: color-mix(in srgb, var(--primary) 12%, transparent);

        box-shadow:
            0 0 10px var(--primary),
            0 0 25px color-mix(in srgb, var(--primary) 50%, transparent),
            0 0 50px color-mix(in srgb, var(--primary) 25%, transparent);
    }

    /* اظهار الاقسام طبيعي */

    .extra-top-sections {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
    }

    /* اخفاء مربع العميل داخل ☰ في الكمبيوتر */

    .extra-top-sections #user-info {
        display: none !important;
    }

    .accounts-products {

        display: flex;

        justify-content: center;

        align-items: stretch;

        flex-wrap: wrap;

        gap: 20px;

        padding-bottom: 10px;

        width: 100%;
    }

    .account-card {

        width: 340px;

        min-height: 430px;

        padding: 22px;

    }

    .account-image {

        height: 220px;
    }


    /* اخفاء عناصر الموبايل */

    #mobile-user-box,
    #mobile-user-dropdown,
    #mobile-auth-buttons,
    .mobile-menu-divider {

        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;

    }

    .copy-btn {
        width: 95px;
        height: 30px;

        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;

        font-size: 10px;
        font-weight: 900;
        color: white;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;

        cursor: pointer;

        transition: transform 0.2s ease, box-shadow 0.25s ease;
    }

    .copy-btn i {
        font-size: 10px;
    }

    .copy-btn:hover {
        transform: translateY(-2px);
        border-color: var(--primary);
        box-shadow: 0 0 12px var(--glow);
    }

    .copy-btn:active {
        transform: scale(0.96);
    }
}

/* ===== ULTIMATE HERO ===== */

.ultimate-hero{
    min-height:100vh;
    position:relative;
    background:
    radial-gradient(circle at top, rgba(255,0,98,.25), transparent 35%),
    linear-gradient(180deg,#050505 0%,#09000f 50%,#050505 100%);
}

.hero-grid{
    position:absolute;
    inset:0;
    background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size:60px 60px;
    mask-image:linear-gradient(to bottom, rgba(0,0,0,1), transparent);
}

.hero-glow{
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    filter:blur(120px);
    opacity:.25;
}

.hero-glow-1{
    background:#ff0055;
    top:-150px;
    right:-100px;
}

.hero-glow-2{
    background:#00d9ff;
    bottom:-200px;
    left:-100px;
}

.premium-badge{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    padding:12px 22px;
    border-radius:999px;
    font-weight:800;
    letter-spacing:2px;
    backdrop-filter:blur(15px);
}

.status-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#00ff88;
    box-shadow:0 0 20px #00ff88;
}

.hero-title{
    font-size:clamp(3rem,8vw,8rem);
    line-height:.9;
    font-weight:900;
    margin-bottom:25px;
    text-transform:uppercase;
}

.hero-title span{
    display:block;
    color:#ff0055;
    text-shadow:0 0 30px rgba(255,0,85,.7);
}

.hero-subtitle{
    max-width:800px;
    margin:auto;
    color:#9ca3af;
    font-size:1.2rem;
    line-height:2;
    font-weight:700;
}

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    margin-top:45px;
}

.hero-btn{
    min-width:220px;
    padding:18px 28px;
    border-radius:22px;
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    transition:.3s ease;
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
}

.hero-btn:hover{
    transform:translateY(-8px) scale(1.03);
}

.diamonds-btn{
    background:linear-gradient(135deg,#ff0055,#ff4d88);
    box-shadow:0 15px 40px rgba(255,0,85,.35);
}

.accounts-btn{
    background:linear-gradient(135deg,#8b5cf6,#6d28d9);
    box-shadow:0 15px 40px rgba(139,92,246,.35);
}

.optimize-btn{
    background:linear-gradient(135deg,#00d9ff,#0084ff);
    box-shadow:0 15px 40px rgba(0,217,255,.35);
}

.live-stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:80px;
}

.live-card{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.06);
    border-radius:30px;
    padding:35px;
    text-align:center;
    backdrop-filter:blur(20px);
    transition:.35s ease;
}

.live-card:hover{
    transform:translateY(-10px);
    border-color:rgba(255,255,255,.15);
    box-shadow:0 25px 60px rgba(0,0,0,.45);
}

.live-icon{
    width:80px;
    height:80px;
    border-radius:24px;
    margin:auto auto 25px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
}

.live-icon.cyan{background:rgba(0,217,255,.12); color:#00d9ff;}
.live-icon.purple{background:rgba(139,92,246,.12); color:#8b5cf6;}
.live-icon.green{background:rgba(0,255,136,.12); color:#00ff88;}
.live-icon.red{background:rgba(255,0,85,.12); color:#ff0055;}

.live-card h3{
    font-size:2rem;
    font-weight:900;
    margin-bottom:10px;
}

.live-card p{
    color:#9ca3af;
    font-weight:700;
}

.games-section{
    margin-top:90px;
}

.games-section h2{
    font-size:2.5rem;
    font-weight:900;
    text-align:center;
    margin-bottom:35px;
}

.games-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.game-card{
    position:relative;
    overflow:hidden;
    min-height:260px;
    border-radius:32px;
    padding:35px;
    background:
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
    border:1px solid rgba(255,255,255,.08);
    transition:.35s ease;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
}

.game-card:hover{
    transform:translateY(-12px) scale(1.02);
    box-shadow:0 30px 60px rgba(255,0,85,.25);
}

.game-overlay{
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top right, rgba(255,0,85,.25), transparent 35%),
    radial-gradient(circle at bottom left, rgba(0,217,255,.2), transparent 30%);
}

.game-card h3{
    position:relative;
    z-index:2;
    font-size:2rem;
    font-weight:900;
    margin-bottom:12px;
}

.game-card span{
    position:relative;
    z-index:2;
    color:#cbd5e1;
    font-weight:700;
}
