/* ============================================================
   MAIN.CSS — mrplaycasino.fr — Thème Casino Royal (Navy / Or)
   ============================================================ */

:root {
  --color-bg:            #080c14;
  --color-bg-alt:        #0d1220;
  --color-surface:       #111826;
  --color-surface-2:     #16202e;
  --color-surface-hover: #1c2a3a;
  --color-text:          #e8e0f0;
  --color-text-muted:    #8a98b8;
  --color-text-subtle:   #506080;
  --color-primary:       #d4af37;
  --color-primary-dark:  #a88a20;
  --color-primary-light: #f0cc60;
  --color-primary-rgb:   212,175,55;
  --color-accent:        #8b2020;
  --color-accent-light:  #c04040;
  --color-star:          #f5c518;
  --color-success:       #22c55e;
  --color-border:        rgba(212,175,55,0.16);
  --color-border-accent: rgba(212,175,55,0.42);
  --color-shadow:        rgba(0,0,0,0.5);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-full: 9999px;
  --transition-base: 0.2s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --font-heading: 'Playfair Display', Georgia, serif;
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background-color: var(--color-bg); color: var(--color-text); font-family: 'Inter', system-ui, -apple-system, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--color-text); line-height: 1.25; }
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; }

/* ── Top Notice Bar ── */
#top-notice-bar { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.top-notice-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0.6rem 1rem; }
.top-notice-text { font-size: 0.75rem; color: var(--color-text-muted); text-align: center; }
.top-notice-close { background: none; border: none; color: var(--color-text-muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 0.25rem; flex-shrink: 0; }

/* ── Container ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Site Header ── */
.site-header { background: rgba(8,12,20,0.97); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); height: var(--header-height); display: flex; align-items: center; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.site-logo-fallback { display: none; align-items: center; gap: 0.5rem; }
.logo-icon-box { width: 36px; height: 36px; background: var(--color-primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #080c14; font-weight: 900; }
.logo-text { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--color-text); }
.logo-sub { display: block; font-size: 0.65rem; color: var(--color-primary); letter-spacing: 0.12em; text-transform: uppercase; font-family: 'Inter', sans-serif; font-weight: 600; }
.header-nav { display: flex; align-items: center; gap: 1.5rem; }
.header-nav a { font-size: 0.85rem; font-weight: 500; color: var(--color-text-muted); transition: color 0.2s; }
.header-nav a:hover { color: var(--color-text); }
.header-cta { background: var(--color-primary) !important; color: #080c14 !important; font-weight: 700 !important; padding: 0.5rem 1.2rem !important; border-radius: var(--radius-full) !important; font-size: 0.85rem !important; }
.header-cta:hover { background: var(--color-primary-light) !important; color: #080c14 !important; }

/* ── Hero ── */
.hero {
  padding: 5.5rem 0 4.5rem; text-align: center; position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8,12,20,0.78) 0%, rgba(13,18,32,0.88) 60%, rgba(8,12,20,0.97) 100%),
    url('../img/mrplaycasinobg.jpg') center center / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(212,175,55,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(139,32,32,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.35); color: var(--color-primary-light); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: var(--radius-full); margin-bottom: 1.5rem; }
.hero h1 { color: var(--color-text); font-size: clamp(1.8rem, 4.5vw, 3rem); max-width: 820px; margin: 0 auto 1.25rem; }
.hero h1 span { color: var(--color-primary); }
.hero p, .hero-subtitle { color: var(--color-text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(212,175,55,0.15); }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--color-primary); font-family: var(--font-heading); line-height: 1; }
.hero-stat span { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 0.25rem; display: block; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 700; border-radius: var(--radius-full); cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; text-decoration: none; border: none; font-family: 'Inter', system-ui, sans-serif; line-height: 1; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--color-primary); color: #080c14; padding: 0.85rem 2.2rem; font-size: 0.95rem; box-shadow: 0 4px 20px rgba(212,175,55,0.3); }
.btn-primary:hover { background: var(--color-primary-light); color: #080c14; box-shadow: 0 6px 28px rgba(212,175,55,0.4); }
.btn-secondary { background: transparent; color: var(--color-text); border: 2px solid rgba(255,255,255,0.2); padding: 0.8rem 2rem; font-size: 0.95rem; }
.btn-secondary:hover { background: rgba(255,255,255,0.05); color: var(--color-text); border-color: rgba(255,255,255,0.35); }
.btn-outline { background: transparent; color: var(--color-text-muted); border: 1px solid var(--color-border); padding: 0.6rem 1.4rem; font-size: 0.88rem; }
.btn-outline:hover { color: var(--color-text); border-color: var(--color-border-accent); }
.btn-lg { padding: 1rem 2.6rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.84rem; }
.btn-full { width: 100%; }

/* ── Sections ── */
.section { padding: 4rem 0; }
.section-alt { background: var(--color-surface); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header p { color: var(--color-text-muted); max-width: 560px; margin: 0.5rem auto 0; }

/* ── Trust Bar ── */
.trust-bar { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 0.65rem 0; font-size: 0.78rem; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.4rem; color: var(--color-text-muted); }
.trust-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); display: inline-block; }

/* ── Casino Table ── */
.casino-table-section { background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%); padding: 3.5rem 0; }
.casino-table-wrap { display: flex; flex-direction: column; gap: 1rem; }
.casino-table-header { display: grid; grid-template-columns: 40px 72px 1fr 100px 180px; align-items: center; gap: 1rem; padding: 0 1.5rem 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-subtle); border-bottom: 1px solid var(--color-border); }

.casino-row {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  display: grid;
  grid-template-columns: 40px 72px 1fr 100px 180px;
  align-items: center;
  gap: 1rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.casino-row.highlighted { border-color: var(--color-border-accent); box-shadow: 0 0 0 1px rgba(212,175,55,0.15), var(--shadow-md); }
.casino-row:hover { border-color: var(--color-border-accent); box-shadow: var(--shadow-md); }
.casino-rank { font-size: 0.8rem; font-weight: 800; color: var(--color-text-subtle); text-align: center; }
.rank-1 { color: var(--color-primary); font-size: 1rem; }
.rank-2 { color: #c0c0c0; }
.rank-3 { color: #cd7f32; }
.casino-logo-cell { display: flex; align-items: center; justify-content: center; }
.casino-logo-placeholder { border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; flex-shrink: 0; }
.casino-info { min-width: 0; }
.casino-name-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.2rem; }
.casino-name { font-weight: 700; font-size: 1rem; color: var(--color-text); }
.casino-badge { font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.06em; }
.badge-top { background: rgba(212,175,55,0.18); color: var(--color-primary); border: 1px solid rgba(212,175,55,0.35); }
.badge-hot { background: rgba(220,38,38,0.15); color: #f87171; border: 1px solid rgba(220,38,38,0.3); }
.badge-new { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.badge-info { background: rgba(99,102,241,0.12); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.25); }
.casino-offer { font-size: 0.82rem; color: var(--color-primary-light); font-weight: 600; margin-bottom: 0.3rem; }
.casino-features { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.feature-tag { font-size: 0.7rem; background: rgba(212,175,55,0.08); border: 1px solid rgba(212,175,55,0.15); color: var(--color-text-muted); padding: 0.15rem 0.5rem; border-radius: var(--radius-full); white-space: nowrap; }
.casino-rating-cell { text-align: center; }
.rating-score { font-size: 1.15rem; font-weight: 800; color: var(--color-primary); font-family: var(--font-heading); }
.rating-stars { color: var(--color-star); font-size: 0.75rem; letter-spacing: 1px; }
.rating-count { font-size: 0.7rem; color: var(--color-text-subtle); margin-top: 0.2rem; }
.casino-cta-cell { display: flex; flex-direction: column; gap: 0.5rem; align-items: stretch; }
.casino-cta-btn { display: block; text-align: center; background: var(--color-primary); color: #080c14; font-weight: 700; font-size: 0.83rem; padding: 0.65rem 1rem; border-radius: var(--radius-full); white-space: nowrap; transition: background 0.2s; }
.casino-cta-btn:hover { background: var(--color-primary-light); color: #080c14; }
.review-link { font-size: 0.75rem; color: var(--color-text-muted); text-align: center; }
.review-link:hover { color: var(--color-primary); }

/* ── Casino Du Mois ── */
.casino-du-mois { background: var(--color-surface-2); border: 1px solid var(--color-border-accent); border-radius: var(--radius-lg); overflow: hidden; }
.cdm-header { background: linear-gradient(135deg, rgba(212,175,55,0.15) 0%, rgba(212,175,55,0.05) 100%); padding: 0.75rem 1.5rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); border-bottom: 1px solid var(--color-border); }
.cdm-body { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; flex-wrap: wrap; }
.cdm-info { flex: 1; min-width: 200px; }
.cdm-name { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.3rem; }
.cdm-offer { color: var(--color-primary-light); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5rem; }
.cdm-desc { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.cdm-action { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ── Article Header ── */
.article-header { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 2.5rem 0; }
.article-header h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); max-width: 800px; margin-top: 0.5rem; }

/* ── Article Body ── */
.article-body { padding: 3rem 0; }
.review-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2.5rem; align-items: start; }

/* ── Verdict Box ── */
.verdict-box { background: var(--color-surface-2); border: 1px solid var(--color-border-accent); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; }
.verdict-score { font-size: 3rem; font-weight: 900; color: var(--color-primary); font-family: var(--font-heading); line-height: 1; }
.verdict-label { font-size: 0.75rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }

/* ── Pros & Cons ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
.pros, .cons { background: var(--color-surface-2); border-radius: var(--radius-md); padding: 1.25rem; }
.pros { border-left: 3px solid var(--color-success); }
.cons { border-left: 3px solid var(--color-accent-light); }
.pros h4, .cons h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.75rem; font-family: 'Inter', sans-serif; }
.pros ul, .cons ul { list-style: none; padding: 0; }
.pros li, .cons li { font-size: 0.83rem; color: var(--color-text-muted); padding: 0.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.pros li:last-child, .cons li:last-child { border-bottom: none; }

/* ── Guide Table ── */
.guide-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.85rem; }
.guide-table th { background: var(--color-surface); color: var(--color-text-muted); font-weight: 600; padding: 0.7rem 1rem; text-align: left; border-bottom: 2px solid var(--color-border-accent); }
.guide-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.guide-table tr:last-child td { border-bottom: none; }
.guide-table tr:hover td { background: var(--color-surface-2); }

/* ── Highlight Box ── */
.highlight-box { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.25rem; margin: 1.5rem 0; }
.highlight-box h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.highlight-box.gold { border-color: var(--color-border-accent); background: rgba(212,175,55,0.06); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question { width: 100%; background: none; border: none; color: var(--color-text); font-size: 0.92rem; font-weight: 600; padding: 1.1rem 1.25rem; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: 'Inter', sans-serif; }
.faq-icon { color: var(--color-primary); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.25rem 1.1rem; font-size: 0.88rem; color: var(--color-text-muted); border-top: 1px solid var(--color-border); padding-top: 1rem; }
.faq-item.open .faq-answer { display: block; }

/* ── Cards Grid ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.card { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.4rem; transition: all var(--transition-base); }
.card:hover { border-color: var(--color-border-accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: rgba(212,175,55,0.12); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 0.85rem; }
.card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.83rem; color: var(--color-text-muted); }

/* ── Article CTA ── */
.article-cta { background: var(--color-surface-2); border: 1px solid var(--color-border-accent); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0; flex-wrap: wrap; }
.article-cta-info strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
.article-cta-info span { font-size: 0.85rem; color: var(--color-primary); }

/* ── Aside CTA ── */
.aside-cta { background: var(--color-surface-2); border: 1px solid var(--color-border-accent); border-radius: var(--radius-md); padding: 1.4rem; margin-bottom: 1.5rem; text-align: center; }
.aside-cta-score { font-size: 2rem; font-weight: 900; color: var(--color-primary); font-family: var(--font-heading); }
.aside-cta-btn { display: block; text-align: center; background: var(--color-primary); color: #080c14; font-weight: 700; font-size: 0.9rem; padding: 0.8rem 1.2rem; border-radius: var(--radius-full); margin-top: 0.75rem; transition: background 0.2s; }
.aside-cta-btn:hover { background: var(--color-primary-light); color: #080c14; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 0.78rem; color: var(--color-text-subtle); display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.75rem; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }

/* ── Guide Layout ── */
.guide-layout { display: grid; grid-template-columns: 1fr 260px; gap: 2.5rem; align-items: start; }
.guide-content h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.85rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.guide-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.guide-content h3 { font-size: 1.1rem; margin-top: 1.25rem; color: var(--color-primary-light); }
.guide-sidebar { position: sticky; top: 1.5rem; }

/* ── Footer ── */
.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { font-size: 0.83rem; color: var(--color-text-muted); margin-top: 0.75rem; line-height: 1.6; }
.footer-logo { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--color-primary); margin-bottom: 0.75rem; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text); margin-bottom: 0.85rem; font-family: 'Inter', sans-serif; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { font-size: 0.83rem; color: var(--color-text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.25rem; border-top: 1px solid var(--color-border); font-size: 0.78rem; color: var(--color-text-subtle); flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom a { color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-primary); }

/* ── Mobile CTA Bar ── */
.mobile-cta-bar { display: none; }
@media (max-width: 700px) {
  .mobile-cta-bar { display: block; position: fixed; bottom: 0; left: 0; right: 0; padding: 0.75rem 1rem; background: rgba(8,12,20,0.97); border-top: 1px solid var(--color-border-accent); z-index: 90; }
}

/* ── Responsive ── */
@media (max-width: 1000px) {
  .casino-row { grid-template-columns: 36px 56px 1fr 80px 150px; }
  .casino-table-header { grid-template-columns: 36px 56px 1fr 80px 150px; }
}
@media (max-width: 860px) {
  .casino-row { grid-template-columns: 36px 52px 1fr; grid-template-rows: auto auto auto; align-items: start; }
  .casino-table-header { display: none; }
  .casino-rating-cell { display: none; }
  .casino-cta-cell { grid-column: 1 / 4; flex-direction: row; align-items: center; gap: 0.75rem; padding-top: 0.5rem; }
  .casino-cta-btn { flex: 1; }
  .review-link { white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-layout { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; }
}
@media (max-width: 560px) {
  .hero { padding: 3rem 0 2.5rem; }
  .header-nav { display: none; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
