/* ══════════════════════════════════════════════════════════════════════════
   Asabsys — Hero Tiered Deck Architecture & 3D Physics (2026)
   • Model 4: Floating Tiered Deck (Upper Content Card + Lower Stats Dock)
   • Differentiated solid Stat Cards (Emerald, Indigo, Gold, Rose) — high-contrast dock
   • Deep 3D Space Layering & Smooth Multi-directional Scatter Physics
   ══════════════════════════════════════════════════════════════════════════ */

#hero-section {
    perspective: 1400px;
    position: relative;
    z-index: 2;
    overflow: visible !important;
}

#hero-wrap {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1 !important;
    position: relative;
    z-index: 10;
}

/* ── 1) Tiered Deck Glass Architecture (النموذج 4) ── */
.index-hero-glass {
    position: relative !important;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.94) 0%, rgba(252, 248, 240, 0.88) 50%, rgba(246, 241, 230, 0.94) 100%) !important;
    backdrop-filter: blur(32px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
    border-radius: 42px 42px 28px 28px !important;
    box-shadow:
        0 28px 80px -18px rgba(15, 23, 42, 0.15),
        0 12px 36px -10px rgba(197, 160, 89, 0.14),
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 -1px 0 rgba(0, 0, 0, 0.04) inset !important;
    padding: 2.8rem 2.4rem 2rem !important;
    margin: 0 auto !important;
    max-width: 880px !important;
    text-align: center !important;
    isolation: isolate;
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s !important;
    clip-path: none !important;
    overflow: visible !important;
    transform-style: preserve-3d;
}

.index-hero-glass::before,
.index-hero-glass::after {
    display: none !important;
}

.index-hero-glass:hover {
    border-color: rgba(197, 160, 89, 0.45) !important;
    box-shadow:
        0 36px 95px -18px rgba(15, 23, 42, 0.2),
        0 16px 45px -10px rgba(197, 160, 89, 0.22),
        0 1px 0 rgba(255, 255, 255, 1) inset !important;
}

/* ── 2) Hero Header & Typography ── */
.hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.14) 0%, rgba(212, 175, 55, 0.22) 100%) !important;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    border-radius: 999px !important;
    padding: 0.45rem 1.3rem !important;
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    color: #8b5c2e !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.15) !important;
    margin-bottom: 1.2rem !important;
    will-change: transform, opacity;
}

.hero-badge i {
    font-size: 1rem !important;
    color: #c5a059 !important;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem) !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    color: #0f172a !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 0.9rem !important;
    letter-spacing: -0.02em !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08)) !important;
    will-change: transform, opacity;
}

.hero-brand-container {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    vertical-align: middle !important;
}

.hero-logo {
    width: clamp(75px, 12vw, 110px) !important;
    height: clamp(75px, 12vw, 110px) !important;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.15)) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-logo:hover {
    transform: scale(1.08) rotate(4deg) !important;
}

.hero-brand-name {
    font-size: 1.05em !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 50%, #f59e0b 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 2px 6px rgba(220, 38, 38, 0.25)) !important;
}

.hero-sub {
    font-size: clamp(0.92rem, 2.2vw, 1.06rem) !important;
    color: #334155 !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    max-width: 680px !important;
    margin: 0 auto 1.2rem !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
    will-change: transform, opacity;
}

.hero-sub strong {
    color: #0f172a !important;
    font-weight: 800 !important;
}

.hero-feature-ticker {
    will-change: transform, opacity;
}

/* ── 3) Floating Tier 2: Stats Dock — solid 3D tiles ── */
@keyframes heroStatIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@keyframes heroStatNumPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.035); }
}

.hero-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.8rem !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 1.6rem auto 0 !important;
    padding: 0.85rem !important;
    background: linear-gradient(165deg, #1e293b 0%, #0f172a 55%, #020617 100%) !important;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    border-radius: 24px !important;
    box-shadow:
        0 22px 48px -16px rgba(15, 23, 42, 0.55),
        0 8px 18px -10px rgba(197, 160, 89, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    transform-style: preserve-3d;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.hero-stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem 0.55rem 0.9rem !important;
    border-radius: 18px !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s !important;
    position: relative !important;
    overflow: hidden !important;
    will-change: transform, opacity;
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 48%, #eef2ff 100%) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow:
        0 10px 22px -10px rgba(15, 23, 42, 0.35),
        0 2px 0 rgba(255, 255, 255, 0.95) inset,
        0 -3px 8px rgba(15, 23, 42, 0.06) inset !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: translateZ(0);
}

.hero-stat::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 14%;
    bottom: 14%;
    width: 4px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
    opacity: 0.95;
}

.hero-stat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255,255,255,0.55) 0%, transparent 42%);
    pointer-events: none;
}

.hero-stat:hover {
    transform: translateY(-6px) scale(1.035) !important;
}

.hero-stat-icon {
    width: 2.42rem;
    height: 2.42rem;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem !important;
    font-size: 1.2rem !important;
    opacity: 1 !important;
    line-height: 1;
    position: relative;
    z-index: 1;
    background: radial-gradient(circle at 32% 28%, #f6e2a8, #c5a059 58%, #8a6a32) !important;
    animation: none !important;
    box-shadow:
        0 6px 14px -6px rgba(15, 23, 42, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

.hero-stat-icon i {
    filter: none !important;
    color: #0f172a !important;
}

.hero-stat.stat-stores { color: #059669; border-color: rgba(5, 150, 105, 0.28) !important; }
.hero-stat.stat-stores:hover {
    border-color: #059669 !important;
    box-shadow: 0 16px 28px -10px rgba(5, 150, 105, 0.45), 0 2px 0 rgba(255,255,255,0.95) inset !important;
}
.hero-stat.stat-stores .hero-stat-icon { background: radial-gradient(circle at 32% 28%, #f6e2a8, #c5a059 58%, #8a6a32) !important; }
.hero-stat.stat-stores .hero-stat-num {
    color: color-mix(in srgb, #0f172a 80%, #c5a059) !important; background: none !important; -webkit-text-fill-color: color-mix(in srgb, #0f172a 80%, #c5a059) !important;
    text-shadow: 0 3px 0 rgba(15,23,42,0.12), 0 8px 14px rgba(197,160,89,0.22) !important;
}
.hero-stat.stat-stores .hero-stat-lbl { color: #065f46 !important; }

.hero-stat.stat-dashboards { color: #4f46e5; border-color: rgba(79, 70, 229, 0.28) !important; }
.hero-stat.stat-dashboards:hover {
    border-color: #4f46e5 !important;
    box-shadow: 0 16px 28px -10px rgba(79,70,229,0.42), 0 2px 0 rgba(255,255,255,0.95) inset !important;
}
.hero-stat.stat-dashboards .hero-stat-icon { background: radial-gradient(circle at 32% 28%, #f6e2a8, #c5a059 58%, #8a6a32) !important; }
.hero-stat.stat-dashboards .hero-stat-num {
    color: color-mix(in srgb, #0f172a 80%, #c5a059) !important; background: none !important; -webkit-text-fill-color: color-mix(in srgb, #0f172a 80%, #c5a059) !important;
    text-shadow: 0 3px 0 rgba(15,23,42,0.12), 0 8px 14px rgba(197,160,89,0.22) !important;
}
.hero-stat.stat-dashboards .hero-stat-lbl { color: #3730a3 !important; }

.hero-stat.stat-customers { color: #b45309; border-color: rgba(197,160,89,0.5) !important; }
.hero-stat.stat-customers:hover {
    border-color: #c5a059 !important;
    box-shadow: 0 16px 28px -10px rgba(197,160,89,0.5), 0 2px 0 rgba(255,255,255,0.95) inset !important;
}
.hero-stat.stat-customers .hero-stat-icon { background: radial-gradient(circle at 32% 28%, #f6e2a8, #c5a059 58%, #8a6a32) !important; }
.hero-stat.stat-customers .hero-stat-num {
    color: color-mix(in srgb, #0f172a 80%, #c5a059) !important; background: none !important; -webkit-text-fill-color: color-mix(in srgb, #0f172a 80%, #c5a059) !important;
    text-shadow: 0 3px 0 rgba(15,23,42,0.12), 0 8px 14px rgba(197,160,89,0.22) !important;
}
.hero-stat.stat-customers .hero-stat-lbl { color: #78350f !important; }

.hero-stat.stat-features { color: #e11d48; border-color: rgba(225,29,72,0.28) !important; }
.hero-stat.stat-features:hover {
    border-color: #e11d48 !important;
    box-shadow: 0 16px 28px -10px rgba(225,29,72,0.42), 0 2px 0 rgba(255,255,255,0.95) inset !important;
}
.hero-stat.stat-features .hero-stat-icon { background: radial-gradient(circle at 32% 28%, #f6e2a8, #c5a059 58%, #8a6a32) !important; }
.hero-stat.stat-features .hero-stat-num {
    color: color-mix(in srgb, #0f172a 80%, #c5a059) !important; background: none !important; -webkit-text-fill-color: color-mix(in srgb, #0f172a 80%, #c5a059) !important;
    text-shadow: 0 3px 0 rgba(15,23,42,0.12), 0 8px 14px rgba(197,160,89,0.22) !important;
}
.hero-stat.stat-features .hero-stat-lbl { color: #9f1239 !important; }

.hero-stat-num {
    font-size: clamp(1.55rem, 3.6vw, 2.1rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    margin-bottom: 0.35rem !important;
    font-variant-numeric: tabular-nums !important;
    position: relative; z-index: 1;
    animation: heroStatNumPulse 3.6s ease-in-out infinite;
    filter: none !important;
    background: none !important;
}

.hero-stat-lbl {
    font-size: clamp(0.7rem, 1.5vw, 0.82rem) !important;
    font-weight: 800 !important;
    letter-spacing: 0.15px !important;
    text-shadow: none !important;
    position: relative; z-index: 1;
}

@media (max-width: 640px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 0.55rem !important; padding: 0.55rem !important; border-radius: 18px !important; }
    .hero-stat { padding: 0.8rem 0.4rem !important; border-radius: 14px !important; }
    .hero-stat-icon { width: 2.05rem; height: 2.05rem; font-size: 1.05rem !important; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-stat-icon, .hero-stat-num { animation: none !important; }
}

/* ── 4) Under-card Elements Layering & Deep Space (خلف البطاقات) ── */
.logo-slider-wrapper {
    position: relative !important;
    z-index: 3 !important;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

.browse-stores-btn-wrapper {
    position: relative !important;
    z-index: 25 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 1.4rem auto 0 !important;
    gap: 10px !important;
}

.browse-stores-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.65rem 1.85rem !important;
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 20px 4px 20px 4px !important;
    font-family: 'Tajawal', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    /* 3D text styling */
    text-shadow: 
        0 1px 0 #ffffff,
        0 2px 0 #d4d4d8,
        0 3px 0 #a1a1aa,
        0 4px 6px rgba(0, 0, 0, 0.8) !important;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.25) inset !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s, background 0.25s !important;
    overflow: hidden !important;
}

.browse-stores-btn:hover {
    background: #0a0a0c !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.6),
        0 0 16px rgba(255, 255, 255, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.4) inset !important;
    transform: translateY(-2px) scale(1.02) !important;
}

/* External Guide Arrows pointing towards the button */
.browse-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #0f172a !important;
    font-size: 1.45rem !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25)) !important;
    pointer-events: none !important;
}

/* Right arrow moves left towards button (in RTL, points left) */
.browse-arrow-right {
    animation: pointTowardsBtnRight 1.2s ease-in-out infinite alternate !important;
}

/* Left arrow moves right towards button (in RTL, points right) */
.browse-arrow-left {
    animation: pointTowardsBtnLeft 1.2s ease-in-out infinite alternate !important;
}

@keyframes pointTowardsBtnRight {
    0% {
        transform: translateX(0);
        opacity: 0.65;
    }
    100% {
        transform: translateX(-6px);
        opacity: 1;
    }
}

@keyframes pointTowardsBtnLeft {
    0% {
        transform: translateX(0);
        opacity: 0.65;
    }
    100% {
        transform: translateX(6px);
        opacity: 1;
    }
}

/* Subtle Shimmer across button */
.browse-stores-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -120% !important;
    width: 60% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transform: skewX(-25deg) !important;
    animation: browseShimmer 3.8s ease-in-out infinite !important;
}

@keyframes browseShimmer {
    0%, 60% { left: -120%; }
    100% { left: 220%; }
}

/* ── 5) Mobile Optimization ── */
@media (max-width: 768px) {
    .index-hero-glass {
        padding: 1.5rem 1.2rem !important;
        border-radius: 0 !important;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
        padding: 0.6rem !important;
        border-radius: 22px !important;
    }

    .hero-stat {
        padding: 0.75rem 0.5rem !important;
        border-radius: 16px !important;
    }

    .browse-stores-btn {
        padding: 0.55rem 1.4rem !important;
        font-size: 0.92rem !important;
    }

    .browse-arrow {
        font-size: 1.2rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   6) Hero Ad Wings (المستطيلات الإعلانية التفاعلية)
   ═══════════════════════════════════════════════════════════════ */
#hero-section .hero-wrap {
    max-width: 1720px !important;
    width: 100% !important;
}

.hero-deck-with-wings {
    display: flex;
    align-items: stretch !important;
    justify-content: center;
    gap: 26px;
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* الحفاظ على العرض الفسيح الأصلي للبطاقة التعريفية بدون أي انضغاط */
.index-hero-glass {
    flex: 0 0 860px !important;
    width: 860px !important;
    max-width: 860px !important;
    min-width: 860px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.hero-ad-wing {
    flex: 0 0 360px;
    width: 360px;
    min-width: 360px;
    align-self: stretch !important;
    height: auto !important;
    min-height: 100%;
    border-radius: 42px 42px 28px 28px;
    position: relative;
    z-index: 12;
    margin-top: 0 !important;
    overflow: hidden;
    box-shadow:
        0 24px 60px -15px rgba(15, 23, 42, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    text-align: right;
}

[dir="ltr"] .hero-ad-wing {
    text-align: left;
}

.hero-ad-wing-right {
    animation: wingFloatRight 6s ease-in-out infinite;
}

.hero-ad-wing-left {
    animation: wingFloatLeft 6.5s ease-in-out infinite 0.5s;
}

@keyframes wingFloatRight {
    0%, 100% { transform: translateY(0px) rotate(-0.5deg); }
    50% { transform: translateY(-10px) rotate(0.8deg); }
}

@keyframes wingFloatLeft {
    0%, 100% { transform: translateY(0px) rotate(0.5deg); }
    50% { transform: translateY(-12px) rotate(-0.8deg); }
}

.hero-ad-wing:hover {
    transform: translateY(-8px) scale(1.025) !important;
    box-shadow:
        0 32px 75px -15px rgba(15, 23, 42, 0.45),
        0 0 25px rgba(56, 189, 248, 0.25),
        0 0 0 1.5px rgba(56, 189, 248, 0.5) inset;
}

.hero-ad-wing .ad-media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-ad-wing .ad-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.hero-ad-wing:hover .ad-video-element {
    transform: scale(1.12);
}

.hero-ad-wing .ad-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-ad-wing .ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 1s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.hero-ad-wing .ad-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-ad-wing .ad-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.65) 0%,
        rgba(15, 23, 42, 0.1) 40%,
        rgba(15, 23, 42, 0.4) 65%,
        rgba(15, 23, 42, 0.95) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-ad-wing .ad-header-bar {
    position: relative;
    z-index: 3;
    padding: 14px 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-ad-wing .ad-sponsor-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-ad-wing .ad-sponsor-badge.gold {
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.4);
}

.hero-ad-wing .ad-sound-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s;
}

.hero-ad-wing .ad-sound-toggle:hover {
    background: rgba(56, 189, 248, 0.8);
    color: #0f172a;
    transform: scale(1.1);
}

.hero-ad-wing .ad-footer-card {
    position: relative;
    z-index: 3;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-ad-wing .ad-store-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-ad-wing .ad-store-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    background: #1e293b;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-ad-wing .ad-store-texts {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-ad-wing .ad-store-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-ad-wing .ad-store-offer {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-ad-wing .ad-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 14px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 14px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
    transition: all 0.25s ease;
}

.hero-ad-wing .ad-cta-btn.gold {
    background: linear-gradient(135deg, #c5a059 0%, #d4af37 50%, #b8860b 100%);
    color: #000;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

.hero-ad-wing .ad-cta-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
}

.hero-ad-wing .ad-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: absolute;
    bottom: 82px;
    left: 0;
    width: 100%;
    z-index: 3;
}

.hero-ad-wing .ad-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.hero-ad-wing .ad-dot.active {
    width: 18px;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}

.hero-ad-wing .ad-video-progress {
    display: none !important;
}

.hero-ad-wing .ad-video-bar {
    display: none !important;
}

@media (max-width: 1600px) {
    .index-hero-glass {
        flex: 0 0 820px !important;
        width: 820px !important;
        max-width: 820px !important;
        min-width: 820px !important;
    }
    .hero-ad-wing {
        flex: 0 0 310px;
        width: 310px;
        min-width: 310px;
    }
    .hero-deck-with-wings {
        gap: 20px;
    }
}

@media (max-width: 1420px) {
    .index-hero-glass {
        flex: 0 0 780px !important;
        width: 780px !important;
        max-width: 780px !important;
        min-width: 780px !important;
    }
    .hero-ad-wing {
        flex: 0 0 260px;
        width: 260px;
        min-width: 260px;
    }
    .hero-deck-with-wings {
        gap: 16px;
    }
}

@media (max-width: 1260px) {
    #hero-section .hero-wrap {
        max-width: 900px !important;
    }
    .hero-deck-with-wings {
        display: block !important;
        max-width: 880px !important;
    }
    /* Desktop-only ad wings — hidden on tablet & phone */
    .hero-ad-wing {
        display: none !important;
    }
    .index-hero-glass {
        flex: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
        margin: 0 !important;
    }
    #particles-js,
    #neural-bg {
        display: none !important;
    }
}



