: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"); */
    --primary-color: #ffb301;
    --primary-light: #ffd800;
    --primary-lighter: #fdf001;
    --text-dark: #1a1a1a;
    --text-light: #414141;
    --bg-dark: #1a1a1a;
    --bg-card: #2a2a2a;
    --bg-light: #3a3a3a;
    --border-color: #414141;
}

html {
    scroll-behavior: smooth;
}

.home-page {
    background: radial-gradient(circle at top, #1a1a1a, #0d0d0d);
    color: #e8e8e8;
    padding: 30px 20px 30px;
}

.main-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-radius: 14px;
    gap: 14px;
    padding: 10px 0;
    margin-bottom: 30px;
}

.main-menu a {
    text-decoration: none;
}

.list-menu {
    border-radius: 10px;
    padding: 2px;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px;
}

.list-menu:hover {
    transform: translateY(-3px);
    color: #fff;
}

#menu-1 {
    background: radial-gradient(circle at left, #1a1a1a, #004cff);
    border: 2px solid #004cffb8;
    color: #ffffff;
}

#menu-1:hover {
    background: radial-gradient(circle at left, #004cff, #004cff);
}

#menu-2 {
    background: radial-gradient(circle at left, #1a1a1a, #ffb301);
    border: 2px solid #ffb301b8;
    color: #ffffff;
}

#menu-2:hover {
    background: radial-gradient(circle at left, #e6a000, #e6a000);
}

#menu-3 {
    background: radial-gradient(circle at left, #1a1a1a, #ae00ff);
    border: 2px solid #ae00ffb8;
    color: #ffffff;
}

#menu-3:hover {
    background: radial-gradient(circle at left, #ae00ff, #ae00ff);
}

#menu-4 {
    background: radial-gradient(circle at left, #1a1a1a, #00e1ff);
    border: 2px solid #00e1ffb8;
    color: #ffffff;
}

#menu-4:hover {
    background: radial-gradient(circle at left, #00bcd4, #00bcd4);
}

#menu-5 {
    background: radial-gradient(circle at left, #1a1a1a, #ff7300);
    border: 2px solid #ff7300b8;
    color: #ffffff;
}

#menu-5:hover {
    background: radial-gradient(circle at left, #ff7300, #ff7300);
}

#menu-6 {
    background: radial-gradient(circle at left, #1a1a1a, #ff00dd);
    border: 2px solid #ff00ddb8;
    color: #ffffff;
}

#menu-6:hover {
    background: radial-gradient(circle at left, #ff00dd, #ff00dd);
}

.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 section.prediction {
    background: radial-gradient(circle at top, #1a1a1a, #0d0d0d);
    border: 1px solid #414141;
    padding: 20px;
    border-radius: 16px;
}

.home-page .prediction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.home-page .prediction-card {
    background: #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #e8e8e8;
    border: 1px solid #414141;
    transition: all 0.25s ease;
    position: relative;
}

.hero-banner .container {
    padding: 0;
}

.container.prediction-section {
    padding: 30px 0 0 0;
}

.home-page .prediction-card:hover {
    transform: translateY(-6px);
    border-color: #ffb301;
    box-shadow: 0 12px 30px rgba(255, 179, 1, 0.15);
}

.card-image {
    position: relative;
    height: 170px;
    overflow: hidden;
}

.home-page .section-header h1,
h2 {
    color: #ffb301;
    font-family: "Archivo Black", sans-serif;
    padding: 5px 0;
}

.home-page .section-header h2 {
    font-size: 24px;
}

.home-page .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-page .match-badge img {
    width: 15px;
    height: 15px;
}

.home-page .prediction-card:hover .card-image img {
    transform: scale(1.08);
}

.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: rgba(255, 179, 1, 0.9);
    color: #1a1a1a;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
}

.home-page .card-body {
    padding: 14px;
}

.home-page .match-teams {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.home-page .team {
    color: #e8e8e8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-page .vs {
    color: #ffb301;
    font-size: 11px;
}

.home-page .title {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
    text-align: center;
}

.home-page .score {
    font-size: 14px;
    text-align: center;
    margin-bottom: 8px;
}

.home-page .score span {
    color: #ffb301;
    font-weight: 800;
}

.home-page .meta {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.home-page .btn-view {
    background: linear-gradient(135deg, #ffb301, #e6a000);
    color: #1a1a1a;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s;
}

.home-page .prediction-card:hover .btn-view {
    filter: brightness(1.1);
}

.home-page .pagination-wrapper {
    margin-top: 20px;
}

.home-page .hero-image {
    width: 100%;
    border-radius: 10px;
    max-height: 500px;
    border: 5px solid;
    overflow: hidden;
    border: 1px solid #414141;
}

.home-page .accordion {
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 0;
    --bs-accordion-bg: #2a2a2a;
    --bs-accordion-border-color: #414141;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: #2a2a2a;
    --bs-accordion-active-color: #ffb301;
}

.home-page .accordion-item {
    background: #2a2a2a;
    border: 1px solid #414141;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 12px;
}

.home-page .accordion-item .accordion-button {
    font-weight: 500;
}

.home-page .accordion-button {
    background: #2a2a2a;
    color: #ffb301;
    font-weight: 100;
    font-size: 16px;
    padding: 16px 20px;
    transition: all 0.25s ease;
}

.home-page .accordion-button:hover {
    background: #3a3a3a;
    color: #ffd800;
}

.home-page .accordion-button:not(.collapsed) {
    background: #2a2a2a;
    color: #ffb301;
    box-shadow: none;
}

.home-page .accordion-button.collapsed {
    background: #2a2a2a;
    color: #ffb301;
}

.home-page .accordion-body {
    background: radial-gradient(circle at top, #1a1a1a, #0d0d0d);
    color: #c8c8c8;
    line-height: 1.8;
    font-size: 16px;
    border-top: 1px solid #414141;
}

.home-page .accordion-button::after {
    filter: brightness(0) saturate(100%) invert(77%) sepia(89%) saturate(747%)
        hue-rotate(2deg) brightness(98%) contrast(101%);
}

.home-page .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.home-page .accordion-body a {
    color: #ffb301;
    text-decoration: none;
}

.home-page .accordion-body a:hover {
    text-decoration: underline;
}

.home-page .accordion-body code {
    background: #2a2a2a;
    color: #ffb301;
    padding: 2px 6px;
    border-radius: 4px;
}

.home-page .section-header {
    margin-bottom: 20px;
}

.home-page .sub-title {
    color: #c8c8c8;
    font-size: 16px;
    margin-top: 6px;
}

.home-page .mb-4 {
    margin-bottom: 2rem;
}

.home-page .mb-5 {
    margin-bottom: 3rem;
}

.home-page section.league {
    background: radial-gradient(circle at top, #1a1a1a, #0d0d0d);
    padding: 20px;
    border: 1px solid #414141;
    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, #2a2a2a, #1a1a1a);
    border: 1px solid #414141;
    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: #ffb301;
    box-shadow: 0 10px 25px rgba(255, 179, 1, 0.1);
}

.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: #ffffff;
    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: #ffb301;
    font-weight: 600;
}

.home-page .league-name {
    font-size: 16px;
    font-weight: 600;
    color: #e8e8e8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.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: #ffb301;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 20px;
}

.home-page .empty-title {
    font-size: 64px;
    font-weight: 900;
    color: #e8e8e8;
    margin-bottom: 20px;
    line-height: 1.1;
}

.home-page .empty-description {
    max-width: 700px;
    color: #9ca3af;
    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: #ffb301;
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.25s ease;
}

.home-page .empty-btn:hover {
    transform: translateY(-2px);
    background: #e6a000;
    color: #1a1a1a;
}

.container.event {
    padding: 20px;
    border: 1px solid #ffb301;
    border-radius: 16px;
    margin-top: 40px;
    background-image:
        linear-gradient(#1a1a1acc, #1a1a1acc),
        var(--page-background-image, none);
    background-position: 30%;
    background-repeat: no-repeat;
    background-size: cover;
}

.container.event h2 {
    color: #ffd800;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 15px;
    width: 100%;
}

.event-grid a {
    text-decoration: none;
    display: block;
    width: 100%;
}

.event-grid a .btn {
    background: radial-gradient(circle at left, #1a1a1a, #ffb301);
    border: 1px solid #ffb301;
    border-radius: 5rem;
    color: #ffffff;
    width: 100%;
    height: 45px;
    font-weight: 700;
}

.event-grid a .btn:hover {
    background: radial-gradient(circle at left, #2a2a2a, #e6a000);
}

.home-page .country-flag {
    background: radial-gradient(circle at top, #1a1a1a, #0d0d0d);
    padding: 20px;
    border: 1px solid #414141;
    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: #ffb301;
    box-shadow: 0 8px 20px rgba(255, 179, 1, 0.1);
}

.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: #e8e8e8;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: stretch;
}

/* CSS MATCH SCHEDULE */
.match-sidebar {
    background: radial-gradient(circle at top, #1a1a1a, #0d0d0d);
    border: 1px solid #414141;
    border-radius: 16px;
    padding: 16px 8px 16px 16px;
    position: sticky;
    top: 20px;
}

.match-sidebar h3 {
    color: #ffb301;
    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: #ffb301 #1a1a1a;
    padding-right: 10px;
}

.match-item {
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #2a2a2a;
    border: 1px solid #414141;
    text-decoration: none;
    transition: 0.2s ease;
}

.match-item:hover {
    transform: translateY(-3px);
    border-color: #ffb301;
}

.match-item hr {
    margin: 0;
    color: #8a8a8a;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #e8e8e8;
}

.match-teams .vs {
    color: #ffb301;
    font-size: 11px;
    gap: 2px;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.team-box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.team-box.team-1 {
    text-align: right;
    justify-content: right;
}

.team-box.team-2 {
    text-align: left;
    justify-content: left;
}

span.score-home,
span.score-away {
    border-bottom: 2px solid #00ff22;
}

.team-box img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    padding: 2px;
}

.team-box span {
    font-size: 14px;
}

.list-match {
    display: grid;
    margin-top: 8px;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
}

.match-time {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.match-status {
    font-size: 11px;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
}

.match-status.scheduled {
    background: #414141;
    color: #c8c8c8;
    display: flex;
    justify-self: end;
}

.match-status.live {
    background: #ffb301;
    color: #1a1a1a;
    display: flex;
    justify-self: end;
}

.match-status.finished {
    background: #ffd800;
    color: #1a1a1a;
    display: flex;
    justify-self: end;
}

.match-status.postponed {
    background: #f59e0b;
    color: #1a1a1a;
    display: flex;
    justify-self: end;
}

.more-list {
    display: flex;
    padding: 6px;
    font-size: 14px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(255, 198, 0, 0.12);
    text-decoration: none;
    transition: 0.2s ease;
    color: #ffc600;
    text-align: center;
    justify-content: center;
    border: 1px solid rgba(255, 198, 0, 0.2);
}

.more-list:hover {
    transform: translateY(-3px);
    border-color: #ffb301;
}

.more-list hr {
    margin: 0;
    color: #8a8a8a;
}
/* CSS MATCH SCHEDULE */

@media (max-width: 768px) {
    .match-sidebar {
        display: none;
    }
}

@media (max-width: 1200px) {
    .main-menu {
        display: none;
    }

    .home-page .league-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-page .prediction-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container.event {
        margin-top: 30px;
        padding: 10px;
    }

    .event-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .event-grid a .btn {
        height: 40px;
        font-size: 14px;
    }

    .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 .league-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-page .empty-title {
        font-size: 42px;
    }

    .home-page .empty-description {
        font-size: 16px;
    }

    .match-sidebar {
        display: none;
    }
}

@media (max-width: 480px) {
    .home-page {
        padding: 20px 10px;
    }

    .home-page .prediction-layout {
        margin-top: 30px;
    }

    .home-page .prediction-grid {
        grid-template-columns: 1fr;
    }

    .home-page .section-header h2 {
        font-size: 18px;
        margin: 0;
    }

    .home-page .sub-title {
        font-size: 14px;
        padding: 0;
        margin: 0;
    }

    section.league {
        margin-bottom: 30px;
    }

    .home-page .accordion {
        margin-top: 30px !important;
    }

    .home-page .league-country {
        font-size: 11px;
    }

    .home-page .league-card {
        padding: 5px 14px;
    }

    .home-page .league-name {
        font-weight: 400;
    }

    .home-page .country-flag {
        display: none;
    }
}
