/* =========================================================================
   SEO Landing — shared stylesheet (mobile-first).
   Brand colours are injected per-site via :root variables in the page <head>,
   so this single file is identical across every brand and fully cacheable.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 560px at 50% -8%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 70%),
    radial-gradient(820px 480px at 88% 4%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1040px; margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 720px; }

/* ---- Accessibility ---- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: #11131c; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Buttons ---- */
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 28px; min-height: 52px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1.05rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  color: #11131c;
  background: var(--accent);
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #fff));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 34%, transparent);
}
.btn-ghost {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 7%, transparent);
  border-color: color-mix(in srgb, var(--text) 22%, transparent);
}

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-wordmark {
  font-weight: 800; font-size: 1.4rem; letter-spacing: .04em; color: var(--accent);
}
.brand-logo { height: 36px; width: auto; }
.site-nav { display: none; gap: 20px; margin-left: auto; }
.site-nav a { color: var(--muted); font-weight: 600; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.lang-switch { margin-left: auto; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--text) 8%, transparent); }
.site-nav + .lang-switch { margin-left: 0; }
.lang-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 30px; padding: 0 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.lang-pill.is-active { background: var(--accent); color: #11131c; }
a.lang-pill:hover { color: var(--text); text-decoration: none; }

/* ---- Hero ---- */
.hero { padding: 52px 0 34px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-title {
  font-size: clamp(2rem, 8.5vw, 3.4rem); line-height: 1.08; margin: 0; letter-spacing: -.01em;
  max-width: 18ch; color: var(--text);
}
.hero-slogan { font-size: 1.1rem; color: var(--muted); max-width: 48ch; margin: 0 0 6px; }
.cta-note { font-size: .82rem; color: var(--muted); margin: 8px 0 0; }

/* Gradient text only where supported, so unsupported browsers keep solid text. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title {
    background: linear-gradient(135deg, var(--text) 35%, var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}

/* ---- Selling points ---- */
.usp { padding: 16px 0 44px; }
.usp-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.usp-card {
  background: var(--surface);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--bg) 88%, transparent));
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-radius: 16px; padding: 24px;
}
.usp-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 14px; margin-bottom: 14px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 15%, transparent);
}
.usp-title { font-size: 1.16rem; margin: 0 0 6px; }
.usp-text { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---- Games showcase ---- */
.games { padding: 6px 0 44px; }
.games-head { font-size: 1.4rem; margin: 0 0 18px; text-align: center; }
.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.game-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 12px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: var(--surface);
  background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 28%, var(--surface)), color-mix(in srgb, var(--bg) 86%, transparent));
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  transition: transform .15s ease, border-color .15s ease;
}
.game-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); text-decoration: none; }
.game-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, transparent); }
.game-ico .icon { width: 26px; height: 26px; }
.game-name { font-weight: 700; font-size: .98rem; }
@media (min-width: 560px) { .game-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .game-grid { grid-template-columns: repeat(6, 1fr); } }

/* ---- Popular games (real thumbnails) ---- */
.popular { padding: 4px 0 44px; }
.pop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pop-tile { display: block; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); transition: transform .15s ease, border-color .15s ease; }
.pop-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); text-decoration: none; }
.pop-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: var(--surface-2); }
.pop-name { display: block; padding: 8px 10px; font-size: .8rem; font-weight: 600; text-align: center; }
@media (min-width: 560px) { .pop-grid { grid-template-columns: repeat(6, 1fr); } }

/* ---- FAQ ---- */
.faq { padding: 6px 0 50px; }
.faq-head { font-size: 1.4rem; margin: 0 0 18px; text-align: center; }
.faq-item { border: 1px solid color-mix(in srgb, var(--text) 12%, transparent); border-radius: 12px; margin-bottom: 10px; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.faq-q { cursor: pointer; padding: 15px 46px 15px 18px; font-weight: 700; list-style: none; position: relative; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.35rem; line-height: 1; color: var(--accent); }
.faq-item[open] .faq-q::after { content: "\2212"; }
.faq-a { padding: 0 18px 15px; color: var(--muted); }

/* ---- Section heads / latest guides ---- */
.latest { padding: 14px 0 50px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 1.4rem; }
.text-link { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ---- All-guides link list (crawl paths from the landing page) ---- */
.guides { padding: 0 0 50px; }
.guide-links {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 2px;
}
.guide-links li { border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.guide-links a {
  display: block; padding: 11px 2px; color: var(--muted);
  font-size: 0.95rem; line-height: 1.4;
}
.guide-links a:hover, .guide-links a:focus-visible { color: var(--accent); }
@media (min-width: 700px) { .guide-links { grid-template-columns: 1fr 1fr; column-gap: 28px; } }

/* ---- Article cards / grid ---- */
.article-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.article-card {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-radius: 14px; padding: 22px; display: flex; flex-direction: column;
}
.article-card-title { font-size: 1.14rem; margin: 0 0 8px; }
.article-card-title a { color: var(--text); }
.article-card-title a:hover { color: var(--accent); text-decoration: none; }
.article-card-meta { color: var(--muted); font-size: .8rem; margin: 0 0 10px; }
.article-card-excerpt { color: var(--muted); margin: 0 0 14px; font-size: .96rem; flex: 1; }
.article-card-link { color: var(--accent); font-weight: 600; }

/* ---- Breadcrumb ---- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 20px 0 4px; font-size: .85rem; }
.breadcrumb li { color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---- Page head / article ---- */
.page-head { padding: 30px 0 6px; }
.page-intro { color: var(--muted); max-width: 60ch; }
.article { padding-bottom: 8px; }
.article-head h1 { font-size: clamp(1.7rem, 5.5vw, 2.4rem); margin: 8px 0 8px; }
.article-meta { color: var(--muted); font-size: .85rem; margin: 0 0 24px; }

/* ---- Prose ---- */
.prose { font-size: 1.05rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.5rem; margin: 1.7em 0 .5em; }
.prose h3 { font-size: 1.22rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose code { background: color-mix(in srgb, var(--text) 12%, transparent); padding: .12em .4em; border-radius: 6px; font-size: .9em; }
.prose pre { background: #0b0e1a; border: 1px solid color-mix(in srgb, var(--text) 12%, transparent); padding: 16px; border-radius: 12px; overflow: auto; }
.prose pre code { background: none; padding: 0; }
.prose img { border-radius: 12px; margin: 1.2em 0; }
.article-foot { margin-top: 36px; padding-top: 26px; border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent); text-align: center; }
.article-foot .back-link { display: inline-block; margin-top: 16px; color: var(--muted); }
.related { margin-top: 26px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
.related h2 { font-size: 1.2rem; margin: 0 0 12px; }
.related-list { margin: 0; padding-left: 1.1em; }
.related-list li { margin: .4em 0; }
.related-list a { color: var(--accent); }

/* ---- Footer ---- */
.site-footer {
  margin-top: 34px; padding: 36px 0;
  border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  background: color-mix(in srgb, var(--bg) 55%, #000 45%);
}
.footer-inner { display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-tagline { color: var(--muted); margin: 6px 0 0; max-width: 42ch; }
.footer-tg { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.footer-tg:hover { color: var(--text); text-decoration: none; }
.footer-tg .icon { width: 18px; height: 18px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.footer-nav a { color: var(--muted); font-weight: 600; }
.footer-nav a:hover { color: var(--text); text-decoration: none; }
.footer-rg { font-size: .82rem; color: var(--muted); max-width: 64ch; margin: 8px auto 0; }
.footer-copy { font-size: .8rem; color: color-mix(in srgb, var(--muted) 75%, transparent); margin: 0; }
.icon { display: block; }

/* ---- Responsive enhancements (mobile-first → larger screens) ---- */
@media (min-width: 700px) {
  .site-nav { display: flex; }
  .lang-switch { margin-left: 0; }
  .usp-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 84px 0 56px; }
  .footer-inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; align-items: flex-start; }
  .footer-brand { align-items: flex-start; }
  .footer-rg, .footer-copy { width: 100%; }
}
@media (min-width: 1000px) {
  .article-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   Skin: neon — bc.game-inspired glow, opt-in per brand via brand.skin.
   Only affects brands that set "skin":"neon" (FU99). FU88/FL88 untouched.
   ========================================================================= */
.skin-neon {
  background-image:
    radial-gradient(1150px 580px at 50% -10%, color-mix(in srgb, var(--primary) 40%, transparent), transparent 66%),
    radial-gradient(720px 520px at 8% 6%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 60%),
    radial-gradient(820px 520px at 92% 4%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
}
.skin-neon .btn-primary {
  box-shadow: 0 0 22px color-mix(in srgb, var(--primary) 55%, transparent), 0 10px 30px color-mix(in srgb, var(--accent) 38%, transparent);
}
.skin-neon .btn-primary:hover {
  box-shadow: 0 0 34px color-mix(in srgb, var(--primary) 72%, transparent), 0 14px 38px color-mix(in srgb, var(--accent) 48%, transparent);
}
.skin-neon .usp-icon, .skin-neon .game-ico {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 55%, var(--accent)));
  box-shadow: 0 0 18px color-mix(in srgb, var(--primary) 45%, transparent);
}
.skin-neon .usp-card, .skin-neon .article-card, .skin-neon .faq-item { border-color: color-mix(in srgb, var(--primary) 26%, transparent); }
.skin-neon .game-tile, .skin-neon .pop-tile { border-color: color-mix(in srgb, var(--primary) 30%, transparent); }
.skin-neon .game-tile:hover, .skin-neon .pop-tile:hover {
  border-color: var(--primary);
  box-shadow: 0 0 22px color-mix(in srgb, var(--primary) 50%, transparent);
  transform: translateY(-3px);
}
.skin-neon .site-header { border-bottom-color: color-mix(in srgb, var(--primary) 32%, transparent); }
.skin-neon .brand-wordmark { color: var(--accent); }
.skin-neon .text-link, .skin-neon a.lang-pill:hover { color: var(--primary); }
