body{
    background-image: url("images-tournois/fond.png");
    background-position: center top;
    background-repeat: repeat-y;
    background-size: 100% auto;
	color: #FFFFFF;
}

/* HEADER */

.header-tournois img {
    width: 100%;
    display: block;
}

/* MENU */

.menu-principal {
    background-color: #111111;
    text-align: center;
    padding: 15px;
    border-bottom: 2px solid #d4af37;
}

.menu-principal a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 12px;
    font-weight: bold;
}

.menu-principal a:hover,
.menu-principal .active {
    color: #d4af37;
}

/* BANNIERES PARTENAIRES */

.partenaires {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    width: 90%;
}

.banniere {
    background-color: #111111;
    border: 2px solid #d4af37;
    color: #d4af37;
    padding: 30px;
    width: 30%;
    text-align: center;
    font-weight: bold;
}

/* INTRO */

.intro {
    width: 90%;
    margin: 40px auto;
    text-align: center;
}

.intro h2 {
    color: #d4af37;
    font-size: 34px;
}

.intro p {
    font-size: 18px;
    line-height: 1.6;
}

/* PARTENAIRES TOURNOIS */

.partenaire-tournois {
    width: 90%;
    margin: 70px auto;
    text-align: center;
}
.partenaire-tournois p{
    text-align:center;
}

.nom-partenaire {
    color: #d4af37;
    text-align: center;
    font-size: 38px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 40px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 15px;
}

/* CATEGORIES */

.categorie {
    margin-bottom: 45px;
}

.categorie h3 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 15px;
}

/* TABLEAUX */

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #111111;
    margin-bottom: 30px;
}

th {
    background-color: #d4af37;
    color: #000000;
    padding: 14px;
    text-transform: uppercase;
}

td {
    padding: 14px;
    border-bottom: 1px solid #333333;
    text-align: center;
}

tr:hover {
    background-color: #1c1c1c;
}

/* BLOC GAINS */

.gains {
    width: 90%;
    margin: 60px auto;
    background-color: #111111;
    border: 1px solid #d4af37;
    padding: 30px;
    text-align: center;
}

.gains h2 {
    color: #d4af37;
}

/* FOOTER */

footer {
    background-color: #000000;
    padding: 30px 20px;
    text-align: center;
    border-top: 2px solid #d4af37;
}

.footer-responsable {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}
.footer-responsable img {
    max-height: 20px;
    width: auto;
}
.footer-responsable .logo18 {
    max-height: 20px;
}

.footer-responsable .logo-footer {
    max-height: 20px;
}

.message-risque {
    color: #ffffff;
    font-weight: bold;
    margin: 15px 0;
}

.message-majeur {
    color: #d4af37;
    font-weight: bold;
}

.footer-liens {
    margin: 20px 0;
}

.footer-liens a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 8px;
}

.footer-liens a:hover {
    color: #d4af37;
}

.footer-liens span {
    color: #d4af37;
}

.copyright {
    color: #aaaaaa;
    font-size: 14px;
}

/* MOBILE */

@media screen and (max-width: 768px) {
    .partenaires {
        flex-direction: column;
    }

    .banniere {
        width: auto;
    }

    .menu-principal a {
        display: block;
        margin: 10px 0;
    }

    .nom-partenaire {
        font-size: 30px;
    }

    .categorie h3 {
        font-size: 24px;
    }

    table {
        font-size: 14px;
    }
}
/* TABLEAU 3D */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    box-shadow:
        0 8px 20px rgba(0,0,0,0.5),
        0 0 15px rgba(212,175,55,0.2);
    transform: perspective(1000px) rotateX(2deg);
    transition: 0.3s;
}

table:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
    box-shadow:
        0 15px 30px rgba(0,0,0,0.6),
        0 0 20px rgba(212,175,55,0.4);
}

th {
    background: linear-gradient(
        to bottom,
        #f4d03f,
        #d4af37
    );
    color: #000;
    padding: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #333;
}

tr:hover td {
    background-color: #1f1f1f;
}

.categorie {
    margin-bottom: 50px;
    padding: 20px;
    background: #0d0d0d;
    border-radius: 15px;
    box-shadow:
        0 5px 15px rgba(0,0,0,0.4);
}
/* INFOS TOURNOIS */

.infos-tournois {
    width: 90%;
    margin: 20px auto 60px auto;
    text-align: center;
}

.maj-tournois {
    color: #d4af37;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.info-tournois {
    color: #ffffff;
    font-size: 16px;
    background: #111111;
    border: 1px solid #d4af37;
    padding: 18px;
    border-radius: 10px;
}
.btn-partenaire{
    text-align:center;
    margin:25px 0;
}

.btn-partenaire a{
    display:inline-block;
    padding:15px 35px;
    background:#d4af37;
    color:#000;
    text-decoration:none;
    font-weight:bold;
    border-radius:8px;
}

.btn-partenaire a:hover{
    background:#f0c94d;
}
@media screen and (max-width:768px){

    .nom-partenaire{
        font-size:28px;
    }

    .categorie{
        padding:12px;
        overflow:hidden;
    }

    table{
        width:100%;
        min-width:0;
        font-size:12px;
        table-layout:fixed;
    }

    th,
    td{
        padding:7px 3px;
        white-space:normal;
        word-break:break-word;
    }

    th{
        font-size:11px;
    }

    td{
        font-size:12px;
    }
}
.btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 25px;
    background:#d4af37;
    color:#000;
    text-decoration:none;
    font-weight:bold;
    border-radius:8px;
}

.btn:hover{
    background:#f0c84a;
}