/* ==========================================================================
   SPINGRANNY GLOBAL STYLES (REWORKED — FINAL)
   Fonts: Montserrat (ALL UI + Headers + Buttons)
   Theme: Deep Cocoa / Warm Brown / Gold (Rolldorado-like, clean)
   Notes:
   - One coherent system (no conflicting end-patches)
   - Keeps your original structure & selectors, but values/behavior are reworked
   ========================================================================== */

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

:root {
  /* --- FONTS --- */
  --font-base: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: var(--font-base); /* clean brand look */

  /* --- PALETTE (ROLLDORADO COCOA) --- */
  --bg-body: #0F0800;                 /* page deep cocoa */
  --bg-deep: #0B0600;                 /* deepest cocoa */
  --bg-card: linear-gradient(180deg, rgba(40,26,10,0.90) 0%, rgba(21,12,3,0.96) 100%); /* surface */
  --bg-element: rgba(51, 41, 31, 0.55);
  --bg-element-strong: rgba(33, 22, 10, 0.92);

  /* --- ACCENTS (GOLD + WARM GOLD STROKE) --- */
  --accent-primary: #FFEB32;          /* Rolldorado gold */
  --accent-hover: #FFF06A;            /* gold hover */
  --accent-gold: #D8BF2A;             /* stroke / pills (muted gold) */

  /* --- BUTTONS --- */
  --btn-gradient: linear-gradient(180deg, #FFEB32 0%, #E9CD1A 100%);
  --btn-gradient-hover: linear-gradient(180deg, #FFF06A 0%, #F0D33A 100%);
  --btn-text: #1A1200;

  /* --- TEXT --- */
  --text-main: #F8F8F8;
  --text-muted: #B39478;
  --text-muted-2: rgba(179,148,120,0.75);
  --border-color: rgba(255, 255, 255, 0.06);

  /* --- RADII / SIZING --- */
  --block-radius: 16px;
  --container-width: 1240px;
  --transition: 0.25s ease;

  /* --- STATES --- */
  --color-success: #0CE41E;
  --color-error: #FF3B6B;

  /* --- 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 */

  /* --- HERO BG SIZING --- */
  --sg-hero-h: 560px;      /* mobile overrides */

  /* --- BACKGROUND BLENDS (NEW) --- */
  --sg-hero-bg-area: 980px;     /* height of hero background area */
  --sg-footer-bg-area: 1100px;  /* height of footer background area */

  --sg-hero-fade: 220px;        /* fade length from hero image into bg */
  --sg-footer-fade: 260px;      /* fade length from bg into footer image */

  --sg-footer-overlay: rgba(15, 8, 0, 0.62); /* footer dim for readability */
}

/* ==========================================================================
   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.2px;
}

body {
  background-color: var(--bg-body);

  /* Keep your 4-layer background logic, but reworked to Rolldorado Cocoa/Gold (no purple film conflicts) */
  background-image:
    /* HERO fade (smooth transition into main bg color) */
    linear-gradient(
      to bottom,
      rgba(15,8,0,0) 0%,
      rgba(15,8,0,0) calc(100% - var(--sg-hero-fade)),
      var(--bg-body) 100%
    ),

    radial-gradient(1200px 520px at 18% 12%, rgba(255,235,50,0.08) 0%, rgba(255,235,50,0.00) 60%),
    url('/assets/images/bg/bg-hero.webp'),

    /* FOOTER fade (smooth transition from main bg color into footer image) */
    linear-gradient(
      to bottom,
      var(--bg-body) 0%,
      var(--bg-body) 0%,
      rgba(15,8,0,0) var(--sg-footer-fade),
      rgba(15,8,0,0) 100%
    ),

    /* FOOTER dim overlay (to make white text readable) */
    linear-gradient(0deg, var(--sg-footer-overlay), var(--sg-footer-overlay)),

    radial-gradient(1200px 520px at 72% 94%, rgba(255,235,50,0.06) 0%, rgba(255,235,50,0.00) 62%),
    url('/assets/images/bg/bg-footer.webp');

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

  /* Desktop defaults (mobile overrides below) */
  background-size:
    100% var(--sg-hero-bg-area),
    100% var(--sg-hero-bg-area),
    100% auto,
    100% var(--sg-footer-bg-area),
    100% var(--sg-footer-bg-area),
    100% var(--sg-footer-bg-area),
    100% auto;

  /* footer bg can be lifted by variable */
  background-position:
    top center,
    top center,
    top center,
    center calc(100% - var(--sg-footer-shift, 0px)),
    center calc(100% - var(--sg-footer-shift, 0px)),
    center calc(100% - var(--sg-footer-shift, 0px)),
    center calc(100% - var(--sg-footer-shift, 0px));
}

/* Prevent content from hiding behind sticky CTA */
#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; }

/* TYPOGRAPHY: clean Montserrat for headings + buttons */
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: 800;
  letter-spacing: 0.4px;
  text-transform: none;
}

/* Uppercase ONLY where it improves UI clarity */
.main-nav__link,
.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 {
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

/* Containers */
.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;
}

/* Narrow blocks */
.author-box, .testimonial,
.expert-rating-card, .callout, .quick-deposit,
.evidence-box, .security-fairness { max-width: 900px; }

/* ==========================================================================
   3. BUTTONS (FLAT / CLEAN)
   ========================================================================== */
.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: 999px;
  font-size: 16px;

  cursor: pointer;
  border: none;
  text-align: center;

  background: var(--btn-gradient);
  color: var(--btn-text) !important;

  box-shadow: none !important;
  text-shadow: none !important;

  transition: var(--transition);
}

.button:hover, .main-offer__cta-button:hover, .game-grid__more-button:hover,
.sticky-cta__button:hover, .hero-offer__cta:hover,
.bonus-calculator__button:hover, .onboarding-simulator__button:hover {
  background: var(--btn-gradient-hover);
  transform: translateY(-1px);
  filter: brightness(1.02);
}

/* Secondary (outline / glassless) */
.button--secondary {
  background: transparent !important;
  border: 2px solid rgba(255,235,50,0.55) !important;
  color: rgba(248,248,248,0.96) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.button--secondary:hover {
  background: rgba(255,235,50,0.10) !important;
  border-color: rgba(255,235,50,0.72) !important;
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.main-header {
  background-color: rgba(15, 8, 0, 0.92);
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  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;
}

/* Logo */
.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;
}

/* Links */
.main-nav__link {
  font-family: var(--font-base) !important;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  padding: 6px 0;
  transition: var(--transition);
  letter-spacing: 0.8px;
  color: rgba(248,248,248,0.94) !important;
  text-shadow: none;
}
.main-nav__link:hover {
  color: var(--accent-primary) !important;
  text-shadow: none;
}

.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(33, 22, 10, 0.96);
  border: 1px solid rgba(255,235,50,0.18);
  border-radius: 12px;

  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  display: none;
  z-index: 1000;
}
.main-nav__submenu-link {
  font-family: var(--font-base);
  font-weight: 700;
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: rgba(248,248,248,0.92);
}
.main-nav__submenu-link:hover {
  background: rgba(255,235,50,0.08);
  border-radius: 8px;
}
@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: 18px;
  color: var(--text-muted);
}

.hero-offer__main-offer {
  color: #fff;
  -webkit-text-stroke: 0 !important;
  text-shadow: none;
  line-height: 1.15 !important;
}

.hero-offer__title {
  color: #fff;
  margin-bottom: 10px;
  text-shadow: none;
  line-height: 1.2 !important;
}

/* DESKTOP HERO */
@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: linear-gradient(90deg, rgba(33,22,10,0.92) 0%, rgba(44,30,12,0.92) 50%, rgba(33,22,10,0.92) 100%) !important;
    border: 1px solid rgba(255,235,50,0.16);
    border-radius: 20px;
    padding: 40px !important;

    box-shadow: none;
  }

  .hero-offer__main-offer { font-size: 34px !important; margin-bottom: 18px !important; }
  .hero-offer__title { font-size: 28px !important; }
}

/* ==========================================================================
   6. MAIN BRAND OFFER (CLEAN CARD)
   ========================================================================== */
.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: var(--bg-card) !important;
  border: 1px solid rgba(255,235,50,0.14);
  border-radius: 24px;

  padding: 40px 30px !important;
  box-shadow: none !important;
}
.main-offer__logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 22px;
  filter: none;
}
.main-offer .hero-offer__main-offer {
  font-size: 34px !important;
  line-height: 1.1 !important;
  margin-bottom: 18px !important;
  color: #fff;

  -webkit-text-stroke: 0;
  text-shadow: none;
}
.main-offer__condition {
  font-family: var(--font-base);
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 26px;
  max-width: 620px;
  line-height: 1.5;
}
.main-offer__cta-button {
  min-width: 220px;
  padding: 16px 42px;
  font-size: 16px;
  margin-bottom: 18px;
}
.main-offer__promo-code {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 800;
  color: #fff;

  background: rgba(255,235,50,0.12);
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255,235,50,0.28);
}

/* ==========================================================================
   7. APP DOWNLOAD
   ========================================================================== */
.app-download {
  background: var(--bg-card) !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: 1px solid rgba(255,235,50,0.14);
  border-radius: 20px;

  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;

  box-shadow: none;
}
.app-download__image { display: block; margin: 0 auto 20px auto; }
.app-download__title {
  font-size: 30px !important;
  line-height: 1.2;
  margin-bottom: 12px !important;
  color: #fff;
}
.app-download__desc {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 15px !important;
  line-height: 1.55;
  color: var(--text-muted) !important;
}
.app-download__footer {
  margin-top: 28px;
  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: 12px;
  color: var(--text-muted-2);
  font-style: italic;
}
.app-download__note em { color: #fff; font-style: normal; font-weight: 700; }

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

.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: var(--transition);
  padding: 25px;
  box-shadow: none;
}
.bonus-card-v2:hover { transform: translateY(-2px); border-color: rgba(255,235,50,0.18); }

.bonus-card-v2__title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.bonus-card-v2__offer {
  font-size: 24px;
  color: var(--accent-primary);
  margin-bottom: 18px;
  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(-2px);
  border-color: rgba(255,235,50,0.18);
  box-shadow: none;
}
.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.06); }

.game-card__overlay {
  position: absolute; inset: 0;
  background: rgba(15, 8, 0, 0.92);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transition: 0.25s ease;
  z-index: 2;
}
.game-card:hover .game-card__overlay { opacity: 1; }

.game-card__button {
  min-width: 120px;
  padding: 10px 18px !important;
  font-size: 12px !important;
  border-radius: 999px !important;
}
.game-card__button.button--secondary {
  background: transparent !important;
  border: 2px solid rgba(255,235,50,0.55) !important;
  color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.game-card__button.button--secondary:hover {
  border-color: rgba(255,235,50,0.72) !important;
  background: rgba(255,235,50,0.10) !important;
}
.game-card__title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

  padding: 10px;
  background: rgba(33, 22, 10, 0.96);
  font-family: var(--font-base);
  font-weight: 800;
  font-size: 12px;

  text-align: center;
  color: #fff;

  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 3;
}
.game-grid__more-button { display: block; margin: 28px 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;
  box-shadow: none;
}

.provider-grid__title {
  font-size: 24px;
  color: #fff;

  border-bottom: 2px solid rgba(255,235,50,0.20);
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.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 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,235,50,0.16);

  font-family: var(--font-base);
  font-weight: 800;
  font-size: 12px;

  transition: var(--transition);
}
.provider-grid__item:hover, .quick-deposit__item:hover {
  background: rgba(255,235,50,0.10);
  border-color: rgba(255,235,50,0.22);
  color: #fff;
}
.quick-deposit__title, .data-table-container__title, .nc-block__title {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  margin-bottom: 18px;
}

/* ==========================================================================
   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);
  box-shadow: none;
}
.reg-steps__item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,235,50,0.18);
  box-shadow: none;
}
.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: 18px;
  color: var(--btn-text);

  box-shadow: none;
}
.reg-steps__content { display: flex; flex-direction: column; }
.reg-steps__title {
  margin: 0 0 10px 0;
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff;
  line-height: 1.25;
  text-transform: uppercase;
}
.reg-steps__description {
  margin: 0;
  font-family: var(--font-base);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.reg-steps__description em { color: var(--accent-primary); font-style: normal; font-weight: 800; }

.update-banner {
  display: flex;
  align-items: center;
  gap: 14px;

  background: rgba(12, 228, 30, 0.10) !important;
  border: 1px solid rgba(12, 228, 30, 0.50);

  box-shadow: none;
  border-radius: 12px;

  padding: 14px 20px;
  margin: 0 auto 30px auto;
  max-width: 800px;
}
.update-banner__icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0;

  background: var(--color-success);
  color: var(--btn-text);

  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
}
.update-banner__text { font-family: var(--font-base); font-size: 14px; color: #fff; line-height: 1.45; }
.update-banner__text strong { color: var(--color-success); font-weight: 800; }
.update-banner__date { display: inline-block; margin-left: 8px; color: rgba(248, 248, 248, 0.62); font-size: 0.92em; 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;
  box-shadow: none;
}
.rg-intro { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; line-height: 1.65; }
.rg-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; margin-bottom: 22px; }
.rg-tool-card {
  background: var(--bg-element);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,235,50,0.16);
  text-align: left;
  transition: var(--transition);
  box-shadow: none;
}
.rg-tool-card:hover { border-color: rgba(255,235,50,0.22); transform: translateY(-1px); }
.rg-tool-header { color: #fff; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.rg-tool-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.rg-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  text-align: left;
}
.rg-contact { font-size: 13px; color: var(--text-muted); }
.rg-contact a { color: var(--accent-primary); font-weight: 900; }
.rg-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.rg-badge { background: rgba(255,235,50,0.12); padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; border: 1px solid rgba(255,235,50,0.18); }
.rg-badge--18 { background: transparent; border: 1px solid var(--color-error); color: var(--color-error); font-weight: 900; }

/* ==========================================================================
   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;
  box-shadow: none;
}
.faq-accordion__title {
  font-size: 24px;
  border-left: 4px solid var(--accent-primary);
  padding-left: 14px;
  color: #fff;
}
.faq-item__question {
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff;

  padding: 14px 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: 600;
  font-size: 14px;
  color: var(--text-muted);

  max-height: 0;
  overflow: hidden;
  transition: 0.35s ease;

  line-height: 1.65;
}
.faq-item.is-open .faq-item__answer { max-height: 520px; padding-bottom: 14px; }

/* Tables */
.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: fixed; /* prevents overflow from long content */
}
.data-table th {
  background: var(--bg-element-strong);
  color: rgba(255,255,255,0.96);

  padding: 16px 12px;
  font-family: var(--font-display);
  font-size: 14px;
  text-align: center;

  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.6px;

  overflow-wrap: anywhere;
  word-break: break-word;
}
.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  color: #fff;

  text-align: center;

  overflow-wrap: anywhere;
  word-break: break-word;
}
.data-table td:first-child {
  text-align: left;
  padding-left: 20px;
  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.04); }

.data-table .promo-code{
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;

  background: rgba(255,235,50,0.12);
  border: 1px solid rgba(255,235,50,0.28);
  color: rgba(248,248,248,0.98);

  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.main-footer {
  background-color: rgba(15, 8, 0, 0.92) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border-top: 1px solid rgba(255, 255, 255, 0.06) !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: 18px; }
.footer-text { font-size: 13px; color: rgba(179,148,120,0.88); margin-bottom: 22px; line-height: 1.45; }

.footer-column__title {
  font-family: var(--font-display, sans-serif);
  font-size: 18px;
  color: rgba(255,255,255,0.96);
  margin-bottom: 18px;
  text-shadow: none;
}
.footer-column__list { list-style: none; padding: 0; margin: 0; }
.footer-column__list a {
  font-family: var(--font-base, sans-serif);
  font-weight: 700;

  color: rgba(179,148,120,0.88);
  font-size: 13px;

  text-decoration: none;
  display: block;
  margin-bottom: 8px;

  text-shadow: none;
  transition: var(--transition);
}
.footer-column__list a:hover { color: #fff; text-shadow: none; }

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 12px;
}
.footer-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
.footer-badge {
  background: rgba(255,235,50,0.06);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border: 1px solid rgba(255,235,50,0.12);
  border-radius: 10px;

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

  transition: var(--transition);
}
.footer-badge:hover { background: rgba(255,235,50,0.10); transform: translateY(-1px); }

.footer-badge--text-full {
  height: 48px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
}
.footer-badge--text-18 {
  width: 48px;
  height: 48px;
  font-size: 13px;
  font-weight: 900;
  color: var(--color-error);
}

.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: none;
}
.main-footer__copyright {
  text-align: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(179,148,120,0.78);
  font-size: 12px;
}

/* ==========================================================================
   13. SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar { width: 10px; background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: rgba(255,235,50,0.14); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,235,50,0.22); }

/* ==========================================================================
   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, 8, 0, 0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  border-top: 3px solid rgba(255,235,50,0.60);
  box-shadow: 0 -18px 45px rgba(0, 0, 0, 0.55);

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

  animation: slideUpFade 0.5s 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: 14px;
  color: rgba(248,248,248,0.72);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: 0.8px;
}
.sticky-cta__offer {
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.5px;
}
.sticky-cta__offer strong {
  color: #fff;
  text-shadow: none;
}
.sticky-cta__button {
  font-family: var(--font-display) !important;
  font-size: 16px !important;
  padding: 12px 28px !important;
  white-space: nowrap;
  box-shadow: none !important;
  animation: none;
}

/* ==========================================================================
   15. LICENSE / SECURITY RICH CARD (CLEAN)
   ========================================================================== */
.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: none;
}

.license-header{
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.license-icon-box{
  flex-shrink: 0;
  width: 56px;
  height: 56px;

  background: var(--btn-gradient);
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font-display);
  font-size: 24px;
  color: var(--btn-text);

  box-shadow: none;
}

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

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

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

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

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

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

.security-item{
  background: var(--bg-element);
  border: 1px solid rgba(255,235,50,0.16);
  border-radius: 12px;
  padding: 14px;

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

  transition: var(--transition);
  box-shadow: none;
}

.security-item:hover{
  border-color: rgba(255,235,50,0.22);
  background: rgba(255,235,50,0.10);
}

.security-item-icon{
  font-size: 22px;
  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: 900;
  font-size: 14px;
  color: #fff;
}

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

/* ==========================================================================
   16. AUTHOR BOX (CLEAN)
   ========================================================================== */
.author-box{
  background: var(--bg-card) !important;
  border: 1px solid rgba(255,235,50,0.14);
  border-radius: 24px;

  padding: 34px 26px !important;
  text-align: center !important;

  box-shadow: none;
}

.author-box__avatar{
  max-width: 180px;
  height: auto;
  margin: 0 auto 12px auto;

  filter: none;
  transition: transform var(--transition);
}

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

.author-box__name{
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  line-height: 1.2;

  text-transform: uppercase;
  margin: 0 0 8px 0;
  text-shadow: none;
}

.author-box__title{
  font-family: var(--font-base);
  font-weight: 900;
  font-size: 12px;
  color: #fff;

  letter-spacing: 0.8px;
  text-transform: uppercase;

  background: rgba(255,235,50,0.12);
  border: 1px solid rgba(255,235,50,0.18);

  padding: 6px 16px;
  border-radius: 999px;

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

.author-box__bio{
  font-family: var(--font-base);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;

  max-width: 780px;
  margin: 0 auto;
}

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

/* ==========================================================================
   17. ARTICLE TEXT (JUSTIFY) — CLEAN + SAFE
   ========================================================================== */
#container p,
#container li{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: anywhere;
}
#container p { text-align-last: left; }

/* Do not justify UI blocks */
.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) {

  :root{
    --sg-header-h: 76px;
    --sg-footer-shift: 220px;
    --sg-sticky-h: 86px;

    --sg-hero-h: clamp(220px, calc(100vw * 2 / 3), 380px);

    --sg-hero-bg-area: 600px;
    --sg-footer-bg-area: 820px;

    --sg-hero-fade: 170px;
    --sg-footer-fade: 210px;

    --sg-footer-overlay: rgba(15, 8, 0, 0.66);
  }

  /* Background: ensure hero image fits by width, pinned right, shifted under header */
  body{
    background-size:
      100% var(--sg-hero-bg-area),
      100% var(--sg-hero-bg-area),
      100% auto,
      100% var(--sg-footer-bg-area),
      100% var(--sg-footer-bg-area),
      100% var(--sg-footer-bg-area),
      100% auto;

    background-position:
      right 0 top var(--sg-header-h),
      right 0 top var(--sg-header-h),
      right 0 top var(--sg-header-h),
      center calc(100% - var(--sg-footer-shift)),
      center calc(100% - var(--sg-footer-shift)),
      center calc(100% - var(--sg-footer-shift)),
      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: 999px !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,235,50,0.06);
    border: 1px solid rgba(255,235,50,0.14);

    cursor: pointer;
    position: relative;
    z-index: 30002 !important;

    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .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 (fixed, scrollable) */
  .main-header { z-index: 30000 !important; overflow: visible !important; }
  .main-header .container { position: static !important; }
  .main-header__actions{ position: relative; z-index: 30001 !important; }

  #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;

    padding: 12px 14px !important;

    background: rgba(15, 8, 0, 0.98) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    border-bottom: 1px solid rgba(255,255,255,0.06);

    max-height: calc(100vh - var(--sg-header-h, 76px)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  #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 12px !important;
  }
  #main-nav .main-nav__link {
    display: inline-flex;
    padding: 10px 12px;

    border-radius: 12px;
    background: rgba(255,235,50,0.06);
    border: 1px solid rgba(255,235,50,0.14);
  }
  .main-nav__submenu { display: none !important; }

  /* HERO mobile card starts under image */
  .hero-offer{
    max-width: 100% !important;
    text-align: center !important;
    align-items: center !important;

    background: var(--bg-card) !important;
    border: 1px solid rgba(255,235,50,0.14);
    border-radius: 16px;

    box-shadow: none;

    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;
    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;
  }
  .hero-offer__subtitle{ font-size: 15px !important; color: var(--text-muted) !important; }

  /* If hero main offer contains list — keep it clean, no yellow blocks */
  .hero-offer__main-offer{
    margin: 0 0 var(--hero-gap) 0 !important;
    padding: 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 8px 0 !important;
    padding: 0 !important;
    position: relative;

    line-height: 1.25 !important;
    font-size: 12px !important;
    font-weight: 900 !important;

    letter-spacing: 0.2px !important;
    text-transform: uppercase;

    color: rgba(248,248,248,0.86) !important;
    text-shadow: none !important;

    white-space: normal !important;
    word-break: break-word;

    text-align: center !important;
  }
  .hero-offer__main-offer li:last-child { margin-bottom: 0 !important; }

  .hero-offer__cta { margin-top: 12px !important; }

  /* Main Offer mobile */
  .main-offer { padding: 28px 18px !important; border-radius: 18px; }
  .main-offer .hero-offer__main-offer { font-size: 28px !important; }

  /* TABLES mobile — symmetric centered cards (label top, value bottom) */
  .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: none;
  }
  .data-table td{
    display: block;
    text-align: center;

    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);

    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: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text-muted);

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

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

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

  /* Update banner mobile */
  .update-banner { padding: 14px; 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: 24px 18px !important;
    border-radius: 18px;
  }
  .author-box__name{ font-size: 18px; }
  .author-box__bio{ font-size: 14px; }

  /* FOOTER mobile */
  .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: 16px !important;
  }

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

@media (max-width: 992px) {
  .main-footer{
    background-color: rgba(15, 8, 0, 0.62) !important; /* было 0.92 */
  }
}


/* 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: 12px;
    justify-content: space-between;
  }
  .sticky-cta__info { flex: 1; }
  .sticky-cta__brand { font-size: 12px; opacity: 0.85; }
  .sticky-cta__offer { font-size: 14px; }
  .sticky-cta__button {
    font-size: 14px !important;
    padding: 10px 16px !important;
    box-shadow: none !important;
  }
}

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

/* ==========================================================================
   10B. NC STEPS (kept from your structure, clean styling)
   ========================================================================== */
.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);
  box-shadow: none;
}

.nc-steps__item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,235,50,0.18);
  box-shadow: none;
}

.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: 18px;
  color: var(--btn-text);

  box-shadow: none;
}

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

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

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

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

/* ==========================================================================
   FINAL FIXES (kept as integrated logic — no duplicate “patch wars”)
   ========================================================================== */

/* HERO CTA: ensure centered + no accidental absolute transforms */
.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;
  max-width: 320px;
  width: 100%;
}
.hero-offer .hero-offer__cta.button,
.hero-offer__cta.button { white-space: nowrap; }

/* Ensure hero content is column (predictable CTA alignment) */
.hero-offer .hero-offer__content{
  display: flex !important;
  flex-direction: column !important;
}
.hero-offer .hero-offer__content > a.hero-offer__cta{
  align-self: center !important;
  margin: 18px auto 0 auto !important;
  width: fit-content !important;
  max-width: 100% !important;
}
@media (min-width: 993px){
  .hero-offer .hero-offer__content > a.hero-offer__cta{
    min-width: 260px;
    padding: 16px 44px !important;
    font-size: 16px !important;
  }
}

/* Tables never overflow (desktop) */
.data-table-container{
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table th,
.data-table td{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ==========================================================================
   PATCH: UNBREAK HERO + FIX FADE (no image stretching)
   ========================================================================== */

/* 1) Force hero image layer back to proportional size */
body{
  background-size:
    100% var(--sg-hero-bg-area),
    100% var(--sg-hero-bg-area),
    100% auto, /* <-- HERO IMAGE: DO NOT STRETCH */
    100% var(--sg-footer-bg-area),
    100% var(--sg-footer-bg-area),
    100% var(--sg-footer-bg-area),
    100% auto !important;
}

@media (max-width: 992px){
  body{
    background-size:
      100% var(--sg-hero-bg-area),
      100% var(--sg-hero-bg-area),
      100% auto, /* <-- HERO IMAGE: DO NOT STRETCH */
      100% var(--sg-footer-bg-area),
      100% var(--sg-footer-bg-area),
      100% var(--sg-footer-bg-area),
      100% auto !important;
  }
}

/* 2) Make fade area match real hero-image height
   Works great for your generated 3:2 hero images (height ≈ 100vw * 2/3)
   and prevents the hard bottom edge on mobile.
*/
:root{
  --sg-hero-bg-area: clamp(560px, calc(100vw * 2 / 3), 980px);
  --sg-hero-fade: clamp(160px, 14vw, 240px);
}

@media (max-width: 992px){
  :root{
    --sg-hero-bg-area: clamp(220px, calc(100vw * 2 / 3), 380px);
    --sg-hero-fade: clamp(90px, 22vw, 150px);
  }
}

/* ==========================================================================
   PATCH (ADD TO END): Center + Symmetric layout for BONUS offers cards
   Fixes: left/justify text, off-center CTA/logo, uneven padding
   ========================================================================== */

/* Scope ONLY to bonus offers block */
.bonus-grid__container .bonus-card-v2,
.bonus-grid__container .bonus-card {
  /* Make the whole card a centered column */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;

  /* Symmetric padding */
  padding: 28px 24px !important;

  /* Center everything by default */
  text-align: center !important;
}

/* Ensure all direct children behave nicely in a centered card */
.bonus-grid__container .bonus-card-v2 > *,
.bonus-grid__container .bonus-card > * {
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Override your global article justify inside bonus cards */
.bonus-grid__container .bonus-card-v2 p,
.bonus-grid__container .bonus-card-v2 li,
.bonus-grid__container .bonus-card p,
.bonus-grid__container .bonus-card li {
  text-align: center !important;
  text-justify: auto !important;
  hyphens: manual !important;
}

/* Normalize spacing so it looks “symmetrical” */
.bonus-grid__container .bonus-card-v2 h1,
.bonus-grid__container .bonus-card-v2 h2,
.bonus-grid__container .bonus-card-v2 h3,
.bonus-grid__container .bonus-card-v2 h4,
.bonus-grid__container .bonus-card-v2 p,
.bonus-grid__container .bonus-card-v2 small,
.bonus-grid__container .bonus-card-v2 span,
.bonus-grid__container .bonus-card h1,
.bonus-grid__container .bonus-card h2,
.bonus-grid__container .bonus-card h3,
.bonus-grid__container .bonus-card h4,
.bonus-grid__container .bonus-card p,
.bonus-grid__container .bonus-card small,
.bonus-grid__container .bonus-card span {
  margin: 0 !important;
  text-align: center !important;
}

/* Add consistent vertical rhythm */
.bonus-grid__container .bonus-card-v2,
.bonus-grid__container .bonus-card {
  gap: 12px !important;
}

/* Keep long text visually balanced (nice centered “block”) */
.bonus-grid__container .bonus-card-v2 p,
.bonus-grid__container .bonus-card p {
  max-width: 36ch;
}

/* Titles/offers usually look better a bit narrower */
.bonus-grid__container .bonus-card-v2__title,
.bonus-grid__container .bonus-card__title {
  max-width: 34ch;
}
.bonus-grid__container .bonus-card-v2__offer,
.bonus-grid__container .bonus-card__offer {
  max-width: 30ch;
}

/* Center CTA button inside the card */
.bonus-grid__container .bonus-card-v2__cta,
.bonus-grid__container .bonus-card__cta,
.bonus-grid__container .bonus-card-v2 a.button,
.bonus-grid__container .bonus-card a.button,
.bonus-grid__container .bonus-card-v2 button,
.bonus-grid__container .bonus-card button,
.bonus-grid__container .bonus-card-v2 input[type="button"],
.bonus-grid__container .bonus-card input[type="button"],
.bonus-grid__container .bonus-card-v2 input[type="submit"],
.bonus-grid__container .bonus-card input[type="submit"] {
  align-self: center !important;
  margin: 10px auto 0 auto !important;
  width: 100%;
  max-width: 280px;
}

/* Center logo/images if they exist in the card */
.bonus-grid__container .bonus-card-v2 img,
.bonus-grid__container .bonus-card img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Common “footer/logo row” wrappers — keep centered */
.bonus-grid__container .bonus-card-v2 .bonus-card-v2__logo,
.bonus-grid__container .bonus-card-v2 .bonus-card-v2__brand,
.bonus-grid__container .bonus-card-v2 .bonus-card-v2__footer,
.bonus-grid__container .bonus-card .bonus-card__logo,
.bonus-grid__container .bonus-card .bonus-card__brand,
.bonus-grid__container .bonus-card .bonus-card__footer {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
}

/* Mobile tweaks */
@media (max-width: 992px) {
  .bonus-grid__container .bonus-card-v2,
  .bonus-grid__container .bonus-card {
    padding: 24px 18px !important;
  }

  .bonus-grid__container .bonus-card-v2 p,
  .bonus-grid__container .bonus-card p {
    max-width: 34ch;
  }

  .bonus-grid__container .bonus-card-v2__cta,
  .bonus-grid__container .bonus-card__cta,
  .bonus-grid__container .bonus-card-v2 a.button,
  .bonus-grid__container .bonus-card a.button {
    max-width: 320px;
  }
}
/* ==========================================================================
   PATCH (ADD TO END): HERO block — center + symmetric text (future-proof)
   ========================================================================== */

/* Center the hero card contents on ALL breakpoints (overrides desktop left-align rules) */
.hero-offer{
  align-items: center !important;
  text-align: center !important;
}

/* Make layout robust regardless of content length/structure */
.hero-offer .hero-offer__content{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  text-align: center !important;

  /* Symmetric vertical rhythm (no reliance on margins) */
  gap: 16px !important;
}

/* Remove random default margins inside hero and rely on gap */
.hero-offer .hero-offer__content > *{
  margin: 0 !important;
}

/* Override global article justify inside hero (your #container p/li rules) */
.hero-offer :where(p, li){
  text-align: center !important;
  text-align-last: center !important;
  text-justify: auto !important;
  hyphens: manual !important;
}

/* Keep text blocks visually balanced (prevents "wide left slab" look) */
.hero-offer .hero-offer__title{
  max-width: 44ch;
  margin-inline: auto !important;
}

.hero-offer .hero-offer__subtitle{
  max-width: 70ch;
  margin-inline: auto !important;
}

/* List area centered + consistent spacing */
.hero-offer .hero-offer__main-offer{
  width: 100%;
  max-width: 56ch;
  margin-inline: auto !important;
}

.hero-offer .hero-offer__main-offer ul{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;

  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hero-offer .hero-offer__main-offer li{
  width: 100%;
  max-width: 56ch;
  margin: 0 !important;
  padding: 0 !important;

  line-height: 1.25 !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* If any logos/images appear in hero on some pages */
.hero-offer .hero-offer__content img,
.hero-offer .hero-offer__content svg{
  display: block !important;
  margin-inline: auto !important;
}

/* CTA already has a patch in your CSS, but ensure it never drifts */
.hero-offer .hero-offer__cta{
  align-self: center !important;
  margin-inline: auto !important;
}
/* Footer background: Rolldorado warm dark (desktop + mobile) */
.main-footer{
  background-color: rgba(15, 8, 0, 0.92) !important;
}

/* ==========================================================================
   PATCH: Make footer background transparent to reveal BODY footer background
   ========================================================================== */
.main-footer{
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;

  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Safety: if some wrappers/columns get a background from elsewhere */
.main-footer .container,
.main-footer .footer-column{
  background: transparent !important;
}
