/* www.ancienthyderabad.com : page Millionz Casino, gabarit calqué sur https://www.ocallaghan-grenoble.fr/
   Charte de la plateforme : bleu #407cf6, vert #66bc39, police Manrope. */
:root {
  --bleu: #407cf6; --bleu-f: #2f67dc; --bleu-c: #eaf1fe; --vert: #66bc39; --vert-f: #55a52d;
  --nuit: #0f1b33; --t: #1b2438; --t2: #5b6782; --ligne: #e3e9f5; --fond: #ffffff; --fond-2: #f5f8fe;
  --police: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--fond); color: var(--t); font: 500 16px/1.65 var(--police); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); }
h1, h2, h3 { color: var(--nuit); line-height: 1.2; margin: 0 0 .7rem; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.12rem; margin-top: 1.3rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; padding: .5rem; }

/* En-tete bleu, logo centre */
.entete { position: sticky; top: 0; z-index: 50; background: var(--bleu); }
.entete .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; max-width: 1380px; }
.gauche { display: flex; align-items: center; gap: .7rem; }
.burger { background: none; border: 0; cursor: pointer; padding: .3rem; display: grid; gap: 4px; }
.burger span { display: block; width: 22px; height: 3px; border-radius: 2px; background: #fff; }
.nav { display: flex; gap: .1rem; }
.nav a { color: #fff; text-decoration: none; font-weight: 800; font-size: .74rem; text-transform: uppercase; padding: .35rem .4rem; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: rgba(255,255,255,.15); }
.logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.logo img { width: 104px; height: 47px; }
.droite { display: flex; align-items: center; gap: 1.1rem; }
.droite .connexion { color: #fff; font-weight: 800; text-decoration: none; }
.btn-inscription { background: #fff; color: var(--bleu); font-weight: 800; text-decoration: none; padding: .9rem 1.35rem; border-radius: 12px; line-height: 1; }
.btn-inscription:hover { background: var(--bleu-c); color: var(--bleu-f); }
@media (max-width: 1240px) { .nav { display: none; } .nav.ouvert { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--bleu); padding: .6rem 28px 1rem; } }
@media (max-width: 640px) { .droite .connexion { display: none; } .btn-inscription { padding: .7rem 1rem; } .wrap { padding: 0 16px; } .logo img { width: 86px; height: 39px; } }

/* Banniere et introduction */
.banniere { display: block; background: #1b1030; }
.banniere img { width: 100%; max-height: 380px; object-fit: cover; object-position: center; }
.intro { padding: 1.4rem 0 2.6rem; }
.maj { font-size: .8rem; color: var(--t2); margin-bottom: 1rem; }
.intro-grille { display: grid; grid-template-columns: 1.45fr 1fr; gap: 2.4rem; align-items: start; }
.intro-grille p { font-size: .97rem; }
.carte-offre { background: linear-gradient(140deg, #4a86f8, #2f67dc); color: #fff; border-radius: 18px; padding: 1.5rem 1.6rem; box-shadow: 0 18px 40px rgba(47,103,220,.28); }
.carte-offre .etiquette { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #dbe7ff; }
.carte-offre .montant { font-size: 2rem; font-weight: 800; line-height: 1.15; margin: .4rem 0; }
.carte-offre .montant span { display: block; }
.carte-offre ul { margin: .8rem 0 1.1rem; padding-left: 1.1rem; font-size: .92rem; }
.carte-offre small { display: block; margin-top: .8rem; color: #dbe7ff; font-size: .76rem; line-height: 1.45; }
.cles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.cles > div { border: 1px solid var(--ligne); border-radius: 14px; padding: 1rem 1.1rem; box-shadow: 0 4px 14px rgba(15,27,51,.04); }
.cles span, .cartes-promo span { display: block; color: var(--bleu); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.cles strong, .cartes-promo strong { display: block; color: var(--nuit); font-size: 1.12rem; margin: .3rem 0 .4rem; }
.cles p, .cartes-promo p { font-size: .86rem; color: var(--t2); margin: 0; }
@media (max-width: 900px) { .intro-grille { grid-template-columns: 1fr; } .cles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cles { grid-template-columns: 1fr; } }

/* Sections */
.sec { padding: 2.6rem 0; }
.sec-gris { background: var(--fond-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-weight: 800; text-decoration: none; border-radius: 12px; padding: .8rem 1.3rem; line-height: 1.1; font-family: inherit; }
.btn-vert { background: var(--vert); color: #fff; } .btn-vert:hover { background: var(--vert-f); }
.btn-bleu { background: var(--bleu); color: #fff; } .btn-bleu:hover { background: var(--bleu-f); }
.btn-grand { padding: 1rem 1.6rem; font-size: 1.02rem; }
.carte-offre .btn { width: 100%; }
.cta-ligne { text-align: center; margin: 1.4rem 0 .2rem; }
.figure { margin: 1.3rem 0; } .figure img { border-radius: 14px; border: 1px solid var(--ligne); width: 100%; }
.figure figcaption { font-size: .82rem; color: var(--t2); margin-top: .45rem; }
.tableau { overflow-x: auto; margin: 1rem 0 1.3rem; border: 1px solid var(--ligne); border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--ligne); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
thead th { background: var(--fond-2); color: var(--nuit); font-weight: 800; }
.etapes { counter-reset: e; list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .9rem; }
.etapes li { counter-increment: e; position: relative; padding: 1rem 1rem 1rem 3.4rem; border: 1px solid var(--ligne); border-radius: 14px; font-size: .93rem; background: #fff; }
.etapes li::before { content: counter(e); position: absolute; left: 1rem; top: 1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--bleu); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.note { background: #fff8e6; border-left: 4px solid #f0b429; padding: .85rem 1rem; border-radius: 10px; font-size: .92rem; margin: 1rem 0; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.deux > div { background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 1.1rem 1.2rem; }
.deux h3 { margin-top: 0; }
@media (max-width: 700px) { .deux { grid-template-columns: 1fr; } }
.cartes-promo { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin: 1.2rem 0; }
.cartes-promo > div { background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 1rem 1.1rem; }
@media (max-width: 900px) { .cartes-promo { grid-template-columns: 1fr 1fr; } }

/* Vignettes de jeux */
.grille-jeux { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 1rem 0 1.4rem; }
.grille-jeux a { position: relative; display: block; text-decoration: none; color: var(--nuit); font-weight: 700; font-size: .8rem; }
.grille-jeux img { border-radius: 12px; width: 100%; transition: transform .15s, box-shadow .15s; }
.grille-jeux a:hover img { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(15,27,51,.18); }
.grille-jeux span { display: block; margin-top: .35rem; }
.grille-jeux .live { position: absolute; left: 8px; top: 8px; z-index: 1; background: #e5383b; color: #fff; font-style: normal; font-size: .62rem; font-weight: 800; text-transform: uppercase; padding: .15rem .4rem; border-radius: 5px; }
@media (max-width: 700px) { .grille-jeux { grid-template-columns: repeat(2, 1fr); } }
.bande-logos { background: var(--fond-2); border-radius: 14px; padding: 1rem; margin: 1rem 0; }
.bande-logos img { margin: 0 auto; }
#paiements .bande-logos, #jeux .bande-logos { background: var(--nuit); }

/* Outils */
.outil { border: 1.5px solid var(--bleu); border-radius: 16px; overflow: hidden; margin: 1.6rem 0; background: #fff; }
.outil-tete { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--bleu); color: #fff; padding: .75rem 1.1rem; }
.outil-tete h3 { color: #fff; margin: 0; font-size: 1rem; }
.outil-tete span { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.outil-corps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding: 1.1rem; }
.outil-saisie > p { font-size: .9rem; color: var(--t2); }
@media (max-width: 800px) { .outil-corps { grid-template-columns: 1fr; } }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: .6rem 0; }
.champs label, .outil fieldset { font-weight: 700; font-size: .84rem; color: var(--nuit); }
.champs input[type=number], .champs select { display: block; width: 100%; margin-top: .3rem; padding: .6rem .7rem; border: 1px solid #d3dcee; border-radius: 9px; font: inherit; font-weight: 500; background: var(--fond-2); }
.outil fieldset { border: 1px solid var(--ligne); border-radius: 10px; padding: .55rem .8rem; margin: 0 0 .6rem; }
.coches label { display: flex; gap: .5rem; align-items: flex-start; font-weight: 500; font-size: .88rem; padding: .18rem 0; cursor: pointer; }
.coches input { margin-top: .3rem; }
.case { display: flex; gap: .5rem; align-items: center; font-weight: 600; font-size: .88rem; }
.resultat { background: var(--fond-2); border-radius: 12px; padding: 1rem; font-size: .9rem; align-self: start; }
.resultat .tableau { background: #fff; }
.resultat .gros { font-size: 1.4rem; font-weight: 800; color: var(--bleu); }
.barre { height: 12px; background: var(--ligne); border-radius: 99px; overflow: hidden; margin: .2rem 0 .8rem; }
.barre i { display: block; height: 100%; width: 0; background: var(--vert); transition: width .2s; }
.methode { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--ligne); padding: .55rem 0; }
.methode:last-child { border-bottom: 0; }
.methode b { color: var(--nuit); }
.methode em { font-style: normal; color: var(--t2); font-size: .85rem; text-align: right; }
.ecarte { color: #9a3b3b; font-size: .85rem; }

/* FAQ, jeu responsable, a propos */
.faq details { border: 1px solid var(--ligne); border-radius: 12px; padding: .15rem 1rem; margin-bottom: .55rem; background: #fff; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--nuit); padding: .75rem 0; }
.faq details[open] summary { color: var(--bleu); }
.responsable { background: #fff4f4; border: 1.5px solid #e5383b; border-radius: 16px; padding: 1.4rem 1.5rem; }
.responsable h2 { color: #9b1c1f; }
.age { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 3px solid #e5383b; color: #9b1c1f; font-weight: 800; float: right; margin-left: 1rem; }
#a-propos .wrap { background: #fff; border: 1.5px solid var(--bleu); border-radius: 18px; padding: 1.8rem 2rem; }
@media (max-width: 640px) { #a-propos .wrap { padding: 1.3rem 1.1rem; border-radius: 0; border-left: 0; border-right: 0; } }
.apropos-tete { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.apropos-tete img { width: 72px; height: 72px; flex: 0 0 auto; }
.apropos-tete h2 { margin: 0; }
.final { text-align: center; padding: 3rem 0; }
.final img { margin: 0 auto .6rem; width: 110px; height: 110px; }
.final small { display: block; margin-top: .8rem; color: var(--t2); font-size: .78rem; }

/* Pied de page */
.pied { background: var(--nuit); color: #c6d0e8; font-size: .88rem; padding: 2.4rem 0 1.4rem; }
.pied .wrap { max-width: 1380px; }
.pied a { color: #fff; }
.pied .colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem; }
.pied h3 { color: #fff; font-size: .95rem; margin-top: 0; }
.pied-logo { width: 110px; height: 50px; margin-bottom: .7rem; }
.pied ul { list-style: none; padding: 0; margin: 0; line-height: 1.9; }
.pied .bas { border-top: 1px solid rgba(255,255,255,.1); margin-top: 1.6rem; padding-top: 1rem; font-size: .78rem; }
@media (max-width: 760px) { .pied .colonnes { grid-template-columns: 1fr; } }
