/* =================================================================
   {{BRAND}} — Free-to-play social casino stylesheet
   Palette: deep navy (#0a1024) + amber/gold (#d4a73a)
   Fonts:   Plus Jakarta Sans (headings) + Manrope (body)
   Note:    unique per build, no shared CSS between sites
   ================================================================= */

:root {
  --bg:          #0a1024;
  --bg-alt:      #0d1330;
  --line:        rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink:         #f4f4f5;
  --ink-soft:    #c8c8d0;
  --ink-mute:    #8b8b97;
  --gold:        #f0c864;
  --gold-deep:   #d4a73a;
  --gold-glow:   rgba(240, 200, 100, 0.35);
  --cyan:        #6ad5e0;
  --err:         #ef4444;

  --card:        rgba(255, 255, 255, 0.035);
  --card-hi:     rgba(255, 255, 255, 0.065);
  --shadow-soft: 0 12px 40px -16px rgba(0, 0, 0, 0.6);
  --shadow-deep: 0 30px 80px -30px rgba(0, 0, 0, 0.8);

  --r-card:      18px;
  --r-btn:       999px;

  --w-wrap:      1180px;
  --w-pad:       24px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(240, 200, 100, 0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(106, 213, 224, 0.04), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  color: var(--ink);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.wrap {
  max-width: var(--w-wrap);
  margin: 0 auto;
  padding-left: var(--w-pad);
  padding-right: var(--w-pad);
}

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: var(--r-btn);
  font-size: 14.5px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: #181818;
  box-shadow: 0 6px 20px -6px var(--gold-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px var(--gold-glow); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--gold); color: var(--gold); }
.btn-small { padding: 9px 16px; font-size: 13px; }
.btn-large { padding: 15px 28px; font-size: 15.5px; }

/* =================================================================
   TOP BAR
   ================================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 16, 36, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--ink);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: #181818;
  box-shadow: 0 6px 18px -6px var(--gold-glow);
}
.brand-name { font-size: 18px; letter-spacing: 0.02em; }

.topnav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
}
.topnav a { color: var(--ink-soft); transition: color .15s ease; }
.topnav a:hover { color: var(--gold); }

@media (max-width: 880px) {
  .topnav { display: none; }
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.orb-amber {
  width: 540px; height: 540px;
  right: -120px; top: -80px;
  background: radial-gradient(circle, rgba(240, 200, 100, 0.18), transparent 70%);
}
.orb-blue {
  width: 460px; height: 460px;
  left: -160px; bottom: -120px;
  background: radial-gradient(circle, rgba(106, 213, 224, 0.12), transparent 70%);
}
.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .35;
  mix-blend-mode: overlay;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(240, 200, 100, 0.1);
  border: 1px solid rgba(240, 200, 100, 0.25);
  color: var(--gold);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.spark {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 200, 100, 0.18), 0 0 12px 1px var(--gold-glow);
}
.hero-title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  margin: 0 0 18px;
}
.grad-amber {
  background: linear-gradient(135deg, var(--gold) 30%, #ffe1a0 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 36px;
}
.hero-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero-pills li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
  color: var(--ink-soft);
}

/* =================================================================
   SECTIONS (generic)
   ================================================================= */
.features,
.games,
.disclaimer { padding: 72px 0; }

.section-title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  margin: 0 0 12px;
}
.section-lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 40px;
}

/* =================================================================
   COMPLIANCE GRID (3 cards)
   ================================================================= */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .compliance-grid { grid-template-columns: 1fr; }
}
.comp-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .2s ease, transform .2s ease;
}
.comp-card:hover {
  border-color: rgba(240, 200, 100, 0.35);
  transform: translateY(-3px);
}
.comp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(240, 200, 100, 0.18), rgba(106, 213, 224, 0.12));
  border: 1px solid rgba(240, 200, 100, 0.25);
  color: var(--gold);
  margin-bottom: 16px;
}
.comp-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
}
.comp-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* =================================================================
   GAMES GRID
   ================================================================= */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(240, 200, 100, 0.18), rgba(106, 213, 224, 0.08)),
    #11173a;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: block;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 200, 100, 0.4);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}
.tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.tile-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 12, 30, 0.92) 0%, rgba(8, 12, 30, 0.4) 45%, transparent 75%);
  z-index: 2;
  pointer-events: none;
}
.tile-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.tile-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #fafafa;
  font-size: 14.5px;
  line-height: 1.2;
}
.tile-provider {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.tile-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 4px 9px 4px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: #181818;
}
.tile-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease;
}
.tile:hover .tile-play { opacity: 1; }
.tile-play span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(13, 19, 48, 0.85);
  color: var(--gold);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(240, 200, 100, 0.35);
  backdrop-filter: blur(6px);
}

/* =================================================================
   FEATURED DISCLAIMER (between games and footer)
   ================================================================= */
.disclaimer {
  background:
    linear-gradient(180deg, transparent, rgba(240, 200, 100, 0.04));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.disclaimer-shell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(240, 200, 100, 0.18);
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 980px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.disclaimer-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11.5px;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 10px;
}
.disclaimer-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  margin: 0 0 16px;
}
.disclaimer-body {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 22px;
}
.disclaimer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
}
.disclaimer-links a { color: var(--gold); border-bottom: 1px dotted rgba(240, 200, 100, 0.4); }
.disclaimer-links a:hover { border-bottom-style: solid; }

/* =================================================================
   COOKIE BAR
   ================================================================= */
.cookiebar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: rgba(13, 19, 48, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
}
.cookiebar.is-shown { display: block; }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 !important;
  max-width: none !important;
}
.cookie-inner p { margin: 0; font-size: 13.5px; flex: 1 1 240px; color: var(--ink-soft); }
.cookie-inner a { color: var(--gold); border-bottom: 1px dotted rgba(240, 200, 100, 0.4); }

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: #060a1c;
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  color: var(--ink-mute);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  align-items: start;
}
@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-name .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-tag {
  font-size: 14px;
  color: var(--ink-mute);
  max-width: 320px;
  margin: 0 0 18px;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink-soft);
}
.footer-badge strong { color: var(--gold); font-weight: 800; }

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.footer-col a { color: var(--ink-soft); transition: color .15s ease; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 12.5px;
  color: var(--ink-mute);
  max-width: 980px;
  margin: 0;
  line-height: 1.65;
}
.footer-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}
.footer-meta strong { color: var(--gold); }

/* =================================================================
   AGE GATE (18+, NL)
   ================================================================= */
.age-wall {
  position: fixed;
  inset: 0;
  z-index: 100;
  background:
    radial-gradient(800px 500px at 50% -10%, rgba(240, 200, 100, 0.18), transparent 60%),
    rgba(6, 9, 22, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.age-wall.is-hidden { display: none; }
.age-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 200, 100, 0.25);
  border-radius: 22px;
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-deep);
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: #181818;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px -10px var(--gold-glow);
}
.age-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 12px;
}
.age-text {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  line-height: 1.6;
}
.age-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.age-foot {
  font-size: 12.5px;
  color: var(--ink-mute);
  margin: 0;
}
.age-foot a { color: var(--gold); border-bottom: 1px dotted rgba(240, 200, 100, 0.35); }

/* =================================================================
   GAME MODAL
   ================================================================= */
.gmodal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}
.gmodal.is-open { display: block; }
.gmodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 22, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gmodal-shell {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  height: 86vh;
  margin: 4vh auto 0;
  background: #0a1024;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
}
.gmodal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.gmodal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.gmodal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}
.gmodal-close:hover {
  background: rgba(240, 200, 100, 0.18);
  color: var(--gold);
}
.gmodal-frame {
  position: relative;
  flex: 1 1 auto;
  background: #000;
}
.gmodal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 720px) {
  .hero { padding: 64px 0 56px; }
  .features, .games, .disclaimer { padding: 48px 0; }
  .disclaimer-shell { padding: 26px 22px; }
  .gmodal-shell { height: 92vh; margin-top: 2vh; max-width: 96vw; border-radius: 12px; }
  .age-card { padding: 28px 22px; }
}

/* =================================================================
   LEGAL PAGES
   ================================================================= */
.legal {
  background: var(--bg);
  position: relative;
}
.legal h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 10px;
  letter-spacing: -0.005em;
}
.legal h2:first-child { margin-top: 0; }
.legal p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.7;
}
.legal ul {
  padding-left: 22px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}
.legal ul li { margin-bottom: 6px; }
.legal a { color: var(--gold); border-bottom: 1px dotted rgba(240, 200, 100, 0.38); }
.legal a:hover { border-bottom-style: solid; }
.legal strong { color: var(--ink); font-weight: 700; }

/* =================================================================
   COMPLIANCE STRIP (English canonical phrases for ads reviewers)
   ================================================================= */
.compliance-strip {
  background: #060a1c;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  text-align: center;
}
.cs-row {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  line-height: 1.7;
}
.cs-row strong {
  color: var(--gold-deep);
  font-weight: 700;
}
@media (max-width: 720px) {
  .cs-row { font-size: 10.5px; letter-spacing: 0.1em; }
}
