/* =========================================================
   Rankmark – site stylesheet
   One file for all pages. Page themes are set with a class on <body>:
     (none)              -> Rankmark brand (ink + green)   index, GMB, guest posts
     .theme-listicle     -> Rankmark ink + green           AI listicle backlinks
     .theme-igaming      -> Rankmark ink + green           iGaming SEO
   ========================================================= */

:root {
  --ink: #0B1220;
  --ink-2: #151D2E;
  --ink-line: #2A3348;
  --green: #14B86A;
  --green-dark: #0B7A45;
  --green-tint: #E3F7EC;
  --mist: #F6F7F4;
  --slate: #4A5262;
  --muted-on-dark: #C9CED6;
  --line: #E6E8EC;
  --white: #FFFFFF;

  /* theme slots (overridden per page) */
  --accent: var(--green);          /* fills: buttons, badges, highlights   */
  --accent-ink: var(--ink);        /* text colour on top of --accent       */
  --accent-text: var(--green-dark);/* accent-coloured text on light bg     */
  --accent-tint: var(--green-tint);
  --accent-2: var(--green);
  --bg: var(--white);
  --bg-alt: var(--mist);
  --text: var(--ink);
  --text-muted: var(--slate);
  --card: var(--white);
  --card-line: var(--line);

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 22px;
  --container: 1200px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
a:hover { color: var(--text); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- typography helpers ---------- */
.display { font-size: clamp(42px, 6vw, 80px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; }
.h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--text-muted); max-width: 620px; }
.muted { color: var(--text-muted); }
.accent { color: var(--accent); }
.accent-text { color: var(--accent-text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { color: var(--white); }
.btn-outline { border-color: currentColor; color: var(--text); background: transparent; }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { color: var(--white); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--card-line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 25px; letter-spacing: -0.05em; }
.brand-name span { color: var(--green); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-text); }
.site-nav .btn { min-height: 44px; font-size: 15px; }
/* Keep the CTA foreground color even though the navigation styles all links. */
.site-nav a.btn, .site-nav a.btn:hover { color: var(--accent-ink); }
.site-nav a.btn-dark, .site-nav a.btn-dark:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 74px;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--card-line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; font-size: 17px; }
  .site-nav .btn { margin-top: 10px; }
  .site-nav a.btn, .site-nav a.btn:hover { justify-content: center; }
}

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: var(--white); --text: var(--white); --text-muted: var(--muted-on-dark); --card: var(--ink-2); --card-line: var(--ink-line); }
.section-accent { background: var(--accent); color: var(--accent-ink); }
.dot-grid {
  background-image: radial-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.line-grid {
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
}

/* ---------- layout helpers ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--text-muted); }
.card-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card-dark p { color: var(--muted-on-dark); }
.card-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.card-accent p { color: var(--accent-ink); }
.card-tint { background: var(--accent-tint); border-color: var(--accent-tint); }
.icon-box { width: 52px; height: 52px; border-radius: 15px; background: var(--accent-tint); color: var(--accent-text); display: flex; align-items: center; justify-content: center; }
.icon-box svg { width: 26px; height: 26px; }
.card-dark .icon-box { background: var(--accent); color: var(--accent-ink); }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.04em; color: var(--accent-text); line-height: 1; }
.card-dark .step-num { color: var(--accent); }
a.card { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(11,18,32,0.10); }
a.card.card-dark { color: var(--white); }
a.card.card-accent { color: var(--accent-ink); }
.card-link { margin-top: auto; font-weight: 700; color: var(--accent-text); display: inline-flex; align-items: center; gap: 8px; }
.card-dark .card-link { color: var(--accent); }

/* ---------- chips / badges ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid currentColor; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; }
.chip-solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.badge { display: inline-block; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); }
.badge-tint { background: var(--accent-tint); color: var(--accent-text); }

/* ---------- check list ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; color: var(--accent); line-height: 1.1; }
.stat-label { color: var(--text-muted); font-size: 15px; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.price-card { position: relative; background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.price-card.featured { border: 3px solid var(--accent); }
.price-card.dark { background: var(--ink); color: var(--white); border-color: var(--ink); --text-muted: var(--muted-on-dark); }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price-tier { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; color: var(--accent-text); line-height: 1; }
.price-card.dark .price-tier { color: var(--accent); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 56px; letter-spacing: -0.04em; line-height: 1; }
.price small { font-size: 16px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.price-card .btn { margin-top: auto; }
.includes { background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 20px 26px; margin-top: 20px; }
.includes strong { color: var(--accent-text); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: step; }

/* ---------- figures / screenshots ---------- */
.shot { margin: 0; background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.shot img { border-radius: 12px; border: 1px solid var(--line); background: #fff; width: 100%; }
.shot figcaption { padding: 0 6px 4px; font-size: 15px; color: var(--text-muted); }
.shot figcaption strong { display: block; color: var(--text); font-size: 17px; }
.scroll-x { overflow-x: auto; }
.scroll-x img { min-width: 640px; }

/* ---------- comparison table ---------- */
.table-wrap { border: 1px solid var(--card-line); border-radius: 20px; overflow-x: auto; background: var(--card); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 24px; text-align: left; border-top: 1px solid var(--card-line); }
.compare thead th { background: var(--bg-alt); border-top: 0; color: var(--text-muted); font-weight: 600; }
.compare thead th:nth-child(2) { color: var(--text); font-family: var(--font-display); font-weight: 800; }
.yes, .no { width: 22px; height: 22px; }
.yes { color: var(--accent-text); } .no { color: #8A919D; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--card-line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--card-line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--accent-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--accent-ink); border-radius: 28px; padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 72px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.cta-band .h2 { max-width: 820px; }
.cta-band p { max-width: 600px; font-size: 19px; }

/* ---------- contact ---------- */
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 18px; color: inherit; text-decoration: none; }
.contact-item .icon-box { width: 46px; height: 46px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; font: inherit;
  border: 1px solid var(--card-line); background: var(--card); color: var(--text);
}
.form textarea { min-height: 120px; resize: vertical; }
.section-dark .form input, .section-dark .form select, .section-dark .form textarea { background: #0F1729; border-color: #3A4357; color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 64px 0 36px; }
.site-footer .brand { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h4 { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; color: var(--white); margin-bottom: 4px; }
.footer-col a { color: var(--muted-on-dark); text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #222B3D; margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

/* ---------- hero mock cards (homepage + GMB) ---------- */
.mock-stack { display: flex; flex-direction: column; gap: 16px; }
.mock { background: var(--white); color: var(--ink); border-radius: 18px; padding: 22px 24px; box-shadow: 0 10px 30px rgba(11,18,32,0.08); }
.mock small { display: block; font-size: 13px; color: var(--slate); }
.mock .big { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mock-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }

/* ---------- price card in GMB hero ---------- */
.hero-price { background: var(--ink); color: var(--white); border-radius: 26px; padding: 36px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 20px 50px rgba(11,18,32,0.18); }
.hero-price .amount { font-family: var(--font-display); font-weight: 800; font-size: 64px; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }

/* ---------- DR ring ---------- */
.dr-ring { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.dr-ring span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; }
.dr-ring small { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted-on-dark); }

/* =========================================================
   THEME: AI LISTICLE (Rankmark ink + green)
   ========================================================= */
.theme-listicle {
  --accent: #14B86A; --accent-ink: #0B1220; --accent-text: #0B7A45; --accent-tint: #E3F7EC;
  --accent-2: #14B86A; --bg-alt: #F6F7F4; --line: #E6E8EC; --card-line: #E6E8EC;
  --ink: #0B1220; --ink-2: #151D2E; --ink-line: #2A3348; --slate: #4A5262; --text-muted: #4A5262;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}
.theme-listicle .section-yellow { background: var(--accent-tint); color: var(--ink); --text-muted: #334155; }
.theme-listicle .tag-yellow { background: var(--accent-2); color: var(--ink); border-radius: 8px; padding: 7px 14px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; display: inline-block; }
.listing-mock { background: var(--ink); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 10px; transform: rotate(-2deg); box-shadow: 0 24px 50px rgba(15,23,42,0.28); color: #fff; max-width: 320px; margin-left: auto; }
.listing-row { background: #1E293B; border-radius: 12px; padding: 10px 14px; display: flex; gap: 12px; align-items: center; color: #CBD5E1; font-weight: 600; }
.listing-row b { font-family: var(--font-display); font-size: 20px; }
.listing-row.top { background: var(--accent-2); color: var(--ink); }
.ai-card { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 16px 40px rgba(15,23,42,0.10); display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.ai-card mark { background: var(--accent-2); color: var(--ink); font-weight: 800; padding: 1px 6px; border-radius: 4px; }
.source-chip { background: #F6F7F4; border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 600; color: #475569; }
.hero-visual { position: relative; display: flex; flex-direction: column; gap: 16px; }
.flow { display: flex; flex-direction: column; align-items: center; }
.flow-node { background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 22px; text-align: center; }
.flow-node small { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--slate); }
.flow-line { width: 2px; height: 26px; background: #475569; }
.flow-branch { width: 50%; height: 24px; border: 2px solid #475569; border-bottom: 0; border-radius: 12px 12px 0 0; }
.flow-merge { width: 50%; height: 24px; border: 2px solid #475569; border-top: 0; border-radius: 0 0 12px 12px; }
.flow-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; }
.flow-card { background: #1E293B; border: 1px solid #334155; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; color: #CBD5E1; }
.flow-card h3 { color: #fff; font-size: 19px; }
.flow-card mark { background: none; color: var(--accent-2); font-weight: 700; }
.flow-end { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.flow-end .yellow { background: var(--accent-2); color: var(--ink); }
.flow-end .blue { background: var(--accent); color: var(--ink); }
.flow-end .flow-node small { color: inherit; }
.pill-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 30px; }
.pill-steps div { border: 2px solid #475569; border-radius: 999px; padding: 14px 20px; text-align: center; }
.pill-steps div:first-child { background: #fff; color: var(--ink); border-color: #fff; }
.pill-steps b { display: block; font-family: var(--font-display); font-size: 21px; }
.pill-steps span { font-size: 14px; color: #CBD5E1; }
.pill-steps div:first-child span { color: #475569; }
.article-mock { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.browser-bar { background: var(--accent-tint); padding: 12px 22px; display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 6px; } .dots i { width: 11px; height: 11px; border-radius: 6px; display: block; }
.dots i:nth-child(1) { background: #FF5F57; } .dots i:nth-child(2) { background: #14B86A; } .dots i:nth-child(3) { background: #28C840; }
.url { flex-grow: 1; background: #fff; border-radius: 8px; padding: 6px 14px; font-size: 14px; color: #475569; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.article-body { padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.entry { border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; display: flex; gap: 16px; align-items: center; }
.entry b { font-family: var(--font-display); font-size: 28px; color: #94A3B8; }
.entry.top { border: 3px solid var(--accent); background: #E3F7EC; align-items: flex-start; }
.entry.top b { color: var(--accent); font-size: 40px; line-height: 1; }
@media (max-width: 640px) { .flow-pair { grid-template-columns: 1fr; } .flow-branch, .flow-merge { display: none; } .listing-mock { transform: none; margin: 0; } }

/* =========================================================
   THEME: iGAMING (Rankmark ink + green)
   ========================================================= */
.theme-igaming {
  --bg: #0B1220; --bg-alt: #0F1729; --text: #FFFFFF; --text-muted: #C9CED6;
  --card: #151D2E; --card-line: #2A3348; --line: #2A3348;
  --accent: #14B86A; --accent-ink: #0B1220; --accent-text: #14B86A; --accent-tint: #1D293B;
  --pink: #0B7A45; --violet: #0B7A45; --mint: #14B86A;
  --font-display: 'Bebas Neue', system-ui, sans-serif;
  font-family: 'Inter', 'Noto Sans Thai', 'Noto Sans KR', system-ui, sans-serif;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
/* Group related sections so the long page has calm, intentional background shifts. */
.theme-igaming main > section:not(:first-of-type) { padding-top: clamp(48px, 6vw, 72px) !important; }
.theme-igaming main > section:nth-of-type(3) { padding-bottom: 40px; }
.theme-igaming main > section:is(:nth-of-type(4), :nth-of-type(5), :nth-of-type(6), :nth-of-type(9), :nth-of-type(10)) {
  background: #FFFFFF;
  color: var(--ink);
  --text: var(--ink);
  --text-muted: var(--slate);
  --card: #FFFFFF;
  --card-line: var(--line);
}
.theme-igaming main > section:is(:nth-of-type(4), :nth-of-type(5), :nth-of-type(6), :nth-of-type(9), :nth-of-type(10)) .kw,
.theme-igaming main > section:is(:nth-of-type(4), :nth-of-type(5), :nth-of-type(6), :nth-of-type(9), :nth-of-type(10)) .card[style*="background:#0B1220"] { color: #FFFFFF; }
.theme-igaming main > section:is(:nth-of-type(4), :nth-of-type(5), :nth-of-type(6), :nth-of-type(9), :nth-of-type(10)) .small-print { color: var(--slate); }
.theme-igaming h1, .theme-igaming h2 { font-weight: 400; letter-spacing: 0.01em; line-height: 0.95; }
.theme-igaming .display { font-size: clamp(42px, 11vw, 160px); text-shadow: 0 0 28px rgba(20,184,106,0.32); }
.theme-igaming .display .accent { text-shadow: 0 0 30px rgba(20,184,106,0.28); }
.theme-igaming .h2 { font-size: clamp(44px, 6vw, 72px); }
.theme-igaming .pink { color: var(--pink); }
.theme-igaming .mint { color: var(--mint); }
.theme-igaming .site-header {
  --text: var(--ink);
  --card-line: var(--line);
  background: var(--white);
  border-bottom-color: var(--line);
}
.theme-igaming .brand-name span { color: var(--accent); }
.theme-igaming .eyebrow::before { background: var(--pink); }
.theme-igaming .btn-primary { box-shadow: 0 0 24px rgba(20,184,106,0.28); }
.theme-igaming .btn-outline { color: #fff; border-color: var(--pink); }
.theme-igaming .site-footer { background: #070A12; }
.tag-pink { background: var(--pink); color: #fff; border-radius: 6px; padding: 6px 12px; font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 0.08em; line-height: 1; display: inline-block; }
.slot { background: linear-gradient(180deg, #1D293B 0%, #151D2E 100%); border: 4px solid var(--accent); border-radius: 32px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 0 40px rgba(20,184,106,0.22); }
.slot-title { display: flex; justify-content: space-between; align-items: center; font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 0.06em; color: var(--accent); }
.slot-lights { display: flex; gap: 8px; } .slot-lights i { width: 14px; height: 14px; border-radius: 7px; display: block; }
.slot-lights i:nth-child(1) { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.slot-lights i:nth-child(2) { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.slot-lights i:nth-child(3) { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.reels { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.reel { background: #F7F2FF; border-radius: 16px; display: flex; flex-direction: column; align-items: center; padding: 6px 0; font-family: 'Bebas Neue', sans-serif; }
.reel .suit { font-size: 40px; line-height: 1.1; color: #C9B8E8; }
.reel .win { font-size: clamp(48px, 7vw, 80px); line-height: 1.1; color: var(--pink); }
.payline { position: absolute; left: -10px; right: -10px; top: 50%; height: 4px; margin-top: -2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); opacity: .85; }
.slot-search { background: #0B1220; border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-weight: 600; }
.slot-search .badge { margin-left: auto; }
.chip-price { width: 320px; height: 320px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--pink); position: relative; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 50px rgba(20,184,106,0.30); margin: 0 auto; }
.chip-price::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 22px dashed #fff; opacity: .9; }
.chip-price > div { width: 75%; height: 75%; border-radius: 50%; background: #0B1220; border: 4px solid var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.chip-price small { font-size: 14px; font-weight: 800; letter-spacing: 0.14em; color: var(--text-muted); }
.chip-price strong { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 84px; line-height: .9; color: var(--accent); }
.market { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; padding: 16px 18px; font-weight: 700; }
.poker { width: 60px; height: 60px; border-radius: 50%; border: 6px dashed #fff; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 25px; color: #fff; flex-shrink: 0; }
.poker.pink { background: var(--pink); } .poker.violet { background: var(--violet); }
.poker.gold { background: var(--accent); color: #0B1220; border-color: #0B1220; } .poker.mint { background: var(--mint); color: #0B1220; }
.kw { background: #0B1220; border: 1px solid var(--card-line); border-radius: 14px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.kw svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.kw span { display: flex; flex-direction: column; font-weight: 700; font-size: 18px; line-height: 1.3; }
.kw small { font-weight: 500; font-size: 13px; color: #B9A9D6; }
.big-stat { font-family: 'Bebas Neue', sans-serif; font-size: 64px; line-height: .9; }
.link-bar { display: flex; height: 26px; border-radius: 13px; overflow: hidden; background: #1D293B; }
.link-bar i { display: block; }
.theme-igaming .shot { background: #fff; border: 0; }
.theme-igaming .shot.glow-mint { box-shadow: 0 0 36px rgba(20,184,106,0.25); border: 4px solid var(--mint); }
.theme-igaming .shot.glow-gold { box-shadow: 0 0 36px rgba(20,184,106,0.22); }
.faq-list { max-width: 900px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(148,163,184,.2); border-radius: 18px; background: linear-gradient(145deg, #111A2A, #0D1524); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.faq-list .qa { margin: 0; padding: 0 24px; border: 0; border-bottom: 1px solid rgba(148,163,184,.16); border-radius: 0; background: transparent; transition: background .2s ease; }
.faq-list .qa:last-child { border-bottom: 0; }
.faq-list .qa:hover { background: rgba(255,255,255,.025); }
.faq-list .qa[open] { background: linear-gradient(90deg, rgba(20,184,106,.09), rgba(20,184,106,.015)); }
.faq-list .qa summary { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; color: #F7FAFC; font-size: 17px; font-weight: 700; line-height: 1.4; list-style: none; cursor: pointer; }
.faq-list .qa summary::-webkit-details-marker { display: none; }
.faq-list .qa summary::after { content: "+"; display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border: 1px solid rgba(20,184,106,.42); border-radius: 50%; color: #14B86A; font-size: 22px; font-weight: 500; transition: transform .2s ease, background .2s ease, color .2s ease; }
.faq-list .qa[open] summary::after { content: "-"; transform: rotate(180deg); background: #14B86A; color: #07131A; }
.faq-list .qa summary:focus-visible { outline: 2px solid #14B86A; outline-offset: 4px; border-radius: 4px; }
.faq-list .qa p { max-width: 68ch; margin: -2px 52px 22px 0; color: #B9C4D3; font-size: 15px; line-height: 1.75; }
.theme-igaming .steps .card:not(.card-accent) { border-top: 4px solid var(--accent); box-shadow: 0 14px 36px rgba(11,18,32,0.08); }
.theme-igaming .steps .card { gap: 14px; }
.theme-igaming .step-marker { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--accent-tint); border: 2px solid var(--accent); color: var(--accent-text); font-family: 'Bebas Neue', sans-serif; font-size: 28px; line-height: 1; }
.theme-igaming .card-accent .step-marker { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.theme-igaming .cta-band { background: linear-gradient(90deg, #0B7A45 0%, #0B7A45 100%); color: #fff; }
.theme-igaming .cta-band .h2 { color: #fff; }
.small-print { text-align: center; font-size: 14px; color: #B9A9D6; margin-top: 18px; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 1.4em; margin: 0; color: var(--accent); font-size: 14px; font-weight: 600; }
.form-status.is-error { color: #ff8b8b; }

/* ---------- responsive tweaks ---------- */
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .card, .price-card { padding: 24px; }
  .price { font-size: 48px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .theme-igaming .h2 { font-size: clamp(36px, 10vw, 54px); }
  .theme-igaming .display { font-size: clamp(42px, 14vw, 76px); }
  .faq-list { border-radius: 14px; }
  .faq-list .qa { padding: 0 18px; }
  .faq-list .qa summary { min-height: 66px; gap: 14px; font-size: 15px; }
  .faq-list .qa p { margin-right: 0; margin-bottom: 20px; font-size: 14px; }
}
