:root {
    --jumbotron-padding-y: 1.5rem;
}

.jumbotron {
    padding-top: var(--jumbotron-padding-y);
    padding-bottom: var(--jumbotron-padding-y);
    margin-bottom: 0;
    background-color: #fff;
}
@media (min-width: 768px) {
    .jumbotron {
        padding-top: calc(var(--jumbotron-padding-y) * 2);
        padding-bottom: calc(var(--jumbotron-padding-y) * 2);
    }
}

.jumbotron p:last-child {
    margin-bottom: 0;
}

.jumbotron-heading {
    font-weight: 300;
}

.jumbotron .container {
    max-width: 40rem;
}

footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

footer p {
    margin-bottom: .25rem;
}

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

/* Titres */
h1 { font-size: 2rem; font-weight: 400; }
h2 { font-size: 1.5rem; font-weight: 400; }

/* Boutons numéros (taille fixe) */
.btn-boule,
.btn-dark,
.btn-outline-warning,
.btn-outline-info,
.btn-warning,
.btn-danger {
    width: 48px;
    padding: .35rem 0;
    margin-bottom: 4px;
}
.btn-boule { font-weight: 600; }
.btn-lg, .btn-block { width: auto !important; padding: .5rem 1rem !important; }

/* Utilitaires gap (Bootstrap 4 n'en a pas) */
.gap-sm { gap: .3rem; }
.gap-md { gap: .4rem; }
.gap-lg { gap: .5rem; }

/* ── EuroDreams ─────────────────────────────────────────────── */
.btn-purple         { background-color: #7B2FBE; border-color: #7B2FBE; color: #fff; }
.btn-purple:hover   { background-color: #6a28a3; border-color: #6a28a3; color: #fff; }
.btn-outline-purple { border: 2px solid #7B2FBE; color: #7B2FBE; background: transparent; }
.btn-outline-purple:hover { background-color: #7B2FBE; color: #fff; }
.bg-purple          { background-color: #7B2FBE !important; }
.badge-purple       { background-color: #7B2FBE; color: #fff; }
.card-header.bg-purple { background-color: #7B2FBE !important; }

/* Badge taille standard dans les listes de tirages */
.badge-tirage    { font-size: .9rem; padding: .4em .65em; }
.badge-tirage-sm { font-size: .8rem; }

/* ── Keno ───────────────────────────────────────────────────── */
.keno-ball {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid #f0a500; color: #f0a500;
    font-weight: 700; font-size: .85rem;
    text-decoration: none; flex-shrink: 0;
    transition: background .15s, color .15s;
}
.keno-ball:hover { background: #f0a500; color: #fff; text-decoration: none; }
@media (min-width: 992px) {
    .keno-ball { width: 46px; height: 46px; font-size: .95rem; }
}

.jumbotron.keno-hero .container { max-width: none; }

.keno-balls-grid {
    display: flex; flex-wrap: nowrap; justify-content: center;
    gap: 4px;
}
@media (max-width: 575px) {
    .keno-balls-grid { flex-wrap: wrap; }
}

.mult-badge {
    display: inline-block; background: #333; color: #fff;
    border-radius: 6px; padding: .2rem .7rem;
    font-size: 1.1rem; font-weight: 700;
}

.keno-cta { gap: .5rem; }
.keno-cta .btn { white-space: nowrap; width: auto !important; padding: .375rem .75rem !important; }

.keno-ball-sm {
    display: flex; align-items: center; justify-content: center;
    width: 100%; aspect-ratio: 1; border-radius: 50%;
    border: 2px solid #f0a500; color: #f0a500;
    font-weight: 700; font-size: .8rem;
    text-decoration: none;
}
.keno-ball-sm:hover { background: #f0a500; color: #fff; text-decoration: none; }

.keno-balls-wrap { display: grid; gap: 4px; justify-content: center; }
.keno-balls-wrap-16 { grid-template-columns: repeat(8, minmax(30px, 44px)); }
.keno-balls-wrap-20 { grid-template-columns: repeat(10, minmax(26px, 38px)); }
