:root {
    --page-background-image: url("/img/background-event.webp");
    /* --page-background-image: url("https://i.ibb.co/wr3LCLWk/Chat-GPT-Image-Jun-19-2026-02-06-07-PM.png"); */
    
    /* Gold Theme */
    --gold-primary: #ffb301;
    --gold-light: #ffd800;
    --gold-lighter: #fdf001;
    --gold-dark: #e6a000;
    --gold-soft: rgba(255, 179, 1, 0.15);
    --gold-border: rgba(255, 179, 1, 0.3);
    --gold-shadow: rgba(255, 179, 1, 0.15);
    
    /* Background Colors */
    --bg-dark: #0a0a0a;
    --bg-card: #161616;
    --bg-hover: #222222;
    --bg-soft: #1a1a1a;
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-gray: #d1d5db;
    --text-muted: #6b7280;
    --text-dark: #000000;
    
    /* Border */
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.12);
}

html {
    scroll-behavior: smooth;
}

.home-page {
    background: radial-gradient(circle at top, #141414, #0a0a0a);
    color: var(--text-white);
    padding: 30px 20px 30px;
}

.main-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-radius: 14px;
    gap: 14px;
    padding: 0;
    margin-bottom: 30px;
}
.main-menu a {
    text-decoration: none;
}
.list-menu {
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
}
.list-menu:hover {
    transform: translateY(-3px);
    color: var(--text-white);
}

#menu-1 {
    background: radial-gradient(circle at left, #0A0000, #004CFF);
    border: 2px solid rgba(0, 76, 255, 0.6);
    color: var(--text-white);
}
#menu-1:hover {
    background: radial-gradient(circle at left, #004CFF, #004CFF);
    border-color: #004CFF;
}

#menu-2 {
    background: radial-gradient(circle at left, #0A0000, #FF0004);
    border: 2px solid rgba(255, 0, 4, 0.6);
    color: var(--text-white);
}
#menu-2:hover {
    background: radial-gradient(circle at left, #FF0004, #FF0004);
    border-color: #FF0004;
}

#menu-3 {
    background: radial-gradient(circle at left, #0A0000, #AE00FF);
    border: 2px solid rgba(174, 0, 255, 0.6);
    color: var(--text-white);
}
#menu-3:hover {
    background: radial-gradient(circle at left, #AE00FF, #AE00FF);
    border-color: #AE00FF;
}

#menu-4 {
    background: radial-gradient(circle at left, #0A0000, #00E1FF);
    border: 2px solid rgba(0, 225, 255, 0.6);
    color: var(--text-white);
}
#menu-4:hover {
    background: radial-gradient(circle at left, #00E1FF, #00E1FF);
    border-color: #00E1FF;
}

#menu-5 {
    background: radial-gradient(circle at left, #0A0000, #FF00DD);
    border: 2px solid rgba(255, 0, 221, 0.6);
    color: var(--text-white);
}
#menu-5:hover {
    background: radial-gradient(circle at left, #FF00DD, #FF00DD);
    border-color: #FF00DD;
}

.home-page .hero-banner {
    margin-top: 40px;
}
.home-page .hero-image {
    width: 100%;
    border-radius: 10px;
    max-height: 500px;
    border: 1px solid var(--border-soft);
    overflow: hidden;
}

.home-page .prediction-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 20px;
    padding: 0;
    align-items: start;
    margin-top: 40px;
}
.home-page .prediction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}
.home-page .prediction-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-white);
    border: 1px solid var(--border-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.home-page .prediction-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 12px 30px var(--gold-shadow);
}
.home-page .prediction-card:hover .card-image img {
    transform: scale(1.08);
}
.home-page .prediction-card:hover .btn-view {
    filter: brightness(1.1);
}

.card-image {
    position: relative;
    height: 170px;
    overflow: hidden;
}
.home-page .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.home-page .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}
.home-page .match-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
    color: var(--text-dark);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--gold-shadow);
}
.home-page .match-badge img {
    width: 15px;
    height: 15px;
}
.card-body {
    padding: 14px;
}
.match-teams {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.team {
    color: var(--text-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vs {
    color: var(--gold-primary);
    font-size: 11px;
}
.title {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: center;
}
.score {
    font-size: 14px;
    text-align: center;
    margin-bottom: 8px;
}
.score span {
    color: var(--gold-primary);
    font-weight: 800;
}
.meta {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}
.btn-view {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-dark);
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s;
}
.btn-view:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    color: var(--text-dark);
}

.home-page .section-header {
    margin-bottom: 20px;
}
.home-page .section-header h1,
.home-page .section-header h2,
.home-page .section-header h3,
.home-page .section-header h4,
.home-page .section-header h5 {
    color: var(--gold-primary);
    font-family: "Archivo Black", sans-serif;
    padding: 5px 0;
}
.home-page .section-header h2 {
    font-size: 24px;
}
.home-page .sub-title {
    color: var(--text-gray);
    font-size: 16px;
    margin-top: 6px;
}

.section-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    margin-bottom: 20px;
}
.section-header-wrapper .section-header {
    flex: 1;
    margin-bottom: 0;
}
.section-header-wrapper .section-header h2 {
    margin-bottom: 4px;
}
.section-header-wrapper .section-header .sub-title {
    margin-top: 0;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-dark);
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 20px var(--gold-shadow);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    align-self: center;
}
.btn-view-all:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--gold-shadow);
    text-decoration: none;
}
.btn-view-all:active {
    transform: translateY(0px);
}
.btn-view-all i {
    transition: transform 0.3s ease;
    font-size: 13px;
}
.btn-view-all:hover i {
    transform: translateX(4px);
}

.prediction-section-wrapper {
    margin-bottom: 30px;
    background: radial-gradient(circle at top, var(--bg-card), var(--bg-dark));
    border: 1px solid var(--border-soft);
    padding: 20px;
    border-radius: 16px;
}
.prediction-section-wrapper .section-header-wrapper {
    margin-bottom: 16px;
}
.prediction-section-wrapper .prediction-grid {
    margin-bottom: 0;
}

.home-page .pagination-wrapper {
    margin-top: 20px;
}

.home-page .accordion {
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 0;
    --bs-accordion-bg: var(--bg-card);
    --bs-accordion-border-color: var(--border-soft);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: var(--bg-card);
    --bs-accordion-active-color: var(--gold-primary);
}
.home-page .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 12px;
}
.home-page .accordion-item .accordion-button {
    font-weight: 500;
}
.home-page .accordion-button {
    background: var(--bg-card);
    color: var(--gold-primary);
    font-weight: 100;
    font-size: 16px;
    padding: 16px 20px;
    transition: all 0.25s ease;
}
.home-page .accordion-button:hover {
    background: var(--bg-hover);
    color: var(--gold-primary);
}
.home-page .accordion-button:not(.collapsed) {
    background: var(--bg-card);
    color: var(--gold-primary);
    box-shadow: none;
}
.home-page .accordion-button.collapsed {
    background: var(--bg-card);
    color: var(--gold-primary);
}
.home-page .accordion-body {
    background: radial-gradient(circle at top, var(--bg-dark), #000000);
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 16px;
    border-top: 1px solid var(--border-soft);
}
.home-page .accordion-button::after {
    filter: brightness(0) saturate(100%) invert(77%) sepia(80%) saturate(1000%) hue-rotate(0deg) brightness(100%) contrast(100%);
}
.home-page .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}
.home-page .accordion-body a {
    color: var(--gold-primary);
    text-decoration: none;
}
.home-page .accordion-body a:hover {
    text-decoration: underline;
    color: var(--gold-light);
}
.home-page .accordion-body code {
    background: var(--bg-card);
    color: var(--gold-primary);
    padding: 2px 6px;
    border-radius: 4px;
}

.hero-banner .container {
    padding: 0;
}
.container.prediction-section {
    padding: 30px 0 0 0;
}
.home-page .mb-4 {
    margin-bottom: 2rem;
}
.home-page .mb-5 {
    margin-bottom: 3rem;
}

.home-page section.league {
    background: radial-gradient(circle at top, var(--bg-card), var(--bg-dark));
    padding: 20px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    margin-bottom: 40px;
}
.home-page .league-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.home-page .league-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}
.home-page .league-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 25px var(--gold-shadow);
}
.home-page .league-logo {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}
.home-page .league-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    background: var(--text-white);
    padding: 3px;
}
.home-page .league-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.home-page .league-country {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 600;
}
.home-page .league-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.league-section {
    background: radial-gradient(circle at top, var(--bg-card), var(--bg-dark));
    padding: 20px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    margin-top: 40px;
}
.league-section .league-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 14px;
}
.league-section .league-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-radius: 12px;
    padding: 8px 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.league-section .league-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    background: rgba(255, 179, 1, 0.12);
    box-shadow: 0 8px 20px var(--gold-shadow);
    text-decoration: none;
}
.league-section .league-image {
    width: 100%;
    height: 50px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}
.league-section .league-image img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.league-section .league-card:hover .league-image img {
    transform: scale(1.1);
}
.league-section .league-name {
    color: var(--text-gray);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 2px;
}
.league-section .league-country-flag {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}
.league-section .league-country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
}
.league-section .league-badge-wrapper {
    position: absolute;
    top: 4px;
    left: 4px;
}
.league-section .league-badge {
    font-size: 7px;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.league-section .league-badge.club {
    background: var(--gold-primary);
    color: var(--text-dark);
}
.league-section .league-badge.national {
    background: #60A5FA;
    color: var(--text-white);
}
.league-section .empty-leagues {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
}
.league-section .empty-leagues i {
    font-size: 30px;
    color: var(--gold-primary);
    opacity: 0.4;
    margin-bottom: 8px;
}
.league-section .empty-leagues p {
    font-size: 14px;
    margin: 0;
}

.home-page .empty-state {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}
.home-page .empty-code {
    color: var(--gold-primary);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 20px;
}
.home-page .empty-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.1;
}
.home-page .empty-description {
    max-width: 700px;
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 35px;
}
.home-page .empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 48px;
    background: var(--gold-primary);
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.25s ease;
}
.home-page .empty-btn:hover {
    transform: translateY(-2px);
    background: var(--gold-dark);
    color: var(--text-dark);
}

.container.event {
    padding: 18px;
    border: 1px solid rgb(255 179 0);
    border-radius: 16px;
    margin-top: 24px;
    margin-bottom: 24px;
    background-image:linear-gradient(#0a000038, #000000bd), var(--page-background-image, none);
    background-position: 30%;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}
.container.event h2 {
    color: var(--gold-light);
}
.container.event .section-header {
    margin-bottom: 16px;
}
.container.event .section-header h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}
.container.event .section-header .sub-title {
    margin: 0;
    color: #d1d1d1;
    font-size: 14px;
    line-height: 1.5;
}
.event-grid {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.event-grid > a.event .btn {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 22px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2px;
    border-radius: 50px;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.28),
        0 0 14px rgba(255, 213, 0, 0.12);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}
.event-grid > a.event .btn i {
    font-size: 17px;
}
.event-grid > a.event:hover .btn {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.34),
        0 0 18px rgba(255, 213, 0, 0.2);
}
.event-grid a {
    width: 100%;
    max-width: 520px;
    display: block;
    margin: 0 auto;
    text-decoration: none;
}
.event-grid a .btn {
    background: radial-gradient(circle at left, var(--bg-dark), var(--gold-primary));
    border: 1px solid var(--gold-border);
    border-radius: 5rem;
    color: var(--text-white);
    width: 100%;
    height: 45px;
    font-weight: 700;
}
.event-grid a .btn:hover {
    background: radial-gradient(circle at left, var(--bg-card), var(--gold-dark));
    border-color: var(--gold-primary);
    box-shadow: 0 0 40px var(--gold-shadow);
}

.home-page .country-flag {
    background: radial-gradient(circle at top, var(--bg-card), var(--bg-dark));
    padding: 20px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    margin-top: 40px;
}
.home-page .country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
    gap: 14px;
}
.home-page .country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0;
    text-decoration: none;
    transition: all 0.25s ease;
}
.home-page .country-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    box-shadow: 0 8px 20px var(--gold-shadow);
}
.home-page .country-image {
    width: 100%;
    height: 40px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 2px;
}
.home-page .country-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-page .country-name {
    color: var(--text-white);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: stretch;
}

.match-sidebar {
    background: radial-gradient(circle at top, var(--bg-card), var(--bg-dark));
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 16px 8px 16px 16px;
    position: sticky;
    top: 20px;
}
.match-sidebar h3 {
    color: var(--gold-primary);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 18px;
    text-align: center;
}
.match-schedule {
    height: fit-content;
    max-height: 600px;
    scroll-behavior: smooth;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) var(--bg-dark);
    padding-right: 10px;
}
.match-item {
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    text-decoration: none;
    transition: 0.2s ease;
}
.match-item:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
}
.match-item hr {
    margin: 0;
    color: var(--text-muted);
}
.match-teams {
    display: flex;
    color: var(--text-gray);
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.match-teams .vs {
    color: var(--gold-primary);
    font-size: 11px;
    gap: 2px;
    padding: 0 10px;
    display: flex;
    align-items: center;
}
.team-box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: center;
}
.team-box.team-1 {
    text-align: right;
    justify-content: right;
}
.team-box.team-2 {
    text-align: left;
    justify-content: left;
}
.team-box img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    padding: 2px;
}
.team-box span {
    font-size: 14px;
}
span.score-home,
span.score-away {
    border-bottom: 2px solid #22C55E;
}
.list-match {
    display: grid;
    margin-top: 8px;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
}
.match-time {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}
.match-status {
    font-size: 11px;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
}
.match-status.scheduled {
    background: #333333;
    color: var(--text-gray);
    display: flex;
    justify-self: end;
}
.match-status.live {
    background: #DC2626;
    color: var(--text-white);
    display: flex;
    justify-self: end;
}
.match-status.finished {
    background: var(--gold-primary);
    color: var(--text-dark);
    display: flex;
    justify-self: end;
}
.match-status.postponed {
    background: #333333;
    color: var(--text-gray);
    display: flex;
    justify-self: end;
}
.match-status.cancelled {
    background: #000000;
    color: #DC2626;
    display: flex;
    justify-self: end;
    border: 1px solid rgba(220, 38, 38, 0.3);
}
.more-list {
    display: flex;
    padding: 6px;
    font-size: 14px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: var(--gold-soft);
    text-decoration: none;
    transition: 0.2s ease;
    color: var(--gold-primary);
    text-align: center;
    justify-content: center;
    border: 1px solid var(--gold-border);
}
.more-list:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    color: var(--text-white);
}
.more-list hr {
    margin: 0;
    color: var(--text-muted);
}
.live-dot-match {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    margin-right: 6px;
}
.live-dot-match span {
    width: 6px;
    height: 6px;
    background: var(--text-white);
    border-radius: 50%;
    animation: livePulse 1.2s infinite;
}
.empty-schedule {
    text-align: center;
    padding: 30px 20px;
    color: #6B7280;
}
.empty-schedule i {
    font-size: 32px;
    color: var(--gold-primary);
    opacity: 0.3;
    margin-bottom: 10px;
}
.empty-schedule p {
    font-size: 14px;
    margin: 0;
}

.team-sidebar {
    background: radial-gradient(circle at top, var(--bg-card), var(--bg-dark));
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 16px 8px 16px 16px;
    position: sticky;
    top: 10px;
}
.team-sidebar h3 {
    color: var(--gold-primary);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 0.5px;
}
.team-sidebar .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) var(--bg-dark);
}
.team-sidebar .team-grid::-webkit-scrollbar {
    width: 4px;
}
.team-sidebar .team-grid::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 4px;
}
.team-sidebar .team-grid::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}
.team-sidebar .team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 8px 4px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    min-height: 80px;
}
.team-sidebar .team-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    background: var(--gold-soft);
    box-shadow: 0 6px 16px var(--gold-shadow);
    text-decoration: none;
}
.team-sidebar .team-image {
    width: 100%;
    height: 44px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
}
.team-sidebar .team-image img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.team-sidebar .team-card:hover .team-image img {
    transform: scale(1.1);
}
.team-sidebar .team-name {
    color: var(--text-gray);
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 2px;
}
.team-sidebar .team-country-flag {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 11px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.7;
}
.team-sidebar .team-country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
}
.team-sidebar .team-badge-wrapper {
    position: absolute;
    top: 4px;
    left: 4px;
}
.team-sidebar .team-badge {
    font-size: 6px;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.team-sidebar .team-badge.club {
    background: var(--gold-primary);
    color: var(--text-dark);
}
.team-sidebar .team-badge.national {
    background: #60A5FA;
    color: var(--text-white);
}
.team-sidebar .empty-teams {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 16px;
    color: var(--text-muted);
}
.team-sidebar .empty-teams i {
    font-size: 28px;
    color: var(--gold-primary);
    opacity: 0.3;
    margin-bottom: 8px;
    display: block;
}
.team-sidebar .empty-teams p {
    font-size: 13px;
    margin: 0;
}

.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}
.sidebar-wrapper .match-sidebar,
.sidebar-wrapper .team-sidebar {
    background: radial-gradient(circle at top, var(--bg-card), var(--bg-dark));
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 16px 8px 16px 16px;
    position: relative;
    top: 0;
}
.sidebar-wrapper .match-sidebar h3,
.sidebar-wrapper .team-sidebar h3 {
    color: var(--gold-primary);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 0.5px;
}
.sidebar-wrapper .match-schedule {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) var(--bg-dark);
}
.sidebar-wrapper .match-schedule::-webkit-scrollbar {
    width: 4px;
}
.sidebar-wrapper .match-schedule::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 4px;
}
.sidebar-wrapper .match-schedule::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}
.sidebar-wrapper .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) var(--bg-dark);
}
.sidebar-wrapper .team-grid::-webkit-scrollbar {
    width: 4px;
}
.sidebar-wrapper .team-grid::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 4px;
}
.sidebar-wrapper .team-grid::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}
.sidebar-wrapper .team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 8px 4px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 70px;
}
.sidebar-wrapper .team-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    background: var(--gold-soft);
    box-shadow: 0 6px 16px var(--gold-shadow);
    text-decoration: none;
}
.sidebar-wrapper .team-image {
    width: 100%;
    height: 40px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
}
.sidebar-wrapper .team-image img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.sidebar-wrapper .team-card:hover .team-image img {
    transform: scale(1.1);
}
.sidebar-wrapper .team-name {
    color: var(--text-gray);
    font-size: 9px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 2px;
}
.sidebar-wrapper .team-country-flag {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 10px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.7;
}
.sidebar-wrapper .team-country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
}
.sidebar-wrapper .team-badge-wrapper {
    position: absolute;
    top: 4px;
    left: 4px;
}
.sidebar-wrapper .team-badge {
    font-size: 6px;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.sidebar-wrapper .team-badge.club {
    background: var(--gold-primary);
    color: var(--text-dark);
}
.sidebar-wrapper .team-badge.national {
    background: #60A5FA;
    color: var(--text-white);
}
.sidebar-wrapper .empty-teams {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px 16px;
    color: var(--text-muted);
}
.sidebar-wrapper .empty-teams i {
    font-size: 24px;
    color: var(--gold-primary);
    opacity: 0.3;
    margin-bottom: 8px;
    display: block;
}
.sidebar-wrapper .empty-teams p {
    font-size: 12px;
    margin: 0;
}

.history-section {
    margin-top: 40px;
    padding: 20px;
    background: radial-gradient(circle at top, var(--bg-card), var(--bg-dark));
    border: 1px solid var(--border-soft);
    border-radius: 16px;
}
.history-section .section-header {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.history-section .section-header h2 {
    margin: 0;
}
.history-section .section-header .text-center {
    text-align: center !important;
    display: flex;
    justify-content: end;
    align-items: center;
}
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.history-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.3s ease;
}
.history-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 25px var(--gold-shadow);
}
.history-league {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.history-league img {
    border-radius: 4px;
    background: var(--text-white);
    padding: 2px;
}
.history-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.history-team {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}
.history-team.home {
    justify-content: flex-start;
}
.history-team.away {
    justify-content: flex-end;
}
.history-team .team-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}
.history-team img {
    object-fit: contain;
    padding: 2px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.history-score {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 800;
    font-size: 16px;
    min-width: 40px;
    justify-content: center;
    flex-shrink: 0;
}
.history-score .score-home,
.history-score .score-away {
    color: var(--gold-primary);
}
.history-score .score-separator {
    color: #6B7280;
}
.history-date {
    font-size: 11px;
    color: #6B7280;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.history-date i {
    color: var(--gold-primary);
}
.history-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--gold-primary);
    text-decoration: none;
    margin-top: 8px;
    transition: all 0.3s ease;
}
.history-link:hover {
    text-decoration: none;
    gap: 8px;
    color: var(--gold-light);
}
.history-link i {
    font-size: 10px;
    transition: all 0.3s ease;
}
.history-link:hover i {
    transform: translateX(4px);
}
.btn-history-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gold-soft);
    border: 1px solid var(--gold-border);
    border-radius: 20px;
    color: var(--gold-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-history-all:hover {
    background: rgba(255, 179, 1, 0.2);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    text-decoration: none;
}
.empty-history {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}
.empty-history i {
    font-size: 32px;
    color: var(--gold-primary);
    opacity: 0.3;
    margin-bottom: 8px;
}
.empty-history p {
    font-size: 14px;
    margin: 0;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

@keyframes livePulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

@media (max-width: 1200px) {
    .main-menu {
        display: none;
    }
    .home-page .league-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .home-page .country-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 12px;
    }
    .team-section .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .home-page .prediction-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .container.event {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 10px;
    }
    /* .event-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    } */
    .event-grid a .btn {
        height: 40px;
        font-size: 14px;
    }
    .home-page .hero-banner {
        margin-top: 10px;
    }
    .home-page .prediction-layout {
        grid-template-columns: repeat(1, 1fr);
    }
    .home-page .accordion-button {
        font-size: 14px;
        padding: 14px 16px;
    }
    .home-page .accordion-body {
        font-size: 13px;
    }
    .home-page section.league {
        padding: 14px;
    }
    .home-page .league-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-page .empty-title {
        font-size: 42px;
    }
    .home-page .empty-description {
        font-size: 16px;
    }
    .match-sidebar,
    .team-sidebar {
        display: none;
    }
    .home-page .country-flag {
        padding: 16px;
        margin-top: 0px;
    }
    .home-page .country-grid {
        gap: 10px;
        display: flex;
        overflow-x: scroll;
    }
    .home-page .country-card {
        background: var(--gold-soft);
        padding: 6px 4px;
        border-radius: 8px;
        width: 70px;
        min-width: 70px;
        justify-content: normal;
    }
    .home-page .country-image {
        width: 60px;
        height: 100%;
    }
    .home-page .country-image img {
        width: 60px;
        height: 100%;
        object-fit: cover;
        display: block;
        background: rgba(255, 255, 255, 0.05);
        padding: 6px;
    }
    .home-page .country-name {
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        overflow: hidden;
        max-width: 50px;
    }
    .league-section {
        padding: 16px;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .league-section .league-grid {
        gap: 10px;
        overflow-x: scroll;
        display: flex;
    }
    .league-section .league-image img {
        width: 32px;
        height: 32px;
    }
    .league-section .league-name {
        font-size: 10px;
        overflow: hidden;
    }
    .league-section .league-country-flag {
        width: 14px;
        height: 10px;
        top: 3px;
        right: 3px;
    }
    .league-section .league-badge {
        font-size: 6px;
        padding: 1px 4px;
    }
    .history-grid {
        grid-template-columns: 1fr 1fr;
    }
    .section-header-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .section-header-wrapper .section-header {
        flex: none;
    }
    .btn-view-all {
        justify-content: center;
        padding: 8px 16px;
        font-size: 13px;
        width: 100%;
        align-self: stretch;
        border-radius: 8px;
    }
    .btn-view-all i {
        font-size: 12px;
    }
    .prediction-section-wrapper {
        margin-bottom: 20px;
        padding: 12px;
    }
    .history-section .section-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home-page {
        padding: 15px 8px;
    }
    .home-page .prediction-layout {
        margin-top: 0;
    }
    .home-page .prediction-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    /* .container.event .section-header {
        display: none;
    } */
    .container.event .section-header h2{
        font-size: 18px;
    }
    .home-page .section-header h2 {
        font-size: 18px;
        margin: 0;
    }
    .home-page .sub-title {
        font-size: 13px;
        padding: 0;
        margin: 0;
    }
    section.league {
        margin-bottom: 25px;
    }
    .home-page .accordion {
        margin-top: 25px !important;
    }
    .home-page .league-country {
        font-size: 10px;
    }
    .home-page .league-card {
        padding: 5px 12px;
        gap: 6px;
    }
    .home-page .league-name {
        font-weight: 400;
        font-size: 11px;
    }
    .home-page .country-flag {
        padding: 12px;
        border-radius: 12px;
    }
    .home-page .country-grid {
        gap: 8px;
    }
    .home-page .country-image {
        border-radius: 4px;
    }
    .home-page .country-name {
        font-weight: 600;
        line-height: 1.2;
    }
    .home-page .country-card:hover {
        transform: translateY(-2px);
    }
    .league-section {
        padding: 12px;
        border-radius: 12px;
    }
    .league-section .league-grid {
        gap: 6px;
    }
    .league-section .league-card {
        padding: 6px 4px;
        border-radius: 8px;
        width: 70px;
        min-width: 70px;
        justify-content: normal;
    }
    .league-section .league-card:hover {
        transform: translateY(-2px);
    }
    .league-section .league-image {
        border-radius: 6px;
        margin-bottom: 2px;
    }
    .league-section .league-image img {
        width: 40px;
        height: 40px;
    }
    .league-section .league-name {
        font-weight: 600;
        line-height: 1.1;
    }
    .league-section .league-country-flag {
        display: none;
    }
    .league-section .league-badge-wrapper {
        top: 2px;
        left: 2px;
        display: none;
    }
    .league-section .league-badge {
        font-size: 5px;
        padding: 1px 3px;
        border-radius: 2px;
    }
    .history-section {
        margin-top: 10px;
    }
    .history-grid {
        grid-template-columns: 1fr;
        max-height: 286px;
        overflow-y: scroll;
        padding: 0px;
    }
    .history-team .team-name {
        max-width: 60px;
        font-size: 12px;
    }
    .history-score {
        font-size: 14px;
        min-width: 30px;
    }
    .history-card {
        padding: 12px;
    }
    .section-header-wrapper {
        gap: 10px;
    }
    .btn-view-all {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 8px;
        gap: 6px;
    }
    .btn-view-all i {
        font-size: 11px;
    }
    .prediction-section-wrapper {
        margin-bottom: 16px;
    }
}

@media (max-width: 380px) {
    .home-page .country-grid {
        grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
        gap: 6px;
    }
    .home-page .country-image {
        height: 26px;
    }
    .home-page .country-name {
        font-size: 8px;
    }
    .league-section .league-grid {
        grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
        gap: 5px;
    }
    .league-section .league-image {
        height: 28px;
    }
    .league-section .league-image img {
        width: 20px;
        height: 20px;
    }
    .league-section .league-name {
        font-size: 7px;
    }
    .league-section .league-badge {
        font-size: 4px;
        padding: 0px 3px;
    }
    .btn-view-all {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 6px;
        gap: 4px;
    }
    .btn-view-all i {
        font-size: 10px;
    }
    .section-header-wrapper {
        gap: 8px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn-view-all {
        min-height: 40px;
        min-width: 40px;
    }
}