/* ============================================================
   xBet Sports Feed — skin matching sublevelmag.com's own dark
   design system (astra-child/assets/main.css --ob1x-* tokens,
   .ob1x-faq/.ob1x-ticket/.ob1x-btn pattern). Added 2026-09-03.
   ============================================================ */

.xsf-feed {
    position: relative;
    max-width: 980px;
    margin: 32px auto;
    padding: 0;
    overflow: visible;
}

.xsf-section {
    margin: 0 0 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.xsf-section:last-child {
    margin-bottom: 0;
}

/* Same pill-row accordion shape as the site's own FAQ items
   (.ob1x-faq__item) — same background/border/radius, so the two
   accordions on the page read as one visual system. */
.xsf-section__header,
.xsf-section__header:hover,
.xsf-section__header:focus,
.xsf-section__header:active {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--ob1x-line, rgba(255, 255, 255, .09));
    border-radius: 14px;
    background: #0f121d;
    box-shadow: none;
    color: var(--ob1x-text, #f6f7fb);
    cursor: pointer;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

.xsf-section__header:hover {
    border-color: rgba(143, 124, 255, .25);
}

.xsf-section__header:focus-visible {
    box-shadow: 0 0 0 3px rgba(66, 232, 212, .28);
}

.xsf-section__header[aria-expanded="true"] {
    border-color: rgba(143, 124, 255, .36);
    background: #121625;
}

.xsf-section__icon {
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
}

.xsf-section__header > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ob1x-text, #f6f7fb);
    font-family: var(--ob1x-body, 'Manrope', system-ui, sans-serif);
    font-size: 15px;
    font-weight: 700;
}

.xsf-section__header > span[aria-hidden="true"]:last-child {
    margin-left: auto;
    color: var(--ob1x-muted, #98a1b7);
    font-size: 16px;
    transition: transform .18s ease;
}

.xsf-section__header[aria-expanded="true"] > span[aria-hidden="true"]:last-child {
    transform: rotate(180deg);
}

.xsf-grid {
    padding: 14px 0 4px;
}

/* Same box treatment as .ob1x-gallery__item — dark panel, subtle line,
   soft drop shadow, violet-tinted lift on hover. */
.xsf-card,
.xsf-casino-card {
    border: 1px solid var(--ob1x-line, rgba(255, 255, 255, .09));
    border-radius: 15px;
    background: #0c0f19;
    box-shadow: 0 16px 38px -24px rgba(0, 0, 0, .9);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.xsf-card:hover,
.xsf-casino-card:hover {
    transform: translateY(-4px);
    border-color: rgba(143, 124, 255, .34);
    box-shadow: 0 24px 44px -24px rgba(143, 124, 255, .35);
}

.xsf-team,
.xsf-casino-card__name,
.xsf-odd__value {
    color: var(--ob1x-text, #f6f7fb);
}

/* Team/player names — explicit request 2026-09-03: 14px (was inheriting
   the plugin default, larger). */
.xsf-team span,
.xsf-team {
    font-size: 14px;
}

.xsf-vs,
.xsf-time,
.xsf-casino-card__provider {
    color: var(--ob1x-muted, #98a1b7);
}

.xsf-time {
    font-family: var(--ob1x-mono, 'IBM Plex Mono', ui-monospace, monospace);
    font-size: 12px;
}

.xsf-odd {
    border-color: var(--ob1x-line, rgba(255, 255, 255, .09));
    background: #101421;
    border-radius: 10px;
}

.xsf-odd__key {
    color: var(--ob1x-muted, #98a1b7);
}

.xsf-odd__value {
    font-family: var(--ob1x-mono, 'IBM Plex Mono', ui-monospace, monospace);
    color: var(--ob1x-cyan-soft, #9af8ea);
}

.xsf-casino-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.xsf-casino-card__thumb {
    aspect-ratio: 301 / 180;
    background: #101421;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

@media (max-width: 960px) {
    .xsf-casino-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .xsf-casino-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* CTA — same gold "primary action" gradient as .ob1x-btn--primary (the
   site's own Download APK button), so the two calls-to-action on the page
   read as the same kind of action. */
.xsf-cta-form {
    margin: 0 !important;
}

.xsf-cta {
    border: 1px solid rgba(255, 229, 159, .72) !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #ffe49a 0%, #ffc94f 58%, #f0a927 100%) !important;
    box-shadow: 0 18px 38px -20px rgba(255, 201, 79, .95) !important;
    color: #171109 !important;
    font-family: var(--ob1x-body, 'Manrope', system-ui, sans-serif);
    font-weight: 800 !important;
    transition: filter .2s ease, box-shadow .2s ease;
}

.xsf-cta:hover {
    filter: saturate(1.08) brightness(1.04);
    box-shadow: 0 24px 48px -20px rgba(255, 201, 79, 1), 0 0 0 5px rgba(255, 201, 79, .05) !important;
}

.xsf-cta__icon {
    color: #171109;
}
