/* ==========================================================================
   Golden Play France — theme
   Palette: dark graphite surfaces + gold accent, green secondary CTA.
   ========================================================================== */

:root {
  --bg: #1B1B1F;
  --bg-dark: #131313;
  --surface: #262727;
  --surface-hover: #2E2F2F;
  --white: #FFFFFF;
  --black: #000000;

  --gold: #D1AA41;
  --gold-hover: #E0BB55;
  --gold-gradient: linear-gradient(180deg, #8E713A 0%, #282010 100%);
  --gold-soft: rgba(209, 170, 65, .14);
  --gold-line: rgba(209, 170, 65, .38);

  --green: #18AE62;
  --green-hover: #27AA5E;
  --neutral-btn: #313236;

  --text: #FFFFFF;
  --text-soft: rgba(255, 255, 255, .78);
  --text-muted: rgba(255, 255, 255, .55);
  --border: rgba(255, 255, 255, .09);

  --container-width: 1220px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-btn: 6px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .45);

  --section-spacing: 60px;
  --grid-gap: 22px;

  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Montserrat", "Poppins", Arial, sans-serif;

  --header-height: 72px;
  --t-fast: 160ms ease;
  --t-base: 220ms ease;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
:where(img[width][height]) { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
p { margin: 0 0 1em; }

h1, h2, h3 { margin: 0 0 .7em; }
h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--gold);
}
h3 { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--white); }

.gp-shell { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

.jump-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--gold); color: var(--black); padding: 10px 16px;
}
.jump-link:focus { left: 0; }

/* Typography ---------------------------------------------------------------- */
.headline-main {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--gold);
  margin: 28px 0 0;
}

/* Section headings: short gold underline */
.zone h2 { position: relative; padding-bottom: 12px; margin-bottom: 26px; }
.zone h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 48px; height: 3px; border-radius: 2px; background: var(--gold);
}

.gp-copy { color: var(--text); }
.gp-copy h2 { margin-top: 0; }
.gp-copy h3 { margin-top: 1.7em; color: var(--gold); }
.gp-copy p { color: var(--text-soft); }

.gp-copy ul, .gp-copy ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.gp-copy ol { counter-reset: step; list-style: none; padding-left: 0; }
.gp-copy ol li {
  counter-increment: step;
  position: relative;
  padding: 10px 14px 10px 52px;
  margin-bottom: 8px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
}
.gp-copy ol li::before {
  content: counter(step);
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--black);
  font-size: 13px; font-weight: 700;
}

.gp-copy a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.gp-copy-after { margin-top: 36px; }

.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  padding: 4px 10px; border-radius: var(--radius-sm);
  margin: 0 0 18px;
}

/* Tables: dark header with gold text, gold frame, striped rows ---------------- */
.data-scroll { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
.data-scroll table {
  min-width: 480px;
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.data-scroll th {
  background: var(--bg-dark);
  color: var(--gold);
  text-align: left;
  padding: 13px 16px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--gold-line);
}
.data-scroll td {
  padding: 11px 16px;
  border-top: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-soft);
}
.data-scroll tbody tr:first-child td { border-top: 0; }
.data-scroll tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.data-scroll td:first-child { color: var(--white); font-weight: 500; }

/* Buttons ---------------------------------------------------------------------- */
.gp-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 20px;
  border-radius: var(--radius-btn);
  font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: .03em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.gp-cta-gold { background: var(--gold); color: var(--black); }
.gp-cta-gold:hover { background: var(--gold-hover); box-shadow: 0 6px 18px rgba(209, 170, 65, .3); transform: translateY(-1px); }
.gp-cta-green { background: var(--green); color: var(--white); }
.gp-cta-green:hover { background: var(--green-hover); transform: translateY(-1px); }
.gp-cta-neutral { background: var(--neutral-btn); color: var(--white); }
.gp-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.gp-cta-pulse { animation: gold-pulse 2.6s ease-in-out infinite; }
.gp-cta-pulse:hover { animation-play-state: paused; }
@keyframes gold-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(209, 170, 65, .4); }
  50% { box-shadow: 0 0 0 6px rgba(209, 170, 65, 0), 0 0 18px rgba(209, 170, 65, .35); }
}

/* Header ---------------------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-height); }
.brand-link { flex-shrink: 0; display: inline-flex; }

.topnav { flex: 1; min-width: 0; }
.topnav-list { display: flex; align-items: center; gap: 4px; list-style: none; flex-wrap: wrap; }
.topnav-link {
  display: inline-flex; align-items: center;
  padding: 10px 14px;
  font-size: 15px; font-weight: 500;
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.topnav-link:hover, .topnav-link:focus-visible { color: var(--gold); background: rgba(255, 255, 255, .04); }

.masthead-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.gift-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  color: var(--gold);
  background: var(--gold-gradient);
  border: 1px solid var(--gold-line);
  transition: transform var(--t-fast);
}
.gift-icon:hover { transform: translateY(-1px); }

.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--surface); }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--white); margin: 0 auto; transition: transform var(--t-base), opacity var(--t-base); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer { display: none; background: var(--bg-dark); max-height: 0; overflow: hidden; transition: max-height var(--t-base); }
.drawer.open { max-height: 80vh; overflow-y: auto; }
.drawer-list { list-style: none; padding: 8px 20px; }
.drawer-item { border-bottom: 1px solid var(--border); }
.drawer-link { display: block; padding: 14px 4px; font-size: 15px; font-weight: 500; }
.drawer-link:hover { color: var(--gold); }
.drawer-actions { display: flex; gap: 12px; padding: 16px 20px 24px; }
.drawer-actions .gp-cta { flex: 1; }

/* Hero / showcase ---------------------------------------------------------------- */
.showcase { padding: 24px 0 36px; }
.showcase-banner {
  position: relative;
  display: flex; align-items: center;
  aspect-ratio: 2172 / 640;
  padding: 28px 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-dark);
  box-shadow: var(--shadow-md);
}
.showcase-banner.panel-left { justify-content: flex-start; }
.showcase-banner.panel-center { justify-content: center; }
.showcase-banner.panel-right { justify-content: flex-end; }
.showcase-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

.showcase-panel {
  position: relative;
  width: 100%; max-width: 400px;
  padding: 26px 28px;
  background: linear-gradient(180deg, rgba(142, 113, 58, .9) 0%, rgba(40, 32, 16, .92) 100%);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.showcase-eyebrow { display: block; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--white); opacity: .9; margin-bottom: 10px; }
.showcase-amount { display: block; font-size: 43px; font-weight: 600; line-height: 1; color: var(--gold); margin-bottom: 10px; }
.showcase-extra { display: block; font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.showcase-cta { width: 100%; min-height: 50px; font-size: 15px; }

/* Sections ------------------------------------------------------------------------ */
.zone { padding: var(--section-spacing) 0; }
.zone-soft { background: var(--bg); }
.zone-deep { background: var(--bg-dark); }

.screen-shot {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

/* Slot tiles ---------------------------------------------------------------------- */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.game-tile {
  background: var(--surface);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--gold);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast);
}
.game-tile:hover { transform: translateY(-3px); }
.game-tile-media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-dark); }
.game-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: filter var(--t-base), transform var(--t-base); }
.game-tile-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  color: var(--gold);
  background: var(--gold-gradient);
  transition: filter var(--t-base);
}
.game-tile-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(19, 19, 19, .45);
  opacity: 0; transition: opacity var(--t-base);
}
.game-tile-play-icon {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(209, 170, 65, .22);
  transform: scale(.7); transition: transform var(--t-base);
}
.game-tile-play-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-35%, -50%);
  border-style: solid; border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent var(--black);
}
.game-tile:hover .game-tile-media img, .game-tile:focus-within .game-tile-media img { filter: blur(3px) brightness(.75); transform: scale(1.05); }
.game-tile:hover .game-tile-fallback { filter: brightness(.75); }
.game-tile:hover .game-tile-play, .game-tile-play:focus-visible { opacity: 1; }
.game-tile:hover .game-tile-play-icon, .game-tile-play:focus-visible .game-tile-play-icon { transform: scale(1); }

.game-tile-body { padding: 14px 16px 16px; }
.game-tile-name { font-size: 15px; margin: 0 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-tile-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.game-tile-provider { min-width: 0; font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-tile-rtp { flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--gold); background: var(--gold-soft); padding: 3px 8px; border-radius: var(--radius-sm); }

/* Promo cards --------------------------------------------------------------------- */
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); margin-bottom: 40px; }
.promo-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--gold);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--t-fast);
}
.promo-card:hover { transform: translateY(-3px); }
.promo-card-media { aspect-ratio: 600 / 265; background: var(--bg-dark); }
.promo-card-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-card-body { padding: 16px 18px 20px; }
.promo-card-label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.promo-card-amount { font-size: 18px; color: var(--gold); margin: 0 0 6px; }
.promo-card-note { font-size: 14px; color: var(--white); margin: 0; }

/* Provider chips — mono logos turned white on dark chips --------------------------- */
.studio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 4px 0 24px; }
.studio-chip {
  display: flex; align-items: center; justify-content: center;
  min-height: 76px; padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.studio-chip:hover { border-color: var(--gold-line); background: var(--surface-hover); }
.studio-chip img { max-height: 34px; width: auto; object-fit: contain; filter: invert(1) grayscale(1); opacity: .82; }

/* Payment tiles ---------------------------------------------------------------- */
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.pay-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--gold);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--t-fast);
}
.pay-tile:hover { transform: translateY(-2px); }
.pay-tile-media { height: 40px; display: flex; align-items: center; }
.pay-tile-media img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; filter: invert(1) grayscale(1); opacity: .85; }
.pay-tile-name { font-size: 13.5px; font-weight: 500; color: var(--text-soft); }

/* FAQ ------------------------------------------------------------------------ */
.qa { display: flex; flex-direction: column; gap: 12px; }
.qa-item {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qa-q-wrap { margin: 0; }
.qa-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-size: 16px; font-weight: 600; color: var(--white);
}
.qa-q:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.qa-icon { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; background: var(--gold); transition: transform var(--t-base), opacity var(--t-base); }
.qa-icon::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.qa-icon::after { top: 2px; left: 9px; width: 2px; height: 16px; }
.qa-q[aria-expanded="true"] .qa-icon::after { transform: rotate(90deg); opacity: 0; }
.qa-a {
  max-height: 0; overflow: hidden;
  padding: 0 20px;
  font-size: 15px; color: var(--text-soft);
  transition: max-height var(--t-base), padding var(--t-base);
}
.qa-a p:last-child { margin-bottom: 0; }
.qa-item.open .qa-a { padding-bottom: 20px; }

/* Last updated -------------------------------------------------------------- */
.zone-updated { padding: 28px 0; }
.stamp-line { margin: 0; font-size: 14px; color: var(--text-muted); }

.pos-left { text-align: left; }
.pos-center { text-align: center; }
.pos-right { text-align: right; }

/* Footer ------------------------------------------------------------------- */
.site-foot { background: var(--bg); border-top: 1px solid var(--gold-line); color: var(--text-soft); padding: 52px 0 30px; }
.site-foot-top {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px;
  padding-bottom: 34px; border-bottom: 1px solid var(--border);
}
.site-foot-brand .brand-link { margin-bottom: 16px; }
.site-foot-note { font-size: 14px; max-width: 320px; }
.site-foot-col h3 { color: var(--gold); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.site-foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-foot-col a { font-size: 14px; transition: color var(--t-fast); }
.site-foot-col a:hover { color: var(--gold); }

.site-foot-legal { padding: 26px 0 8px; display: flex; flex-direction: column; gap: 14px; }
.site-foot-legal.pos-left { align-items: flex-start; }
.site-foot-legal.pos-center { align-items: center; }
.site-foot-legal.pos-right { align-items: flex-end; }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.trust-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 96px; height: 44px; padding: 5px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast);
}
.trust-link:hover { border-color: var(--gold-line); }
.trust-link img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: invert(1) grayscale(1); opacity: .75; }
.rg-text { font-size: 13.5px; margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.age-badge { display: inline-flex; padding: 2px 8px; border-radius: var(--radius-sm); background: var(--gold); color: var(--black); font-weight: 700; font-size: 12px; }
.site-foot-copy { font-size: 13px; color: var(--text-muted); margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--border); }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1199px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  :root { --section-spacing: 44px; }
  .topnav { display: none; }
  .masthead .brand-link img { width: 120px; height: auto; }
  .gift-icon { display: none; }
  .masthead-actions .gp-cta { display: none; }
  .masthead-actions .gp-cta-gold { display: inline-flex; }
  .menu-toggle { display: flex; }
  .drawer { display: block; }

  .showcase-banner { aspect-ratio: auto; min-height: 300px; padding: 22px; }
  .showcase-panel { max-width: 360px; }
  .showcase-amount { font-size: 36px; }

  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: repeat(3, 1fr); }

  .site-foot-top { grid-template-columns: 1fr 1fr; }
  .site-foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --section-spacing: 32px; --grid-gap: 14px; }
  .gp-shell { padding: 0 16px; }
  .headline-main { font-size: 21px; margin-top: 22px; }

  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-grid { grid-template-columns: repeat(2, 1fr); }

  .showcase { padding-top: 16px; }
  .showcase-banner { min-height: 0; padding: 0; flex-direction: column; border-radius: var(--radius-md); background: transparent; box-shadow: none; }
  .showcase-banner > img { position: static; aspect-ratio: 2172 / 724; border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .showcase-panel { max-width: none; border-radius: 0 0 var(--radius-md) var(--radius-md); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .showcase-amount { font-size: 32px; }

  .site-foot-top { grid-template-columns: 1fr; gap: 28px; }
  .site-foot { padding: 40px 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* 404 ----------------------------------------------------------------------------- */
.error-body { min-height: 100vh; display: flex; flex-direction: column; }
.error-page { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; background: var(--bg-dark); }
.error-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 80px; padding-bottom: 80px; }
.error-code { font-family: var(--font-display); font-size: 64px; font-weight: 700; color: var(--gold); margin: 0; }
.error-text { font-size: 18px; color: var(--text-soft); margin: 0 0 24px; }
