/* ==========================================================================
   SPINGRANNY GLOBAL STYLES (FINAL)
   Body: Montserrat (Bold/SemiBold)
   Headers & Buttons: Luckiest Guy
   Theme: Deep Purple & Gold
   ========================================================================== */

/* ==========================================================================
   1. IMPORTS & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Montserrat:wght@400;600;700;800&display=swap');

:root {
  /* --- FONTS --- */
  --font-base: 'Montserrat', sans-serif;
  --font-display: 'Luckiest Guy', cursive;

  /* --- PALETTE --- */
  --bg-body: #090015;
  --bg-card: rgba(21, 0, 53, 0.6);
  --bg-element: rgba(60, 20, 100, 0.4);

  /* --- ACCENTS --- */
  --accent-primary: #ff8800;
  --accent-hover: #ffaa00;
  --accent-gold: #ffd746;

  /* --- BUTTONS --- */
  --btn-gradient: linear-gradient(180deg, #ffd746 0%, #ff8800 100%);
  --btn-gradient-hover: linear-gradient(180deg, #ffe066 0%, #ff9900 100%);

  /* --- TEXT --- */
  --text-main: #ffffff;
  --text-muted: #d0c0e0;
  --border-color: rgba(255, 255, 255, 0.15);

  --block-radius: 16px;
  --container-width: 1240px;
  --transition: 0.3s ease;

  --color-success: #39ff14;
  --color-error: #ff3045;

  /* --- LAYOUT HELPERS --- */
  --sg-header-h: 0px;      /* mobile overrides below */
  --sg-sticky-h: 86px;     /* approx sticky height */
  --sg-footer-shift: 0px;  /* footer bg lift; mobile overrides */
}

/* ==========================================================================
   2. CORE SETUP & BACKGROUNDS
   ========================================================================== */
html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.6;
  letter-spacing: 0.5px;
}

body {
  background-color: var(--bg-body);
  background-image:
    linear-gradient(to bottom, rgba(9, 0, 21, 0) 60%, #090015 100%),
    url('/assets/images/bg/bg-hero.webp'),
    linear-gradient(to top, rgba(9, 0, 21, 0) 50%, #090015 100%),
    url('/assets/images/bg/bg-footer.webp');
  background-repeat: no-repeat;
  background-attachment: scroll;

  background-size:
    100% 1000px,
    100% auto,
    100% 800px,
    100% auto;

  /* последний слой (footer bg) можно приподнимать переменной */
  background-position:
    top center,
    top center,
    bottom center,
    center calc(100% - var(--sg-footer-shift, 0px));
}

/* чтобы контент не уезжал под sticky */
#container { padding-bottom: calc(350px + var(--sg-sticky-h, 86px)) !important; }

*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }

/* ТИПОГРАФИКА (LUCKIEST GUY) */
h1, h2, h3, h4, h5, h6,
.button, button, input[type="submit"], input[type="button"],
.main-nav__link,
.hero-offer__main-offer,
.bonus-card-v2__offer,
.expert-rating-card__score,
.reg-steps__number,
.nc-steps__number,
.provider-grid__title,
.quick-deposit__title,
.data-table-container__title,
.nc-block__title,
.app-download__title,
.responsible-gaming-block__title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Формы */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  font-family: var(--font-base);
  font-weight: 600;
}

/* Общие контейнеры */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.main-offer, .hero-offer, .game-grid, .bonus-grid, .data-table-container,
.app-download, .footer-column, .reg-steps, .nc-steps, .testimonial,
.author-box, .expert-rating-card, .faq-accordion, .limits-accordion,
.pros-cons, .bonus-calculator, .callout, .quick-deposit,
.update-banner, .license-rich-card, .security-fairness,
.awards-recognition, .evidence-box, .onboarding-simulator,
.provider-grid, .nc-block {
  width: 94%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

/* Ограничители ширины для узких блоков */
.author-box, .testimonial,
.expert-rating-card, .callout, .quick-deposit,
.evidence-box, .security-fairness { max-width: 900px; }

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.button, .main-offer__cta-button, .app-download__button,
.sticky-cta__button, .bonus-card-v2__cta, .game-grid__more-button,
.hero-offer__cta, .bonus-calculator__button, .onboarding-simulator__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  text-align: center;
  background: var(--btn-gradient);
  color: #3d1800 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
  box-shadow: 0 5px 0 #b35900, 0 10px 20px rgba(0,0,0,0.4);
  transition: var(--transition);
}

.button:hover, .main-offer__cta-button:hover, .game-grid__more-button:hover {
  background: var(--btn-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #b35900, 0 15px 25px rgba(0,0,0,0.5);
  filter: brightness(1.1);
}

.button--secondary {
  background: rgba(42, 27, 78, 0.8);
  border: 2px solid #46336e;
  color: #fff !important;
  box-shadow: 0 5px 0 #150035;
  text-shadow: 2px 2px 0 #000;
}
.button--secondary:hover { border-color: #fff; background: #3b2866; }

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.main-header {
  background-color: rgba(21, 0, 53, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 10px 0;
}
.main-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

/* Логотип */
.main-header__logo {
  flex-shrink: 0;
  width: 195px !important;
  max-width: 195px !important;
}
.main-header__logo img { width: 100% !important; height: auto !important; }

.main-header__nav { flex: 1 1 auto; }
.main-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Ссылки */
.main-nav__link {
  font-family: var(--font-base) !important;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  padding: 6px 0;
  transition: 0.3s;
  letter-spacing: 1px;
  color: #ffffff !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.main-nav__link:hover {
  color: var(--accent-gold) !important;
  text-shadow: 0 0 10px rgba(255, 215, 70, 0.6);
}

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

/* Dropdowns */
.main-nav__item { position: relative; }
.main-nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 10px;
  background: rgba(34, 10, 64, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: none;
  z-index: 1000;
}
.main-nav__submenu-link {
  font-family: var(--font-base);
  font-weight: 600;
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: #fff;
}
.main-nav__submenu-link:hover {
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
}
@media (min-width: 993px) {
  .main-nav__item--has-submenu:hover > .main-nav__submenu { display: block; }
}
.main-header__burger { display: none; }

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero-offer { display: flex; flex-direction: column; }

.hero-offer__subtitle {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-muted);
}

.hero-offer__main-offer {
  color: #fff;
  -webkit-text-stroke: 1px var(--accent-primary) !important;
  text-shadow: 5px 5px 0 #000;
  line-height: 1.1 !important;
}

.hero-offer__title {
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 3px 3px 0 #000, 0 0 20px rgba(168, 85, 247, 0.6);
  line-height: 1.2 !important;
}

/* DESKTOP HERO STYLES */
@media (min-width: 993px) {
  .hero-offer {
    align-items: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 55% !important;
    min-width: 500px;

    background:
      radial-gradient(circle at 20% 15%, rgba(184, 110, 255, 0.32) 0%, transparent 55%),
      radial-gradient(circle at 85% 25%, rgba(255, 120, 220, 0.16) 0%, transparent 60%),
      linear-gradient(145deg, rgba(45, 12, 85, 0.85) 0%, rgba(14, 0, 30, 0.88) 55%, rgba(74, 22, 130, 0.82) 100%) !important;

    border: 1px solid rgba(255, 215, 70, 0.22);
    border-radius: 20px;
    padding: 40px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  }
  .hero-offer__main-offer { font-size: 42px !important; margin-bottom: 20px !important; }
  .hero-offer__title { font-size: 32px !important; }
}

/* ==========================================================================
   6. MAIN BRAND OFFER (COSMIC BANNER)
   ========================================================================== */
.main-offer {
  position: relative !important;
  margin: 40px auto !important;
  max-width: 800px !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(150, 50, 255, 0.3) 0%, transparent 70%),
    linear-gradient(180deg, #2a0e45 0%, #050010 100%) !important;
  border: 2px solid var(--accent-gold);
  border-radius: 24px;
  padding: 40px 30px !important;
  box-shadow: inset 0 0 60px rgba(100, 20, 200, 0.2), 0 0 30px rgba(255, 215, 70, 0.1) !important;
}
.main-offer__logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
}
.main-offer .hero-offer__main-offer {
  font-size: 42px !important;
  line-height: 1.1 !important;
  margin-bottom: 20px !important;
  color: #fff;
  -webkit-text-stroke: 1px var(--accent-primary);
  text-shadow: 4px 4px 0 #000;
}
.main-offer__condition {
  font-family: var(--font-base);
  font-size: 18px;
  color: #e0d0ff;
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.5;
}
.main-offer__cta-button {
  min-width: 200px;
  padding: 18px 40px;
  font-size: 20px;
  margin-bottom: 20px;
}
.main-offer__promo-code {
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   7. APP DOWNLOAD
   ========================================================================== */
.app-download {
  background: linear-gradient(135deg, rgba(59, 28, 104, 0.75) 0%, rgba(21, 0, 53, 0.85) 100%) !important;
  width: fit-content !important;
  width: -moz-fit-content !important;
  min-width: 320px;
  max-width: 900px !important;
  padding: 40px 50px !important;
  margin: 50px auto !important;
  border: 2px solid var(--accent-gold);
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.app-download__image { display: block; margin: 0 auto 20px auto; }
.app-download__title { font-size: 36px !important; line-height: 1.2; margin-bottom: 15px !important; color: #fff; }
.app-download__desc {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 16px !important;
  line-height: 1.5;
  color: #e0d0ff !important;
}
.app-download__footer {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.app-download__buttons { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.app-download__note {
  font-family: var(--font-base);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}
.app-download__note em { color: #fff; font-style: normal; font-weight: 600; }

/* ==========================================================================
   8. GAME GRID & BONUS CARDS
   ========================================================================== */
.game-grid__title, .bonus-grid__title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 2px 2px 0 #000;
}

.bonus-grid__container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.bonus-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--block-radius);
  overflow: hidden;
  transition: 0.3s;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.bonus-card-v2:hover { transform: translateY(-5px); border-color: var(--accent-gold); }
.bonus-card-v2__title { font-size: 24px; color: #fff; margin-bottom: 10px; font-family: var(--font-display); }
.bonus-card-v2__offer { font-size: 28px; color: var(--accent-gold); margin-bottom: 20px; font-family: var(--font-display); }

.game-grid__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.game-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1.3;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.game-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.game-card:hover .game-card__image { transform: scale(1.1); }
.game-card__overlay {
  position: absolute; inset: 0;
  background: rgba(9, 0, 21, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 2;
}
.game-card:hover .game-card__overlay { opacity: 1; }
.game-card__button {
  min-width: 120px;
  padding: 10px 20px !important;
  font-size: 14px !important;
  border-radius: 8px !important;
}
.game-card__button.button--secondary {
  background: transparent !important;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff !important;
  box-shadow: none;
  text-shadow: none;
}
.game-card__button.button--secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1) !important; }
.game-card__title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(21, 0, 53, 0.9);
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 3;
}
.game-grid__more-button { display: block; margin: 30px auto 0 auto; min-width: 250px; }

/* ==========================================================================
   9. INFO BLOCKS (GENERIC)
   ========================================================================== */
.provider-grid, .quick-deposit, .data-table-container, .author-box,
.testimonial, .nc-block {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
}

.provider-grid__title {
  font-size: 28px;
  color: #fff;
  border-bottom: 3px solid var(--accent-primary);
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 25px;
}
.provider-grid__logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.provider-grid__item, .quick-deposit__item {
  background: var(--bg-element);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 13px;
  transition: 0.3s;
}
.provider-grid__item:hover, .quick-deposit__item:hover {
  background: var(--accent-primary);
  color: #3d1800;
  border-color: var(--accent-primary);
}
.quick-deposit__title, .data-table-container__title, .nc-block__title {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
}

/* ==========================================================================
   10. REG / UPDATE / RG
   ========================================================================== */
.reg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.reg-steps__item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}
.reg-steps__item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.reg-steps__number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--btn-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: #3d1800;
  box-shadow: 0 4px 10px rgba(255, 136, 0, 0.4);
}
.reg-steps__content { display: flex; flex-direction: column; }
.reg-steps__title {
  margin: 0 0 10px 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
}
.reg-steps__description {
  margin: 0;
  font-family: var(--font-base);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.reg-steps__description em { color: var(--accent-gold); font-style: normal; font-weight: 700; }

.update-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(57, 255, 20, 0.1) !important;
  border: 1px solid var(--color-success);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.15);
  border-radius: 12px;
  padding: 15px 25px;
  margin: 0 auto 30px auto;
  max-width: 800px;
}
.update-banner__icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--color-success);
  color: #050010;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
}
.update-banner__text { font-family: var(--font-base); font-size: 15px; color: #fff; line-height: 1.4; }
.update-banner__text strong { color: var(--color-success); font-weight: 700; }
.update-banner__date { display: inline-block; margin-left: 8px; color: rgba(255, 255, 255, 0.6); font-size: 0.9em; font-style: italic; }

.responsible-gaming-block {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
}
.rg-intro { font-size: 15px; color: var(--text-muted); margin-bottom: 25px; line-height: 1.6; }
.rg-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; margin-bottom: 25px; }
.rg-tool-card {
  background: var(--bg-element);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: left;
  transition: var(--transition);
}
.rg-tool-card:hover { border-color: var(--accent-primary); transform: translateY(-2px); }
.rg-tool-header { color: #fff; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-size: 16px; }
.rg-tool-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.rg-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: left;
}
.rg-contact { font-size: 14px; color: var(--text-muted); }
.rg-contact a { color: var(--accent-primary); font-weight: 700; }
.rg-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.rg-badge { background: rgba(255, 255, 255, 0.1); padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; color: #fff; }
.rg-badge--18 { background: transparent; border: 1px solid var(--color-error); color: var(--color-error); font-weight: 800; }

/* ==========================================================================
   11. FAQ & TABLES (BASE)
   ========================================================================== */
.faq-accordion {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 30px;
  margin-bottom: 0 !important;
}
.faq-accordion__title {
  font-size: 28px;
  border-left: 5px solid var(--accent-gold);
  padding-left: 15px;
  color: #fff;
}
.faq-item__question {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  padding: 15px 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}
.faq-item__answer {
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  max-height: 0;
  overflow: hidden;
  transition: 0.4s;
  line-height: 1.6;
}
.faq-item.is-open .faq-item__answer { max-height: 500px; padding-bottom: 15px; }

.data-table-container { overflow: hidden; }
.data-table-wrapper { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  min-width: 0 !important; /* важно: чтобы не вылазило */
  table-layout: auto;
}
.data-table th {
  background: rgba(60, 20, 100, 0.6);
  color: var(--accent-gold);
  padding: 18px 15px;
  font-family: var(--font-display);
  font-size: 16px;
  text-align: center;
  border-bottom: 2px solid var(--border-color);
  letter-spacing: 1px;
}
.data-table td {
  padding: 16px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.data-table td:first-child { text-align: left; padding-left: 25px; color: var(--text-muted); }
.data-table td:first-child strong, .data-table td:first-child b { color: #fff; }
.data-table tr:hover td { background: rgba(255, 255, 255, 0.05); }

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.main-footer {
  /* убираем “матовое стекло” именно внизу */
  background-color: rgba(9, 0, 21, 0.88) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;

  padding: 60px 0 calc(30px + var(--sg-sticky-h, 86px) + env(safe-area-inset-bottom)) 0 !important;
  margin-top: 0 !important;
  position: relative;
  z-index: 10;
}
.main-footer .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 30px;
  align-items: start;
}
.footer-column:nth-child(2) { text-align: center; }
.footer-column:nth-child(3) { text-align: right; }

.footer-logo { max-width: 220px; margin-bottom: 20px; }
.footer-text { font-size: 14px; color: var(--text-muted, #ccc); margin-bottom: 25px; line-height: 1.4; }

.footer-column__title {
  font-family: var(--font-display, sans-serif);
  font-size: 22px;
  color: var(--accent-gold, #f1c40f);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px #000;
}
.footer-column__list { list-style: none; padding: 0; margin: 0; }
.footer-column__list a {
  font-family: var(--font-base, sans-serif);
  font-weight: 600;
  color: var(--text-muted, #ccc);
  font-size: 14px;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px #000;
  transition: 0.3s;
}
.footer-column__list a:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 15px;
}
.footer-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 15px;
}
.footer-badge {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: none !important;              /* убрали стекло */
  -webkit-backdrop-filter: none !important;      /* убрали стекло */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-badge:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.footer-badge--text-full {
  height: 48px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.footer-badge--text-18 {
  width: 48px;
  height: 48px;
  font-size: 14px;
  font-weight: 800;
  color: #ff3045;
}
.footer-payment-grid .footer-badge {
  width: 90px;
  height: 55px;
  padding: 8px 14px;
}
.footer-payment-grid .footer-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(1.1);
}
.main-footer__copyright {
  text-align: center;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted, #777);
  font-size: 12px;
}

/* ==========================================================================
   13. SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar { width: 10px; background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

/* ==========================================================================
   14. STICKY CTA (ALWAYS VISIBLE + SAFE AREA)
   ========================================================================== */
@keyframes slideUpFade {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: rgba(15, 0, 35, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-top: 3px solid var(--accent-gold);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);

  padding: 15px 30px calc(15px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;

  animation: slideUpFade 0.6s ease-out forwards;
}

.sticky-cta__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.sticky-cta__brand {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent-gold);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.sticky-cta__offer {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.5px;
}
.sticky-cta__offer strong {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
.sticky-cta__button {
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  padding: 12px 35px !important;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(255, 136, 0, 0.4), 0 5px 0 #b35900 !important;
  animation: pulseButton 2s infinite;
}
@keyframes pulseButton {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   15. LICENSE / SECURITY RICH CARD (RESTORED)
   ========================================================================== */
.license-rich-card{
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px !important;
  text-align: left !important;

  max-width: 900px !important;
  margin: 0 auto 40px auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.license-header{
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
}

.license-icon-box{
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--btn-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font-display);
  font-size: 30px;
  color: #3d1800;
  box-shadow: 0 4px 15px rgba(255, 136, 0, 0.28);
}

.license-main-info{ flex: 1; min-width: 0; }

.license-main-info h4{
  margin: 0 0 10px 0;
  font-size: 26px;
  line-height: 1.1;
  color: #fff;
}

.license-sub{
  display: block;
  font-family: var(--font-base);
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.license-sub strong{
  color: var(--color-success);
  font-weight: 800;
}

.license-address{
  margin-top: 12px;
  font-family: var(--font-base);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
  font-style: italic;
}

.security-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.security-item{
  background: var(--bg-element);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 15px;

  display: flex;
  align-items: center;
  gap: 15px;

  transition: 0.3s;
}

.security-item:hover{
  border-color: var(--accent-gold);
  background: rgba(255,255,255,0.08);
}

.security-item-icon{
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.security-text{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.security-text strong{
  font-family: var(--font-base);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}

.security-text span{
  font-family: var(--font-base);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   16. AUTHOR BOX (RESTORED + NO GLASS)
   ========================================================================== */
.author-box{
  background:
    radial-gradient(circle at 20% 15%, rgba(184, 110, 255, 0.26) 0%, transparent 55%),
    radial-gradient(circle at 85% 25%, rgba(255, 120, 220, 0.14) 0%, transparent 60%),
    linear-gradient(145deg, rgba(35, 8, 72, 0.96) 0%, rgba(10, 0, 24, 0.96) 60%, rgba(58, 16, 112, 0.92) 100%) !important;

  border: 1px solid rgba(255, 215, 70, 0.20);
  border-radius: 24px;
  padding: 34px 26px !important;

  text-align: center !important;
  box-shadow:
    0 14px 45px rgba(0,0,0,0.55),
    inset 0 0 28px rgba(160, 90, 255, 0.10) !important;
}

.author-box__avatar{
  max-width: 180px;
  height: auto;
  margin: 0 auto 12px auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.55));
  transition: transform 0.3s ease;
}

.author-box:hover .author-box__avatar{ transform: scale(1.04); }

.author-box__name{
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent-gold);
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 5px rgba(0,0,0,0.55);
}

.author-box__title{
  font-family: var(--font-base);
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: 999px;

  margin: 0 0 14px 0;
  display: inline-block;
}

.author-box__bio{
  font-family: var(--font-base);
  font-size: 16px;
  color: #e0d0ff;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto;
}

.author-box__bio strong{ color: #fff; font-weight: 800; }

/* ==========================================================================
   17. ARTICLE TEXT (JUSTIFY) — FIX
   ========================================================================== */
/* максимально “попадает” в любой шаблон: выравнивание по ширине только для контента,
   при этом спец-блоки (hero/footer/таблицы) не ломаем */
#container p,
#container li{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: anywhere;
}

/* исключаем места, где центрирование важно */
.hero-offer p,
.main-offer p,
.app-download p,
.data-table-container p,
.author-box p,
.main-footer p,
.sticky-cta p{
  text-align: inherit;
}

/* ==========================================================================
   18. MOBILE & RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {

  /* высота хедера + поднимаем нижний bg */
  :root{
    --sg-header-h: 76px;
    --sg-footer-shift: 220px;   /* поднимаем нижний фон */
    --sg-sticky-h: 86px;
  }

  /* HERO BG: show right side + start under header */
  body{
    background-size:
      100% 600px,
      100% auto,      /* ключ: ужимаем по ширине */
      100% 520px,
      100% auto;

    background-position:
      top center,
      right 0 top var(--sg-header-h),
      bottom center,
      center calc(100% - var(--sg-footer-shift));
  }

  #container { padding-bottom: calc(220px + var(--sg-sticky-h, 86px)) !important; }

  /* HEADER FIT */
  .main-header .container { gap: 8px !important; min-height: 52px !important; }
  .main-header__logo {
    width: clamp(105px, 26vw, 140px) !important;
    max-width: clamp(105px, 26vw, 140px) !important;
  }
  .main-header__actions { gap: 6px !important; }
  .main-header__actions .button {
    padding: 8px 10px !important;
    font-size: clamp(10px, 3.2vw, 12px) !important;
    border-radius: 10px !important;
    white-space: nowrap;
  }

  /* BURGER */
  .main-header__burger {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
  }
  .main-header__burger span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    display: block;
    transition: 0.25s ease;
  }
  .main-header__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .main-header__burger.is-active span:nth-child(2) { opacity: 0; }
  .main-header__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* MENU under header */
  .main-header { z-index: 10000 !important; overflow: visible !important; }
  .main-header .container { position: static !important; }

  #main-nav.main-header__nav {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    display: none !important;

    padding: 12px 14px !important;
    background: rgba(9, 0, 21, 0.96) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 9999 !important;
  }
  #main-nav.main-header__nav.is-open { display: block !important; }

  #main-nav .main-nav__list {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px 14px !important;
  }
  #main-nav .main-nav__link {
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
  }
  .main-nav__submenu { display: none !important; }

  /* HERO mobile: восстановление карточки/градиента */
  :root{
    --sg-hero-h: clamp(220px, calc(100vw * 2 / 3), 380px);
  }

  .hero-offer{
    max-width: 100% !important;
    text-align: center !important;
    align-items: center !important;

    background:
      radial-gradient(circle at 20% 15%, rgba(184, 110, 255, 0.32) 0%, transparent 55%),
      radial-gradient(circle at 85% 25%, rgba(255, 120, 220, 0.16) 0%, transparent 60%),
      linear-gradient(145deg, rgba(45, 12, 85, 0.92) 0%, rgba(14, 0, 30, 0.92) 55%, rgba(74, 22, 130, 0.88) 100%) !important;

    border: 1px solid rgba(255, 215, 70, 0.22);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0,0,0,0.55);

    padding: 20px 16px !important;

    /* карточка начинается под картинкой */
    margin-top: calc(var(--sg-hero-h) + 14px) !important;
    margin-bottom: 16px !important;
  }

  /* Ровные отступы */
  .hero-offer { --hero-gap: 10px; }
  .hero-offer h1, .hero-offer h2, .hero-offer h3, .hero-offer p {
    margin: 0 0 var(--hero-gap) 0 !important;
    line-height: 1.28 !important;
    text-align: center !important; /* hero — центр */
    hyphens: manual; /* не ломаем заголовки */
  }
  .hero-offer__title {
    line-height: 1.15 !important;
    margin-bottom: calc(var(--hero-gap) + 2px) !important;
    font-size: clamp(20px, 5.5vw, 26px) !important;
  }

  /* LIST inside hero-offer__main-offer + ⭐ bullets */
  .hero-offer__main-offer {
    margin: 0 0 var(--hero-gap) 0 !important;
    padding: 0 !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
    text-align: center !important;
  }
  .hero-offer__main-offer ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
  .hero-offer__main-offer li {
    margin: 0 0 6px 0 !important;
    padding: 0 0 0 18px !important;
    position: relative;
    line-height: 1.22 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase;
    color: #ffd746 !important;
    text-shadow: 0 2px 0 rgba(0,0,0,0.55) !important;
    white-space: normal !important;
    word-break: break-word;
    text-align: left !important; /* список читается лучше */
  }
  .hero-offer__main-offer li::before {
    content: "⭐";
    position: absolute;
    left: 0;
    top: 0.05em;
    font-size: 12px;
    line-height: 1;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,0.55));
    opacity: 0.95;
  }
  .hero-offer__main-offer li:last-child { margin-bottom: 0 !important; }
  .hero-offer__cta { margin-top: 10px !important; }

  /* Main Offer Mobile */
  .main-offer { padding: 30px 20px !important; border-width: 1px; }
  .main-offer .hero-offer__main-offer { font-size: 32px !important; }

  /* TABLES mobile — центрируем текст “четко посредине” */
  .data-table thead{ display: none !important; }
  .data-table, .data-table tbody, .data-table tr{ display: block; width: 100%; }
  .data-table tr{
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 14px 14px;
    margin-bottom: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  }
  .data-table td{
    display: flex;
    flex-direction: column;       /* label сверху, значение снизу */
    align-items: center;
    text-align: center;

    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);

    font-family: var(--font-base);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;

    min-width: 0;
  }
  .data-table td:last-child{ border-bottom: none; padding-bottom: 0; }

  .data-table td::before{
    content: attr(data-label);
    display: block;
    width: 100%;
    text-align: center;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text-muted);

    margin-bottom: 6px;
    overflow-wrap: anywhere;
  }

  .data-table .promo-code{
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 215, 70, 0.12);
    border: 1px solid rgba(255, 215, 70, 0.25);
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 12px;
    white-space: nowrap;
  }

  .data-table-container__title{
    font-size: 22px !important;
    line-height: 1.15;
  }

  /* Update banner mobile */
  .update-banner { padding: 15px; align-items: flex-start; }
  .update-banner__date { display: block; margin-left: 0; margin-top: 4px; }

  /* LICENSE mobile */
  .license-rich-card{
    padding: 22px !important;
    border-radius: 16px;
    text-align: center !important;
  }
  .license-header{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .security-grid{ grid-template-columns: 1fr; }
  .security-item{ align-items: flex-start; text-align: left; }

  /* AUTHOR mobile */
  .author-box{
    padding: 26px 18px !important;
    border-radius: 18px;
  }
  .author-box__name{ font-size: 24px; }
  .author-box__bio{ font-size: 14px; }
}

/* Very small devices: hide secondary login button (still in menu) */
@media (max-width: 360px) {
  .main-header__actions a.button--secondary { display: none !important; }
}

/* 2 cards per row */
@media (max-width: 480px) {
  .game-grid__container { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .game-card__title { font-size: 11px; padding: 8px 4px; }
  .game-card__button { min-width: 90px; font-size: 11px !important; padding: 8px !important; }
}

/* Sticky CTA mobile */
@media (max-width: 768px) {
  .sticky-cta {
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    gap: 15px;
    justify-content: space-between;
  }
  .sticky-cta__info { flex: 1; }
  .sticky-cta__brand { font-size: 14px; opacity: 0.8; }
  .sticky-cta__offer { font-size: 16px; }
  .sticky-cta__button {
    font-size: 16px !important;
    padding: 10px 20px !important;
    box-shadow: 0 4px 0 #b35900 !important;
    animation: none;
  }

  /* FOOTER mobile layout (symmetry) */
  .main-footer { padding-top: 22px !important; }
  .main-footer .container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 16px !important;
  }
  .footer-column:nth-child(3) { text-align: center !important; }

  .main-footer .footer-column {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .main-footer .footer-logo {
    margin: 0 auto 10px auto !important;
    max-width: 170px;
  }

  .main-footer .footer-text {
    margin-bottom: 12px !important;
    font-size: 13px;
    line-height: 1.35;
  }

  .main-footer .footer-badges,
  .main-footer .footer-payment-grid{
    width: 100%;
    justify-content: center !important;
  }

  .main-footer .footer-badges{
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .main-footer .footer-badge--text-full {
    height: 36px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
  }

  .main-footer .footer-badge--text-18 {
    width: 36px !important;
    height: 36px !important;
    font-size: 12px !important;
    flex: 0 0 36px;
  }

  .main-footer .footer-payment-grid {
    flex-wrap: nowrap !important;
    gap: 6px !important;
  }

  .main-footer .footer-payment-grid .footer-badge {
    width: auto !important;
    height: 36px !important;
    padding: 6px 8px !important;
    flex: 1 1 0;
    min-width: 44px;
    max-width: 62px;
  }

  .main-footer .footer-column__title {
    margin-bottom: 12px !important;
    font-size: 18px !important;
  }

  .main-footer__copyright {
    margin-top: 16px !important;
    padding-top: 12px !important;
    font-size: 11px !important;
  }
}

/* EXTRA SMALL PHONES */
@media (max-width: 420px){
  .data-table td{ font-size: 13px; }
  .data-table td::before{ font-size: 11px; }
}

/* =========================================================
   PATCH (paste at the VERY END of style.css)
   Fixes:
   1) Footer background image looks “tinted” (make bg-footer visible)
   2) Restore symmetric centering in mobile table cards
   3) Justify main article text (straight left+right edges)
   ========================================================= */

/* 3) MAIN ARTICLE TEXT = JUSTIFY */
#container p,
#container li {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}
#container p { text-align-last: left; }

/* Don’t justify short UI text */
.hero-offer p,
.hero-offer li,
.main-offer p,
.main-footer p,
.update-banner__text,
.rg-intro,
.rg-tool-desc {
  text-align: center !important;
  text-align-last: auto !important;
}

/* 1) FOOTER BG IMAGE VISIBILITY (mobile): remove “glass/blur” + lighten bottom overlay */
@media (max-width: 992px) {
  :root { --sticky-safe: 92px; } /* if needed: match your sticky-cta height */

  /* Make footer itself not blur/dim the background */
  .main-footer{
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Keep your 4-layer background, but make the 3rd layer (bottom gradient) lighter,
     and shift the footer image a bit вверх so it’s not “eaten” by sticky-cta. */
  body{
    background-image:
      linear-gradient(to bottom, rgba(9, 0, 21, 0) 60%, #090015 100%),
      url('/assets/images/bg/bg-hero.webp'),
      /* lighter bottom fade (was слишком тёмный) */
      linear-gradient(to top, rgba(9, 0, 21, 0) 78%, rgba(9, 0, 21, 0.45) 100%),
      url('/assets/images/bg/bg-footer.webp');

    /* keep your current mobile sizes (only repeat to avoid resetting layers) */
    background-size: 100% 600px, auto 600px, 100% 500px, auto 500px;

    background-position:
      top center,
      right 0 top var(--sg-header-h, 76px),
      bottom center,
      center calc(100% - var(--sticky-safe));
  }
}

/* 2) TABLES: symmetric centered layout on mobile “cards” */
@media (max-width: 992px) {
  .data-table tr { text-align: center !important; }

  .data-table td{
    /* override previous flex “label-left / value-right” */
    display: block !important;
    text-align: center !important;
    justify-content: initial !important;
    gap: 0 !important;

    padding: 12px 0 !important;
  }

  .data-table td::before{
    content: attr(data-label);
    display: block !important;
    text-align: center !important;

    margin: 0 0 6px 0 !important;

    /* override previous fixed widths */
    flex: none !important;
    max-width: none !important;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  /* Promo code chip stays centered */
  .data-table .promo-code{
    display: inline-flex;
    margin: 6px auto 0 auto;
  }
}

/* =========================================================
   FIX: MOBILE TOP HERO BACKGROUND (bg-hero layer)
   - fits by width (no zoom-in face)
   - pinned to the right (woman visible)
   - shifted down under header
   Paste at VERY END of style.css
   ========================================================= */
@media (max-width: 992px) {
  :root{
    --sg-header-h: 76px;   /* если у тебя хедер другой высоты — поменяй */
    --sticky-safe: 92px;   /* оставляем как было для нижнего фона */
  }

  body{
    /* сохраняем 4 слоя как у тебя, просто фиксируем поведение hero-слоя (2-й) */
    background-image:
      linear-gradient(to bottom, rgba(9, 0, 21, 0) 60%, #090015 100%),
      url('/assets/images/bg/bg-hero.webp'),
      linear-gradient(to top, rgba(9, 0, 21, 0) 78%, rgba(9, 0, 21, 0.45) 100%),
      url('/assets/images/bg/bg-footer.webp');

    background-repeat: no-repeat;
    background-attachment: scroll;

    /* КЛЮЧ: hero-слой (2-й) делаем 100% по ширине => не “зумится” */
    background-size:
      100% 600px,
      100% auto,     /* <-- было auto 600px (зум/кроп). теперь влезает по ширине */
      100% 500px,
      100% auto;

    /* КЛЮЧ: hero-слой (2-й) прижимаем вправо и опускаем под хедер */
    background-position:
      top center,
      right 0 top var(--sg-header-h),
      bottom center,
      center calc(100% - var(--sticky-safe));
  }
}

/* =========================================================
   HOTFIX: Burger menu not opening / hidden (mobile)
   Paste at VERY END of style.css
   ========================================================= */
@media (max-width: 992px) {

  /* если переменная не задана где-то выше — задаём здесь */
  :root { --sg-header-h: 76px; }

  /* бургер точно кликабельный и поверх всего */
  .main-header{
    z-index: 30000 !important;
    overflow: visible !important;
  }
  .main-header__actions{ position: relative; z-index: 30001 !important; }
  .main-header__burger{
    position: relative;
    z-index: 30002 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* меню фиксируем под хедером, чтобы не “терялось” */
  #main-nav.main-header__nav{
    position: fixed !important;
    top: var(--sg-header-h, 76px) !important;
    left: 0 !important;
    right: 0 !important;

    display: none !important;
    z-index: 29999 !important;

    background: rgba(9, 0, 21, 0.96) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    max-height: calc(100vh - var(--sg-header-h, 76px)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;

    padding: 12px 14px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  #main-nav.main-header__nav.is-open{
    display: block !important;
  }
}

/* =========================================================
   HOTFIX: TABLES (BONUS + PAYMENTS) NEVER OVERFLOW
   - на десктопе: таблица в контейнере, переносы, без min-width:600
   - на мобилке: карточный вид через data-label, ничего не вылезает
   ========================================================= */

/* Контейнер пусть не раздувается и может скроллить, если вдруг надо */
.data-table-container{
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* База: убираем min-width, который ломал BonusTable без wrapper */
.data-table{
  width: 100% !important;
  min-width: 0 !important;          /* КЛЮЧ */
  border-collapse: collapse;
  table-layout: fixed;              /* чтобы колонки не “выталкивали” контейнер */
}

/* Перенос длинных строк */
.data-table th,
.data-table td{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Чуть компактнее, чтобы длинные заголовки влезали */
.data-table th{
  padding: 14px 10px !important;
  font-size: 14px !important;
}
.data-table td{
  padding: 14px 10px !important;
  font-size: 14px !important;
}

/* =========================
   MOBILE (<= 992px): карточки
   ========================= */
@media (max-width: 992px){

  .data-table thead{ display: none !important; }

  .data-table,
  .data-table tbody,
  .data-table tr{
    display: block !important;
    width: 100% !important;
  }

  .data-table tr{
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    padding: 14px 14px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35) !important;
  }

  .data-table td{
    display: flex !important;
    flex-wrap: wrap !important;      /* на узких — значение уйдет вниз, но не вылезет */
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 10px !important;

    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;

    text-align: left !important;
    min-width: 0 !important;
  }

  .data-table td:last-child{
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  /* Лейбл слева из data-label */
  .data-table td::before{
    content: attr(data-label) !important;
    flex: 0 0 46% !important;
    max-width: 46% !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;

    overflow-wrap: anywhere !important;
  }

  /* На супер-узких — лейбл сверху, значение ниже */
  @media (max-width: 420px){
    .data-table td::before{
      flex-basis: 100% !important;
      max-width: 100% !important;
      margin-bottom: 6px !important;
    }
  }

  /* Промокод-капсула */
  .data-table .promo-code{
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 215, 70, 0.12);
    border: 1px solid rgba(255, 215, 70, 0.25);
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 12px;
    white-space: nowrap;
  }
}

/* =========================================================
   FINAL PATCH (PASTE AT END OF style.css)
   1) Mobile tables: symmetric centered (label сверху, значение снизу)
   2) Article text: justify (ровные края) + hyphenation
   ========================================================= */

/* -------------------------------
   1) TABLES: MOBILE CENTER FIX
   ------------------------------- */
@media (max-width: 992px){

  /* карточка строки уже block — просто центрируем содержимое */
  .data-table tr{
    text-align: center !important;
  }

  /* каждое поле в карточке: label сверху, value снизу, по центру */
  .data-table td{
    display: block !important;
    text-align: center !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  .data-table td:last-child{
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  /* подпись из data-label — тоже по центру и на всю ширину */
  .data-table td::before{
    content: attr(data-label) !important;
    display: block !important;
    width: 100% !important;

    /* перебиваем flex-настройки из предыдущих фиксов */
    flex: none !important;
    max-width: none !important;

    margin: 0 0 8px 0 !important;
    text-align: center !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
  }

  /* промокод-капсула по центру */
  .data-table .promo-code{
    display: inline-flex !important;
    margin: 0 auto !important;
  }
}

/* ---------------------------------------
   2) ARTICLE TEXT: JUSTIFY (ровные края)
   ---------------------------------------
   Важно: для красивых переносов желательно,
   чтобы на странице было <html lang="it"> (или хотя бы lang="it" на body).
*/
main p,
article p,
#container p{
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* чтобы последняя строка абзаца не выглядела странно */
main p,
article p,
#container p{
  text-align-last: left;
}

/* НЕ ломаем центрирование в UI-блоках (перебиваем justify там, где это дизайн) */
.hero-offer p,
.main-offer p,
.app-download p,
.main-footer p,
.sticky-cta p,
.data-table-container p,
.license-rich-card p,
.security-fairness p,
.author-box p,
.testimonial p{
  text-align: center !important;
  text-align-last: auto;
}

/* =========================================================
   HOTFIX: HERO CTA BUTTON "MOVED" (restore positioning)
   Paste at the VERY END of style.css
   ========================================================= */

/* На всякий случай: убираем любые абсолюты/трансформы, которые могли прилететь */
.hero-offer .hero-offer__cta,
.hero-offer__cta {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;

  /* нормальная посадка */
  display: inline-flex !important;
  justify-content: center;
  align-items: center;

  margin: 18px auto 0 auto !important; /* центр по контейнеру */
  align-self: center !important;       /* центр во flex-колонке */
  max-width: 320px;
  width: 100%;
}

/* Если CTA — это ссылка с классом button, иногда её "сжимает" */
.hero-offer .hero-offer__cta.button,
.hero-offer__cta.button {
  white-space: nowrap;
}

/* =========================================================
   HOTFIX (DESKTOP ONLY):
   1) Center HERO CTA inside hero-offer card
   2) Reduce footer/bg-footer dark overlay by ~50%
   ========================================================= */

/* 1) HERO CTA centered inside its block (desktop only) */
@media (min-width: 993px) {
  /* если CTA — прямой ребёнок hero-offer */
  .hero-offer__cta,
  /* на всякий случай, если CTA сделан другой кнопкой внутри hero */
  .hero-offer .hero-offer__cta-button,
  .hero-offer .button.hero-offer__cta {
    align-self: center !important;     /* ключевое */
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* 2) Reduce "black film" over bg-footer on desktop only */
@media (min-width: 993px) {
  body {
    /* пересобираем слои, меняя ТОЛЬКО затемнение у нижнего градиента */
    background-image:
      linear-gradient(to bottom, rgba(9, 0, 21, 0) 60%, #090015 100%),
      url('/assets/images/bg/bg-hero.webp'),
      /* было: ... , #090015 100%  →  делаем полупрозрачным (примерно -50%) */
      linear-gradient(to top, rgba(9, 0, 21, 0) 50%, rgba(9, 0, 21, 0.55) 100%),
      url('/assets/images/bg/bg-footer.webp');
  }

  /* дополнительно слегка уменьшаем “вуаль” самого футера (только десктоп) */
  .main-footer {
    background-color: rgba(5, 0, 16, 0.025) !important; /* было 0.05 */
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
  }
}

/* =========================================================
   FIX: HERO CTA ( <a class="hero-offer__cta"> ) CENTER INSIDE HERO
   Markup:
   .hero-offer > .hero-offer__content > ... > a.hero-offer__cta
   Paste at the VERY END of style.css
   ========================================================= */

/* Делаем контент hero "колонкой", чтобы align-self работал предсказуемо */
.hero-offer .hero-offer__content{
  display: flex !important;
  flex-direction: column !important;
}

/* Центрируем CTA и отменяем возможные уводящие позиционирования */
.hero-offer .hero-offer__content > a.hero-offer__cta{
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;

  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;

  width: fit-content !important;
  max-width: 100% !important;

  align-self: center !important;     /* ключевое */
  margin: 18px auto 0 auto !important;
  text-align: center !important;
  white-space: nowrap;
}

/* На десктопе можно чуть комфортнее размер, но без ломания мобилки */
@media (min-width: 993px){
  .hero-offer .hero-offer__content > a.hero-offer__cta{
    min-width: 260px;                 /* можно убрать, если не нужно */
    padding: 16px 44px !important;
    font-size: 20px !important;
  }
}

/* ==========================================================================
   10. REG / UPDATE / RG
   ========================================================================== */
.nc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.nc-steps__item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}

.nc-steps__item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nc-steps__number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--btn-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: #3d1800;
  box-shadow: 0 4px 10px rgba(255, 136, 0, 0.4);
}

.nc-steps__content { display: flex; flex-direction: column; }

.nc-steps__title {
  margin: 0 0 10px 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
}

.nc-steps__description {
  margin: 0;
  font-family: var(--font-base);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.nc-steps__description em { color: var(--accent-gold); font-style: normal; font-weight: 700; }

/* =========================================================
   RESKIN PATCH: Black / Purple / Neon Green (как на скринах)
   Вставь В САМЫЙ КОНЕЦ style.css
   ========================================================= */

/* 1) Переопределяем палитру (основное) */
:root {
  /* base */
  --bg-body: #000000;

  /* surfaces */
  --bg-card: rgba(35, 1, 59, 0.92);        /* #23013B */
  --bg-element: rgba(77, 20, 114, 0.32);   /* #4D1472 в виде “чипов” */

  /* text */
  --text-main: #FBF5FF;
  --text-muted: #A577C3;

  /* strokes/borders */
  --border-color: rgba(255, 255, 255, 0.10);

  /* accents */
  --accent-primary: #4D1472;   /* фиолетовый UI */
  --accent-hover: #6B1FA5;     /* светлее фиолетовый */
  --accent-gold: #4D1472;      /* ПЕРЕНАЗНАЧАЕМ “gold” -> фиолетовый (чтобы бордеры стали как на скринах) */

  /* extra accents */
  --accent-highlight: #F8E050; /* жёлтый для промо-текста */
  --accent-cta: #9FE933;       /* зелёный CTA */
  --accent-cta-hover: #92D62F;
  --accent-cta-active: #86C42B;

  /* buttons */
  --btn-gradient: linear-gradient(180deg, var(--accent-cta) 0%, var(--accent-cta-hover) 100%);
  --btn-gradient-hover: linear-gradient(180deg, var(--accent-cta) 0%, var(--accent-cta-active) 100%);

  /* states */
  --color-success: #12D71F; /* выигрыши/успех как на скрине */
  --color-error: #ff3045;

  /* text on CTA */
  --btn-text: #0B0B0B;
}

/* 2) BODY: у тебя много “вшитых” #090015 в background-image.
      Безопаснее пересобрать ТОЛЬКО слои цвета (картинки остаются). */
body{
  background-color: var(--bg-body) !important;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0) 60%, #000 100%),
    url('/assets/images/bg/bg-hero.webp'),
    linear-gradient(to top, rgba(0,0,0,0) 50%, #000 100%),
    url('/assets/images/bg/bg-footer.webp') !important;
}

/* 3) Primary buttons: зелёные */
.button, .main-offer__cta-button, .app-download__button,
.sticky-cta__button, .bonus-card-v2__cta, .game-grid__more-button,
.hero-offer__cta, .bonus-calculator__button, .onboarding-simulator__button{
  background: var(--btn-gradient) !important;
  color: var(--btn-text) !important;
}

/* Hover для зелёных */
.button:hover, .main-offer__cta-button:hover, .game-grid__more-button:hover{
  background: var(--btn-gradient-hover) !important;
}

/* 4) Secondary buttons (Log in style): тёмные + фиолетовая обводка */
.button--secondary{
  background: rgba(0,0,0,0.35) !important;
  border-color: var(--accent-primary) !important;
  color: var(--text-main) !important;
}
.button--secondary:hover{
  background: rgba(77, 20, 114, 0.22) !important;
  border-color: rgba(139, 70, 201, 0.95) !important;
}

/* 5) Header / dropdowns: темнее + фиолетовые акценты */
.main-header{
  background-color: rgba(0,0,0,0.55) !important;
  border-bottom-color: rgba(255,255,255,0.08) !important;
}
.main-nav__submenu{
  background: rgba(0,0,0,0.88) !important;
  border-color: rgba(77, 20, 114, 0.55) !important;
}

/* 6) Карточки/контейнеры: в глубокий фиолетовый */
.bonus-card-v2,
.game-card,
.provider-grid, .quick-deposit, .data-table-container, .author-box,
.testimonial, .nc-block,
.faq-accordion,
.responsible-gaming-block,
.license-rich-card{
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
}

/* 7) Чипы/плашки */
.provider-grid__item, .quick-deposit__item{
  background: rgba(77, 20, 114, 0.25) !important;
  border-color: rgba(255,255,255,0.10) !important;
}
.provider-grid__item:hover, .quick-deposit__item:hover{
  background: rgba(77, 20, 114, 0.55) !important;
  border-color: rgba(77, 20, 114, 0.80) !important;
  color: #fff !important;
}

/* 8) Жёлтая промо-подсветка там, где она реально нужна */
.bonus-card-v2__offer,
.data-table th,
.hero-offer__main-offer li,
.reg-steps__description em,
.nc-steps__description em{
  color: var(--accent-highlight) !important;
}

/* 9) Табличные заголовки чуть фиолетовые */
.data-table th{
  background: rgba(77, 20, 114, 0.45) !important;
  border-bottom-color: rgba(255,255,255,0.10) !important;
}

/* 10) Sticky CTA bar + footer */
.sticky-cta{
  background: rgba(0,0,0,0.82) !important;
  border-top-color: rgba(77, 20, 114, 0.75) !important;
}
.main-footer{
  background-color: rgba(0,0,0,0.75) !important;
  border-top-color: rgba(255,255,255,0.08) !important;
}

/* 11) Scrollbar под тему */
::-webkit-scrollbar { background: var(--bg-body) !important; }
::-webkit-scrollbar-thumb { background: rgba(77, 20, 114, 0.55) !important; }
::-webkit-scrollbar-thumb:hover { background: rgba(77, 20, 114, 0.85) !important; }

/* =========================================================
   PATCH: Replace warm/orange shadows + make footer text white
   Paste at the VERY END of style.css
   ========================================================= */

:root{
  /* CTA shadow (в тон зелёной кнопки) */
  --cta-shadow-base: #6EA91F;        /* тёмный зелёный “основание” */
  --cta-shadow-base-hover: #5F981B;  /* для hover */
  --cta-glow: rgba(159, 233, 51, 0.22);

  /* Purple glow for static blocks (вместо gold) */
  --panel-glow: rgba(77, 20, 114, 0.20);
}

/* 1) PRIMARY BUTTONS: убираем оранжевое основание (#b35900) */
.button, .main-offer__cta-button, .app-download__button,
.sticky-cta__button, .bonus-card-v2__cta, .game-grid__more-button,
.hero-offer__cta, .bonus-calculator__button, .onboarding-simulator__button{
  /* сохраняем геометрию, меняем только цвет */
  box-shadow: 0 5px 0 var(--cta-shadow-base), 0 10px 20px rgba(0,0,0,0.40) !important;
}

.button:hover, .main-offer__cta-button:hover, .game-grid__more-button:hover,
.sticky-cta__button:hover, .hero-offer__cta:hover{
  box-shadow: 0 7px 0 var(--cta-shadow-base-hover), 0 15px 25px rgba(0,0,0,0.50) !important;
}

/* Mobile variant where you had 0 4px 0 #b35900 */
@media (max-width: 768px){
  .sticky-cta__button{
    box-shadow: 0 4px 0 var(--cta-shadow-base) !important;
  }
}

/* 2) ROUND “STEP NUMBER” CIRCLES + ICON BOXES: убрать тёплые тени */
.reg-steps__number,
.nc-steps__number,
.license-icon-box{
  box-shadow: 0 4px 10px var(--cta-glow) !important;
}

/* 3) STATIC PANELS where was gold glow: заменить на фиолетовый */
.main-offer{
  /* было: ... rgba(255,215,70,0.1) */
  box-shadow: inset 0 0 60px var(--panel-glow), 0 0 30px var(--panel-glow) !important;
}

/* Если у каких-то больших статических блоков вдруг есть “тёплый” glow — прибьём его мягко */
.provider-grid, .quick-deposit, .data-table-container, .faq-accordion,
.responsible-gaming-block, .license-rich-card{
  /* не меняем оффсеты/размеры — только добавляем нейтральный glow */
  box-shadow: 0 10px 30px rgba(0,0,0,0.35) !important;
}

/* 4) FOOTER: сделать текст белее для читаемости */
.main-footer,
.main-footer .footer-text,
.main-footer .footer-column__list a,
.main-footer__copyright{
  color: rgba(255,255,255,0.88) !important;
}

/* Заголовки колонок — тоже в белый (если хочешь оставить фиолетовый, скажи — верну обратно) */
.main-footer .footer-column__title{
  color: #ffffff !important;
}

/* Hover ссылок: чисто белый */
.main-footer .footer-column__list a:hover{
  color: #ffffff !important;
}

/* =========================================================
   PATCH: Sticky gradient + Login button gradient + remove yellow table headers
   Paste at the VERY END of style.css
   ========================================================= */

:root{
  /* общий “перелив” для sticky + login */
  --purple-attn-bg:
    radial-gradient(1200px 220px at 15% 50%, rgba(130, 70, 210, 0.28) 0%, rgba(130, 70, 210, 0.00) 55%),
    radial-gradient(900px 220px at 85% 45%, rgba(77, 20, 114, 0.38) 0%, rgba(77, 20, 114, 0.00) 58%),
    linear-gradient(90deg, rgba(10, 0, 18, 0.96) 0%, rgba(47, 5, 75, 0.96) 35%, rgba(77, 20, 114, 0.96) 55%, rgba(47, 5, 75, 0.96) 72%, rgba(10, 0, 18, 0.96) 100%);

  --purple-attn-border: rgba(77, 20, 114, 0.85);
  --purple-attn-glow: rgba(77, 20, 114, 0.28);
}

/* 1) STICKY CTA: красивый градиентный фон */
.sticky-cta{
  background: none !important;
  background-image: var(--purple-attn-bg) !important;
  border-top-color: var(--purple-attn-border) !important;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.60), 0 -2px 0 var(--purple-attn-glow) inset !important;
}

/* 2) LOGIN BUTTON в хедере: тот же фон, что sticky (и только в хедере) */
.main-header__actions .button--secondary{
  background: none !important;
  background-image: var(--purple-attn-bg) !important;
  border: 1px solid var(--purple-attn-border) !important;
  color: rgba(255,255,255,0.92) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,0.35) !important;
  text-shadow: none !important;
}

.main-header__actions .button--secondary:hover{
  filter: brightness(1.08) !important;
  border-color: rgba(139, 70, 201, 0.95) !important;
}

/* 3) Убираем ЖЁЛТЫЕ заголовки (табличные th) */
.data-table th{
  color: rgba(255,255,255,0.92) !important; /* было жёлтым */
  text-shadow: none !important;
}

/* если где-то заголовки ещё тянут “жёлтый” через переменные — принудительно */
.data-table thead th,
.data-table-container .data-table th{
  color: rgba(255,255,255,0.92) !important;
}

/* =========================================================
   HERO RESKIN: Variant 2 (Neon Frame) + kill yellow in HERO
   Paste at the VERY END of style.css
   ========================================================= */

/* База: делаем hero “неоновой карточкой” */
.hero-offer{
  position: relative;
  overflow: hidden;
}

/* Мягкий неоновый оверлей (не влияет на адаптив) */
.hero-offer::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 320px at 20% 25%, rgba(139,70,201,0.22) 0%, rgba(139,70,201,0.00) 60%),
    radial-gradient(900px 320px at 85% 40%, rgba(77,20,114,0.28) 0%, rgba(77,20,114,0.00) 62%),
    linear-gradient(145deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-offer > *{ position: relative; z-index: 1; }

/* DESKTOP */
@media (min-width: 993px){
  .hero-offer{
    background: rgba(0,0,0,0.35) !important;
    border: 1px solid rgba(139,70,201,0.65) !important;
    box-shadow:
      0 20px 60px rgba(0,0,0,0.60),
      0 0 0 1px rgba(77,20,114,0.35) inset,
      0 0 28px rgba(77,20,114,0.28) !important;
  }

  /* Тексты в hero — белые (никакого жёлтого) */
  .hero-offer__title,
  .hero-offer__subtitle,
  .hero-offer__main-offer{
    color: rgba(255,255,255,0.96) !important;
    text-shadow: 0 10px 25px rgba(0,0,0,0.65) !important;
    -webkit-text-stroke: 0 !important;
  }
}

/* MOBILE (<=992): у тебя было li { color: #ffd746 !important; } — прибиваем */
@media (max-width: 992px){
  .hero-offer{
    background: rgba(0,0,0,0.30) !important;
    border: 1px solid rgba(139,70,201,0.55) !important;
    box-shadow:
      0 16px 45px rgba(0,0,0,0.55),
      0 0 24px rgba(77,20,114,0.22) !important;
  }

  .hero-offer__title,
  .hero-offer__subtitle,
  .hero-offer__main-offer{
    color: rgba(255,255,255,0.96) !important;
    text-shadow: 0 10px 25px rgba(0,0,0,0.65) !important;
    -webkit-text-stroke: 0 !important;
  }

  /* Если внутри main-offer есть список/ли — вырубаем жёлтый на 100% */
  .hero-offer__main-offer li{
    color: rgba(255,255,255,0.92) !important;
    text-shadow: none !important;
    background: rgba(0,0,0,0.26);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    padding: 10px 12px !important;
  }

  /* если были ⭐ — оставляем, но без жёлтого влияния */
  .hero-offer__main-offer li::before{
    filter: none !important;
    opacity: 0.85;
  }
}

/* EXTRA: если где-то в hero остался “жёлтый” через em/strong — тоже в белый */
.hero-offer em,
.hero-offer strong,
.hero-offer b,
.hero-offer span{
  color: inherit !important;
}

/* =========================================================
   DESKTOP FIX: FORCE HERO NEON FRAME + kill yellow (all sizes)
   Paste at the VERY END of style.css
   ========================================================= */

/* HERO card: применяем везде (не через media) */
body .hero-offer{
  position: relative !important;
  overflow: hidden !important;

  background: rgba(0,0,0,0.35) !important;
  border: 1px solid rgba(139,70,201,0.65) !important;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.60),
    0 0 0 1px rgba(77,20,114,0.35) inset,
    0 0 28px rgba(77,20,114,0.28) !important;
}

body .hero-offer::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;

  background:
    radial-gradient(900px 320px at 20% 25%, rgba(139,70,201,0.22) 0%, rgba(139,70,201,0.00) 60%),
    radial-gradient(900px 320px at 85% 40%, rgba(77,20,114,0.28) 0%, rgba(77,20,114,0.00) 62%),
    linear-gradient(145deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.55) 100%) !important;
}

body .hero-offer > *{
  position: relative !important;
  z-index: 1 !important;
}

/* KILL YELLOW IN HERO: прибиваем жёлтые заголовки/текст только внутри hero */
body .hero-offer .hero-offer__title,
body .hero-offer .hero-offer__subtitle,
body .hero-offer .hero-offer__main-offer,
body .hero-offer h1,
body .hero-offer h2,
body .hero-offer h3,
body .hero-offer p,
body .hero-offer li{
  color: rgba(255,255,255,0.96) !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 10px 25px rgba(0,0,0,0.65) !important;
}

/* На мобилке у тебя раньше было li { color: #ffd746 !important; } — тут точно перетираем */
body .hero-offer .hero-offer__main-offer li{
  text-shadow: none !important;
  background: rgba(0,0,0,0.26);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 10px 12px !important;
}

/* Чтобы em/strong не тащили жёлтый */
body .hero-offer em,
body .hero-offer strong,
body .hero-offer b,
body .hero-offer span{
  color: inherit !important;
}

/* =========================================================
   HOTFIX: HERO-OFFER perks (remove bg blocks + 2x smaller text)
   + Sticky brand color (Spinmama -> green)
   Paste at the VERY END of style.css
   ========================================================= */

/* 1) HERO banner: убираем фон/рамки у "контейнеров" с фичами */
.hero-offer .hero-offer__main-offer,
.hero-offer .hero-offer__main-offer *{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* если фичи сделаны элементами внутри (div/p/span/li) — прибиваем их "карточность" */
.hero-offer .hero-offer__main-offer > div,
.hero-offer .hero-offer__main-offer > p,
.hero-offer .hero-offer__main-offer > span,
.hero-offer .hero-offer__main-offer li{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* 1b) В 2 раза уменьшаем размер шрифта для этих строк (актуально для десктопа со скрина) */
@media (min-width: 993px){
  .hero-offer .hero-offer__main-offer{
    font-size: 21px !important;   /* было ~42px */
    line-height: 1.15 !important;
  }

  /* на случай, если внутри есть отдельные блоки со своим font-size */
  .hero-offer .hero-offer__main-offer > div,
  .hero-offer .hero-offer__main-offer > p,
  .hero-offer .hero-offer__main-offer > span,
  .hero-offer .hero-offer__main-offer li{
    font-size: 21px !important;
    line-height: 1.15 !important;
  }
}

/* 2) Sticky CTA снизу: делаем "Spinmama" зелёным и читаемым */
.sticky-cta__brand{
  color: var(--accent-cta, #9FE933) !important;
  text-shadow: 0 0 12px rgba(159, 233, 51, 0.28) !important;
}
