@import url('https://fonts.googleapis.com/css2?family=Anton&family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background:
        radial-gradient(circle at top, rgba(22, 163, 74, 0.18), transparent 35%),
        linear-gradient(135deg, #020617, #0f172a);
    color: #f8fafc;
    min-height: 100vh;
}

.rules-page {
    width: 100%;
    padding: 80px 20px;
}

.rules-hero {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.rules-badge {
    display: inline-block;
    padding: 8px 18px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.rules-hero h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.rules-hero p {
    color: #cbd5e1;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.rules-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rules-card {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    padding: 28px;
    min-height: 250px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    transition: 0.25s ease;
}

.rules-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.rules-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.rules-card h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.rules-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
}

.rules-card ul {
    margin-top: 16px;
    padding-left: 18px;
}

.rules-card li {
    color: #e2e8f0;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.rules-card strong {
    color: #86efac;
}


/* ========================================
   RESPONSIVE INTÉGRÉ
   Anciennement dans layout/responsive.css
======================================== */


@media screen and (max-width: 950px) {

    .rules-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media screen and (max-width: 650px) {

    .rules-page {
        padding: 50px 16px;
    }

    .rules-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .rules-card {
        padding: 24px;
        min-height: auto;
    }

    .rules-hero {
        margin-bottom: 35px;
    }
}

