* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* BACKGROUND */

body {
    background: linear-gradient(135deg, #081a3a 0%, #0d2d66 40%, #3c1e7a 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HEADER */

.header {
    text-align: center;
    padding: 40px 20px;
}

.site-logo {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto 20px auto;
}

.header h1 {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 8px;
}

.subtitle {
    opacity: 0.9;
    font-size: 16px;
}

/* MATCH CONTAINER */

.match-container {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding: 15px;
}

/* MATCH CARD */

.match-card {
    width: 100%;
    padding: 35px 30px;
    margin-bottom: 35px;
    background: linear-gradient(180deg, #2e4b84, #253b6e);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    text-align: center;
    transition: 0.3s;
}

/* HOVER EFFECT */

.match-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 20px rgba(120, 150, 255, 0.6),
        0 0 60px rgba(120, 150, 255, 0.35);
}

/* LEAGUE */

.league {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

/* SCORE LINE - STACKED LAYOUT */

.score-line {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0;
    width: 100%;
}

/* TEAM NAMES - CENTERED */

.team-left,
.team-right {
    max-width: 100%;
    width: 100%;
    word-break: break-word;
    text-align: center;
}

/* SCORE BADGE */

.score-badge {
    display: inline-block;
    padding: 6px 20px;
    font-size: 28px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

/* SEPARATOR LINE */

.separator {
    width: 80%;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.6) 20%,
            rgba(255, 255, 255, 0.6) 80%,
            transparent 100%
        );
    margin: 18px auto;
    border: none;
}

/* Dashed variant */
.separator.dashed {
    height: 0;
    background: transparent;
    border-top: 1px dashed rgba(255, 255, 255, 0.4);
}

/* DATE */

.match-date {
    margin-top: 15px;
    font-size: 16px;
}

/* TIME */

.match-time {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    font-size: 16px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
}

/* NO MATCH MESSAGE */

.no-match {
    text-align: center;
    padding: 40px 20px;
    font-size: 18px;
    opacity: 0.8;
}

/* FOOTER */

.site-footer {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    text-align: left;
    line-height: 1.8;
    font-size: 14px;
    color: #ffffffcc;
}

/* LIVE BUTTON */

.live-button-container {
    text-align: center;
    margin: 15px auto 25px auto;
}

.live-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.live-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.live-badge {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.live-text {
    letter-spacing: 0.5px;
}

/* DATE FILTER */

.date-filter {
    margin: 10px auto 25px auto;
    text-align: center;
}

.date-filter select {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    background: #ffffff22;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.date-filter select option {
    color: black;
}

/* DATE NAVIGATION */

.date-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px auto 30px auto;
    max-width: 1000px;
    flex-wrap: wrap;
}

/* DATE BUTTON */

.date-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: 0.25s;
    white-space: nowrap;
}

/* HOVER */

.date-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ACTIVE DATE */

.date-btn.active {
    background: #5d7cff;
    box-shadow: 0 0 10px rgba(120, 150, 255, 0.6);
}

/* CALENDAR FILTER */

.calendar-filter {
    text-align: center;
    margin: 20px auto 30px auto;
}

/* DATE INPUT */

.calendar-filter input[type="date"] {
    appearance: auto;
}

.calendar-filter input {
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
}

/* MOBILE */

@media (max-width: 700px) {

    .calendar-filter input {
        font-size: 14px;
        padding: 8px 12px;
    }

    .match-card {
        padding: 25px 20px;
    }

    .league {
        font-size: 16px;
    }

    .score-line {
        font-size: 18px;
        gap: 8px;
    }

    .team-left,
    .team-right {
        font-size: 18px;
    }

    .score-badge {
        font-size: 24px;
        padding: 5px 16px;
    }

    .separator {
        width: 90%;
        margin: 12px auto;
    }

    .match-date {
        margin-top: 12px;
        font-size: 14px;
    }

    .match-time {
        font-size: 14px;
    }

    .date-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 12px;
        scrollbar-width: none;
    }

    .date-nav::-webkit-scrollbar {
        display: none;
    }

    .date-btn {
        flex: 0 0 auto;
        padding: 7px 14px;
        font-size: 13px;
    }
}
