/* بانر سرّ السبعة أونلاين — أسفل الـ Hero */

/* الـ Hero flex افتراضياً صفّي — نجبر المحتوى والبانر عمودياً */
.hero-section {
    flex-direction: column;
    justify-content: center;
}

.qonline-home-banner {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 100%;
    max-width: 1200px;
    margin: 48px auto 0;
    padding: 0 16px;
}

.qonline-home-banner__inner {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 28px 24px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 85% 15%, rgba(56, 189, 248, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #0a1020 0%, #121c38 48%, #0f172a 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.qonline-home-banner__glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 80%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    pointer-events: none;
    animation: qonline-banner-glow 6s ease-in-out infinite alternate;
}

@keyframes qonline-banner-glow {
    from { opacity: 0.6; transform: translateY(0); }
    to   { opacity: 1; transform: translateY(12px); }
}

.qonline-home-banner__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: center;
}

.qonline-home-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    color: #bae6fd;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.qonline-home-banner__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
    animation: qonline-banner-pulse 2s ease-out infinite;
}

@keyframes qonline-banner-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.65); }
    70%  { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.qonline-home-banner__title {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 900;
    line-height: 1.25;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.qonline-home-banner__emoji {
    font-size: 1.1em;
}

.qonline-home-banner__desc {
    margin: 0 0 14px;
    max-width: 52ch;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.92);
}

.qonline-home-banner__feats {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.qonline-home-banner__feats li {
    position: relative;
    padding-inline-start: 18px;
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e1;
}

.qonline-home-banner__feats li::before {
    content: '✦';
    position: absolute;
    inset-inline-start: 0;
    color: #38bdf8;
}

.qonline-home-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.qonline-home-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.qonline-home-banner__cta--primary {
    color: #0c1222;
    background: linear-gradient(180deg, #7dd3fc, #38bdf8);
    box-shadow: 0 10px 28px rgba(56, 189, 248, 0.35);
}

.qonline-home-banner__cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(56, 189, 248, 0.45);
}

.qonline-home-banner__cta--ghost {
    color: #bae6fd;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.qonline-home-banner__cta--ghost:hover {
    transform: translateY(-2px);
    background: rgba(56, 189, 248, 0.12);
}

.qonline-home-banner__visual {
    text-align: center;
}

.qonline-home-banner__arena {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.qonline-home-banner__player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    min-width: 96px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qonline-home-banner__player--you {
    border-color: rgba(52, 211, 153, 0.45);
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.12);
}

.qonline-home-banner__player--foe {
    border-color: rgba(248, 113, 113, 0.45);
    box-shadow: 0 0 24px rgba(248, 113, 113, 0.12);
}

.qonline-home-banner__avatar {
    font-size: 32px;
    line-height: 1;
}

.qonline-home-banner__label {
    font-size: 12px;
    font-weight: 800;
    color: #e2e8f0;
}

.qonline-home-banner__vs {
    font-size: 22px;
    font-weight: 900;
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.45);
}

.qonline-home-banner__tagline {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #94a3b8;
}

@media (max-width: 900px) {
    .qonline-home-banner__grid {
        grid-template-columns: 1fr;
    }

    .qonline-home-banner__visual {
        order: -1;
    }

    .qonline-home-banner__arena {
        margin-bottom: 8px;
    }
}

@media (max-width: 600px) {
    .qonline-home-banner {
        margin-top: 32px;
        padding: 0 12px;
    }

    .qonline-home-banner__inner {
        padding: 20px 16px 18px;
        border-radius: 18px;
    }

    .qonline-home-banner__actions {
        flex-direction: column;
    }

    .qonline-home-banner__cta {
        width: 100%;
    }

    .qonline-home-banner__player {
        min-width: 80px;
        padding: 10px 12px;
    }
}
