/* =======================================================
   REGLEMENT
======================================================= */

#rules{

    padding:100px 0 80px;

}

#rules-sanctions{

    padding:40px 0 100px;

}

/* =======================================================
   TITRES
======================================================= */

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    margin-bottom:15px;

}

.section-title p{

    max-width:700px;

    margin:auto;

    opacity:.8;

}

/* =======================================================
   CARTES
======================================================= */

#rules-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.rule-card{

    background:rgba(20,20,20,.92);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    overflow:hidden;

    transition:.25s;

    box-shadow:0 15px 35px rgba(0,0,0,.35);

}

.rule-card:hover{

    transform:translateY(-8px);

    border-color:#d8a64b;

    box-shadow:
        0 20px 45px rgba(0,0,0,.45),
        0 0 18px rgba(216,166,75,.35);

}

/* =======================================================
   EN-TÊTE DES CARTES
======================================================= */

.rule-header{

    display:flex;

    align-items:center;

    gap:15px;

    padding:22px 26px;

    background:linear-gradient(90deg,#c78d2d,#e5c66f);

    color:#111;

}

.rule-header span{

    font-size:34px;

    line-height:1;

}

.rule-header h3{

    margin:0;

    font-family:"Cinzel",serif;

    font-size:24px;

    font-weight:700;

    letter-spacing:.5px;

}

/* =======================================================
   CONTENU
======================================================= */

.rule-content{

    padding:28px;

}

.rule-content ul{

    list-style:none;

    margin:0;

    padding:0;

}

.rule-content li{

    display:flex;

    align-items:flex-start;

    gap:10px;

    padding:12px 0;

    color:#dddddd;

    line-height:1.6;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.rule-content li:last-child{

    border-bottom:none;

}

.rule-content li{

    display:flex;

    align-items:flex-start;

    gap:14px;

    padding:14px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.rule-content li:last-child{

    border-bottom:none;

}

.rule-dot{

    width:12px;

    height:12px;

    border-radius:50%;

    margin-top:7px;

    flex-shrink:0;

}

.success .rule-dot{

    background:#4CAF50;

    box-shadow:0 0 10px #4CAF50;

}

.warning .rule-dot{

    background:#ffb300;

    box-shadow:0 0 10px #ffb300;

}

.danger .rule-dot{

    background:#f44336;

    box-shadow:0 0 10px #f44336;

}

/* =======================================================
   TABLEAU DES SANCTIONS
======================================================= */

table{

    width:100%;

    margin-top:35px;

    border-collapse:collapse;

    overflow:hidden;

    border-radius:18px;

    background:rgba(20,20,20,.92);

    box-shadow:0 15px 35px rgba(0,0,0,.35);

}

thead{

    background:linear-gradient(90deg,#c78d2d,#e5c66f);

}

th{

    color:#111;

    font-family:"Cinzel",serif;

    font-size:18px;

    font-weight:700;

}

th,
td{

    padding:18px 24px;

    text-align:left;

}

tbody tr{

    border-top:1px solid rgba(255,255,255,.08);

    transition:.2s;

}

tbody tr:nth-child(even){

    background:rgba(255,255,255,.03);

}

tbody tr:hover{

    background:rgba(216,166,75,.12);

}