: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"); */
    --purple-primary: #7d20ff;
    --purple-dark: #620cd7;
    --purple-deep: #3d0986;
    --yellow-primary: #ffd500;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

.home-page {
    background: radial-gradient(circle at top, #1a0a1a, #0a0a0a);
    color: #e5e5e5;
    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, #0a0a0a, #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, #0a0a0a, #7d20ff);
    border: 2px solid #7d20ffb8;
    color: #ffffff;
}

#menu-2:hover {
    background: radial-gradient(circle at left, #620cd7, #620cd7);
}

#menu-3 {
    background: radial-gradient(circle at left, #0a0a0a, #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, #0a0a0a, #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, #0a0a0a, #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, #0a0a0a, #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, #1a0a1a, #0a0a0a);
    border: 1px solid rgba(125, 32, 255, 0.3);
    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: #1a0f20;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #e5e5e5;
    border: 1px solid rgba(125, 32, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    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: #7d20ff;
    box-shadow: 0 12px 30px rgba(125, 32, 255, 0.25);
}

.card-image {
    position: relative;
    height: 170px;
    overflow: hidden;
}

.home-page .section-header h1,
h2 {
    color: #ffd500;
    font-family: "Archivo Black", sans-serif;
    padding: 5px 0;
    text-shadow: 0 0 40px rgba(255, 213, 0, 0.1);
}

.home-page .section-header h2 {
    font-size: 24px;
}

.home-page .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s 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.7), transparent);
}

.home-page .match-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #3d0986, #7d20ff, #620cd7);
    color: #ffffff;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(125, 32, 255, 0.3);
}

.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: #e5e7eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-page .vs {
    color: #ffd500;
    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: #ffd500;
    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, #3d0986, #7d20ff, #620cd7);
    color: #ffffff;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    transition: 0.3s ease;
}

.home-page .prediction-card:hover .btn-view {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(125, 32, 255, 0.3);
}

.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 rgba(125, 32, 255, 0.3);
}

.home-page .accordion {
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 0;
    --bs-accordion-bg: #1a0f20;
    --bs-accordion-border-color: rgba(125, 32, 255, 0.3);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: #1a0f20;
    --bs-accordion-active-color: #ffd500;
}

.home-page .accordion-item {
    background: #1a0f20;
    border: 1px solid rgba(125, 32, 255, 0.3);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 12px;
}

.home-page .accordion-item .accordion-button {
    font-weight: 500;
}

.home-page .accordion-button {
    background: #1a0f20;
    color: #ffd500;
    font-weight: 100;
    font-size: 16px;
    padding: 16px 20px;
    transition: all 0.25s ease;
}

.home-page .accordion-button:hover {
    background: #2a1540;
    color: #ffd500;
}

.home-page .accordion-button:not(.collapsed) {
    background: #1a0f20;
    color: #ffd500;
    box-shadow: none;
}

.home-page .accordion-button.collapsed {
    background: #1a0f20;
    color: #ffd500;
}

.home-page .accordion-body {
    background: radial-gradient(circle at top, #0a0a0a, #000000);
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 16px;
    border-top: 1px solid rgba(125, 32, 255, 0.3);
}

.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: #ffd500;
    text-decoration: none;
}

.home-page .accordion-body a:hover {
    text-decoration: underline;
    color: #7d20ff;
}

.home-page .accordion-body code {
    background: #1a0f20;
    color: #ffd500;
    padding: 2px 6px;
    border-radius: 4px;
}

.home-page .section-header {
    margin-bottom: 20px;
}

.home-page .sub-title {
    color: #b0b0b0;
    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, #1a0a1a, #0a0a0a);
    padding: 20px;
    border: 1px solid rgba(125, 32, 255, 0.3);
    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, #0f172a, #0a0a0a);
    border: 1px solid rgba(125, 32, 255, 0.3);
    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: #7d20ff;
    box-shadow: 0 10px 25px rgba(125, 32, 255, 0.15);
}

.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: #ffd500;
    font-weight: 600;
}

.home-page .league-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    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: #ffd500;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 20px;
}

.home-page .empty-title {
    font-size: 64px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.home-page .empty-description {
    max-width: 700px;
    color: #94a3b8;
    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: linear-gradient(135deg, #3d0986, #7d20ff, #620cd7);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.25s ease;
}

.home-page .empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(125, 32, 255, 0.2);
    color: #ffffff;
}

.container.event {
    padding: 20px;
    border: 1px solid rgba(125, 32, 255, 0.3);
    border-radius: 16px;
    margin-top: 40px;
    background-image:
        linear-gradient(#0006, #0006), var(--page-background-image, none);
    background-position: 30%;
    background-repeat: no-repeat;
    background-size: cover;
}

.container.event h2 {
    color: #ffd500;
}

.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, #000000, #3d0986);
    border: 1px solid rgba(125, 32, 255, 0.3);
    border-radius: 5rem;
    color: #ffffff;
    width: 100%;
    height: 45px;
    font-weight: 700;
}

.event-grid a .btn:hover {
    background: radial-gradient(circle at left, #0a0a0a, #7d20ff);
    color: #ffd500;
    border-color: #ffd500;
    box-shadow: 0 0 40px rgba(125, 32, 255, 0.1);
}

.home-page .country-flag {
    background: radial-gradient(circle at top, #1a0a1a, #0a0a0a);
    padding: 20px;
    border: 1px solid rgba(125, 32, 255, 0.3);
    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: #7d20ff;
    box-shadow: 0 8px 20px rgba(125, 32, 255, 0.15);
}

.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: #ffffff;
    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, #1a0a1a, #0a0a0a);
    border: 1px solid rgba(125, 32, 255, 0.3);
    border-radius: 16px;
    padding: 16px 8px 16px 16px;
    position: sticky;
    top: 20px;
}

.match-sidebar h3 {
    color: #ffd500;
    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: #7d20ff #0a0a0a;
    padding-right: 10px;
}

.match-item {
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #1a0f20;
    border: 1px solid rgba(125, 32, 255, 0.3);
    text-decoration: none;
    transition: 0.2s ease;
}

.match-item:hover {
    transform: translateY(-3px);
    border-color: #ffd500;
}

.match-item hr {
    margin: 0;
    color: rgb(125, 32, 255);
}

.match-teams {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #e8e8e8;
}

.match-teams .vs {
    color: #ffd500;
    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: #620cd7;
    color: #e4e4e4;
    display: flex;
    justify-self: end;
}

.match-status.live {
    background: #ff0004;
    color: #ffffff;
    display: flex;
    justify-self: end;
}

.match-status.finished {
    background: #ff0004;
    color: #ffffff;
    display: flex;
    justify-self: end;
}

.match-status.postponed {
    background: #474747;
    color: #dcdcdc;
    display: flex;
    justify-self: end;
}

.match-status.cancelled {
    background: #000000;
    color: #ff0000;
    display: flex;
    justify-self: end;
    border: 1px solid #ff000091;
}

.more-list {
    display: flex;
    padding: 6px;
    font-size: 14px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #620cd7a1;
    text-decoration: none;
    transition: 0.2s ease;
    color: #dba3ff;
    text-align: center;
    justify-content: center;
    border:1px solid rgba(125, 32, 255, 0.3);
}

.more-list:hover {
    transform: translateY(-3px);
    border-color: rgb(160, 92, 255);
}

.more-list hr {
    margin: 0;
    color: #8a8a8a;
}

.live-dot-match {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 14px;
    color: #9ca3af;
    margin-right: 6px;
}

.live-dot-match span {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    animation: pulse 1.2s infinite;
}
/* CSS MATCH SCHEDULE */
/* =========================
   SCROLLBAR - PURPLE & YELLOW
========================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #3d0986;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7d20ff;
}

@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;
    }
}