/* FlopMasterFR.com — premium dark poker, adult audience */
:root {
  --bg-0: #0a0b0d;
  --bg-1: #12141a;
  --bg-2: #1a1d26;
  --text: #e8eaed;
  --text-muted: #9aa3b2;
  --accent: #c9a24d;
  --accent-dim: rgba(201, 162, 77, 0.25);
  --border: #2a303c;
  --notice-bg: #2d2415;
  --notice-border: #8a7038;
  --notice-text: #f5e6c8;
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1100px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--bar-offset, 0px);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ——— Sticky responsible gambling (visible, high contrast) ——— */
.rg-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--notice-bg);
  color: var(--notice-text);
  border-bottom: 2px solid var(--notice-border);
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
.rg-sticky__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
}
.rg-sticky__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 1.5rem;
  padding: 0 0.5rem;
  background: #1a1208;
  border: 1px solid var(--notice-border);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
}
body.has-rg-bar {
  --bar-offset: 52px;
}
@media (min-width: 768px) {
  .rg-sticky {
    font-size: 0.86rem;
    padding: 0.65rem 1.25rem;
  }
  body.has-rg-bar {
    --bar-offset: 48px;
  }
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: var(--bar-offset, 0);
  z-index: 900;
  background: rgba(10, 11, 13, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}
.site-logo:hover {
  text-decoration: none;
  color: var(--accent);
}
.site-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}
nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  justify-content: flex-end;
}
nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

/* ——— Main ——— */
main {
  flex: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  width: 100%;
}
.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero p.lead {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.05rem;
}

h2 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

/* Cards grid */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.poker-card {
  background: linear-gradient(165deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.poker-card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.poker-card__logo {
  height: 40px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.poker-card__logo img,
.poker-card__logo object {
  max-height: 40px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.poker-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  flex: 1;
}
.poker-card__meta {
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 1rem;
}
.poker-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.btn {
  display: inline-block;
  text-align: center;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary {
  background: var(--accent);
  color: #111;
  border-color: #b8903a;
}
.btn--primary:hover {
  background: #d4b15c;
  text-decoration: none;
  color: #111;
}
.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* Info / disclaimer blocks */
.prose {
  color: var(--text-muted);
  max-width: 48rem;
}
.prose p,
.prose li {
  margin: 0 0 0.9rem;
}
.prose strong {
  color: var(--text);
}
.pill {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  margin-top: auto;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: contain;
}
.site-footer p,
.site-footer a {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.35rem 0;
}
.site-footer a {
  color: var(--accent);
}
.footer-18 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Jeu responsable long page */
.legal-block {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  margin-bottom: 1.25rem;
}
.legal-block h2 {
  margin-top: 0;
  font-size: 1.15rem;
}
.legal-block ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
}
.legal-block li {
  margin-bottom: 0.4rem;
}

/* CTA strip */
.cta-strip {
  text-align: center;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cta-strip .btn {
  margin: 0.25rem;
}
