/* ==========================================================================
   PRIME STORM — Official Multi-Page Storefront CSS (100% Shopmako Clone)
   ========================================================================== */

:root {
    --bg-main: #050b07;
    --bg-card: #0a140e;
    --bg-card-hover: #0f1f16;
    --bg-nav: rgba(5, 11, 7, 0.94);

    /* Strict Emerald & Neon Green Accents (100% Green & White Theme) */
    --primary: #10b981;
    --primary-hover: #059669;
    --primary-glow: rgba(16, 185, 129, 0.4);
    --primary-neon: #00ff88;

    --accent-cyan: #34d399;
    --accent-cyan-glow: rgba(52, 211, 153, 0.4);
    --accent-whatsapp: #10b981;

    --status-success: #00ff88;
    --status-warning: #10b981;
    --status-danger: #047857;

    --text-main: #ffffff;
    --text-muted: #a3b8ab;
    --text-dim: #6b8273;

    --border-color: rgba(16, 185, 129, 0.18);
    --border-glow: rgba(16, 185, 129, 0.5);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.22s cubic-bezier(0.2, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.rtl {
    direction: rtl;
    text-align: right;
}

/* Background Cyber Grid Pattern ("ناضية") */
.bg-cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-color: #030805;
    background-image: 
        radial-gradient(circle at 50% 12%, rgba(0, 255, 136, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 85% 65%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 15% 80%, rgba(52, 211, 153, 0.02) 0%, transparent 55%),
        linear-gradient(to right, rgba(0, 255, 136, 0.022) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 255, 136, 0.022) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 45px 45px, 45px 45px;
    pointer-events: none;
    overflow: hidden;
}

.bg-cyber-grid::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 44px,
        rgba(0, 255, 136, 0.012) 45px
    );
    animation: moveCyberGrid 22s linear infinite;
    pointer-events: none;
}

.bg-cyber-grid::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.02) 0%, transparent 65%);
    animation: rotateCyberGlow 35s linear infinite;
    pointer-events: none;
}

@keyframes pulseGridBackground {
    0%   { filter: brightness(0.95); }
    50%  { filter: brightness(1.0);  }
    100% { filter: brightness(0.97); }
}

@keyframes moveCyberGrid {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(45px);
    }
}

@keyframes rotateCyberGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#cyberBgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography & Badges */
h1, h2, h3, h4, h5 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #00ff88 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.9rem 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.official-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px var(--primary-glow));
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    position: relative;
    padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Language Selector Dropdown */
.lang-selector-wrapper {
    position: relative;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.4rem;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 130px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 100;
}

body.rtl .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-dropdown.active {
    display: flex;
}

.lang-option {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

body.rtl .lang-option {
    text-align: right;
}

.lang-option:hover, .lang-option.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-neon);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #06090e;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.55);
    background: linear-gradient(135deg, var(--primary-neon) 0%, var(--primary) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary);
    color: #fff;
}

.btn-discord {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border-radius: var(--radius-full) !important;
    padding: 0.55rem 1.25rem !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    border: 1px solid rgba(0, 255, 136, 0.3) !important;
}

.btn-discord:hover {
    background: linear-gradient(135deg, #00ff88 0%, #10b981 100%) !important;
    color: #041c10 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
}

.btn-whatsapp {
    background: var(--accent-whatsapp);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #1eb857;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-block {
    width: 100%;
}

/* Hero Section (Shopmako Style) */
.hero-section {
    padding: 4.5rem 0 3.5rem 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(32, 177, 226, 0.1);
    border: 1px solid var(--accent-cyan-glow);
    color: var(--accent-cyan);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Before / After Comparison Interactive Slider (Shopmako Hero) */
.ba-compare-container {
    position: relative;
    width: 100%;
    height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glow);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    user-select: none;
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.ba-before {
    background-image: url('./game_before.jpg'), url('file:///C:/Users/Administrator/.gemini/antigravity/brain/0f3eb118-eb5a-41bc-9f58-0a25b5646391/media__1785337583729.jpg');
    background-size: cover;
    background-position: center;
}

.ba-after {
    background-image: url('./game_after.jpg'), url('file:///C:/Users/Administrator/.gemini/antigravity/brain/0f3eb118-eb5a-41bc-9f58-0a25b5646391/media__1785337586806.jpg');
    background-size: cover;
    background-position: center;
    width: 50%;
    border-right: 2px solid var(--primary-neon);
    box-shadow: 4px 0 15px var(--primary-glow);
}

.ba-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background: var(--primary-neon);
    cursor: ew-resize;
    z-index: 10;
}

.ba-slider-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    background: var(--primary-neon);
    color: #06090e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--primary-glow);
    font-size: 0.9rem;
}

.ba-label {
    position: absolute;
    top: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
    z-index: 5;
}

.ba-label-before {
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: var(--text-muted);
}

.ba-label-after {
    left: 1rem;
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid var(--primary);
    color: var(--primary-neon);
}

/* Feature Status Bar Section */
.status-bar-section {
    padding: 2rem 0;
}

.status-bar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-dot-green {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--status-success);
    box-shadow: 0 0 10px var(--status-success);
    animation: pulseStatus 2s infinite ease-in-out;
}

@keyframes pulseStatus {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.status-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.status-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Products Grid & Cards */
.products-section {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.product-thumb {
    position: relative;
    width: 100%;
    height: 220px;
    background: #040a06;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    filter: brightness(0.98) contrast(1.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.05) translateZ(0);
    filter: brightness(1.05) contrast(1.04);
}

.badge-tag {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: linear-gradient(135deg, #00ff88 0%, #10b981 100%);
    color: #041c10;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

body.rtl .badge-tag {
    left: auto;
    right: 0.85rem;
}

.status-badge-undetected {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: rgba(4, 20, 13, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 136, 0.4);
    color: var(--status-success);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

body.rtl .status-badge-undetected {
    right: auto;
    left: 1rem;
}

.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.45;
}

.product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-neon);
}

.product-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Category Filter Bar (Store Page) */
.categories-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
}

.cat-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cat-btn:hover {
    color: #fff;
    border-color: var(--primary);
}

.cat-btn.active {
    background: var(--primary);
    color: #06090e;
    font-weight: 800;
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Product Detail Page (2-Column Shopmako Template) */
.product-detail-container {
    padding: 3.5rem 0 5rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

.product-showcase-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.product-media-preview {
    width: 100%;
    height: 380px;
    background: #040a06;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.product-media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    filter: brightness(0.98) contrast(1.02);
}

.features-matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.feature-item-card h4 {
    font-size: 0.92rem;
    color: var(--primary-neon);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sticky Buy Box (Right Sidebar) */
.sticky-buy-box {
    position: sticky;
    top: 90px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.buy-box-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-neon);
    margin-bottom: 1.25rem;
}

.plan-options-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.plan-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.plan-option-card:hover, .plan-option-card.active {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

.plan-option-card.active .plan-radio-dot {
    background: var(--primary-neon);
    box-shadow: 0 0 8px var(--primary-neon);
}

.plan-radio-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    margin-right: 0.6rem;
}

body.rtl .plan-radio-dot {
    margin-right: 0;
    margin-left: 0.6rem;
}

/* Status Table (Status Page) */
.status-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 2rem;
}

.status-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

body.rtl .status-table {
    text-align: right;
}

.status-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.status-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.status-table tr:last-child td {
    border-bottom: none;
}

.pill-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
}

.pill-status-success {
    background: rgba(46, 224, 138, 0.12);
    color: var(--status-success);
    border: 1px solid rgba(46, 224, 138, 0.3);
}

/* FAQ Accordion (FAQ Page) */
.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 850px;
    margin: 2rem auto 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active {
    border-color: var(--primary-glow);
}

/* Footer & Payment Methods Pills */
.main-footer {
    background: #06090e;
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 0 2rem 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

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

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

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    color: #fff;
}

.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col li {
    list-style-type: none !important;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-neon);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 520px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9);
}

.close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.rtl .close-btn {
    right: auto;
    left: 1.25rem;
}

.close-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

/* ==========================================================================
   ADMIN PANEL STYLES (100% Green & White Theme)
   ========================================================================== */
.admin-container {
    padding: 3rem 0 5rem 0;
}

.admin-login-box {
    max-width: 440px;
    margin: 3rem auto;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.admin-login-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid var(--primary);
    color: var(--primary-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 20px var(--primary-glow);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    margin-bottom: 1.25rem;
}

body.rtl .form-group {
    text-align: right;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    background: rgba(0, 0, 0, 0.6);
}

.form-textarea {
    min-height: 90px;
    resize: vertical;
}

.admin-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary-neon);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
}

.stat-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.admin-section-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.admin-product-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    transition: var(--transition);
}

.admin-product-card:hover {
    border-color: var(--border-glow);
    background: rgba(16, 185, 129, 0.04);
}

.admin-prod-thumb {
    width: 80px;
    height: 80px;
    background: #000;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    object-fit: contain;
    padding: 0.4rem;
}

.admin-prod-info {
    flex: 1;
    min-width: 220px;
}

.admin-prod-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
    background: #ef4444;
    color: #ffffff;
}

.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--primary-neon);
    color: #ffffff;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px var(--primary-glow);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   HERO SHOWCASE CYBER CARD (100% Green & White Theme)
   ========================================================================== */
.hero-showcase-card {
    background: linear-gradient(145deg, rgba(10, 20, 14, 0.95) 0%, rgba(5, 11, 7, 0.98) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-showcase-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.25rem;
}

.hero-card-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.hero-features-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-feat-chip {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.hero-feat-chip:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(0, 255, 136, 0.5);
    transform: translateY(-2px);
}

.hero-chip-icon-box {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.25);
    transition: all 0.3s ease;
}

.hero-feat-chip:hover .hero-chip-icon-box {
    background: rgba(0, 255, 136, 0.25);
    border-color: var(--primary-neon);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.5);
}

.hero-chip-icon-box i {
    font-size: 1.35rem !important;
    color: #00ff88 !important;
    filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.9));
}

.hero-feat-chip strong {
    display: block;
    font-size: 0.82rem;
    color: #ffffff;
    font-weight: 700;
}

.hero-feat-chip p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-card-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    text-align: center;
}

.hero-mini-stat .num {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary-neon);
}

.hero-mini-stat .lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   GLOBAL CODE PROTECTION & ANTI-THEFT STYLING (100% SHIELD)
   ========================================================================== */
* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
}

input, textarea, select {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* ==========================================================================
   ULTRA CINEMATIC FULLSCREEN VIDEO & GRAPHICS INTRO ("إنطرو فيديو كبير وواعر")
   ========================================================================== */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #020604;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
}

.intro-overlay.hidden {
    opacity: 0;
    transform: scale(1.1);
    visibility: hidden;
    pointer-events: none;
}

.intro-video-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#introVideoCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.intro-video-overlay-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.14) 0%, rgba(2, 6, 4, 0.88) 75%),
        linear-gradient(to bottom, rgba(2, 6, 4, 0.4) 0%, rgba(2, 6, 4, 0.92) 100%);
    pointer-events: none;
}

.intro-cinematic-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 780px;
    width: 90%;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: cinematicEntrance 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-hero-logo-showcase {
    position: relative;
    margin-bottom: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-logo-glow-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.4) 0%, rgba(0, 255, 136, 0) 70%);
    animation: pulseAura 2.5s infinite alternate;
    pointer-events: none;
}

.intro-hero-logo {
    width: 155px;
    height: 155px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 35px #00ff88) drop-shadow(0 0 75px rgba(0, 255, 136, 0.5));
    animation: floatHeroLogo 3.2s ease-in-out infinite alternate;
}

.intro-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.35);
    color: #00ff88;
    padding: 0.45rem 1.3rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
    animation: pulseDot 1.5s infinite;
}

.intro-giant-title {
    font-size: 4.2rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 35px rgba(0, 255, 136, 0.45);
}

@media (max-width: 768px) {
    .intro-giant-title {
        font-size: 2.6rem;
    }
}

.intro-giant-subtitle {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
    max-width: 640px;
}

.intro-hud-specs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin: 2.2rem 0;
    flex-wrap: wrap;
}

.hud-item {
    background: rgba(10, 25, 16, 0.65);
    border: 1px solid rgba(0, 255, 136, 0.25);
    backdrop-filter: blur(12px);
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.hud-item i {
    color: var(--primary-neon);
}

.intro-loading-section {
    width: 320px;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.intro-auto-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.intro-auto-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ff88, #34d399, #6ee7b7);
    box-shadow: 0 0 16px #00ff88;
    animation: introProgressFill 3.6s linear forwards;
}

.intro-loading-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-dim);
    text-transform: uppercase;
}

@keyframes pulseAura {
    0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.95; }
}

@keyframes floatHeroLogo {
    0% { transform: translateY(0); }
    100% { transform: translateY(-14px); }
}

@keyframes pulseDot {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes introProgressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ==========================================================================
   CYBERPUNK SMART DIRECT ORDER BUILDER MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 10, 7, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    position: relative;
    width: 92%;
    max-width: 540px;
    background: rgba(10, 20, 14, 0.95);
    border: 1px solid var(--primary-neon);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.25), inset 0 0 20px rgba(0, 255, 136, 0.05);
    border-radius: 16px;
    padding: 1.75rem;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-card .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-dim);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-card .close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

/* ==========================================================================
   GLOBAL MOBILE RESPONSIVENESS & ZERO HORIZONTAL OVERFLOW HARDENING (320px - 768px)
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

.container, .nav-container, .hero-grid, .products-grid, .footer-grid {
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 0.25rem;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .official-logo-img {
        height: 34px;
    }

    .hero-section {
        padding: 2.5rem 0 2rem 0;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .intro-overlay {
        width: 100vw !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    .intro-cinematic-container {
        width: 95% !important;
        max-width: 100% !important;
        padding: 1.5rem 0.75rem !important;
    }

    .intro-hero-logo {
        width: 110px !important;
        height: 110px !important;
    }

    .intro-logo-glow-aura {
        width: 170px !important;
        height: 170px !important;
    }

    .intro-status-chip {
        font-size: 0.7rem !important;
        padding: 0.35rem 0.9rem !important;
        letter-spacing: 1px !important;
    }

    .intro-giant-title {
        font-size: 2.1rem !important;
        letter-spacing: -0.5px !important;
        word-break: break-word !important;
    }

    .intro-giant-subtitle {
        font-size: 0.76rem !important;
        letter-spacing: 1px !important;
        padding: 0 0.5rem !important;
    }

    .intro-hud-specs {
        gap: 0.5rem !important;
        margin: 1.2rem 0 !important;
    }

    .hud-item {
        padding: 0.45rem 0.75rem !important;
        font-size: 0.72rem !important;
    }

    .intro-loading-section {
        width: 100% !important;
        max-width: 270px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .hero-card {
        padding: 1rem !important;
    }

    .hero-card-footer {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.25rem !important;
        padding: 0.5rem !important;
    }

    .hero-mini-stat .num {
        font-size: 1rem !important;
    }

    .hero-mini-stat .lbl {
        font-size: 0.65rem !important;
    }

    .intro-giant-title {
        font-size: 1.85rem !important;
    }

    .hud-item {
        font-size: 0.68rem !important;
        padding: 0.4rem 0.6rem !important;
    }
}
