/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BACKGROUND */
body {
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    background: url("background2\ .jpg") no-repeat center center/cover;
}

/* OVERLAY */
.background-overlay {
    background: rgba(0, 0, 0, 0.65);
    min-height: 100vh;
    padding-bottom: 60px;
}

/* NAVBAR */
.navbar {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 0;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.navbar a:hover {
    color: #7fdfff;
}

/* PAGE TITLE */
.page-title {
    text-align: center;
    margin: 40px 0;
}

.page-title h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

/* PLAYERS GRID */
.players-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* PLAYER CARD */
.player-card {
    border-radius: 16px;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        rgba(0,191,255,0.12),
        rgba(0,0,0,0.92)
    );

    box-shadow: 0 0 15px rgba(0,191,255,0.12);

    transition: 0.3s ease;
}

/* HOVER */
.player-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,191,255,0.25);
}

/* PLAYER IMAGE */
.player-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* PLAYER INFO */
.player-info {
    padding: 20px;
    text-align: center;
}

.player-info h2 {
    margin-bottom: 5px;
    font-size: 1.6rem;
}

.position {
    color: #7fdfff;
    margin-bottom: 20px;
}

/* STATS */
.stats {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* STAT BOX */
.stat-box {
    flex: 1;
    padding: 12px;
    border-radius: 10px;

    background: rgba(255,255,255,0.06);
}

.stat-box span {
    display: block;
    font-size: 13px;
    color: #ccc;
    margin-bottom: 5px;
}

.stat-box h3 {
    font-size: 1.5rem;
}
/* FOOTER */
footer {
    margin-top: 80px;
    text-align: center;
    padding-bottom: 20px;
}

@media (max-width: 768px) {

    .navbar ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
        text-align: center;
    }

    .navbar li {
        width: 100%;
    }

    .navbar a {
        font-size: 14px;
    }

}
@media (max-width: 768px) {

    .next-match,
    .last-results {
        width: 90%;
        margin: 20px auto;
    }

}