/* ==========================================================================
   THEME: "Rhein Slate" (DE-facing, trust-first, conversion-oriented)
   Notes:
   - Selectors/classes preserved to avoid HTML conflicts.
   - Visual system changed: palette, typography, radii, shadows, motion.
   ========================================================================== */

/* Optional webfonts (can be removed if you prefer system-only) */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ==========================================================================
   1) VARIABLES & THEME SETUP
   ========================================================================== */
:root {
  /* --- Colors: Backgrounds --- */
  --bg-body: #060814;         /* Deep slate navy */
  --bg-panel: #0b1225;        /* Section surface */
  --bg-card: #0f1933;         /* Card surface */
  --bg-card-hover: #142247;   /* Interactive surface */

  /* --- Colors: Text --- */
  --text-main: #f5f7ff;
  --text-muted: #b8c3df;
  --text-dim: #7f8aad;

  /* --- Colors: Accents (DE: calmer, more "regulated" look) --- */
  --primary: #3b82f6;         /* Blue = trust */
  --primary-dark: #1d4ed8;
  --action: #f97316;          /* Orange CTA */
  --action-hover: #ea580c;
  --success: #22c55e;
  --gold: #facc15;

  /* --- Utils --- */
  --border: rgba(255, 255, 255, 0.10);
  --border-light: rgba(255, 255, 255, 0.18);

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow: 0 14px 34px rgba(0, 0, 0, 0.45);

  /* --- Layout --- */
  --container-width: 1120px;
  --header-height: 72px;

  /* --- Typography --- */
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* --- Motion --- */
  --t-fast: 140ms;
  --t-base: 220ms;
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ==========================================================================
   2) RESET & BASE
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  /* Unique background: radial glow + very subtle grid */
  background-image:
    radial-gradient(800px 380px at 15% 10%, rgba(59, 130, 246, 0.16), transparent 65%),
    radial-gradient(700px 360px at 85% 20%, rgba(249, 115, 22, 0.12), transparent 62%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;

  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; transition: color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: #fff;
  letter-spacing: -0.02em;
}

/* Better focus for accessibility (and DE trust vibe) */
:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.65);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ==========================================================================
   3) HEADER & NAVIGATION
   ========================================================================== */
header {
  height: var(--header-height);
  background: rgba(6, 8, 20, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img { height: 34px; width: auto; }

/* Desktop Nav */
.desktop-nav { display: flex; gap: 1.75rem; }
.desktop-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(184, 195, 223, 0.90);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(34, 197, 94, 0.75));
  transition: width var(--t-base) var(--ease);
  opacity: 0.9;
}
.desktop-nav a:hover { color: #fff; }
.desktop-nav a:hover::after { width: 100%; }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(11, 18, 37, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 0.75rem 0;
  box-shadow: var(--shadow);
  z-index: 999;
}
.mobile-nav.active { display: flex; }

.mobile-nav a {
  display: block;
  padding: 1rem 2rem;
  color: var(--text-main);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover {
  background: rgba(255,255,255,0.04);
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 34px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: rgba(245, 247, 255, 0.92);
  position: absolute;
  left: 0;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease), top var(--t-base) var(--ease), bottom var(--t-base) var(--ease);
  border-radius: 10px;
}

.hamburger span:nth-child(1) { top: 1px; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 1px; }

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 992px) {
  .desktop-nav { display: none; }
  .hamburger { display: block; }
}
@media (min-width: 993px) {
  .mobile-nav { display: none !important; }
  .hamburger { display: none !important; }
}

/* ==========================================================================
   4) LAYOUT & CONTENT
   ========================================================================== */
main { padding: 3.25rem 0; }

.main-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.content-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.content-section::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(500px 180px at 15% 10%, rgba(59,130,246,0.14), transparent 60%),
    radial-gradient(500px 180px at 85% 0%, rgba(249,115,22,0.10), transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}

.content-section > * { position: relative; }

.content-section h1 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid rgba(59, 130, 246, 0.95);
}

.content-section h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

.content-section h3 {
  font-size: 1.25rem;
  margin: 1.4rem 0 0.75rem;
}

.content-section p {
  margin-bottom: 1.1rem;
  color: rgba(184,195,223,0.92);
}

.content-section img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.10);
  margin: 2rem auto;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}

/* Standard Lists inside Content */
.content-section ul:not(.features-list):not(.toc-list),
.content-section ol:not(.neon-steps):not(.ribbon-list) {
  margin-bottom: 1.4rem;
  padding-left: 1.4rem;
  list-style: disc;
  color: rgba(184,195,223,0.92);
}
.content-section li { margin-bottom: 0.5rem; }

/* ==========================================================================
   5) CASINO CARDS (Core)
   ========================================================================== */
.casino-block { margin-top: 2rem; }
h2.casino-block { border: none; padding: 0; margin-bottom: 1.25rem; }

.casino-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.010));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}

.casino-card::before {
  /* Left accent rail (unique vs competitor) */
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), rgba(34,197,94,0.75));
  opacity: 0.85;
}

.casino-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59,130,246,0.55);
  box-shadow: var(--shadow);
}

/* Rank Badge (now circular + calmer) */
.rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 8, 20, 0.80);
  color: rgba(245,247,255,0.88);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  z-index: 10;
}

/* Card Header */
.card-header {
  background: rgba(255, 255, 255, 0.018);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 1.5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
}

.logo-wrapper img.logo-img {
  width: 86px;
  height: 44px;
  object-fit: contain;
  /* Unique: glassy logo chip (no pure white slab) */
  background: rgba(245,247,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 6px;
}

.casino-name {
  font-weight: 800;
  font-size: 1.02rem;
  display: block;
  letter-spacing: -0.01em;
}

.rating-score {
  font-size: 0.88rem;
  color: rgba(250, 204, 21, 0.95);
}

.offer-wrapper { flex: 1; text-align: center; }
.offer-text {
  font-size: 1.08rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
}
.offer-highlight { color: rgba(249,115,22,0.98); }

/* Card Body */
.card-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.features-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(184,195,223,0.92);
  margin-bottom: 0.55rem;
}

.icon-check {
  color: rgba(34,197,94,0.95);
  font-weight: 900;
}

/* Actions */
.actions-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 220px;
  gap: 0.6rem;
}

.btn-cta {
  display: inline-block;
  /* Unique: layered gradient + subtle border */
  background:
    linear-gradient(135deg, rgba(249,115,22,1) 0%, rgba(234,88,12,1) 55%, rgba(59,130,246,0.95) 120%);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  width: 100%;
  text-align: center;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,0.10);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), filter var(--t-fast) var(--ease);
}

.btn-cta::after {
  /* sheen */
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 55%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: rotate(18deg);
  transition: left var(--t-base) var(--ease);
  opacity: 0.85;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(249,115,22,0.20), 0 10px 26px rgba(59,130,246,0.14);
  filter: saturate(1.03);
}
.btn-cta:hover::after { left: 120%; }

.link-review {
  font-size: 0.82rem;
  color: rgba(127,138,173,0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease);
}
.link-review:hover { color: rgba(184,195,223,0.98); }

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  margin-top: 6px;
}

.payment-tag {
  font-size: 11px;
  background: rgba(6, 8, 20, 0.62);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  color: rgba(184,195,223,0.90);
}

.card-footer {
  padding: 0.65rem 1.5rem;
  background: rgba(0,0,0,0.16);
  font-size: 0.78rem;
  color: rgba(127,138,173,0.95);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   6) TABLES & SPECIAL LISTS
   ========================================================================== */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  background: rgba(6,8,20,0.25);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

table th, table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

table tr:first-child {
  background: rgba(255,255,255,0.04);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* Neon Steps (re-styled to match new theme) */
ol.neon-steps {
  counter-reset: step;
  list-style: none !important;
  padding: 0;
}

ol.neon-steps li {
  position: relative;
  padding-left: 64px;
  margin-bottom: 1.25rem;
}

ol.neon-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(59,130,246,0.75);
  color: #fff;
  border-radius: 14px; /* unique (not circle) */
  text-align: center;
  line-height: 38px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

/* ==========================================================================
   7) INTERACTIVE (TOC & FAQ)
   ========================================================================== */
.content-toggle-btn {
  width: 100%;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.content-toggle-btn:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

.table-of-contents {
  background: rgba(6,8,20,0.40);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 1.35rem;
  display: none;
  border-radius: var(--radius-md);
}
.table-of-contents.active { display: block; }

.toc-list li { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0.6rem 0; }
.toc-list li:last-child { border-bottom: none; }
.toc-list a:hover { color: rgba(59,130,246,0.95); }

/* FAQ */
.faq-container {
  max-width: 100%;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 0.9rem;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.4rem;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.faq-question:hover { background: rgba(255,255,255,0.035); }

.faq-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1.55rem;
  line-height: 1;
  color: rgba(59,130,246,0.95);
  transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--t-base) var(--ease), opacity var(--t-base) var(--ease), padding var(--t-base) var(--ease);
  padding: 0 1.4rem;
  color: rgba(184,195,223,0.92);
  line-height: 1.7;
}

.faq-question.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: rgba(34,197,94,0.95);
}

.faq-answer.open {
  max-height: 520px;
  opacity: 1;
  padding-bottom: 1.25rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ==========================================================================
   8) FOOTER
   ========================================================================== */
footer {
  background: rgba(2, 3, 10, 0.92);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 3rem 0 4rem;
  margin-top: 4rem;
  font-family: var(--font-body);
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(184,195,223,0.85);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.footer-links a:hover { color: #fff; }

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, rgba(59,130,246,0.95), rgba(249,115,22,0.90));
  transition: width var(--t-base) var(--ease);
}
.footer-links a:hover::after { width: 100%; }

.footer-container p {
  color: rgba(127,138,173,0.95);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0;
}

.footer-container p:last-child {
  margin-top: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.10);
  width: 100%;
  max-width: 420px;
  font-weight: 700;
  color: rgba(184,195,223,0.92);
}

/* ==========================================================================
   9) RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .content-section { padding: 1.5rem; }
  .content-section h1 { font-size: 1.85rem; }

  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .logo-wrapper {
    flex-direction: column;
    width: 100%;
    min-width: 0;
  }

  .card-body {
    flex-direction: column;
    padding: 1.1rem;
    gap: 1.25rem;
  }

  .features-list {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 1rem !important;
  }

  .features-list li { justify-content: center; }

  .actions-wrapper {
    width: 100%;
    align-items: center;
    min-width: 0;
  }

  .payment-methods { justify-content: center; }

  .rank-badge {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  footer {
    padding: 2rem 0 2.5rem;
    margin-top: 2rem;
  }
}

/* ==========================================================================
   10) REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   ГАЛЕРЕЯ-СЛАЙДЕР (HOVER GALLERY)
   ========================================================================== */

/* Скрываем пустые абзацы, которые часто плодит WordPress/CMS перед блоками */
p:empty, p:has(> br:only-child) { 
  display: none !important; 
}

/* 1. Главный контейнер (адаптивный) */
.hover-gallery {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 11 / 5;
  
  /* Тот самый фикс: принудительно подтягиваем блок вверх (-32px) и делаем отступ внизу (24px) */
  margin: 0px auto 24px auto !important; 
  
  border-radius: 16px;
  overflow: hidden; 
  background-color: #1a1a1a; 
  transform: translateZ(0); 
  z-index: 5; /* Чтобы при отрицательном отступе блок не перекрывался текстом */
}

/* 2. Лента скролла (По умолчанию для мобильных) */
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto; 
  scroll-snap-type: x mandatory; 
  scrollbar-width: none; 
  -ms-overflow-style: none; 
  -webkit-overflow-scrolling: touch; 
}
.gallery-track::-webkit-scrollbar {
  display: none; 
}

/* 3. Картинки на мобильных (Жестко задаем видимость) */
.gallery-track img {
  position: static !important; 
  opacity: 1 !important; 
  flex: 0 0 100%; 
  width: 100%;
  height: 100%;
  object-fit: cover; 
  scroll-snap-align: center; 
  margin: 0 !important; /* Отменяем глобальный margin: 2rem для img из темы */
  box-shadow: none !important; /* Отменяем тень от темы для img */
  border: none !important;
  border-radius: 0 !important;
}

/* 4. СТИЛИ ДЛЯ ДЕСКТОПОВ (ПК - от 768px и шире) */
@media (min-width: 768px) {
  .gallery-track {
    overflow: hidden; 
  }
  
  .gallery-track img {
    position: absolute !important;
    top: 0;
    left: 0;
    opacity: 0 !important; 
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .gallery-track > *:first-child img,
  .gallery-track img.active {
    opacity: 1 !important;
  }

  .gallery-triggers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 10;
  }
  .gallery-triggers .trigger {
    flex: 1;
    height: 100%;
    cursor: pointer;
  }
}

/* 5. ИНДИКАТОРЫ */
.gallery-indicators {
  position: absolute;
  bottom: 20px; 
  left: 50%; 
  transform: translateX(-50%);
  display: flex;
  width: 80%; 
  max-width: 600px; 
  gap: 8px;
  z-index: 11;
  pointer-events: none; 
}

.gallery-indicators .indicator {
  flex: 1;
  height: 4px; 
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.gallery-indicators .indicator.active {
  background-color: #ffffff;
}

/* Делаем ссылки "прозрачными" для сетки, чтобы они не ломали верстку и свайп */
.gallery-track a {
  display: contents;
}
