/* ============================================================
   DESIGN SYSTEM LAYER — extends global.css with trust + depth
   Loaded after main.css; overrides where needed.
   ============================================================ */

/* ---------- 1. BACKGROUND: textured, not flat ---------- */
body {
  background:
    radial-gradient(ellipse 1200px 800px at top center, rgba(201,149,15,.04) 0%, transparent 60%),
    radial-gradient(ellipse 800px 600px at bottom right, rgba(185,28,28,.03) 0%, transparent 50%),
    linear-gradient(180deg, #efebe1 0%, #f0eee8 100%);
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.1  0 0 0 0 0.18  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .6;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

main, .nav, .ft, .mob-cta { position: relative; z-index: 1; }

/* ---------- 2. TYPOGRAPHY: serif accents for editorial trust ---------- */
.page-head h1,
article h1 {
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  color: #1a1424;
  margin-bottom: 0.5rem;
}

article h2 {
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.015em;
  color: #1e1a2e;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(201,149,15,.25);
  display: inline-block;
  position: relative;
}

article h2::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 8px;
  bottom: 12px;
  width: 4px;
  background: linear-gradient(180deg, #c9950f, #a87c00);
  border-radius: 2px;
}

article h3 {
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: #2a2438;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}

article p {
  margin-bottom: 1.1rem;
  color: #3d3a50;
  line-height: 1.72;
}

article p strong, article p b { color: #1e1a2e; font-weight: 700; }

article a {
  color: #a87c00;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(201,149,15,.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: all .2s;
}
article a:hover {
  text-decoration-color: #c9950f;
  text-decoration-thickness: 2px;
}

/* ---------- 3. TRUST BAR — Editorial signature under H1 ---------- */
.editorial-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 12px 16px;
  margin: 0 0 1.75rem 0;
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.4) 100%);
  border: 1px solid rgba(184,168,142,.35);
  border-radius: 10px;
  font-size: 13px;
  color: #4a4560;
}
.editorial-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.editorial-meta-item svg { flex-shrink: 0; opacity: .65; }
.editorial-meta strong { color: #1e1a2e; font-weight: 600; }
.editorial-meta-divider { color: rgba(0,0,0,.18); }

/* ---------- 4. LICENSE / AUTHORITY STRIP ---------- */
.authority-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  padding: 20px 24px;
  margin: 2rem 0;
  background: linear-gradient(180deg, #fffdf7 0%, #f8f4eb 100%);
  border: 1px solid rgba(184,168,142,.4);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(14,10,26,.04), inset 0 1px 0 rgba(255,255,255,.6);
}
.authority-strip img {
  height: 40px;
  width: auto;
  opacity: .82;
  filter: grayscale(.3);
  transition: opacity .2s, filter .2s;
}
.authority-strip img:hover { opacity: 1; filter: grayscale(0); }
.authority-strip-label {
  width: 100%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8398;
  margin-bottom: 4px;
  font-weight: 600;
}

/* ---------- 5. METHODOLOGY CALLOUT ---------- */
.methodology {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(201,149,15,.06) 0%, rgba(201,149,15,.02) 100%);
  border-left: 4px solid #c9950f;
  border-radius: 0 10px 10px 0;
}
.methodology-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid rgba(201,149,15,.3);
  border-radius: 50%;
  color: #a87c00;
}
.methodology-content { font-size: 14px; line-height: 1.6; }
.methodology-content strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a87c00;
  margin-bottom: 4px;
  font-weight: 700;
}
.methodology-content p { margin: 0; color: #3d3a50; }

/* ---------- 6. AFFILIATE DISCLOSURE — quiet but visible ---------- */
.aff-disclosure {
  font-size: 12px;
  color: #6b6880;
  padding: 10px 14px;
  margin: 1rem 0;
  background: rgba(255,255,255,.5);
  border: 1px dashed rgba(184,168,142,.5);
  border-radius: 6px;
  line-height: 1.5;
}
.aff-disclosure strong { color: #4a4560; }

/* ---------- 7. CARDS — depth without glass ---------- */
.bonus, .ka, .key-fact {
  background: linear-gradient(180deg, #fffefb 0%, #faf7ef 100%);
  border: 1px solid rgba(184,168,142,.35);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(14,10,26,.04), 0 2px 12px rgba(14,10,26,.04);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.bonus:hover, .ka:hover, .key-fact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(14,10,26,.05), 0 12px 32px rgba(14,10,26,.08);
}

/* ---------- 8. CTA buttons — more solid, less generic ---------- */
.nav-cta,
.sc2-btn--primary,
.mc-p,
a[data-cta]:not(.sc2-btn--ghost):not(.mc-s):not(.sc2-hero-btn--outline) {
  background: linear-gradient(180deg, #c41f1f 0%, #9e1717 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.2) inset,
    0 -1px 0 rgba(0,0,0,.15) inset,
    0 2px 8px rgba(185,28,28,.3);
  position: relative;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- 9. References / citations block ---------- */
.references {
  margin: 2rem 0;
  padding: 16px 20px;
  background: rgba(255,255,255,.4);
  border-top: 1px solid rgba(184,168,142,.4);
  border-bottom: 1px solid rgba(184,168,142,.4);
  font-size: 13px;
  line-height: 1.6;
}
.references-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #8a8398;
  margin-bottom: 8px;
}
.references ol { padding-left: 1.4rem; color: #4a4560; }
.references li { margin-bottom: 4px; }
.references a { font-weight: 500; }

/* ---------- 10. Verified badge inline ---------- */
.verified-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(34,139,87,.1);
  color: #1a7a4a;
  border-radius: 999px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

/* ---------- 11. Container width for content readability ---------- */
.page {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 2rem var(--gutter) 3rem;
}

.page--with-sidebar .layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .page--with-sidebar .layout-grid {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
  .page--with-sidebar .layout-main { min-width: 0; }
}

/* ---------- 12. Breadcrumbs styling ---------- */
.breadcrumbs {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 14px var(--gutter) 0;
  font-size: 13px;
  color: #6b6880;
}
.breadcrumbs a { color: #6b6880; text-decoration: none; }
.breadcrumbs a:hover { color: #a87c00; }
.breadcrumbs-separator { margin: 0 8px; opacity: .5; }
.breadcrumbs-current { color: #4a4560; }

/* ---------- 13. Hero zone (full-width dark band on top) ---------- */
.hero-zone {
  background:
    radial-gradient(ellipse 1200px 600px at 50% 0%, rgba(201,149,15,.08) 0%, transparent 60%),
    linear-gradient(180deg, #0a0810 0%, #120e18 100%);
  position: relative;
  padding: 1.5rem 0 3rem;
  border-bottom: 1px solid rgba(201,149,15,.15);
  margin-bottom: 2rem;
}

.hero-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='1'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
}

.hero-zone .layout {
  position: relative;
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-zone .layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas:
      "embed sidebar"
      "content content";
    gap: 1.5rem 2rem;
  }
  .hero-zone .game-embed { grid-area: embed; }
  .hero-zone .side { grid-area: sidebar; }
  .hero-zone .content { grid-area: content; }
}

/* ---------- 14. Game Embed (big hero card with overlay) ---------- */
.game-embed {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.3);
  position: relative;
  background: #000;
}
.ge-wrap {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
}
.ge-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ge-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 24px 22px;
  background: linear-gradient(0deg, rgba(5,3,12,.92) 0%, rgba(5,3,12,.4) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ge-title {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  margin: 0;
}
.ge-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 460px;
}
.ge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 10px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  min-height: 48px;
  touch-action: manipulation;
  text-align: center;
}
.ge-btn--demo {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.ge-btn--demo:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.4);
}
.ge-btn--real {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  box-shadow: 0 4px 18px rgba(185,28,28,.55), inset 0 1px 0 rgba(255,255,255,.2);
}
.ge-btn--real:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(185,28,28,.7), inset 0 1px 0 rgba(255,255,255,.25);
}

/* sidebar inside hero-zone — needs lighter card */
.hero-zone .side .sc2 {
  background: linear-gradient(180deg, #1a1424 0%, #0c0a12 100%);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

/* Content area starts on lighter background */
.hero-zone .content {
  background: var(--bg);
  border-radius: 16px;
  padding: 2rem var(--gutter);
  box-shadow: 0 -8px 32px rgba(0,0,0,.04);
}

/* ============================================================
   CASINO CARDS — clean editorial layout
   ============================================================ */
.sec--casinos { padding: 56px 0; }
.sec-sub {
  font-size: 16px;
  color: var(--mut, #6b7280);
  margin: 0 0 32px;
  max-width: 640px;
}
.casino-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 0 24px;
}
@media (min-width: 768px) {
  .casino-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .casino-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.casino-card {
  background: linear-gradient(180deg, #fff 0%, #faf7ef 100%);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.casino-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.06), 0 16px 32px rgba(0,0,0,.08);
}
.casino-card__head {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: relative;
}
.casino-card__head::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent, #b91c1c);
  background: linear-gradient(90deg, var(--accent, #b91c1c), color-mix(in srgb, var(--accent, #b91c1c) 60%, transparent));
}
.casino-card__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.casino-card__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--txt, #1f2937);
  letter-spacing: -0.01em;
}
.casino-card__rating {
  font-size: 13px;
  color: #c9950f;
  font-weight: 600;
  white-space: nowrap;
}
.casino-card__rating em {
  font-style: normal;
  color: var(--txt, #1f2937);
}
.casino-card__usps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #4b5563;
}
.casino-card__usps span { display: block; }
.casino-card__body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  justify-content: space-between;
}
.casino-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 12px;
  background: rgba(201,149,15,.05);
  border-radius: 8px;
}
.casino-card__row .lbl {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 2px;
}
.casino-card__row strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--txt, #1f2937);
  line-height: 1.3;
}
.casino-card__cta {
  display: block;
  text-align: center;
  background: linear-gradient(180deg, #b91c1c 0%, #991b1b 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(185,28,28,.25);
}
.casino-card__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(185,28,28,.35);
}
.casino-disclaimer {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  margin: 24px 0 0;
}
.casino-disclaimer a { color: var(--accent, #b91c1c); }

/* ============================================================
   AUTHORITY PILLS — inline SVG, work on light bg
   ============================================================ */
.authority-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.auth-pill:hover {
  background: #fff;
  border-color: rgba(0,0,0,.15);
  color: var(--txt, #1f2937);
}
.auth-pill svg {
  flex-shrink: 0;
  color: #c9950f;
}

/* ============================================================
   MAIN CONTENT — light bg below hero-zone
   ============================================================ */
.main-content {
  background: transparent;  /* inherit body's light bg */
  position: relative;
  z-index: 1;
}
.main-content .layout {
  max-width: var(--mw, 1200px);
  margin: 0 auto;
  padding: 0 var(--gutter, 20px);
}
.main-content .content {
  background: transparent;
  color: var(--txt, #1f2937);
}
.main-content .content h2,
.main-content .content h3,
.main-content .content h4 {
  color: var(--txt, #1f2937);
}
.main-content .content p,
.main-content .content li,
.main-content .content td {
  color: #374151;
}

/* Hero-zone должен быть только сверху, ограничен */
.hero-zone {
  margin-bottom: 0;
}
