@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

/* ====================================================================
   GOOGLE TRANSLATE — Nettoyage Radical
==================================================================== */

/* Attrape les iframes avec ID dynamiques générés par Google (:0.container etc.) */
iframe[id^=":"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
}

/* Neutraliser le décalage injecté sur html ET body */
html,
body,
body.translated-ltr,
body.translated-rtl {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: static !important;
}

/* Maintenir le header sticky collé au sommet quoi qu'il arrive */
header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

/* Masquer les infobulles de survol sur les textes traduits */
.goog-tooltip,
.goog-tooltip-tips {
    display: none !important;
}

/* Supprimer le surlignage sur les textes traduits */
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.goog-te-gadget {
    font-size: 0 !important;
    color: transparent !important;
}

/* ====================================================================
   WIDGET LANGUE — sélecteur natif (desktop + mobile)
==================================================================== */

/* Conteneur nav */
.gt-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.gt-select-wrap {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(36, 46, 39, 0.55);
    border: 1px solid rgba(240, 201, 106, 0.22);
    border-radius: 8px;
    padding: 0.28rem 0.55rem;
    transition: border-color 0.2s, background 0.2s;
}

.gt-select-wrap:focus-within,
.gt-select-wrap:hover {
    border-color: rgba(240, 201, 106, 0.5);
    background: rgba(36, 46, 39, 0.9);
}

.gt-globe {
    color: var(--gold);
    flex-shrink: 0;
    pointer-events: none;
}

/* Select natif — desktop */
.gt-select {
    background: transparent;
    border: none;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    padding-right: 0.2rem;
}

.gt-select:focus { outline: none; }

.gt-select option {
    background: #1a2018;
    color: #e0ddd0;
    font-size: 0.85rem;
}

/* Masqué sous 900px — mobile utilise son propre sélecteur */
@media (max-width: 900px) {
    .gt-wrap { display: none; }
}

/* ====================================================================
   SÉLECTEUR LANGUE MOBILE
==================================================================== */

.mobile-lang-wrap {
    padding: 0.85rem 1rem 0.7rem;
    border-top: 1px solid rgba(240, 201, 106, 0.1);
    margin-top: 0.25rem;
}

.mobile-lang-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.mobile-lang-label svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Select mobile — pleine largeur */
.gt-select-mobile {
    width: 100%;
    background: rgba(36, 46, 39, 0.7);
    border: 1px solid rgba(240, 201, 106, 0.22);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.55rem 0.75rem;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.gt-select-mobile:focus,
.gt-select-mobile:hover {
    border-color: rgba(240, 201, 106, 0.5);
    background: rgba(36, 46, 39, 0.95);
}

.gt-select-mobile option {
    background: #1a2018;
    color: #e0ddd0;
}

/* ====================================================================
   BASE & VARIABLES
==================================================================== */
:root {
    --bg-main: #1a201c;
    --bg-glass: rgba(36, 46, 39, 0.6);
    --bg-glass-strong: rgba(36, 46, 39, 0.9);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text: #e0e0e0;
    --text-muted: #a0a0a0;
    --gold: #e0c96a;
    --gold-dark: #d4aa50;
    --green: #4caf50;
    --red: #f44336;
    --font-serif: "Playfair Display", serif;
    --font-sans: "Inter", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-serif);
    font-weight: 800;
    line-height: 1.2;
    color: white;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.gold-text {
    color: var(--gold);
}

.glass {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-strong {
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.section-label {
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-header h2 {
    margin-top: 0;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ====================================================================
   HEADER & NAV
==================================================================== */
header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background:
        linear-gradient(to left, rgba(240,201,106,0.09) 0%, transparent 55%),
        rgba(26, 32, 28, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(240,201,106,0.10);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.logo-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-item {
    position: relative;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.88rem;
    padding: 0.45rem 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
    font-weight: 500;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--gold);
}

.nav-btn .arrow {
    font-size: 0.7rem;
    transition: transform 0.2s;
    opacity: 0.7;
}

.nav-item:hover .arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-item .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 200;
}

.nav-item:hover .dropdown {
    display: flex;
    gap: 2rem;
    background:
        radial-gradient(ellipse at top left,    rgba(240,201,106,0.07) 0%, transparent 45%),
        radial-gradient(ellipse at bottom right, rgba(240,201,106,0.06) 0%, transparent 45%),
        rgba(14, 20, 16, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.5rem 1.75rem;
    border-radius: 14px;
    border: 1px solid rgba(240,201,106,0.12);
    width: max-content;
    box-shadow: 0 24px 64px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.05);
    margin-top: 10px;
}

/* ── Hover bridge: transparent gap between button and dropdown ─── */
.nav-item:hover .dropdown::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.dropdown-col {
    min-width: 160px;
}

.dropdown-col h5 {
    margin: 0 0 .9rem 0;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .45rem;
    background: linear-gradient(135deg, #f0d070 0%, #c89a30 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.dropdown-col h5 svg {
    flex-shrink: 0;
    -webkit-text-fill-color: unset;
    color: #d4aa50;
}

.dropdown ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dropdown li {
    border-left: 2px solid transparent;
    transition: border-color .15s;
}

.dropdown li:hover {
    border-left-color: #d4aa50;
}

.dropdown li a {
    display: block;
    padding: .42rem 0 .42rem .6rem;
    color: rgba(210, 218, 205, 0.72);
    text-decoration: none;
    font-size: .88rem;
    transition: color .15s;
    white-space: nowrap;
}

.dropdown li a:hover {
    color: #fff;
}

.dropdown .desc {
    display: block;
    font-size: .75rem;
    color: rgba(160,170,155,.55);
    margin-top: .1rem;
    line-height: 1.3;
}

.nav-cta {
    background: var(--gold);
    color: var(--bg-main);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.88rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--gold-dark);
    text-decoration: none;
}

/* Hamburger & Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-glass-strong);
    padding: 1rem;
    border-top: 1px solid var(--border-glass);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu .mobile-cta {
    margin: 0.75rem 0 0.25rem;
    background: var(--gold);
    color: var(--bg-main);
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.mobile-menu .mobile-cta:hover {
    background: var(--gold-dark);
    text-decoration: none;
}

.mobile-section {
    padding: 1rem 1rem 0.5rem;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Mobile accordion (sous-menus dropdown) */
.mobile-accordion {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-acc-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.9rem 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.mobile-acc-btn:hover {
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
}

.acc-arrow {
    display: inline-block;
    color: var(--gold);
    font-size: 0.8rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.mobile-accordion.open .acc-arrow {
    transform: rotate(180deg);
}

.mobile-acc-body {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-acc-body a {
    padding: 0.65rem 1rem 0.65rem 1.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.mobile-acc-body a:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

/* ====================================================================
   HERO SECTION
==================================================================== */
.hero {
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(224, 201, 106, 0.2) 0%, rgba(26, 32, 28, 0) 70%);
    z-index: -1;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: var(--text-muted);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn-gold {
    background: var(--gold);
    color: var(--bg-main);
    font-weight: 700;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 1.1rem;
}

.btn-gold:hover {
    background: var(--gold-dark);
    text-decoration: none;
}

.btn-outline {
    background: none;
    border: 2px solid var(--border-glass);
    color: white;
    font-weight: 700;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    font-size: 1.1rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-stat {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: left;
}

.hero-stat-title {
    font-weight: 700;
    color: white;
}

.hero-stat-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ====================================================================
   RANKING SECTION & FILTERS
==================================================================== */
.ranking {
    padding: 4rem 0;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
    border-radius: 12px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 600;
    margin-right: 1rem;
    white-space: nowrap;
}

.filter-pill {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-pill:hover {
    background: var(--bg-glass);
    color: white;
}

.filter-pill.active {
    background: var(--gold);
    color: var(--bg-main);
    font-weight: 700;
    border-color: var(--gold);
}

.filter-separator {
    display: inline-flex;
    align-items: center;
    color: var(--border-glass);
    padding: 0 0.25rem;
    font-size: 1.2rem;
    user-select: none;
    flex-shrink: 0;
}

.filter-count {
    margin-left: auto;
    padding-left: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ====================================================================
   CASINO CARD
==================================================================== */
.casino-card {
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.casino-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.casino-card.top3 {
    border-color: rgba(224, 201, 106, 0.3);
}

.casino-inner {
    display: grid;
    grid-template-columns: 200px 1fr auto auto auto;
    align-items: center;
    gap: 1.5rem;
}

.casino-logo-wrap {
    width: 100%;
    height: 115px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
}

.casino-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.casino-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-bottom: 0.25rem;
    overflow: hidden;
}

.casino-name {
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.casino-rank-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border-glass);
    padding: 0.1rem 0.45rem;
    border-radius: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.casino-rank-badge.gold {
    color: var(--gold);
    background: rgba(224, 201, 106, 0.12);
    border-color: rgba(224, 201, 106, 0.35);
}

.casino-stars {
    font-size: 1rem;
}
.casino-stars .star-on {
    color: var(--gold);
}
.casino-stars .star-off {
    color: var(--border-glass);
}

.casino-stars .rating-val {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.casino-pros {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
    color: var(--text-muted);
}

.casino-pro::before {
    content: '✓';
    color: var(--green);
    margin-right: 0.5rem;
}

.casino-bonus {
    text-align: center;
}

.casino-bonus-amount {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-serif);
    color: var(--gold);
}

.casino-bonus-detail {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.bonus-code {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed var(--border-glass);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
}

.bonus-code .code-label {
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.bonus-code .code-val {
    font-weight: 700;
    color: white;
    margin-right: 0.5rem;
}

.bonus-code.no-code .code-val {
    color: var(--text-muted);
    font-weight: normal;
}

.casino-meta {
    text-align: center;
    padding: 0 1rem;
}

.casino-meta-item {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.casino-meta-item strong {
    display: block;
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
}

.casino-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.casino-play-btn {
    background: var(--gold);
    color: var(--bg-main);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    display: block;
    box-sizing: border-box;
}

.casino-play-btn:hover {
    background: var(--gold-dark);
    text-decoration: none;
    color: var(--bg-main);
}

.casino-play-btn--soon {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
    background: var(--bg-glass);
    color: var(--text-muted);
}

.casino-review-link {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.casino-badge-corner {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}

.badge-chip {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

.badge-top {
    background: var(--gold);
    color: var(--bg-main);
}

.badge-new {
    background: var(--green);
    color: white;
}

/* Tags under the card */
.casino-tags-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
    gap: 0.75rem;
}

.casino-payment-tags, .casino-bonus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.tag-chip {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: capitalize;
}

.payment-tag {
    background-color: rgba(255, 255, 255, 0.05);
}

.bonus-tag {
    background-color: transparent;
}

.tag-chip.hidden {
    display: none;
}

.more-tags-btn {
    background: none;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
    margin-left: 0.25rem;
}

.more-tags-btn:hover {
    color: white;
    border-color: white;
}

.more-tags-btn.less {
    background: rgba(255,255,255,0.1);
    color: white;
}

.bonus-tag::before {
    content: attr(data-tag-icon);
    font-size: 0.9em;
}


/* ====================================================================
   SIDEBAR
==================================================================== */
.sidebar {
    align-self: start;
    position: sticky;
    top: 80px;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
}

#sidebarContainer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.promo-card {
    padding: 1.5rem;
    border-radius: 16px;
    position: relative;
}

.promo-card-top { border-color: rgba(224, 201, 106, 0.5); }

.promo-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--gold);
    color: var(--bg-main);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid var(--bg-main);
}

.promo-inner { text-align: center; }
.promo-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.promo-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.promo-logo img { max-width: 80%; max-height: 80%; object-fit: contain; }
.promo-name { font-size: 1.2rem; font-weight: 700; }
.promo-stars { color: var(--gold); }
.promo-stars .rating-val { color: var(--text-muted); font-size: 0.9rem; margin-left: 0.2rem; }

.promo-bonus-box {
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}
.promo-bonus-label { font-size: 0.8rem; color: var(--text-muted); }
.promo-bonus-amount { font-size: 1.3rem; font-weight: 800; font-family: var(--font-serif); }
.promo-bonus-detail { font-size: 0.9rem; color: var(--text-muted); }
.promo-code {
    margin-top: 0.5rem;
    display: inline-flex;
    background: rgba(0,0,0,0.3);
    border: 1px dashed var(--border-glass);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
}
.promo-code .code-label { color: var(--text-muted); margin-right: 0.5rem; }
.promo-code .code-val { font-weight: 700; color: white; margin-right: 0.5rem; }

.promo-pros {
    font-size: 0.9rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}
.promo-pro::before { content: '✓'; color: var(--green); margin-right: 0.5rem; }

.promo-cta {
    display: block;
    background: var(--gold);
    color: var(--bg-main);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.promo-cta:hover { background: var(--gold-dark); text-decoration: none; }

.promo-legal {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* ====================================================================
   RESPONSIVE
==================================================================== */
/* ====================================================================
   MOBILE SIDEBAR — affichage en section inline sous le contenu
   (pas de JS supplémentaire requis)
==================================================================== */

/* ====================================================================
   RESPONSIVE — 1200px (tablette large)
==================================================================== */
@media (max-width: 1200px) {
    .layout-with-sidebar {
        grid-template-columns: 1fr;
    }
    /* Sidebar visible en dessous du contenu principal (plus d'ads cachés) */
    aside {
        display: block;
        position: static;
    }
    #sidebarContainer {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* ====================================================================
   RESPONSIVE — 1024px (tablette)
==================================================================== */
@media (max-width: 1024px) {
    body { overflow-x: hidden; }

    .container { padding: 0 1.25rem; }

    h1 { font-size: 2.6rem; }
    h2 { font-size: 2rem; }

    .nav-links, .nav-cta, .nav-search { display: none; }
    .hamburger { display: flex; }

    .hero { padding: 4rem 0; }
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    .hero-stat { width: 100%; max-width: 420px; }

    .casino-inner {
        grid-template-columns: 160px 1fr;
        gap: 1rem;
    }
    .casino-bonus,
    .casino-meta,
    .casino-cta {
        grid-column: span 2;
    }
    .casino-meta { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 1rem; }

    .footer-grid { grid-template-columns: 1fr 1fr; }

    .cp-hero-inner { gap: 1.25rem; }
    .cp-hero-logo-wrap { width: 110px; height: 110px; }
}

/* ====================================================================
   RESPONSIVE — 992px (tablette portrait)
==================================================================== */
@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    .hero-stats { flex-direction: column; }
    .nav-links, .nav-cta, .nav-search { display: none; }
    .hamburger { display: flex; }

    .casino-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .casino-logo-wrap { margin: 0 auto; width: 180px; }
    .casino-name-row { justify-content: center; }
    .casino-info { grid-row: 2; }
    .casino-bonus { grid-row: 3; }
    .casino-meta { grid-row: 4; display: flex; justify-content: center; gap: 2rem; margin-top: 1rem; flex-wrap: wrap; }
    .casino-cta { grid-row: 5; margin-top: 1rem; width: 100%; }
    .casino-badge-corner { top: 0.5rem; right: 0.5rem; }

    /* Sidebar — mobile : affichée en bas du contenu */
    aside {
        display: block;
        position: static;
        width: 100%;
    }
    #sidebarContainer {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.25rem;
    }
}

/* ====================================================================
   RESPONSIVE — 768px (mobile)
==================================================================== */
@media (max-width: 768px) {
    body { overflow-x: hidden; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.2rem; }

    .container { padding: 0 1rem; }

    /* Hero */
    .hero { padding: 3rem 0; }
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .btn-gold,
    .btn-outline {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1rem;
    }
    .hero-stats { gap: 0.75rem; }

    /* Casino cards — 1 colonne, pleine largeur */
    .casino-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    .casino-card { padding: 1.25rem; }
    .casino-logo-wrap { width: 160px; height: 100px; }
    .casino-cta { width: 100%; }
    .casino-meta { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

    /* Grilles génériques → 1 colonne */
    .bonus-grid { grid-template-columns: 1fr; }
    .bonus-item.featured { grid-column: 1; grid-template-columns: 1fr; }
    .payment-grid { grid-template-columns: repeat(2, 1fr); }
    .review-grid { grid-template-columns: 1fr; }

    /* Filter pills */
    .filter-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
    .filter-pill { flex-shrink: 0; }

    /* Casino page hero */
    .cp-hero-inner { flex-direction: column; align-items: center; text-align: center; }
    .cp-hero-logo-wrap { width: 100px; height: 100px; }
    .cp-hero-badges { justify-content: center; }
    .cp-hero-stars { justify-content: center; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
    .footer-disclaimer { flex-direction: column; text-align: center; }

    /* Images responsive */
    img { max-width: 100%; height: auto; }

    /* Typographie */
    .section-header p { font-size: 1rem; }
    .casino-bonus-amount { font-size: 1.3rem; }
    .promo-bonus-amount { font-size: 1.1rem; }
}

/* ====================================================================
   RESPONSIVE — 480px (petit mobile)
==================================================================== */
@media (max-width: 480px) {
    body { overflow-x: hidden; }

    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }

    .container { padding: 0 0.875rem; }

    .logo span { display: none; }
    .logo svg { flex-shrink: 0; }

    /* Hero compact */
    .hero { padding: 2rem 0; }
    .hero-stat { padding: 1rem; }

    /* Casino cards extra-compact */
    .casino-card { padding: 1rem; }
    .casino-logo-wrap { width: 120px; height: 80px; }
    .casino-name { font-size: 1rem; }
    .casino-bonus-amount { font-size: 1.2rem; }

    /* Boutons pleine largeur + zones cliquables confortables */
    /* .nav-cta est intentionnellement exclu : il reste caché dans la navbar sur mobile */
    .btn-gold,
    .btn-outline,
    .casino-cta,
    .promo-cta {
        width: 100%;
        display: block;
        text-align: center;
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }

    /* Forcer le masquage du CTA dans la navbar sur mobile */
    .nav-inner .nav-cta {
        display: none !important;
    }

    /* Paiements 2 colonnes */
    .payment-grid { grid-template-columns: repeat(2, 1fr); }

    /* Comparator tray adapté */
    .compare-tray-slots { gap: 0.35rem; }
    .compare-slot { min-width: 70px; height: 40px; font-size: 0.72rem; }
    .compare-tray-btn { padding: 0.45rem 0.7rem; font-size: 0.75rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { font-size: 0.8rem; }

    /* Section header */
    .section-header { margin-bottom: 1.75rem; }
    .section-header p { font-size: 0.92rem; }
}

/* ====================================================================
   GENERIC PAGE & OTHER SECTIONS
==================================================================== */
.page-header {
    padding: 3rem 0;
    text-align: center;
}
.page-header p.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 1rem auto 0;
}
.breadcrumb {
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }

.page-content {
    padding-bottom: 4rem;
}

.bonuses, .payments, .reviews, .faq, .footer-bottom {
    padding: 4rem 0;
}

/* Bonuses Section */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.bonus-item { padding: 2rem; border-radius: 12px; background: var(--bg-glass); transition: transform 0.2s;}
.bonus-item:hover { transform: translateY(-5px); }
.bonus-item.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 2rem; background: linear-gradient(45deg, var(--bg-glass), rgba(224, 201, 106, 0.15)); border-color: rgba(224, 201, 106, 0.3);}
.bonus-icon { font-size: 2.5rem; }
.bonus-icon svg { width: 30px !important; height: 30px !important; color: var(--gold); opacity: .85; }
.bonus-highlight { font-size: 1.2rem; font-weight: 700; color: var(--gold); }
.bonus-title { margin: 0.5rem 0; font-size: 1.3rem; }
.bonus-desc { color: var(--text-muted); }
.bonus-link { font-weight: 700; }

@media (max-width: 1024px) {
    .bonus-grid { grid-template-columns: 1fr; }
    .bonus-item.featured { grid-column: 1 / -1; grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .bonus-grid { grid-template-columns: 1fr; }
    .bonus-item.featured { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 480px) {
    .bonus-grid { grid-template-columns: 1fr; }
    .bonus-item.featured { grid-column: 1 / -1; grid-template-columns: 1fr; padding: 1.25rem; gap: 0.75rem; }
    .bonus-item { padding: 1.25rem; }
}

/* Payments Section */
.payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem;}
.payment-item { border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: white; transition: transform 0.2s; }
.payment-item:hover { transform: translateY(-5px); text-decoration: none; }
.payment-logo { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.payment-name { font-weight: 700; margin-bottom: 0.25rem; }
.payment-tag { font-size: 0.85rem; color: var(--text-muted); }

/* Reviews Section */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem;}
.review-card { padding: 2rem; border-radius: 12px; position: relative; }
.review-quote { font-size: 4rem; font-family: var(--font-serif); color: var(--gold); position: absolute; top: 0.5rem; left: 1.5rem; opacity: 0.3;}
.review-text { margin-top: 1.5rem; font-style: italic; }
.review-footer { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.review-avatar { width: 50px; height: 50px; border-radius: 50%; }
.review-name { font-weight: 700; }
.review-role { font-size: 0.9rem; color: var(--text-muted); }
.review-stars { margin-left: auto; }

/* FAQ Section */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border-radius: 12px; overflow: hidden; }
.faq-btn { background: none; border: none; color: white; font-size: 1.1rem; font-weight: 600; width: 100%; text-align: left; padding: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center;}
.faq-icon { font-size: 1.5rem; font-weight: 400; color: var(--gold); transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-body { max-height: 0; transition: max-height 0.5s ease-out; }
.faq-a { padding: 0 1.5rem 1.5rem; margin: 0; color: var(--text-muted); }

/* Footer */
footer {
    background: #111512;
    padding-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-brand p { max-width: 300px; color: var(--text-muted); }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-link { color: var(--text-muted); font-size: 1.2rem; text-decoration: none; }
.social-link:hover { color: white; }
.footer-col h4 { color: var(--gold); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; }
.footer-col a:hover { color: white; text-decoration: underline; }

.footer-disclaimer {
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
}
.footer-disclaimer-icon { font-size: 2rem; }
.footer-disclaimer p { margin: 0; color: var(--text-muted); }
.footer-disclaimer strong { color: var(--text); }

.footer-bottom {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
}

/* Toast Notification */
#toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s;
    z-index: 200;
}

#toast.show {
    visibility: visible;
    opacity: 1;
}

/* ====================================================================
   POPUP MODERNE — overlay + card animée
==================================================================== */
#xpopup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
#xpopup-overlay.xp-visible {
    opacity: 1;
    pointer-events: all;
}
#xpopup-overlay.xp-visible #xpopup-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

#xpopup-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(145deg, #1e2820 0%, #17201a 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(224,201,106,0.08);
    transform: translateY(24px) scale(0.97);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
}

/* Close button */
#xpopup-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}
#xpopup-close:hover {
    background: rgba(255,255,255,0.16);
    color: white;
}

/* Accent stripe at top */
#xpopup-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

/* Inner content */
.xp-body {
    padding: 1.5rem;
}

.xp-urgency {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.85rem;
    background: rgba(224,201,106,0.12);
    border: 1px solid rgba(224,201,106,0.28);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.85rem;
    letter-spacing: 0.02em;
}

.xp-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
    line-height: 1.25;
    margin-bottom: 1.1rem;
}

/* Casino row (type: bonus) */
.xp-casino-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.xp-casino-logo {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.xp-casino-logo img {
    max-width: 52px;
    max-height: 52px;
    object-fit: contain;
}
.xp-casino-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}
.xp-casino-stars {
    font-size: 0.85rem;
    color: var(--gold);
    margin-top: 0.2rem;
}

/* Bonus box */
.xp-bonus-box {
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}
.xp-bonus-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.3rem;
}
.xp-bonus-amount {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.15;
}
.xp-bonus-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}
.xp-code {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    border: 1px dashed rgba(224,201,106,0.5);
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
    font-size: 0.85rem;
}
.xp-code:hover { border-color: var(--gold); }
.xp-code-label { color: var(--text-muted); }
.xp-code-val   { font-weight: 700; color: white; letter-spacing: 0.06em; }
.xp-code-icon  { color: var(--text-muted); font-size: 0.9rem; }

/* Custom message */
.xp-message {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* CTA button */
.xp-cta {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    transition: filter 0.2s, transform 0.15s;
}
.xp-cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--bg-main);
}
.xp-legal {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.85rem;
}

/* Responsive */
@media (max-width: 480px) {
    #xpopup-card { border-radius: 16px; }
    .xp-body { padding: 1.25rem; }
    .xp-title { font-size: 1.15rem; }
    .xp-bonus-amount { font-size: 1.4rem; }
}

/* Legacy popup classes (backward compat) */
.popup-overlay { display: none !important; }

/* ============================================================
   COMPARE BUTTON (on casino cards)
   ============================================================ */
.compare-btn {
  display: block;
  width: 100%;
  margin-top: .5rem;
  padding: .4rem .75rem;
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  border-radius: 6px;
  font-size: .8rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.compare-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.compare-btn.selected {
  background: rgba(224,201,106,.15);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}

/* ============================================================
   FILTER BAR — improvements
   ============================================================ */
.filter-bar {
  position: relative;
}
.filter-pills {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  cursor: grab;
  user-select: none;
}
.filter-pills::-webkit-scrollbar { display: none; }
.filter-count {
  font-size: .85rem;
  color: var(--gold);
  font-weight: 600;
  min-height: 1.4em;
  margin-top: .25rem;
  transition: opacity .2s;
}
.filter-count.no-result {
  color: var(--text-muted);
}

/* ============================================================
   COMPARATOR TRAY (sticky bottom bar)
   ============================================================ */
.compare-tray {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--bg-glass-strong);
  border-top: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  padding: .75rem 1rem;
}
.compare-tray.visible {
  transform: translateY(0);
}
.compare-tray-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.compare-tray-slots {
  display: flex;
  gap: .75rem;
  flex: 1;
  min-width: 0;
}
.compare-slot {
  flex: 1;
  min-width: 120px;
  max-width: 200px;
  height: 52px;
  border-radius: 10px;
  border: 1px dashed var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--text-muted);
  overflow: hidden;
  position: relative;
  padding: 0 .5rem;
}
.compare-slot.filled {
  border-style: solid;
  border-color: var(--gold);
  background: rgba(224,201,106,.1);
  color: var(--text);
  justify-content: flex-start;
}
.compare-slot img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}
.cs-name {
  font-size: .8rem;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: .9rem;
  padding: 0 .25rem;
  line-height: 1;
  flex-shrink: 0;
}
.cs-remove:hover { color: var(--red); }

.compare-tray-btn {
  background: var(--gold);
  color: var(--bg-main);
  border: none;
  border-radius: 8px;
  padding: .6rem 1.25rem;
  font-weight: 700;
  font-size: .9rem;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, opacity .2s;
}
.compare-tray-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.compare-tray-btn:not(:disabled):hover {
  background: var(--gold-dark);
}
.compare-tray-clear {
  background: none;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  border-radius: 8px;
  padding: .6rem .85rem;
  cursor: pointer;
  font-size: 1rem;
  transition: color .2s, border-color .2s;
}
.compare-tray-clear:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ============================================================
   COMPARATOR MODAL
   ============================================================ */
.compare-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.compare-modal.visible {
  opacity: 1;
  pointer-events: all;
}
.compare-modal-box {
  background: #1e2820;
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  width: 100%;
  max-width: 860px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform .25s;
}
.compare-modal.visible .compare-modal-box {
  transform: translateY(0);
}
.compare-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  flex-shrink: 0;
}
.compare-modal-close {
  background: none;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  border-radius: 8px;
  padding: .4rem .85rem;
  cursor: pointer;
  font-size: .85rem;
  font-family: var(--font-sans);
  transition: color .2s, border-color .2s;
}
.compare-modal-close:hover {
  color: var(--text);
  border-color: var(--text);
}
.compare-table-wrap {
  overflow-y: auto;
  flex: 1;
  padding: 1.5rem;
}
.ct-scroll {
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 480px;
}
.compare-table th,
.compare-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border-glass);
  vertical-align: middle;
  text-align: left;
}
.compare-table thead th {
  background: rgba(0,0,0,.2);
  font-family: var(--font-serif);
  font-size: 1rem;
  color: white;
}
.compare-table th.ct-label-col {
  width: 130px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: .85rem;
}
.compare-table td.ct-label {
  color: var(--text-muted);
  font-size: .85rem;
  white-space: nowrap;
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.ct-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.ct-logo img {
  height: 40px;
  width: 60px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
}
.ct-rating {
  font-size: .85rem;
  color: var(--text-muted);
  margin-left: .25rem;
}
.ct-bonus-val {
  font-weight: 700;
  color: var(--gold);
  font-size: .95rem;
}
.ct-bonus-detail {
  font-size: .8rem;
  color: var(--text-muted);
}
.ct-code {
  display: inline-block;
  border: 1px dashed var(--gold);
  color: var(--gold);
  padding: .25rem .6rem;
  border-radius: 6px;
  font-size: .8rem;
  cursor: pointer;
  font-weight: 700;
}
.ct-na { color: var(--text-muted); }
.ct-play-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-main);
  padding: .4rem .85rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .85rem;
  white-space: nowrap;
  text-decoration: none;
}
.ct-play-btn:hover {
  background: var(--gold-dark);
  text-decoration: none;
}

@media (max-width: 600px) {
  .compare-tray-slots { gap: .4rem; }
  .compare-slot { min-width: 80px; height: 44px; }
  .compare-tray-btn { padding: .5rem .85rem; font-size: .8rem; }
}

/* ====================================================================
   CASINO PAGE TEMPLATE — /casino/:id
==================================================================== */

/* ── Layout ── */
.cp-main { padding-top: 1.5rem; }
.cp-content { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.cp-section {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
}
.cp-section-title {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-family: var(--font-serif);
}
.cp-section-intro {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: .95rem;
}

/* ── Hero ── */
.cp-hero {
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
}
.cp-hero-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.cp-hero-logo-wrap {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
  overflow: hidden;
}
.cp-hero-logo {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
}
.cp-hero-content { flex: 1; min-width: 0; }
.cp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .75rem;
}
.cp-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .75rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}
.cp-badge-main    { background: rgba(240,201,106,.15); color: var(--gold); border: 1px solid rgba(240,201,106,.3); }
.cp-badge-wager   { background: rgba(72,200,120,.15);  color: #48c878;     border: 1px solid rgba(72,200,120,.3); }
.cp-badge-rating  { background: rgba(255,255,255,.08); color: var(--text);  border: 1px solid var(--border-glass); }
.cp-hero-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-family: var(--font-serif);
  margin: 0 0 .5rem;
  line-height: 1.2;
}
.cp-hero-stars    { display: flex; align-items: center; gap: .3rem; margin-bottom: .75rem; }
.cp-rating-num    { font-weight: 700; font-size: 1.1rem; }
.cp-rating-label  { color: var(--text-muted); font-size: .85rem; }
.cp-hero-bonus    { margin-bottom: 1rem; }
.cp-bonus-amount  { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; font-family: var(--font-serif); line-height: 1.1; }
.cp-bonus-detail  { color: var(--text-muted); font-size: .95rem; margin-top: .2rem; }
.cp-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--gold);
  color: var(--bg-main);
  font-weight: 700;
  padding: .85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  transition: background .2s, transform .1s;
  margin-bottom: 1rem;
}
.cp-cta-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.cp-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  margin-top: .5rem;
}
.cp-trust-item { font-size: .82rem; color: var(--text-muted); }

/* ── Quick Info Bar ── */
.cp-quickinfo {
  display: flex;
  align-items: stretch;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  overflow: hidden;
  padding: 0;
}
.cp-qi-item {
  flex: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.cp-qi-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.cp-qi-value { font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.cp-qi-sep   { width: 1px; background: var(--border-glass); flex-shrink: 0; margin: .75rem 0; }

/* ── Bonus Section ── */
.cp-bonus-section { text-align: center; }
.cp-bonus-highlight { padding: 1.5rem; background: rgba(240,201,106,.06); border-radius: 12px; margin-bottom: 1.25rem; border: 1px solid rgba(240,201,106,.15); }
.cp-bonus-big  { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; font-family: var(--font-serif); line-height: 1.1; }
.cp-bonus-sub  { color: var(--text-muted); margin: .4rem 0 .75rem; font-size: .95rem; }
.cp-bonus-conditions {
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  padding: .6rem 1rem;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  text-align: left;
}
.cp-cond-icon { font-size: 1rem; flex-shrink: 0; }
.cp-bonus-code { margin: .75rem auto; max-width: 280px; }
.cp-bonus-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 1rem;
  text-align: center;
}
.cp-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  padding: .75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: .95rem;
  transition: background .2s, color .2s;
}
.cp-cta-secondary:hover { background: var(--gold); color: var(--bg-main); }

/* ── SEO Description ── */
.cp-seo-text { line-height: 1.8; color: var(--text-muted); font-size: .97rem; margin: 0; }

/* ── Pros / Cons ── */
.cp-proscons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cp-col-head {
  font-weight: 700;
  padding: .5rem .75rem;
  border-radius: 8px;
  margin-bottom: .75rem;
  font-size: .9rem;
}
.cp-col-pros { background: rgba(72,200,120,.12); color: #48c878; }
.cp-col-cons { background: rgba(255,80,80,.12);  color: #ff6060; }
.cp-pro-item, .cp-con-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  line-height: 1.5;
  padding: .3rem 0;
  border-bottom: 1px solid var(--border-glass);
}
.cp-pro-item:last-child, .cp-con-item:last-child { border-bottom: none; }
.cp-pro-icon { color: #48c878; font-weight: 700; flex-shrink: 0; margin-top: .1rem; }
.cp-con-icon { color: #ff6060; font-weight: 700; flex-shrink: 0; margin-top: .1rem; }

/* ── Providers & Payments chip lists ── */
.cp-chips-wrap { display: flex; flex-wrap: wrap; gap: .5rem; }
.cp-provider-chip { background: rgba(240,201,106,.1); border-color: rgba(240,201,106,.25); font-weight: 600; }

/* ── License ── */
.cp-license-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cp-license-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid var(--border-glass);
}
.cp-license-icon  { font-size: 1.5rem; flex-shrink: 0; }
.cp-license-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.cp-license-val   { font-weight: 700; font-size: .95rem; margin: .2rem 0; }
.cp-license-code  { font-size: .75rem; color: var(--text-muted); }

/* ── Final CTA ── */
.cp-final-cta { text-align: center; }
.cp-final-inner { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.cp-final-bonus { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; font-family: var(--font-serif); }
.cp-final-sub   { color: var(--text-muted); }
.cp-cta-large   { padding: 1rem 2rem; font-size: 1.05rem; }
.cp-final-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  justify-content: center;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cp-quickinfo { flex-direction: column; }
  .cp-qi-sep    { width: 100%; height: 1px; margin: 0; }
  .cp-qi-item   { padding: .75rem 1rem; flex-direction: row; justify-content: space-between; align-items: center; }
  .cp-proscons-grid  { grid-template-columns: 1fr; }
  .cp-license-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cp-hero-inner     { flex-direction: column; gap: 1.25rem; }
  .cp-hero-logo-wrap { width: 100px; height: 100px; }
  .cp-hero-title     { font-size: 1.35rem; }
  .cp-section        { padding: 1.25rem; }
  .cp-hero           { padding: 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════
   PAYMENT METHODS SECTION
════════════════════════════════════════════════════════════════ */
.payment-methods {
  padding: 4rem 0;
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border-glass);
}

.payment-group {
  margin-top: 2rem;
}

.payment-group-title {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border-glass);
}

.payment-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.payment-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: .5rem .75rem;
  width: 90px;
  height: 56px;
  transition: transform .2s, background .2s, border-color .2s;
  flex-shrink: 0;
  overflow: hidden;
}

.payment-logo-item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.1);
  border-color: var(--gold);
}

.payment-logo-img {
  max-width: 74px;
  max-height: 44px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.payment-logo-text {
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
  padding: .25rem;
  word-break: break-word;
}

/* ═══════════════════════════════════════════════════════════════
   LOGO FALLBACK (when casino logo fails to load)
════════════════════════════════════════════════════════════════ */
.logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  background: rgba(240,201,106,.08);
  border-radius: 8px;
  padding: .25rem;
  word-break: break-word;
  line-height: 1.2;
}

.logo-fallback-large {
  font-size: 1.1rem;
  min-height: 80px;
}

/* Responsive */
@media (max-width: 640px) {
  .payment-logo-item {
    width: 76px;
    height: 48px;
  }
  .payment-logo-img {
    max-width: 62px;
    max-height: 38px;
  }
  .payment-logos-grid {
    gap: .625rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PAYMENT CAROUSEL — remplacement du grid statique
════════════════════════════════════════════════════════════════ */
@keyframes pm-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.payment-methods {
  padding: 4rem 0 3rem;
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border-glass);
  overflow: hidden;
}

.pm-block { margin-top: 2.5rem; }

.pm-cat-title {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: .01em;
}

.pm-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  padding: .25rem 0;
}

.pm-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  animation: pm-scroll linear infinite;
}

.pm-wrap:hover .pm-track {
  animation-play-state: paused;
}

.pm-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: .9rem 1.2rem;
  width: 130px;
  height: 84px;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform .25s, border-color .25s, background .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.pm-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(240,201,106,.08);
  box-shadow: 0 6px 24px rgba(240,201,106,.15);
}

.pm-img {
  max-width: 106px;
  max-height: 64px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.pm-fallback {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  line-height: 1.25;
  padding: .2rem;
  word-break: break-word;
}

/* Responsive */
@media (max-width: 640px) {
  .pm-item  { width: 105px; height: 68px; padding: .65rem .9rem; }
  .pm-img   { max-width: 86px; max-height: 50px; }
  .pm-track { gap: .8rem; }
}

/* ─── Subpage intro paragraph ─────────────────────────────────── */
.subpage-intro {
  font-size: clamp(.93rem, 1.6vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 72ch;
  margin: .5rem 0 1.75rem;
}
.subpage-intro strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── Dropdown wide variant ───────────────────────────────────── */
.dropdown-wide {
  min-width: 700px !important;
}

/* Retire le .nav-item comme ancre de positionnement pour le mega-menu Providers.
   Le dropdown remonte alors jusqu'à <header> (position: sticky) comme référence.
   right: 0 signifie donc "bord droit du header" = bord droit du viewport. */
.nav-item:has(.dropdown-wider) {
  position: static;
}

.dropdown-wider {
  min-width: 860px !important;
  left: auto !important;
  right: 0 !important;
  max-width: calc(100vw - 2rem);
  /* Compense le padding-bottom du header (1rem) car l'ancre de positionnement
     est <header> (position:sticky) et non .nav-item (position:relative).
     Sans cette correction, le dropdown apparaît 1rem plus bas que les autres. */
  margin-top: calc(10px - 1rem) !important;
}

/* ─── Search icon toggle (desktop nav) ───────────────────────── */
.nav-search {
  position: relative;
  flex-shrink: 0;
}
.nav-search-toggle {
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.45rem 0.55rem;
  display: flex;
  align-items: center;
  transition: color .2s, border-color .2s, background .2s;
}
.nav-search-toggle:hover,
.nav-search.open .nav-search-toggle {
  color: var(--gold);
  border-color: var(--border-glass);
  background: rgba(255,255,255,.07);
}
.nav-search-popup {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: .75rem;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
  z-index: 9999;
}
.nav-search.open .nav-search-popup { display: block; }
.nav-search-input {
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: .88rem;
  padding: .5rem .9rem;
  width: 100%;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s, background .2s;
}
.nav-search-input::placeholder { color: var(--text-muted); }
.nav-search-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.11);
}
.nav-search-results {
  display: none;
  margin-top: .5rem;
}
.nav-search-results.open { display: block; }
.nav-search-group-title {
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .6rem 1rem .3rem;
}
.nav-search-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: .88rem;
  transition: background .15s;
}
.nav-search-item:hover { background: rgba(255,255,255,.07); color: var(--gold); text-decoration: none; }
.nav-search-item img { width: 28px; height: 20px; object-fit: contain; border-radius: 3px; }
.nav-search-item-sub { font-size: .75rem; color: var(--text-muted); }
.nav-search-empty { padding: .8rem 1rem; color: var(--text-muted); font-size: .88rem; }

/* ─── Mobile Search ───────────────────────────────────────────── */
.mobile-search-wrap { padding: .75rem 1rem .25rem; }
.mobile-search-input {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  padding: .5rem 1rem;
  outline: none;
  box-sizing: border-box;
}
.mobile-search-input::placeholder { color: var(--text-muted); }
.mobile-search-input:focus { border-color: var(--gold); }

/* ─── Provider Category Filter Buttons ───────────────────────── */
/* ─── Provider bottom row (CTA + filters) ───────────────────────── */
.pv-bottom-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.pv-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.pv-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 2px solid var(--border-glass);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.8rem 1.8rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.pv-filter-btn svg {
  opacity: .75;
  flex-shrink: 0;
  transition: opacity .18s;
}
.pv-filter-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
  color: white;
}
.pv-filter-btn:hover svg { opacity: 1; }
.pv-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1208;
}
.pv-filter-btn.active svg {
  opacity: 1;
  stroke: #1a1208;
}

/* ─── Provider Item (carousel) ────────────────────────────────── */
.pv-track { align-items: center; }
.pv-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  width: 88px;
  padding: 6px 8px;
  text-decoration: none;
  color: var(--text);
  transition: opacity .2s;
}
.pv-item.pv-hidden { display: none; }
.pv-img { max-width: 72px; max-height: 40px; object-fit: contain; border-radius: 4px; }
.pv-fallback {
  display: none;
  width: 72px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  line-height: 1.2;
  background: rgba(240,201,106,.1);
  border-radius: 4px;
  padding: 2px;
}
.pv-name {
  font-size: .6rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
  max-width: 80px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.providers-section .pm-block { margin-top: 1.75rem; }

/* ─── Provider category page chips ───────────────────────────── */
.pv-cat-chip {
  display: inline-block;
  padding: .35rem .85rem;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.pv-cat-chip:hover, .pv-cat-chip:focus { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.pv-cat-chip.active { background: var(--gold); color: #1a1200; border-color: var(--gold); }

/* ====================================================================
   LEGAL PAGES — shared styles
==================================================================== */
.legal-page { padding-top: 1.5rem; padding-bottom: 4rem; }

.legal-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0.5rem 0 0.25rem;
  font-family: var(--font-serif);
}
.legal-updated {
  color: var(--text-muted);
  font-size: .85rem;
  margin: 0 0 2.5rem;
  border-left: 2px solid var(--gold);
  padding-left: .75rem;
}
.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
}
.legal-section:last-child { border-bottom: none; }
.legal-section h2 {
  font-size: 1.15rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: white;
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(201,168,76,.2);
}
.legal-section h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text);
  margin: 1.25rem 0 .5rem;
}
.legal-section p { color: var(--text-muted); line-height: 1.8; }
.legal-section ul { color: var(--text-muted); line-height: 2; padding-left: 1.5rem; }
.legal-section a { color: var(--gold); }
.legal-section a:hover { color: #fff; }
.legal-link-btn {
  display: inline-block;
  margin-top: .75rem;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.35);
  padding: .45rem 1rem;
  border-radius: 6px;
  font-size: .88rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.legal-link-btn:hover { background: rgba(201,168,76,.12); color: #fff; text-decoration: none; }

.legal-info-box {
  background: rgba(201,168,76,.07);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}
.legal-example-box {
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--gold);
  padding: .85rem 1.1rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
  color: var(--text);
  font-size: .9rem;
  line-height: 1.7;
}
.legal-table-wrap { overflow-x: auto; margin: 1rem 0; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.legal-table th, .legal-table td {
  padding: .7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-muted);
}
.legal-table thead th {
  background: rgba(0,0,0,.2);
  color: var(--gold);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.legal-table tr:last-child td { border-bottom: none; }

/* ── Cookie categories ── */
.cookie-category {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin: 1rem 0;
}
.cookie-cat-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .6rem;
  font-size: .95rem;
  color: var(--text);
}
.cookie-badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 9999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.cookie-badge--required  { background: rgba(76,175,80,.15); color: #4caf50; border: 1px solid rgba(76,175,80,.3); }
.cookie-badge--analytics { background: rgba(201,168,76,.12); color: var(--gold); border: 1px solid rgba(201,168,76,.3); }
.cookie-badge--affiliate { background: rgba(255,165,0,.12);  color: #ffa500;      border: 1px solid rgba(255,165,0,.3); }
.cookie-badge--marketing { background: rgba(156,39,176,.12); color: #c06ac0;      border: 1px solid rgba(156,39,176,.2); }
.cookie-category p { margin: .3rem 0 .6rem; font-size: .88rem; }
.cookie-category ul { font-size: .86rem; line-height: 1.8; }
.cookie-category code {
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  padding: .1rem .4rem;
  font-size: .82rem;
  font-family: monospace;
  color: var(--text);
}

/* ====================================================================
   JEU RESPONSABLE — specific styles
==================================================================== */
.resp-hero {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2.5rem;
}
.resp-hero-icon { flex-shrink: 0; margin-top: .25rem; }

.resp-section-title {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: white;
  margin: 0 0 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(201,168,76,.2);
}

/* Hotlines */
.resp-hotlines { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.resp-hotline-card {
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.resp-hotline-featured { grid-column: 1 / -1; background: rgba(201,168,76,.06) !important; border: 1px solid rgba(201,168,76,.2) !important; }
.resp-hotline-flag { font-size: 1.75rem; flex-shrink: 0; line-height: 1; }
.resp-hotline-name { font-weight: 700; font-size: .95rem; color: white; margin-bottom: .25rem; }
.resp-hotline-number {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-serif);
  color: var(--gold);
  letter-spacing: .02em;
  margin: .2rem 0 .5rem;
  text-decoration: none;
  transition: color .2s;
}
.resp-hotline-number:hover { color: white; }
.resp-hotline-details { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.resp-hotline-badge {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 9999px;
  font-size: .72rem;
  font-weight: 600;
  background: rgba(255,255,255,.08);
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
}
.resp-badge-free { background: rgba(76,175,80,.12); color: #4caf50; border-color: rgba(76,175,80,.3); }
.resp-hotline-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 .5rem; }
.resp-hotline-link { font-size: .82rem; color: var(--gold); text-decoration: none; }
.resp-hotline-link:hover { color: white; }

/* Budget grid */
.resp-budget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.resp-budget-card { border-radius: 14px; padding: 1.35rem; }
.resp-budget-num { font-size: 2.5rem; font-weight: 800; font-family: var(--font-serif); color: rgba(201,168,76,.25); line-height: 1; margin-bottom: .5rem; }
.resp-budget-card h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; color: white; margin: 0 0 .5rem; }
.resp-budget-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 .6rem; }
.resp-budget-card ul { font-size: .85rem; color: var(--text-muted); line-height: 1.9; padding-left: 1.25rem; margin: 0; }
.resp-tip {
  background: rgba(201,168,76,.07);
  border-left: 2px solid var(--gold);
  padding: .65rem .9rem;
  border-radius: 0 6px 6px 0;
  font-size: .84rem;
  color: var(--text-muted);
  margin-top: .75rem;
  line-height: 1.6;
}

/* Signs of addiction */
.resp-signs-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.resp-sign-item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
}
.resp-sign-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  flex-shrink: 0;
}
.resp-sign-financial { background: rgba(201,168,76,.1); color: var(--gold); }
.resp-sign-behavior  { background: rgba(255,100,100,.1); color: #ff6060; }
.resp-sign-emotional { background: rgba(100,180,255,.1); color: #7ec8ff; }
.resp-sign-item strong { color: white; display: block; margin-bottom: .4rem; font-size: .95rem; }
.resp-sign-item ul { font-size: .86rem; color: var(--text-muted); line-height: 1.9; padding-left: 1.1rem; margin: 0; }

/* Quiz */
.resp-quiz-box { border-radius: 14px; padding: 1.5rem; }
.resp-quiz-box h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; color: white; margin: 0 0 .5rem; }
.resp-quiz-box p { font-size: .88rem; color: var(--text-muted); margin: 0 0 1rem; }
.resp-quiz-list { display: flex; flex-direction: column; gap: .6rem; }
.resp-quiz-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .88rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}
.resp-quiz-check { flex-shrink: 0; margin-top: .15rem; accent-color: var(--gold); width: 16px; height: 16px; cursor: pointer; }

/* Resources grid */
.resp-resources-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.resp-resource-card {
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  display: block;
}
.resp-resource-card:hover { border-color: rgba(201,168,76,.4); background: rgba(201,168,76,.05); text-decoration: none; }
.resp-resource-country { font-size: .75rem; color: var(--text-muted); margin-bottom: .3rem; }
.resp-resource-name { font-weight: 700; color: white; font-size: .95rem; margin-bottom: .4rem; }
.resp-resource-card p { font-size: .83rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.resp-resource-card strong { color: var(--gold); }

/* Tools */
.resp-tools-list { display: flex; flex-direction: column; gap: 1rem; }
.resp-tool-item { border-radius: 10px; padding: 1.15rem 1.25rem; }
.resp-tool-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.resp-tool-header strong { color: white; font-size: .95rem; }
.resp-tool-badge { display: inline-block; padding: .15rem .6rem; border-radius: 9999px; font-size: .72rem; font-weight: 600; background: rgba(201,168,76,.1); color: var(--gold); border: 1px solid rgba(201,168,76,.25); }
.resp-tool-item p { font-size: .87rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.resp-tool-item a { color: var(--gold); }

/* Engagement list */
.resp-engagement-list { list-style: none; padding: 0; }
.resp-engagement-list li { padding: .5rem 0; color: var(--text-muted); font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.05); line-height: 1.6; }
.resp-engagement-list li:last-child { border-bottom: none; }

/* Responsive */
@media (max-width: 700px) {
  .resp-hotlines { grid-template-columns: 1fr; }
  .resp-hotline-featured { grid-column: auto; }
  .resp-budget-grid { grid-template-columns: 1fr; }
  .resp-resources-grid { grid-template-columns: 1fr; }
  .resp-hero { flex-direction: column; gap: 1rem; }
}

/* ============================================================
   BACK TO TOP
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1200;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(224, 201, 106, .35);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold-dark);
}
