/* ============================================
   Gameetime - Cyber / HUD Skin
   لایه ظاهری گیمینگ و آینده‌نگرانه
============================================ */
:root {
    --gmb-bg-dark: #07070d;
    --gmb-bg-panel: #0d0d17;
    --gmb-bg-card: #121220;
    --gmb-neon-purple: #8b5cf6;
    --gmb-neon-cyan: #00e5ff;
    --gmb-neon-pink: #ff2e93;
    --gmb-gradient: linear-gradient(135deg, #8b5cf6 0%, #00e5ff 100%);
    --gmb-cut: 14px;
    --gmb-clip: polygon(var(--gmb-cut) 0, 100% 0, 100% calc(100% - var(--gmb-cut)), calc(100% - var(--gmb-cut)) 100%, 0 100%, 0 var(--gmb-cut));
}

/* پس‌زمینه شبکه HUD */
body {
    background-image:
        linear-gradient(rgba(0,229,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,255,.035) 1px, transparent 1px),
        radial-gradient(circle at 15% 10%, rgba(139,92,246,.16), transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(0,229,255,.10), transparent 45%);
    background-size: 44px 44px, 44px 44px, auto, auto;
    background-attachment: fixed;
}
::selection { background: var(--gmb-neon-cyan); color: #000; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #07070d; }
::-webkit-scrollbar-thumb { background: linear-gradient(#8b5cf6,#00e5ff); border-radius: 6px; }

/* هدر */
.gmb-topbar { background: linear-gradient(90deg,#14082b,#07182a); border-bottom: 1px solid rgba(0,229,255,.25); }
.gmb-header {
    background: rgba(7,7,13,.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, #8b5cf6, #00e5ff, transparent) 1;
}
.gmb-logo-text { font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.gmb-logo-accent { color: var(--gmb-neon-cyan); text-shadow: 0 0 12px rgba(0,229,255,.8); }
.gmb-search-form {
    border-radius: 0; clip-path: var(--gmb-clip);
    background: #0b0b16; border-color: rgba(0,229,255,.3);
}
.gmb-search-form:focus-within { box-shadow: 0 0 0 1px var(--gmb-neon-cyan), 0 0 18px rgba(0,229,255,.35); border-color: var(--gmb-neon-cyan); }
.gmb-header-action { transition: all .25s; }
.gmb-header-action:hover { color: var(--gmb-neon-cyan); filter: drop-shadow(0 0 6px var(--gmb-neon-cyan)); }

/* منو */
.gmb-nav-menu a { text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.gmb-nav-menu a:hover { color: var(--gmb-neon-cyan); text-shadow: 0 0 10px rgba(0,229,255,.7); }

/* عنوان بخش‌ها */
.gmb-section-title {
    font-size: 26px; font-weight: 700;
    padding-inline-start: 14px;
    border-inline-start: 4px solid var(--gmb-neon-cyan);
    text-shadow: 0 0 18px rgba(139,92,246,.6);
}
.gmb-section-title::after {
    content: ""; flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(0,229,255,.5), transparent);
}

/* دکمه‌ها */
.gmb-btn, .woocommerce a.button, .woocommerce button.button, .single_add_to_cart_button {
    border-radius: 0 !important; clip-path: var(--gmb-clip);
    text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
    position: relative; overflow: hidden;
}
.gmb-btn::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg); transition: left .6s;
}
.gmb-btn:hover::after { left: 140%; }
.gmb-btn-outline { clip-path: var(--gmb-clip); border-radius: 0; }

/* هیرو */
.gmb-hero-slide::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px);
    mix-blend-mode: multiply;
}
.gmb-hero-title {
    background: linear-gradient(90deg,#fff,#00e5ff 60%,#8b5cf6);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 18px rgba(0,229,255,.35));
}

/* کارت محصول */
.gmb-wc-product, .gmb-carousel-item .gmb-wc-product-inner { background: none; border: 0; }
.gmb-wc-product-inner {
    position: relative; background: var(--gmb-bg-card);
    border: 1px solid rgba(139,92,246,.25);
    clip-path: var(--gmb-clip); border-radius: 0;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.gmb-wc-product-inner::before {
    content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; z-index: 2;
    background: var(--gmb-gradient); transform: scaleX(0); transition: transform .4s; transform-origin: left;
}
.gmb-wc-product:hover .gmb-wc-product-inner { transform: translateY(-6px); border-color: var(--gmb-neon-cyan); box-shadow: 0 10px 35px rgba(0,229,255,.2); }
.gmb-wc-product:hover .gmb-wc-product-inner::before { transform: scaleX(1); }
.gmb-wc-product-title { font-weight: 600; }
.gmb-wc-product-price { font-family: 'Rajdhani', 'Vazirmatn', sans-serif; font-weight: 700; text-shadow: 0 0 10px rgba(74,222,128,.4); }
.gmb-sale-badge {
    border-radius: 0; clip-path: polygon(0 0,100% 0,calc(100% - 8px) 100%,0 100%);
    background: linear-gradient(90deg,#ff2e93,#ef4444); box-shadow: 0 0 14px rgba(255,46,147,.6);
    font-family: 'Rajdhani', sans-serif; font-weight: 700;
}
.gmb-new-badge { border-radius: 0; background: var(--gmb-neon-cyan); color: #000; font-weight: 700; }

/* فیلدها و ویجت‌ها */
input[type=text], input[type=search], input[type=email], input[type=password], input[type=tel], textarea, select {
    border-radius: 2px;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gmb-neon-cyan) !important; box-shadow: 0 0 0 1px var(--gmb-neon-cyan), 0 0 14px rgba(0,229,255,.25); }
.gmb-widget, .gmb-post-card, .gmb-category-card { clip-path: var(--gmb-clip); border-radius: 0; border-color: rgba(139,92,246,.25); }

/* فوتر */
.gmb-footer { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent,#8b5cf6,#00e5ff,transparent) 1; background: linear-gradient(180deg,#0d0d17,#07070d); }
.gmb-features-bar { background: rgba(0,229,255,.03); }

/* انیمیشن ورود */
@keyframes gmbFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.gmb-wc-product, .gmb-section-title { animation: gmbFadeUp .6s both; }

@media (max-width: 768px) {
    :root { --gmb-cut: 9px; }
    .gmb-section-title { font-size: 20px; }
    body { background-size: 30px 30px, 30px 30px, auto, auto; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
