:root {
    --bg: #1C1E1C;
    --card: #2F3230;
    --accent: #D9DBDF;
    --text: #f1f5f9;
    --muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 10px;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

h1 {
    color: #5819D9;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 400;
}

/* --- Лига --- */
.league {
    margin-bottom: 20px;
}


.navigate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 2px;
    background: linear-gradient(135deg, #2F3230 50%, #454946 100%);
    border-radius: 12px;
    transition: 0.3s;
}


.league-title {
    background: linear-gradient(135deg, #2F3230 50%, #454946 100%);
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.league-title:hover {
    background: #3A3D3B;
}

.league-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.league-content.active {
    max-height: 5000px;
    margin-top: 10px;
}

/* --- Время --- */
.time-block {
    margin-bottom: 20px;
}

.time-title {
    color: var(--muted);
    margin: 10px 0;
}

/* --- Матч --- */
.match-card {
    background: var(--card);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.match-card:hover {
    background: #3A3D3B;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.score {
    font-weight: bold;
    color: var(--accent);
}

.details {
    margin-top: 8px;
    color: var(--muted);
    display: none;
}

.details.active {
    display: block;
}

.goal {
    margin-top: 4px;
}

.no-goals {
    color: #E5D11B;
}


.class-bet {
    color: #ff00ff;
}


#prev-day, #next-day {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#prev-day:hover, #next-day:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

#prev-day:active, #next-day:active {
    transform: scale(0.95);
}

#hd {
    color: white;
    font-weight: 700;
    min-width: 120px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

@media (max-width: 480px) {
    .navigate {
        gap: 15px;
        margin-bottom: 20px;
        padding: 15px;
    }

    #prev-day, #next-day {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    #hd {
        font-size: 16px;
        padding: 10px 15px;
        min-width: 100px;
    }
}