

:root {
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body:    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg:        #13080E;   /* dark plum-magenta page background (banner_6) */
  --bg-2:      #1A0D14;   /* header/footer background */
  --panel:     #190C13;   /* section panel background */
  --card:      #281620;   /* cards and table cells */
  --card-2:    #341F2A;   /* hovers, table zebra */
  --line:      #513443;   /* borders */

  --gold:      #F5468C;   /* primary accent — hot pink (banner_6) */
  --gold-2:    #FF74AC;   /* light pink (gradient) */
  --green:     #12A9CE;   /* cyan accent / success / win amounts */
  --hl:        #E7B24A;   /* gold highlight — crowns, stars, VIP */
  --hl-2:      #FFD277;   /* light gold */
  --on-hl:     #2A1E05;   /* text on gold */

  --text:      #FBEAF1;   /* primary text (warm white) */
  --muted:     #C29BAE;   /* secondary text (muted rose) */
  --on-gold:   #2C0714;   /* text on pink button */
  --on-green:  #04222B;   /* text on cyan button */

  --radius:    14px;
  --radius-lg: 20px;
  --shadow:    0 10px 30px rgba(0, 0, 0, .35);
  --header-h:  68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 15% -5%, rgba(245, 70, 140, .07), transparent 60%),
    radial-gradient(800px 400px at 100% 0%, rgba(35, 209, 139, .05), transparent 55%),
    var(--bg);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ============================================================
   ICON SYSTEM (separate files in images/icons, used as <img>)
   Usage: <img class="ic" src="images/icons/lock.svg" alt="">
   Icon color is baked into the SVG files (gold). To recolor,
   find/replace #F34986 inside images/icons/*.svg.
   ============================================================ */
.ic { width: 24px; height: 24px; display: inline-block; flex-shrink: 0; }
.ti { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 9px; flex-shrink: 0; }


/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 20, 31, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

/* Логотип */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .5px;
  color: var(--text);
}
.logo:hover { text-decoration: none; }
.logo__icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--on-gold);
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(245, 70, 140, .35);
}
.logo__text span { color: var(--gold); }

/* Навигация */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav__link {
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover {
  color: var(--text);
  background: var(--card-2);
  text-decoration: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, filter .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn:active { transform: scale(.97); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--on-gold);
}
.btn--green {
  background: linear-gradient(135deg, #17B377, var(--green));
  color: var(--on-green);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn--lg { padding: 15px 34px; font-size: 17px; }

/* «Дыхание» + подсветка кнопки регистрации */
.btn--breathe {
  animation: breathe 2.4s ease-in-out infinite;
  will-change: transform, box-shadow;
}
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 70, 140, .55), 0 6px 18px rgba(245, 70, 140, .25);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 9px rgba(245, 70, 140, 0), 0 10px 28px rgba(245, 70, 140, .45);
  }
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   КОНТЕНТ
   ============================================================ */
.page-title {
  font-family: var(--font-display);
  margin: 28px 0 18px;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: .5px;
  text-align: center;
  background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, #FFF2C4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-family: var(--font-display);
  margin: 0 0 18px;
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--hl) 70%, transparent);
}
h3 { font-family: var(--font-display); margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }

/* Each section is a distinct panel: subtle raised background + border,
   so blocks are clearly separated from the page and from each other. */
.section {
  margin: 22px 0;
  padding: 28px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.section p { margin: 0 0 14px; color: var(--text); }
.section p:last-child { margin-bottom: 0; }
/* intro reads as lead text, not a heavy box */
.intro { margin: 20px 0; padding: 22px 26px; }
.intro p { color: #E7D3DD; margin: 0; }

/* Баннеры */
.banner {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(245, 70, 140, .18);
}
.banner img { width: 100%; }
.banner--slim { margin: 44px 0; }

.cta-row { margin: 30px 0; text-align: center; }

/* ---------- Tables (cell-block style) ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.info-table {
  width: 100%;
  border-collapse: separate;      /* needed for gaps + per-cell rounding */
  border-spacing: 8px;            /* small gap between every cell */
  background: transparent;
  font-size: 15px;
}
.info-table th,
.info-table td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card-2);      /* value cells */
  color: var(--text);
}
/* left column (row headers): tinted + bold, hugs its label */
.info-table th[scope="row"] {
  width: 1%;
  white-space: nowrap;
  font-weight: 700;
  color: var(--text);
  background: rgba(245, 70, 140,.07);
  border-color: rgba(245, 70, 140,.22);
  padding-right: 26px;
}
.info-table th[scope="row"] .ti { opacity: .95; }
.info-table tbody tr:hover th[scope="row"] { background: rgba(245, 70, 140,.12); }
.info-table tbody tr:hover td { border-color: rgba(245, 70, 140,.28); }
.info-table th, .info-table td { transition: background .15s ease, border-color .15s ease; }

/* ---------- Карточки бонусов ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  padding: 22px 20px;
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245, 70, 140, .5); }
.card__icon { font-size: 30px; margin-bottom: 10px; }
.card__title { font-family: var(--font-display); color: var(--text); font-size: 17px; }
.card__text { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Сетки логотипов ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.logo-grid li {
  display: grid;
  place-items: center;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}
.logo-grid li:hover { border-color: var(--gold); transform: translateY(-2px); }
.logo-grid img { width: 100%; max-width: 170px; }

/* ---------- Отзывы ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.review__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid rgba(245, 70, 140, .45);
}
.review__name { font-weight: 700; }
.review__meta { font-size: 13px; color: var(--muted); }
.stars { color: var(--hl); letter-spacing: 2px; }
.review__text { margin: 0; font-size: 14.5px; color: #E7D3DD; }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
}
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq__item[open] { border-color: rgba(245, 70, 140, .45); }
.faq__q {
  position: relative;
  padding: 16px 48px 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--card-2);
  color: var(--gold-2);
  font-size: 18px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.faq__a { padding: 0; overflow: hidden; color: var(--muted); font-size: 15px; }
.faq__a p { margin: 0; padding: 4px 20px 18px; }

/* ---------- Финальный CTA ---------- */
.final-cta {
  margin: 56px 0;
  padding: 40px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 70, 140, .35);
  background:
    radial-gradient(500px 220px at 50% -40%, rgba(245, 70, 140, .22), transparent 70%),
    linear-gradient(160deg, var(--card), var(--bg-2));
  box-shadow: var(--shadow);
}
.final-cta__title { justify-items: center; }
.final-cta__title::after { margin: 10px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.final-cta__text {
  max-width: 520px;
  margin: 0 auto 22px;
  color: var(--muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: 40px;
  padding: 36px 0 26px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.footer__regulators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  margin: 0 0 20px;
  padding: 20px 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer__regulators img {
  height: 44px;
  width: auto;
  opacity: .85;
  transition: opacity .2s ease;
}
.footer__regulators img:hover { opacity: 1; }

.footer__disclaimer {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #6E7A8E;
}
.footer__copy { margin: 0; font-size: 13px; color: var(--muted); }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 49;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 14px 16px 18px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(0, 0, 0, .45);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__link { padding: 13px 14px; font-size: 16px; }
  .header__actions { margin-left: auto; }
  .btn--ghost { display: none; }           /* «Логин» прячем на планшете/мобиле */
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 12px; }
  .header__inner { gap: 10px; }
  .logo { font-size: 19px; }
  .btn { padding: 9px 14px; font-size: 14px; }
  .btn--lg { padding: 13px 24px; font-size: 15.5px; width: 100%; max-width: 340px; }
  .section { margin: 16px 0; padding: 22px 16px; }
  .intro { padding: 18px 16px; }
  .banner--slim { margin: 34px 0; }
  .cards { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .info-table { font-size: 14px; }
  .info-table th, .info-table td { padding: 11px 12px; }
  .footer__regulators { justify-content: center; }
  .footer__regulators img { height: 38px; }
  .to-top { right: 12px; bottom: 12px; }
}

/* ---------- Доступность: отключение анимаций ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ============================================================
   ADDED BLOCKS (v2): games, tabs, VIP, steps, app, security,
   support, pay-table, sub-headings, last-updated
   ============================================================ */

.sub-h3 { margin: 30px 0 14px; font-size: 19px; font-weight: 800; }

/* ---------- Tabs (games + payments) ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}
.tab {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  color: var(--muted);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.tab:hover { color: var(--text); border-color: var(--gold); }
.tab.is-active {
  color: var(--on-gold);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-color: transparent;
}

/* ---------- Games grid ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* desktop: 4 per row */
  gap: 14px;
}
.game {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.game__media { position: relative; aspect-ratio: 360 / 472; }
.game__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game__rtp {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(7,10,16,.82);
  color: var(--gold-2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.game__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 11px 11px;
}
.game__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  line-height: 1.25;
}
.game__prov { font-size: 12.5px; color: var(--muted); }
.game:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 26px rgba(245, 70, 140, .22);
}
/* ---------- VIP ---------- */
.vip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 24px;
}
.vip__tier {
  padding: 22px 20px;
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.vip__tier h3 { color: var(--gold-2); }
.vip__tier p { margin: 0; color: var(--muted); font-size: 14.5px; }
.info-table thead th {
  background: rgba(245, 70, 140, .14);
  color: var(--gold-2);
  font-weight: 700;
  white-space: nowrap;
  width: auto;
  border-color: rgba(245, 70, 140,.3);
}
.info-table thead td { font-weight: 400; }

/* ---------- Steps (register / login) ---------- */
.steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--on-gold);
  font-weight: 800;
  font-size: 17px;
}
.step h3 { margin: 2px 0 4px; font-size: 16.5px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Mobile app ---------- */
.app {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 20px;
}
.app__text h3 { margin: 20px 0 6px; color: var(--gold-2); font-size: 17px; }
.app__text p { color: var(--muted); }
.feature-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 14.5px;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.store {
  display: inline-block;
  cursor: pointer;
  border-radius: 10px;
  transition: transform .15s ease, filter .2s ease;
}
.store:hover { transform: translateY(-2px); filter: brightness(1.1); }
.store img { display: block; }

/* Phone mockup */
.app__phone { display: grid; place-items: center; }
.phone {
  position: relative;
  width: 230px;
  max-width: 100%;
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: 32px;
  background: #05070C;
  border: 2px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5), inset 0 0 0 2px #11151f;
  overflow: hidden;
}
.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #05070C;
  z-index: 2;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* ---------- Support ---------- */
.support {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.support__item {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.support__icon { font-size: 30px; display: block; margin-bottom: 8px; }
.support__item h3 { margin: 0 0 6px; font-size: 16px; }
.support__item p { margin: 0; color: var(--muted); font-size: 14px; }
.support__email { color: var(--gold-2); }

/* ---------- Pay table helper ---------- */
.pay-table { min-width: 620px; }
.pay-table td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }
.is-hidden { display: none; }

/* ---------- Last updated ---------- */
.footer__updated { margin: 0 0 6px; font-size: 12.5px; color: #6E7A8E; }

/* ============================================================
   RESPONSIVE for added blocks
   ============================================================ */
@media (max-width: 1024px) {
  .support { grid-template-columns: repeat(2, 1fr); }
  .vip { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .app__phone { order: -1; }              /* phone on top on mobile */
}

@media (max-width: 640px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }  /* mobile: 2 per row */
  .support { grid-template-columns: 1fr; }
  .tab { padding: 9px 14px; font-size: 13.5px; }
  .step { padding: 15px 14px; gap: 12px; }
  .step__num { width: 32px; height: 32px; font-size: 15px; }
  .store-buttons { justify-content: center; }
  .phone { width: 200px; }
}

/* ============================================================
   v3: SVG icon system, prominent nav, game overlay (2 buttons),
   upgraded back-to-top, rebuilt footer, updated-bar
   ============================================================ */

/* ---------- Icon containers (icons themselves come from /icons via mask) ---------- */
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 12px;
  color: var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(245, 70, 140,.22), rgba(245, 70, 140,.06));
  border: 1px solid rgba(245, 70, 140,.28);
}
.support__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(245, 70, 140,.08);
  border: 1px solid rgba(245, 70, 140,.25);
}
.vip__badge {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  border-radius: 12px;
  color: var(--hl);
  background: rgba(231, 178, 74, .1);
  border: 1px solid rgba(231, 178, 74, .3);
}
/* the mask-icon inside a container fills the container nicely */
.card__icon .ic, .support__icon .ic, .vip__badge .ic { width: 24px; height: 24px; }
.contact-block__icon .ic { width: 21px; height: 21px; }

/* table row header: icon + text on one line, WITHOUT breaking table layout */
.tbl-link { color: var(--gold-2); cursor: pointer; border-bottom: 1px dashed rgba(245, 70, 140,.5); }
.tbl-link:hover { border-bottom-style: solid; }

/* ---------- Prominent header nav (looks like section links) ---------- */
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  color: #B9C4D6;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
}
.nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav__link:hover {
  color: #fff;
  background: transparent;
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link:hover .nav__dot {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(245, 70, 140,.8);
  transform: scale(1.15);
}

/* ---------- Game tiles: overlay with Play + Demo ---------- */
.game__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(7, 10, 16, .78);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 2;
}
.game:hover .game__overlay,
.game:focus-within .game__overlay { opacity: 1; }
.game__btn {
  min-width: 118px;
  padding: 10px 18px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: transform .12s ease, filter .2s ease;
}
.game__btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.game__btn--play {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--on-gold);
  box-shadow: 0 6px 16px rgba(245, 70, 140,.4);
}
.game__btn--demo {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55);
}
.game__btn--demo:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }

/* ---------- Upgraded back-to-top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  color: var(--on-gold);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 8px 22px rgba(245, 70, 140,.45), inset 0 1px 0 rgba(255,255,255,.4);
  font-size: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.9);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, box-shadow .2s ease;
}
.to-top::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  border-top: 2.5px solid var(--on-gold);
  border-right: 2.5px solid var(--on-gold);
  transform: translate(-50%, -35%) rotate(-45deg);
}
.to-top::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  border: 2px solid rgba(245, 70, 140,.35);
  animation: ttpulse 2.2s ease-out infinite;
}
@keyframes ttpulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.35); opacity: 0; }
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { box-shadow: 0 12px 28px rgba(245, 70, 140,.6), inset 0 1px 0 rgba(255,255,255,.5); }

/* ---------- Updated bar (before footer) ---------- */
.updated-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 22px 0 0;
  padding: 16px 22px;
  border-radius: 10px;
  border: 1px solid rgba(245, 70, 140,.28);
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(245, 70, 140,.10), rgba(245, 70, 140,.02) 60%, transparent);
  color: var(--muted);
  font-size: 14.5px;
}
.updated-bar .ti {
  width: 20px; height: 20px;
  margin-right: 0;
  flex-shrink: 0;
}
.updated-bar time { color: var(--gold-2); font-weight: 700; }
.updated-bar strong { color: var(--text); font-family: var(--font-display); font-weight: 700; }

/* ============================================================
   REBUILT FOOTER
   ============================================================ */
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 32px 44px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.footer__brand .logo--footer { display: inline-block; }
.footer__tag {
  margin: 14px 0 16px;
  color: var(--muted);
  font-size: 14px;
  max-width: 320px;
}
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.social:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-color: transparent;
  transform: translateY(-2px);
}
.social .ic { width: 19px; height: 19px; transition: filter .2s ease; }
/* icon is baked gold; on the gold hover background, darken it for contrast */
.social:hover .ic { filter: brightness(0) saturate(0); }

/* small column heading */
.footer__col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.footer__contact { display: grid; gap: 12px; align-content: start; }
.contact-block {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.contact-block__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(245, 70, 140,.1);
  border: 1px solid rgba(245, 70, 140,.28);
}
.contact-block__label { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.contact-block__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.contact-block__value.js-link { cursor: pointer; }
.contact-block__value.js-link:hover { color: var(--gold-2); }

.footer__apps { display: grid; gap: 10px; align-content: start; }
.footer__apps .store { width: fit-content; }

/* footer nav row — centered */
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.footer__nav span { color: var(--muted); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.footer__nav span:hover { color: var(--gold-2); }

/* ---------- Footer responsive ---------- */
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__apps .store { width: 100%; max-width: 280px; }
  .footer__apps .store img { width: 100%; height: auto; }
  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}

/* ============================================================
   v4: How-to grid, left-aligned CTA, smooth FAQ, table fixes
   ============================================================ */


/* ---------- Smooth FAQ open/close ---------- */
/* Height is animated by JS; here we just style the marker + answer padding. */
.faq__item { transition: border-color .2s ease; }
.faq__q::after {
  content: "+";                         /* single glyph, rotated when open */
  transition: transform .28s ease, background .2s ease, color .2s ease;
}
.faq__item[open] .faq__q::after {
  content: "+";
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
  color: var(--on-gold);
}

/* ---------- Table layout ---------- */
.info-table { table-layout: auto; }
.info-table th[scope="row"] { white-space: nowrap; }
.info-table thead th { white-space: nowrap; }

/* ============================================================
   v8: latest wins feed, provider cards, perf helpers
   ============================================================ */

/* ---------- Latest wins ----------
   Mobile-first: stacked list (unchanged).
   Desktop (≥769px): one compact horizontal strip. */
.wins {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.win {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  transition: border-color .2s ease;
}
.win:hover { border-color: rgba(245, 70, 140,.35); }
.win__img {
  width: 60px;
  height: 45px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--line);
}
.win__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.win__game {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win__prov {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  flex-shrink: 0;
  text-align: right;
}
.win__amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15.5px;
  color: var(--green);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.win__nick { font-size: 12px; color: var(--muted); white-space: nowrap; }
.wins__note { margin-top: 14px !important; font-size: 12.5px; color: var(--muted); }

/* new row slides in */
.win--new { animation: winIn .45s ease; }
@keyframes winIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Desktop: collapse the list into a single strip ---- */
@media (min-width: 769px) {
  .section--wins { padding-top: 22px; padding-bottom: 22px; }
  .wins {
    display: flex;
    gap: 8px;
    margin-top: 14px;
  }
  .win {
    flex: 1 1 0;
    min-width: 0;              /* lets the text truncate instead of overflowing */
    gap: 9px;
    padding: 8px 11px;
  }
  /* 4 across reads comfortably at 1200px; the rest stay in the DOM for mobile */
  .win:nth-child(n+5) { display: none; }
  .win__img { width: 40px; height: 30px; border-radius: 6px; }
  .win__game { font-size: 13.5px; }
  .win__prov { font-size: 11.5px; }
  .win__amount { font-size: 14px; }
  .win__nick { font-size: 11px; }
  .wins__note { margin-top: 12px !important; }
  /* new item enters from the left on the strip */
  @keyframes winIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
  }
}

/* ---------- Provider cards (provider → slots → bonus) ---------- */
.prov-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 6px;
}
.prov-card {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.prov-card__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-2);
}
.prov-card__games { margin: 0 0 10px !important; font-size: 13.5px; color: #E7D3DD; line-height: 1.55; }
.prov-card__bonus { margin: 0 !important; font-size: 13px; color: var(--muted); }
.prov-card__bonus strong { color: var(--text); }

/* ---------- Performance helpers ---------- */
/* Skip rendering work for offscreen sections until they scroll near.
   contain-intrinsic-size keeps the scrollbar stable. */
#providers, #payments, #security, #support, #reviews, #faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
/* Images never cause layout shift: width/height are set in the HTML */
img { height: auto; }

@media (max-width: 1024px) {
  .prov-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .prov-cards { grid-template-columns: 1fr; }
  .win { gap: 10px; padding: 9px 11px; overflow: hidden; }
  .win__img { width: 46px; height: 34px; }
  .win__info { min-width: 0; }
  .win__game { font-size: 13.5px; }
  .win__right { max-width: 46%; }
  .win__amount { font-size: 14.5px; }
  .win__nick { font-size: 11px; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .game__meta { padding: 8px 9px 10px; }
  .game__name { font-size: 13px; }
  .game__prov { font-size: 11.5px; }
}
