.calendar-page {
    width: 100%;
    min-height: 100vh;
    padding: 30px 20px 80px;

    background:
        linear-gradient(rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.94)),
        url('../../img/background.jpg');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    color: white;
}

.calendar-header {
    text-align: center;
    margin-bottom: 45px;
}

.calendar-header h1 {
    font-size: 48px;
    margin-bottom: 14px;
}

.calendar-header p {
    color: #cbd5e1;
}

.filters-bar {
    max-width: 1100px;
    margin: 0 auto 50px;

    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.filters-bar input,
.filters-bar select {
    padding: 12px 16px;

    background: rgba(15, 23, 42, 0.92);
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;

    font-family: 'Poppins', sans-serif;
}

.filters-bar button,
.reset-filter {
    padding: 12px 20px;

    border-radius: 12px;
    border: 1px solid #A3E635;

    background: transparent;
    color: #A3E635;

    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.filters-bar button:hover,
.reset-filter:hover {
    background: #A3E635;
    color: #020617;
}

.calendar-day {
    margin-bottom: 55px;
}

.calendar-day h2 {
    text-align: center;
    color: #A3E635;
    font-size: 28px;
    margin-bottom: 25px;
}

.calendar-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;

    max-width: 950px;
    margin: 0 auto;
}

.calendar-card {
    background: rgba(15, 23, 42, 0.88);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;

    padding: 24px 28px;

    backdrop-filter: blur(12px);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.calendar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(163, 230, 53, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

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

    margin-bottom: 28px;
}

.group-badge {
    padding: 7px 15px;

    background: rgba(163, 230, 53, 0.12);
    color: #A3E635;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;
}

.match-time {
    color: #94a3b8;
    font-size: 14px;
}

.match-center {
    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;
    gap: 24px;
}

.team {
    display: flex;
    align-items: center;
    gap: 16px;
}

.team:last-child {
    justify-content: flex-end;
    text-align: right;
}

.team img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.team span {
    font-size: 20px;
    font-weight: 600;
}

.versus {
    min-width: 120px;
    text-align: center;

    font-size: 36px;
    font-weight: 800;

    color: #A3E635;
}

.match-bottom {
    margin-top: 26px;
    text-align: center;
}

.status {
    font-size: 14px;
    font-weight: 600;
}

.status.scheduled {
    color: #38bdf8;
}

.status.finished {
    color: #22c55e;
}

.empty-calendar {
    width: 100%;
    max-width: 800px;

    margin: 0 auto;
    padding: 35px;

    text-align: center;

    background: rgba(15, 23, 42, 0.85);
    border-radius: 20px;

    color: #cbd5e1;
}

@media (max-width: 768px) {
    .calendar-page {
        padding: 140px 16px 60px;
    }

    .calendar-header h1 {
        font-size: 36px;
    }

    .calendar-day h2 {
        font-size: 24px;
    }

    .calendar-card {
        padding: 22px 18px;
    }

    .match-center {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .team,
    .team:last-child {
        justify-content: center;
        text-align: center;
    }

    .versus {
        font-size: 34px;
    }

    .team span {
        font-size: 17px;
    }

    .team img {
        width: 48px;
        height: 48px;
    }
}