:root {
    --page-background-image: url('/img/background-event.webp');
    
    /* 🎨 Brand Colors - SHIOWLA SPORT */
    --gold-pale: #f7f6ad;
    --gold-light: #f5cd81;
    --gold-medium: #e6c581;
    --gold-dark: #86612a;
    --gold-brown: #7f5918;
    
    /* ✨ Gold Variations */
    --gold-primary: #e6c581;
    --gold-secondary: #f5cd81;
    --gold-tertiary: #f7f6ad;
    --gold-gradient: linear-gradient(135deg, #7f5918, #86612a, #e6c581, #f5cd81, #f7f6ad, #f5cd81, #e6c581, #86612a, #7f5918);
    --gold-glow: 0 0 40px rgba(230, 197, 129, 0.25);
    --gold-glow-strong: 0 0 60px rgba(245, 205, 129, 0.35);
    
    /* 🖤 Dark Backgrounds */
    --dark-primary: #0a0a0a;
    --dark-secondary: #111111;
    --dark-card: #1a1a1a;
    --dark-card-hover: #222222;
    --dark-border: #2a2a2a;
    --dark-border-light: rgba(230, 197, 129, 0.08);
    
    /* 🌟 Combined Brand Gradient */
    --brand-gradient: linear-gradient(135deg, #7f5918, #86612a, #e6c581, #f5cd81, #f7f6ad, #f5cd81, #e6c581, #86612a, #7f5918);
    --brand-glow: 0 0 40px rgba(230, 197, 129, 0.15), 0 0 80px rgba(245, 205, 129, 0.08);
    
    /* 🎯 Accent Colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #9e9e9e;
    
    /* Border & Shadow */
    --brand-border: rgba(230, 197, 129, 0.2);
    --brand-border-hover: rgba(245, 205, 129, 0.4);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   BASE STYLES
======================================== */

.home-page {
    background: radial-gradient(circle at 30% 0%, #0a0a0a, #000000 60%, #0a0a0a);
    color: var(--text-secondary);
    padding: 30px 20px 30px;
    position: relative;
}

.home-page::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 20% 50%, rgba(230, 197, 129, 0.02), transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(245, 205, 129, 0.015), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.home-page > * {
    position: relative;
    z-index: 1;
}

/* ========================================
   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, #111111, #0a0a0a);
    border: 1px solid rgba(230, 197, 129, 0.08);
    padding: 20px;
    border-radius: 16px;
}

.home-page .prediction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

/* ========================================
   PREDICTION CARDS - GOLD THEME
======================================== */

.home-page .prediction-card {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #e5e5e5;
    border: 1px solid rgba(230, 197, 129, 0.08);
    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: var(--gold-gradient);
    background-size: 200% 100%;
    opacity: 0;
    transition: all 0.4s ease;
}

.home-page .prediction-card:hover::before {
    opacity: 1;
    /* animation: shimmerGold 2s linear infinite; */
}

.home-page .prediction-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 197, 129, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--gold-glow);
}

@keyframes shimmerGold {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ========================================
   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: #e6c581;
    font-family: "Archivo Black", sans-serif;
    padding: 5px 0;
    text-shadow: 0 0 40px rgba(230, 197, 129, 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: var(--gold-gradient);
    background-size: 200% 100%;
    color: #000000;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(230, 197, 129, 0.3);
    /* animation: shimmerGold 3s linear infinite; */
}

/* ========================================
   CARD BODY - GOLD THEME
======================================== */

.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: #e6c581;
    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: #e6c581;
    font-weight: 800;
}

.home-page .meta {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

/* ========================================
   BUTTON VIEW - GOLD THEME
======================================== */

.home-page .btn-view {
    background: var(--gold-gradient);
    background-size: 200% 100%;
    color: #000000;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    /* animation: shimmerGold 4s linear infinite; */
}

.home-page .prediction-card:hover .btn-view {
    transform: scale(1.02);
    box-shadow: var(--gold-glow);
}

.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(230, 197, 129, 0.15);
    transition: all 0.5s ease;
}

/* .home-page .hero-image:hover {
    border-color: #e6c581;
    box-shadow: var(--gold-glow);
} */

/* ========================================
   ACCORDION - GOLD THEME
======================================== */

.home-page .accordion {
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 0;
    --bs-accordion-bg: #1a1a1a;
    --bs-accordion-border-color: rgba(230, 197, 129, 0.08);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: #1a1a1a;
    --bs-accordion-active-color: #e6c581;
}

.home-page .accordion-item {
    background: #1a1a1a;
    border: 1px solid rgba(230, 197, 129, 0.08);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 12px;
}

.home-page .accordion-item:hover {
    border-color: rgba(230, 197, 129, 0.15);
}

.home-page .accordion-item .accordion-button {
    font-weight: 500;
}

.home-page .accordion-button {
    background: #1a1a1a;
    color: #e6c581;
    font-weight: 100;
    font-size: 16px;
    padding: 16px 20px;
    transition: all 0.25s ease;
}

.home-page .accordion-button:hover {
    background: #222222;
    color: #f5cd81;
}

.home-page .accordion-button:not(.collapsed) {
    background: #1a1a1a;
    color: #e6c581;
    box-shadow: none;
}

.home-page .accordion-button.collapsed {
    background: #1a1a1a;
    color: #e6c581;
}

.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(230, 197, 129, 0.08);
}

.home-page .accordion-button::after {
    filter: brightness(0) saturate(100%) invert(77%) sepia(60%) saturate(500%) hue-rotate(0deg) brightness(94%) contrast(93%);
}

.home-page .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.home-page .accordion-body a {
    color: #e6c581;
    text-decoration: none;
}

.home-page .accordion-body a:hover {
    text-decoration: underline;
    color: #f5cd81;
}

.home-page .accordion-body code {
    background: #1a1a1a;
    color: #e6c581;
    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 - GOLD THEME
======================================== */

.home-page section.league {
    background: radial-gradient(circle at top, #111111, #0a0a0a);
    padding: 20px;
    border: 1px solid rgba(230, 197, 129, 0.08);
    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(230, 197, 129, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.home-page .league-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
    background-size: 200% 100%;
    opacity: 0;
    transition: all 0.4s ease;
}

.home-page .league-card:hover::before {
    opacity: 1;
    /* animation: shimmerGold 2s linear infinite; */
}

.home-page .league-card:hover {
    transform: translateY(-3px);
    border-color: rgba(230, 197, 129, 0.2);
    box-shadow: var(--gold-glow);
}

.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: #e6c581;
    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: #e6c581;
    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: var(--gold-gradient);
    background-size: 200% 100%;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    /* animation: shimmerGold 3s linear infinite; */
}

.home-page .empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--gold-glow);
    color: #000000;
}

/* ========================================
   MATCH SIDEBAR - GOLD THEME
======================================== */

.home-page .match-sidebar {
    background: radial-gradient(circle at top, #111111, #0a0a0a);
    border: 1px solid rgba(230, 197, 129, 0.08);
    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: #e6c581 #0a0a0a;
}

.home-page .match-sidebar h3 {
    color: #e6c581;
    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: #1a1a1a;
    border: 1px solid rgba(230, 197, 129, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-page .match-item:hover {
    transform: translateY(-3px);
    border-color: rgba(230, 197, 129, 0.2);
    box-shadow: var(--gold-glow);
}

.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: #e6c581;
    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: #e6c581;
    color: #000000;
    display: flex;
    justify-self: end;
}

.home-page .match-status.postponed {
    background: #f59e0b;
    color: #000;
    display: flex;
    justify-self: end;
}

/* ========================================
   EVENT CONTAINER - GOLD THEME
======================================== */

.home-page .container.event {
    padding: 20px;
    border: 1px solid rgba(230, 197, 129, 0.15);
    border-radius: 16px;
    margin-top: 40px;
    background-image: linear-gradient(#00000080, #00000080), var(--page-background-image, none);
    background-position: 30%;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-page .container.event h2 {
    color: #e6c581;
}

.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: var(--gold-gradient);
    border: 1px solid rgba(230, 197, 129, 0.2);
    border-radius: 5rem;
    color: #000000;
    width: 100%;
    height: 45px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.home-page .event-grid a .btn:hover {
    border-color: #e6c581;
    box-shadow: var(--gold-glow);
}

/* ========================================
   COUNTRY FLAG - GOLD THEME
======================================== */

.home-page .country-flag {
    background: radial-gradient(circle at top, #111111, #0a0a0a);
    padding: 20px;
    border: 1px solid rgba(230, 197, 129, 0.08);
    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(230, 197, 129, 0.2);
    box-shadow: var(--gold-glow);
}

.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
======================================== */

.team-box {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
}

/* ========================================
   SCROLLBAR - GOLD THEME
======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #86612a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6c581;
}

/* ========================================
   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;
    }
}