/* ==========================================================================
   STADEDIRECT.COM — PREMIUM SPORT BROADCAST UI (CARBON BLACK, EMERALD & GOLD)
   ========================================================================== */
:root {
    --sd-bg-carbon: #060908;
    --sd-bg-arena: #0b120f;
    --sd-bg-card: #101b16;
    --sd-emerald: #00e676;
    --sd-emerald-dark: #059669;
    --sd-gold: #fbbf24;
    --sd-text: #f2fbf7;
    --sd-muted: #88a899;
}

body {
    background-color: var(--sd-bg-carbon) !important;
    background-image:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(0, 230, 118, 0.09) 0%, transparent 60%),
        radial-gradient(circle at 90% 70%, rgba(251, 191, 36, 0.05) 0%, transparent 45%) !important;
    color: var(--sd-text) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    overflow-x: hidden;
}

.wrapper.sd-broadcast-shell {
    padding-top: 108px !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Broadcast Top Live Ticker Bar */
.sd-ticker-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 34px;
    background: linear-gradient(90deg, #040706 0%, #091711 50%, #040706 100%);
    border-bottom: 1px solid rgba(0, 230, 118, 0.22);
    z-index: 1003;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.sd-ticker-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1fae5;
    text-transform: uppercase;
}
.sd-live-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sd-emerald);
    box-shadow: 0 0 10px var(--sd-emerald);
    animation: sdBlink 1.3s infinite;
}
@keyframes sdBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(1.3); }
}
.sd-ticker-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.sd-ticker-link {
    color: var(--sd-gold) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
}
.sd-ticker-link:hover {
    text-decoration: underline !important;
}

/* Main Broadcast Header */
header.sd-broadcast-header {
    position: fixed !important;
    top: 34px !important;
    left: 0 !important;
    right: 0 !important;
    height: 74px !important;
    background: rgba(8, 13, 11, 0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 2px solid rgba(0, 230, 118, 0.28) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75) !important;
    z-index: 1002 !important;
    display: flex !important;
    align-items: center !important;
}
header.sd-broadcast-header .container {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
}

/* Stadium Shield Logo */
.sd-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none !important;
    flex-shrink: 0;
}
.sd-logo-shield {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00e676 0%, #059669 100%);
    border: 1px solid var(--sd-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #040907;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.45);
    transform: skewX(-6deg);
}
.sd-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.sd-logo-main {
    font-size: 21px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
}
.sd-logo-main span {
    color: var(--sd-emerald);
    text-shadow: 0 0 14px rgba(0, 230, 118, 0.45);
}
.sd-logo-tag {
    font-size: 9px;
    font-weight: 900;
    color: var(--sd-gold);
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Broadcast Horizontal Nav Ribbon */
.sd-nav-ribbon {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}
.sd-nav-ribbon::-webkit-scrollbar { display: none; }
.sd-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 8px;
    color: #d5ebe0 !important;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.sd-nav-pill i {
    color: var(--sd-emerald);
    font-size: 13px;
}
.sd-nav-pill:hover {
    background: rgba(0, 230, 118, 0.12);
    border-color: rgba(0, 230, 118, 0.35);
    color: #ffffff !important;
    transform: translateY(-1px);
}
.sd-nav-pill.sd-pill-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #060908 !important;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.35);
}
.sd-nav-pill.sd-pill-gold i {
    color: #060908 !important;
}
.sd-nav-pill.sd-pill-gold:hover {
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.55);
}

/* Broadcast Search Box */
header.sd-broadcast-header .header-search {
    width: 270px;
    position: relative;
    margin: 0 !important;
    flex-shrink: 0;
}
header.sd-broadcast-header .header-search input#story {
    width: 100% !important;
    height: 40px !important;
    background: rgba(16, 28, 22, 0.9) !important;
    border: 1px solid rgba(0, 230, 118, 0.3) !important;
    border-radius: 9px !important;
    padding: 0 36px 0 38px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
header.sd-broadcast-header .header-search input#story:focus {
    border-color: var(--sd-emerald) !important;
    box-shadow: 0 0 16px rgba(0, 230, 118, 0.3) !important;
}
header.sd-broadcast-header .header-search_icon {
    position: absolute !important;
    left: 13px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--sd-emerald) !important;
    font-size: 14px !important;
}

/* Stadium Hero Arena */
.ann-big {
    border-bottom: 2px solid rgba(0, 230, 118, 0.3) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.8) !important;
}
.hero-cal-widget {
    background: linear-gradient(135deg, rgba(10, 22, 16, 0.96) 0%, rgba(16, 36, 26, 0.98) 100%) !important;
    border: 1px solid rgba(0, 230, 118, 0.5) !important;
    border-left: 5px solid var(--sd-gold) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 230, 118, 0.2) !important;
}
.hero-cal-icon-box {
    background: linear-gradient(135deg, #00e676 0%, #059669 100%) !important;
    color: #040907 !important;
}
.hero-cal-badge-text {
    color: var(--sd-gold) !important;
}
.hero-cal-pulse {
    background: var(--sd-emerald) !important;
    box-shadow: 0 0 10px var(--sd-emerald) !important;
}
.hero-cal-button {
    background: linear-gradient(135deg, #00e676 0%, #059669 100%) !important;
    color: #040907 !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Broadcast TV Lower-Third Section Headers */
.ann-sect_title {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: linear-gradient(90deg, rgba(16, 30, 23, 0.92) 0%, rgba(10, 18, 14, 0.4) 100%) !important;
    border-left: 5px solid var(--sd-emerald) !important;
    border-radius: 4px 12px 12px 4px !important;
    padding: 10px 16px !important;
    margin-bottom: 18px !important;
}
.ann-sect_title h1 {
    font-size: 19px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-style: italic !important;
    letter-spacing: 0.6px !important;
    color: #ffffff !important;
    margin: 0 !important;
}
.ann-sect_title > a {
    background: rgba(251, 191, 36, 0.14) !important;
    border: 1px solid rgba(251, 191, 36, 0.4) !important;
    color: var(--sd-gold) !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
}
.ann-sect_title > a:hover {
    background: var(--sd-gold) !important;
    color: #060908 !important;
}
.scroll-btn {
    background: #111f18 !important;
    border: 1px solid rgba(0, 230, 118, 0.35) !important;
    color: var(--sd-emerald) !important;
    border-radius: 8px !important;
}
.scroll-btn:hover {
    background: var(--sd-emerald) !important;
    color: #060908 !important;
}

/* Stadium Broadcast Channel Cards */
.holographic-card .ann-short_item {
    background: linear-gradient(165deg, #13221b 0%, #09110d 100%) !important;
    border: 1px solid rgba(0, 230, 118, 0.2) !important;
    border-bottom: 3px solid rgba(0, 230, 118, 0.45) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
    transition: all 0.25s ease !important;
}
.holographic-card:hover .ann-short_item {
    transform: translateY(-6px) scale(1.02) !important;
    border-color: var(--sd-emerald) !important;
    border-bottom-color: var(--sd-gold) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.8), 0 0 22px rgba(0, 230, 118, 0.3) !important;
}
.ann-short_item .badge.badge-red {
    background: linear-gradient(135deg, #00e676 0%, #059669 100%) !important;
    color: #040907 !important;
    font-weight: 900 !important;
    font-size: 10px !important;
    letter-spacing: 0.7px !important;
    border-radius: 5px !important;
    padding: 3px 9px !important;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.5) !important;
}
.ann-short_item .ann-short_price {
    background: rgba(6, 11, 9, 0.94) !important;
    border-top: 1px solid rgba(0, 230, 118, 0.15) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 12.5px !important;
    letter-spacing: 0.3px !important;
}
.ann-short_item > a {
    background: linear-gradient(135deg, #00e676 0%, #059669 100%) !important;
    color: #040907 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 230, 118, 0.45) !important;
}

/* Search Dropdown */
#wt-instant-results {
    background: rgba(8, 15, 12, 0.98) !important;
    border: 1px solid rgba(0, 230, 118, 0.45) !important;
}
.wt-sr-item:hover, .wt-sr-item.wt-sr-active {
    background: rgba(0, 230, 118, 0.16) !important;
}
.wt-sr-badge {
    background: var(--sd-emerald) !important;
    color: #040907 !important;
}

footer.sd-footer {
    margin-top: auto;
    background: #040706 !important;
    border-top: 2px solid rgba(0, 230, 118, 0.22) !important;
    padding: 28px 20px !important;
}

@media (max-width: 950px) {
    .sd-ticker-bar {
        padding: 0 12px;
        font-size: 10px;
    }
    .sd-ticker-right { display: none; }
    header.sd-broadcast-header {
        height: auto !important;
        padding: 10px 0 !important;
    }
    header.sd-broadcast-header .container {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    header.sd-broadcast-header .header-search {
        width: 100% !important;
        order: 3;
    }
    .sd-nav-ribbon {
        width: 100%;
        order: 4;
        padding-top: 4px;
    }
    .wrapper.sd-broadcast-shell {
        padding-top: 165px !important;
    }
}


/* Fix: Ensure channel logos are always visible above card background */
.holographic-card .ann-short_item {
    isolation: isolate;
}
.holographic-card .ann-short_item > img,
.holographic-card .ann-short_item > img.poster,
.holographic-card .ann-short_item > img.xfieldimage {
    z-index: 2 !important;
    opacity: 1 !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
}
.holographic-card .ann-short_item .badge {
    z-index: 3 !important;
}
.holographic-card .ann-short_item .ann-short_price {
    position: relative;
    z-index: 3 !important;
}
.holographic-card .ann-short_item > a {
    z-index: 4 !important;
}


/* === GRILLE CATEGORIES MULTI-COLONNES PARFAITEMENT ALIGNÉE === */
#dle-filter.e-grid-cat,
.e-grid-cat {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 18px !important;
    padding: 18px 0 !important;
    margin-top: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
    justify-items: center !important;
}
#dle-filter.e-grid-cat .holographic-card,
.e-grid-cat .holographic-card {
    width: 100% !important;
    max-width: 240px !important;
    min-width: 0 !important;
    margin: 0 !important;
}
#dle-filter.e-grid-cat .ann-short_item,
.e-grid-cat .ann-short_item {
    width: 100% !important;
}
@media (max-width: 640px) {
    #dle-filter.e-grid-cat,
    .e-grid-cat {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* === HERO ARENA SPLIT STADEDIRECT (DESIGN EXCLUSIF BROADCAST) === */
.sd-ai-hero-banner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 390px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 24px 32px 105px 32px;
    box-sizing: border-box;
}
.sd-ai-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.58) contrast(1.12);
    animation: sdArenaZoom 20s ease-in-out infinite alternate;
}
@keyframes sdArenaZoom {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.07); }
}
.sd-ai-hero-grid {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 24px;
    align-items: center;
}
.sd-hero-left {
    background: linear-gradient(135deg, rgba(6, 12, 9, 0.90) 0%, rgba(12, 26, 19, 0.78) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 230, 118, 0.35);
    border-left: 5px solid #00e676;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75);
}
.sd-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 900;
    color: #fbbf24;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}
.sd-hero-title {
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 10px 0;
}
.sd-hero-title span {
    color: #00e676;
    text-shadow: 0 0 18px rgba(0, 230, 118, 0.45);
}
.sd-hero-sub {
    color: #b4d4c3;
    font-size: 13.5px;
    line-height: 1.45;
    margin: 0 0 18px 0;
}
.sd-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.sd-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #060908 !important;
    font-size: 12.5px;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35);
}
.sd-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(0, 230, 118, 0.16);
    border: 1px solid #00e676;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none !important;
}
.sd-hero-right-panel {
    background: rgba(7, 14, 11, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}
.sd-panel-head {
    font-size: 12px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 230, 118, 0.22);
}
.sd-panel-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.sd-quick-ch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 11px;
    border-radius: 8px;
    background: rgba(18, 34, 26, 0.9);
    border: 1px solid rgba(0, 230, 118, 0.22);
    color: #e6f7ee !important;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.sd-quick-ch:hover {
    background: rgba(0, 230, 118, 0.2);
    border-color: #00e676;
    transform: translateY(-2px);
}
.sd-q-live {
    color: #00e676;
    font-size: 9.5px;
    font-weight: 900;
}
@media (max-width: 960px) {
    .sd-ai-hero-grid { grid-template-columns: 1fr; }
    .sd-hero-right-panel { display: none; }
}

/* === CARTES STADEDIRECT STYLE SCOREBOARD BROADCAST (100% DIFFÉRENT DE WITV) === */
.holographic-card {
    border-radius: 14px !important;
}
.holographic-card .ann-short_item {
    position: relative !important;
    height: 160px !important;
    padding: 0 !important;
    background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.11) 0%, rgba(17, 32, 24, 0.96) 65%, rgba(8, 15, 11, 0.99) 100%) !important;
    border: 1px solid rgba(0, 230, 118, 0.25) !important;
    border-top: 3px solid #00e676 !important;
    border-bottom: 2px solid #fbbf24 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    isolation: isolate !important;
}
.holographic-card .ann-short_item:before {
    display: none !important;
}
.holographic-card .ann-short_item > img,
.holographic-card .ann-short_item > img.poster,
.holographic-card .ann-short_item > img.xfieldimage {
    position: absolute !important;
    top: 38px !important;
    left: 14px !important;
    width: calc(100% - 28px) !important;
    height: 68px !important;
    max-height: 68px !important;
    object-fit: contain !important;
    object-position: center !important;
    z-index: 2 !important;
    opacity: 1 !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.65)) !important;
}
.holographic-card .ann-short_item .badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 3 !important;
    margin: 0 !important;
    padding: 3px 8px !important;
    font-size: 9.5px !important;
    background: linear-gradient(135deg, #00e676 0%, #059669 100%) !important;
    color: #040907 !important;
}
.holographic-card .ann-short_item > a {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    margin: 0 !important;
    padding: 3px 8px !important;
    font-size: 9.5px !important;
    font-weight: 900 !important;
    border-radius: 6px !important;
    background: rgba(251, 191, 36, 0.16) !important;
    border: 1px solid rgba(251, 191, 36, 0.5) !important;
    color: #fbbf24 !important;
    z-index: 4 !important;
}
.holographic-card:hover .ann-short_item > a {
    background: #fbbf24 !important;
    color: #060908 !important;
}
.holographic-card .ann-short_item .ann-short_price {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(90deg, #060b08 0%, #0d1a13 50%, #060b08 100%) !important;
    border-top: 1px solid rgba(0, 230, 118, 0.25) !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    padding: 0 10px !important;
    z-index: 3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}


/* === POLISH V5 STADEDIRECT : BRIGHT HERO, UNIFIED BUTTONS, HIGH-CONTRAST LOGO STAGE === */
.ann-big_one:before,
.ann-big-overlay {
    display: none !important;
}
.sd-hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85) !important;
}
.ann-sect_title > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(251, 191, 36, 0.14) !important;
    border: 1px solid rgba(251, 191, 36, 0.45) !important;
    color: #fbbf24 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    margin-left: auto !important;
}
.ann-sect_title > a i {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: 11px !important;
}
.ann-sect_title > a:hover {
    background: #fbbf24 !important;
    color: #060908 !important;
}

/* Luminous Stadium Pedestal behind Channel Logos so dark logos (Syfy, RMC, Canal+) pop 100% */
.holographic-card .ann-short_item {
    background:
        radial-gradient(ellipse 78% 52% at 50% 44%, rgba(240, 253, 246, 0.92) 0%, rgba(209, 242, 225, 0.78) 54%, rgba(16, 30, 23, 0.97) 77%, rgba(7, 13, 10, 1) 100%) !important;
}
.holographic-card .ann-short_item > img,
.holographic-card .ann-short_item > img.poster,
.holographic-card .ann-short_item > img.xfieldimage {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)) !important;
}
