@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 50px 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h2 {
        font-size: 18px;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0f172a;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #111827;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #f59e0b;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #f59e0b;
}

footer {
    text-align: center;
    padding: 20px;
    background: #111827;
    margin-top: 50px;
}
.profil-container {
    padding: 80px 50px;
}

.player-card {
    display: flex;
    gap: 50px;
    align-items: center;
}

.player-photo img {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(245,158,11,0.4);
}

.player-info h1 {
    font-size: 40px;
}

.player-info h3 {
    color: #f59e0b;
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 200px);
    gap: 20px;
    margin: 30px 0;
}

.info-box {
    background: #1f2937;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.info-box span {
    display: block;
    font-size: 14px;
    color: #9ca3af;
}

.info-box strong {
    font-size: 20px;
    color: white;
}

.bio {
    margin-top: 20px;
    line-height: 1.6;
    max-width: 500px;
}
.stats-container {
    padding: 80px 50px;
    text-align: center;
}

.stats-title {
    font-size: 40px;
    margin-bottom: 60px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-card {
    background: #1f2937;
    padding: 40px;
    width: 220px;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(245,158,11,0.2);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(245,158,11,0.6);
}

.stat-card h2 {
    font-size: 50px;
    color: #f59e0b;
}

.stat-card p {
    margin-top: 15px;
    font-size: 18px;
    color: #d1d5db;
}
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #0f172a, #111827);
    text-align: center;
}

.hero-content h1 {
    font-size: 60px;
}

.hero-content h2 {
    color: #f59e0b;
    margin: 20px 0;
}

.hero-stats {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-buttons a {
    padding: 15px 30px;
    margin: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.btn-primary {
    background: #f59e0b;
    color: black;
}

.btn-secondary {
    border: 2px solid #f59e0b;
    color: #f59e0b;
}

.about-preview, .objectives {
    padding: 80px 50px;
    text-align: center;
}

.about-preview h2, .objectives h2 {
    margin-bottom: 20px;
    color: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

.hero {
    height: 100vh;
    background: url('../images/player.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15,23,42,0.8), rgba(0,0,0,0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
}

.hero-content h1 {
    font-size: 70px;
    letter-spacing: 3px;
}

.hero-content h2 {
    color: #f59e0b;
    margin: 20px 0;
}

.hero-stats {
    font-size: 22px;
    margin-bottom: 30px;
}

.hero-buttons a {
    padding: 15px 35px;
    margin: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.4s ease;
}

.btn-primary {
    background: #f59e0b;
    color: black;
}

.btn-primary:hover {
    background: white;
    transform: scale(1.05);
}

.btn-secondary {
    border: 2px solid #f59e0b;
    color: #f59e0b;
}

.btn-secondary:hover {
    background: #f59e0b;
    color: black;
    transform: scale(1.05);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.season-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.season-card {
    background: #1f2937;
    padding: 40px;
    width: 280px;
    border-radius: 15px;
    transition: 0.4s;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.season-card:hover {
    transform: translateY(-10px);
}

.season-card.highlight {
    border: 2px solid #f59e0b;
    box-shadow: 0 0 25px rgba(245,158,11,0.5);
}

.season-card h2 {
    margin-bottom: 20px;
    color: #f59e0b;
}

.season-stats p {
    font-size: 18px;
    margin: 10px 0;
}
.btn-cv {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    border-radius: 25px;
    background: transparent;
    border: 1px solid #9ca3af;
    color: #9ca3af;
    text-decoration: none;
    transition: 0.3s;
}

.btn-cv:hover {
    background: #9ca3af;
    color: black;
    transform: scale(1.05);
}

.matchs-container {
    padding: 80px 50px;
}

.matchs-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
}

.match-card {
    background: #1f2937;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    transition: 0.4s;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.match-card:hover {
    transform: translateY(-8px);
}

.match-card.highlight {
    border: 2px solid #f59e0b;
    box-shadow: 0 0 25px rgba(245,158,11,0.5);
}

.match-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.match-score {
    font-size: 28px;
    margin-bottom: 15px;
    color: #f59e0b;
}

.match-stats {
    display: flex;
    gap: 20px;
    font-size: 18px;
}

.badge {
    margin-top: 15px;
    display: inline-block;
    background: #f59e0b;
    color: black;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
}
.match-table {
    width: 100%;
    border-collapse: collapse;
    margin: 50px 0;
    font-size: 18px;
    text-align: center;
    color: #f9fafb;
}

.match-table thead {
    background: #1f2937;
}

.match-table th, .match-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #374151;
}

.match-table tbody tr:hover {
    background: rgba(245,158,11,0.2);
}

.match-table .highlight {
    background: rgba(245,158,11,0.4);
    font-weight: bold;
    color: black;
}

.matchs-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
}
.moyennes {
    text-align: center;
    margin-bottom: 30px;
    font-size: 22px;
}

.moyennes h2 {
    font-size: 28px;
    margin-bottom: 10px;
}
.galerie-container {
    padding: 50px;
    text-align: center;
}

.galerie-title {
    font-size: 40px;
    margin-bottom: 40px;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.galerie-item {
    background: #1f2937;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.galerie-item:hover {
    transform: scale(1.05);
}

.galerie-item img {
    width: 100%;
    border-radius: 10px;
}

.galerie-item p {
    margin-top: 10px;
    font-weight: bold;
}
.contact-container {
    padding: 50px;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

.contact-form textarea {
    height: 150px;
}

.contact-form button {
    padding: 15px;
    background: #f59e0b;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #d97706;
}
.admin-title {
    text-align: center;
    font-size: 40px;
    margin-top: 30px;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
}

.logout-btn {
    background: #ef4444;
    padding: 10px 20px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.logout-btn:hover {
    background: #dc2626;
}

.table-container {
    padding: 30px 50px;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #1f2937;
    color: #f9fafb;
}

.admin-table th {
    background: #111827;
    padding: 15px;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #374151;
}

.admin-table tr:hover {
    background: rgba(245,158,11,0.2);
}

.delete-btn {
    background: #f59e0b;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.delete-btn:hover {
    background: #d97706;
}