:root {
    --page-background-image: url('/img/background-event.webp');
    
    /* 🎨 Brand Colors - Purple & Yellow */
    --purple-primary: #b800ff;
    --purple-dark: #2e003e;
    --purple-medium: #7a00b3;
    --purple-light: #d580ff;
    --yellow-primary: #ffd700;
    --yellow-light: #ffe44d;
    --yellow-lighter: #fff176;
    --yellow-dark: #e6b800;
    --purple-gradient: linear-gradient(135deg, #2e003e, #7a00b3, #b800ff, #7a00b3, #2e003e);
    --yellow-gradient: linear-gradient(135deg, #ffd700, #ffe44d, #fff176, #ffe44d, #ffd700);
    --brand-gradient: linear-gradient(135deg, #7a00b3, #b800ff, #7a00b3, #2e003e);
    --brand-glow: 0 0 40px rgba(184, 0, 255, 0.15), 0 0 60px rgba(255, 215, 0, 0.08);
    --purple-glow: 0 0 40px rgba(184, 0, 255, 0.15);
    --yellow-glow: 0 0 40px rgba(255, 215, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

.home-page {
    background: radial-gradient(circle at top, #1a0a1a, #0a0a0a);
    color: #e5e5e5;
    padding: 30px 20px 30px;
}

/* =========================
   MAIN MENU - TETAP BERWARNA
========================= */

.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, #0b1220, #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, #0b1220, #ff0000);
    border: 2px solid #ff0000b8;
    color: #ffffff;
}

#menu-2:hover {
    background: radial-gradient(circle at left, #ff0000, #ff0000);
}

#menu-3 {
    background: radial-gradient(circle at left, #0b1220, #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, #0b1220, #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, #0b1220, #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, #0b1220, #ff00dd);
    border: 2px solid #ff00ddb8;
    color: #ffffff;
}

#menu-6:hover {
    background: radial-gradient(circle at left, #ff00dd, #ff00dd);
}

/* =========================
   PREDICTION LAYOUT
========================= */

.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 rgb(184 0 255 / 48%);
    padding: 20px;
    border-radius: 16px;
}

.home-page .prediction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

/* =========================
   PREDICTION CARD - PURPLE & YELLOW
========================= */

.home-page .prediction-card {
    background: #1a0f20;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #e5e5e5;
    border: 1px solid rgb(184 0 255 / 48%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.home-page .prediction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2e003e, #7a00b3, #b800ff, #ffd700, #ffe44d, #ffd700, #b800ff, #7a00b3, #2e003e);
    background-size: 300% 100%;
    opacity: 0;
    transition: all 0.4s ease;
}

.home-page .prediction-card:hover {
    transform: translateY(-6px);
    border-color: rgba(184, 0, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(184, 0, 255, 0.05);
}

/* =========================
   HERO BANNER
========================= */

.hero-banner .container {
    padding: 0;
}

.container.prediction-section {
    padding: 30px 0 0 0;
}

/* =========================
   CARD IMAGE
========================= */

.card-image {
    position: relative;
    height: 170px;
    overflow: hidden;
}

.home-page .section-header h1,
h2 {
    color: #ffd700;
    font-family: "Archivo Black", sans-serif;
    padding: 5px 0;
    text-shadow: 0 0 40px rgba(255, 215, 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, #7a00b3, #b800ff, #7a00b3, #2e003e);
    background-size: 300% 100%;
    color: #ffffff;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(184, 0, 255, 0.3);
}

/* =========================
   CARD BODY - PURPLE & YELLOW
========================= */

.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: #ffd700;
    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: #ffd700;
    font-weight: 800;
}

.home-page .meta {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

/* =========================
   BUTTON VIEW - PURPLE & YELLOW
========================= */

.home-page .btn-view {
    background: linear-gradient(135deg, #7a00b3, #b800ff, #7a00b3, #2e003e);
    background-size: 300% 100%;
    color: #ffffff;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

.home-page .prediction-card:hover .btn-view {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(184, 0, 255, 0.3);
}

.home-page .pagination-wrapper {
    margin-top: 20px;
}

/* =========================
   HERO IMAGE
========================= */

.home-page .hero-image {
    width: 100%;
    border-radius: 10px;
    max-height: 500px;
    overflow: hidden;
    border: 1px solid rgba(184, 0, 255, 0.15);
    transition: all 0.5s ease;
}

.home-page .hero-image:hover {
    border-color: #ffd700;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.08);
}

/* =========================
   ACCORDION - PURPLE & YELLOW
========================= */

.home-page .accordion {
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 0;
    --bs-accordion-bg: #1a0f20;
    --bs-accordion-border-color: rgba(184, 0, 255, 0.08);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: #1a0f20;
    --bs-accordion-active-color: #ffd700;
}

.home-page .accordion-item {
    background: #1a0f20;
    border: 1px solid rgb(184 0 255 / 48%);
    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: #ffd700;
    font-weight: 100;
    font-size: 16px;
    padding: 16px 20px;
    transition: all 0.25s ease;
}

.home-page .accordion-button:hover {
    background: #2a1540;
    color: #ffe44d;
}

.home-page .accordion-button:not(.collapsed) {
    background: #1a0f20;
    color: #ffd700;
    box-shadow: none;
}

.home-page .accordion-button.collapsed {
    background: #1a0f20;
    color: #ffd700;
}

.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 rgb(184 0 255 / 48%);
}

.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: #ffd700;
    text-decoration: none;
}

.home-page .accordion-body a:hover {
    text-decoration: underline;
    color: #b800ff;
}

.home-page .accordion-body code {
    background: #1a0f20;
    color: #ffd700;
    padding: 2px 6px;
    border-radius: 4px;
}

/* =========================
   SECTION HEADER
========================= */

.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;
}

/* =========================
   LEAGUE SECTION - PURPLE & YELLOW
========================= */

.home-page section.league {
    background: radial-gradient(circle at top, #1a0a1a, #0a0a0a);
    padding: 20px;
    border: 1px solid rgb(184 0 255 / 48%);
    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 rgb(184 0 255 / 48%);
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.home-page .league-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2e003e, #7a00b3, #b800ff, #ffd700, #ffe44d, #ffd700, #b800ff, #7a00b3, #2e003e);
    background-size: 300% 100%;
    opacity: 0;
    transition: all 0.4s ease;
}

.home-page .league-card:hover::before {
    opacity: 1;
}

.home-page .league-card:hover {
    transform: translateY(-3px);
    border-color: rgba(184, 0, 255, 0.2);
    box-shadow: 0 0 40px rgba(184, 0, 255, 0.05);
}

.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: #ffd700;
    font-weight: 600;
}

.home-page .league-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================
   EMPTY STATE
========================= */

.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: #ffd700;
    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, #7a00b3, #b800ff, #7a00b3, #2e003e);
    background-size: 300% 100%;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.home-page .empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(184, 0, 255, 0.2);
    color: #ffffff;
}

/* =========================
   MATCH SIDEBAR - PURPLE & YELLOW
========================= */

.home-page .match-sidebar {
    background: radial-gradient(circle at top, #1a0a1a, #0a0a0a);
    border: 1px solid rgb(184 0 255 / 48%);
    border-radius: 16px;
    padding: 16px;
    position: sticky;
    top: 20px;
    height: fit-content;
    max-height: 600px;
    scroll-behavior: smooth;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b800ff #0a0a0a;
}

.home-page .match-sidebar h3 {
    color: #ffd700;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 18px;
    text-align: center;
}

.home-page .match-item {
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #1a0f20;
    border: 1px solid rgb(184 0 255 / 48%);
    text-decoration: none;
}

.home-page .match-item:hover {
    transform: translateY(-3px);
    border-color: rgba(184, 0, 255, 0.2);
    box-shadow: 0 0 40px rgba(184, 0, 255, 0.05);
}

.home-page .match-teams-small {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #e5e5e5;
}

.home-page .match-teams-small .vs {
    color: #ffd700;
    font-size: 11px;
    gap: 2px;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.home-page .list-match {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.home-page .match-time {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 6px;
}

.home-page .match-status {
    font-size: 11px;
    margin-top: 6px;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
}

.home-page .match-status.scheduled {
    background: #374151;
    color: #d1d5db;
    display: flex;
    justify-self: end;
}

.home-page .match-status.live {
    background: #ff0000;
    color: #fff;
    display: flex;
    justify-self: end;
}

.home-page .match-status.finished {
    background: #b800ff;
    color: #ffd700;
    display: flex;
    justify-self: end;
}

.home-page .match-status.postponed {
    background: #f59e0b;
    color: #000;
    display: flex;
    justify-self: end;
}

/* =========================
   EVENT CONTAINER - PURPLE & YELLOW
========================= */

.home-page .container.event {
    padding: 20px;
    border: 1px solid rgb(184 0 255 / 48%);
    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;
}

.home-page .container.event h2 {
    color: #ffd700;
}

.home-page .event-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

.home-page .event-grid a {
    text-decoration: none;
    display: block;
    width: 100%;
}

.home-page .event-grid a .btn {
    background: radial-gradient(circle at left, #000000, #2e003e);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 5rem;
    color: #ffffff;
    width: 100%;
    height: 45px;
    font-weight: 700;
}

.home-page .event-grid a .btn:hover {
    background: radial-gradient(circle at left, #0a0a0a, #b800ff);
    color: #ffd700;
    border-color: #ffd700;
    box-shadow: 0 0 40px rgba(184, 0, 255, 0.1);
}

/* =========================
   COUNTRY FLAG - PURPLE & YELLOW
========================= */

.home-page .country-flag {
    background: radial-gradient(circle at top, #1a0a1a, #0a0a0a);
    padding: 20px;
    border: 1px solid rgb(184 0 255 / 48%);
    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: rgba(184, 0, 255, 0.2);
    box-shadow: 0 0 40px rgba(184, 0, 255, 0.05);
}

.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;
}

.team-box {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
}

/* =========================
   SCROLLBAR - PURPLE & YELLOW
========================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #2e003e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b800ff;
}

/* =========================
   RESPONSIVE
========================= */

@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);
    }

    .home-page .container.event {
        margin-top: 30px;
        padding: 15px;
    }

    .home-page .event-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .home-page .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;
    }

    .home-page .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;
    }
}