/* ==========================================================================
   KODE CSS FINAL v2
   ========================================================================== */

/* 1. PEMBUNGKUS UTAMA DENGAN GRADASI */
.wpfs-unified-background-wrapper {
    background: linear-gradient(135deg, #000000, #B40707);
    color: #ffffff;
    padding: 25px;
    border-radius: 15px;
    font-family: sans-serif;
    overflow: hidden;
    position: relative;
}

/* 2. AREA JADWAL UTAMA */
.wpfs-unified-background-wrapper .wpfs-main-match-area {
    text-align: center;
    position: relative;
}
.wpfs-unified-background-wrapper .wpfs-league-logo {
    position: absolute; top: -10px; left: -10px; opacity: 0.5;
}
.wpfs-unified-background-wrapper .wpfs-league-logo img { max-width: 50px; }
.wpfs-unified-background-wrapper .wpfs-title { font-size: 1em; text-transform: uppercase; margin: 0 0 20px 0; opacity: 0.8; }
.wpfs-unified-background-wrapper .wpfs-match-info { display: flex; justify-content: space-around; align-items: center; margin: 20px 0; }
.wpfs-unified-background-wrapper .wpfs-team { width: 40%; }
.wpfs-unified-background-wrapper .wpfs-team img { max-width: 80px; margin-bottom: 10px; }
.wpfs-unified-background-wrapper .wpfs-team h3 { margin: 0; font-size: 1.2em; }
.wpfs-unified-background-wrapper .wpfs-vs { font-size: 2em; font-weight: bold; }
.wpfs-unified-background-wrapper .wpfs-match-datetime { background-color: rgba(255,255,255,0.1); padding: 10px; border-radius: 25px; display: inline-block; margin: 0 0 20px 0; }
.wpfs-unified-background-wrapper #countdown-timer { display: flex; justify-content: center; gap: 15px; }
.wpfs-unified-background-wrapper #countdown-timer div { display: flex; flex-direction: column; }
.wpfs-unified-background-wrapper #countdown-timer span:first-child { font-size: 2.5em; font-weight: bold; }
.wpfs-unified-background-wrapper #countdown-timer span:last-child { font-size: 0.8em; text-transform: uppercase; opacity: 0.7; }

/* 3. AREA DAFTAR JADWAL GESER */
.wpfs-unified-background-wrapper .wpfs-upcoming-list-wrapper {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Garis pemisah */
}
.wpfs-unified-background-wrapper .wpfs-upcoming-list {
    display: flex; overflow-x: auto; gap: 15px; padding-bottom: 5px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.wpfs-unified-background-wrapper .wpfs-upcoming-list::-webkit-scrollbar { display: none; }

/* KARTU UPCOMING YANG SEKARANG ADA DI DALAM GRADASI */
.wpfs-unified-background-wrapper .wpfs-upcoming-item {
    flex: 0 0 280px;
    background: rgba(0, 0, 0, 0.3); /* Background gelap transparan */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 150px;
}
.wpfs-unified-background-wrapper .upcoming-item-header { display: flex; justify-content: space-between; align-items: center; opacity: 0.8; }
.wpfs-unified-background-wrapper .upcoming-league-logo { width: 25px; }
.wpfs-unified-background-wrapper .upcoming-date { font-size: 0.8em; }
.wpfs-unified-background-wrapper .upcoming-item-body { margin: 15px 0; }
.wpfs-unified-background-wrapper .upcoming-team { display: flex; align-items: center; text-align: left; }
.wpfs-unified-background-wrapper .upcoming-team:not(:last-child) { margin-bottom: 10px; }
.wpfs-unified-background-wrapper .upcoming-team img { width: 25px; margin-right: 10px; }
.wpfs-unified-background-wrapper .upcoming-team span { font-size: 0.9em; font-weight: 600; }
.wpfs-unified-background-wrapper .upcoming-item-footer { text-align: center; font-size: 1em; font-weight: bold; background-color: rgba(0,0,0,0.4); padding: 6px; border-radius: 20px; width: fit-content; margin: 0 auto; }

/* 4. RESPONSIVE */
@media (max-width: 767px) {
    .wpfs-unified-background-wrapper { padding: 15px; }
    .wpfs-unified-background-wrapper .wpfs-team img { max-width: 60px; }
    .wpfs-unified-background-wrapper .wpfs-team h3 { font-size: 1em; }
    .wpfs-unified-background-wrapper .wpfs-vs { font-size: 1.5em; }
    .wpfs-unified-background-wrapper #countdown-timer span:first-child { font-size: 2em; }
    .wpfs-unified-background-wrapper .wpfs-upcoming-item { flex-basis: 250px; }
}

