/* ==========================================================================
   CYBER TECH RESKIN (Based on SpinGranny Structure)
   Theme: Dark Blue / Cyan / Roboto / Ubuntu
   ========================================================================== */

/* ==========================================================================
   1. IMPORTS & VARIABLES
   ========================================================================== */
/* Подключаем Roboto и Ubuntu, как в новом бренде */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Ubuntu:wght@400;500;700&display=swap');

:root {
  /* --- FONTS --- */
  --font-base: 'Roboto', sans-serif;
  --font-display: 'Ubuntu', sans-serif;

  /* --- PALETTE (New Brand System) --- */
  --bg-body: #0f0f14;       /* Deepest Dark */
  --bg-card: #1a1a24;       /* Panel Background */
  --bg-element: #22222f;    /* Inputs / Hover states */

  /* --- ACCENTS --- */
  --accent-primary: #26e7ef; /* Cyan - Main Action */
  --accent-hover: #36f8ff;   /* Lighter Cyan */
  --accent-gold: #ffc736;    /* Gold/Yellow Accent */
  
  /* --- BUTTONS --- */
  /* Градиент не используется, ставим сплошной цвет или очень легкий */
  --btn-gradient: #26e7ef; 
  --btn-gradient-hover: #36f8ff;
  
  /* Цвет текста на кнопке (Темный на голубом) */
  --btn-text: #19191c; 

  /* --- TEXT --- */
  --text-main: #FFFFFF;
  --text-muted: hsla(0, 0%, 100%, 0.65); /* 65% White */
  --border-color: rgba(255, 255, 255, 0.12);

  /* --- GEOMETRY --- */
  --block-radius: 12px;     /* Карточки */
  --btn-radius: 12px;       /* Кнопки (не 50px!) */
  
  --container-width: 1240px;
  --transition: 0.3s ease;

  --color-success: #03b660;
  --color-error: #f62c1f;

  /* --- LAYOUT HELPERS --- */
  --sg-header-h: 0px;      
  --sg-sticky-h: 86px;     
  --sg-footer-shift: 0px;  
}

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

body {
  background-color: var(--bg-body);
  /* Имитируем "свечение" нового бренда через радиальные градиенты на фоне */
  background-image:
    radial-gradient(50% 50% at 50% 0%, rgba(38, 231, 239, 0.1) 0%, rgba(15, 15, 20, 0) 100%),
    url('/assets/images/bg/bg-hero.webp'), 
    linear-gradient(to top, #0f0f14 0%, rgba(15,15,20,0) 100%);
  
  background-repeat: no-repeat;
  background-attachment: fixed;

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

  background-position:
    top center,
    top center,
    bottom center;
}

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

/* ТИПОГРАФИКА */
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); /* Ubuntu */
  font-weight: 700;
  letter-spacing: -0.02em; /* Чуть плотнее, как в оригинале */
  text-transform: uppercase;
}

/* Формы */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  font-family: var(--font-base);
  font-weight: 400;
  background-color: var(--bg-element);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 10px;
}
input:focus, textarea:focus, select:focus {
    background-color: #282838;
    border-color: var(--border-color);
}

/* Общие контейнеры */
.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 (Rectangular with small radius 12px)
   ========================================================================== */
.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: var(--btn-radius); /* 12px */
  font-size: 16px;
  cursor: pointer;
  border: none;
  text-align: center;
  background: var(--accent-primary); /* Cyan */
  color: var(--btn-text) !important; /* Dark Grey */
  text-shadow: none;
  box-shadow: none; /* Убираем тени для плоского стиля */
  transition: var(--transition);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.button:hover, .main-offer__cta-button:hover, .game-grid__more-button:hover {
  background: var(--accent-hover); /* Brighter Cyan */
  transform: none; /* В этом стиле кнопки обычно не прыгают */
  box-shadow: 0 0 15px rgba(38, 231, 239, 0.4);
  filter: none;
}

.button--secondary {
  background: var(--bg-element); /* #22222f */
  border: none;
  color: #FFFFFF !important;
  box-shadow: none;
  text-shadow: none;
}
.button--secondary:hover { 
  background: #282838;
  color: #fff !important; 
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.main-header {
  background-color: #1a1a24; /* Dark Blue Panel */
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  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: 14px;
  text-transform: uppercase;
  padding: 6px 0;
  transition: 0.3s;
  letter-spacing: 0.2px;
  color: var(--text-muted) !important;
  text-shadow: none;
}
.main-nav__link:hover {
  color: #FFFFFF !important;
  text-shadow: none;
}

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

.main-nav__item { position: relative; }
.main-nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 10px;
  background: #22222f;
  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: 500;
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #fff;
  border-radius: 8px;
}
.main-nav__submenu-link:hover {
  background: #282838;
  color: #fff;
}
@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-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
}

.hero-offer__main-offer {
  color: #FFFFFF;
  -webkit-text-stroke: 0 !important;
  text-shadow: none;
  line-height: 1.2 !important;
  font-weight: 700;
}

.hero-offer__title {
  color: #FFFFFF;
  margin-bottom: 16px;
  text-shadow: none;
  line-height: 1.3 !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;

    /* Dark Panel Look */
    background: var(--bg-card) !important;
    backdrop-filter: none;
    
    border: none;
    border-radius: 20px;
    padding: 48px !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  }
  .hero-offer__main-offer { font-size: 42px !important; margin-bottom: 24px !important; }
  .hero-offer__title { font-size: 32px !important; }
}

/* ==========================================================================
   6. MAIN BRAND OFFER
   ========================================================================== */
.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 var(--border-color);
  border-radius: 20px;
  padding: 40px 30px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}
.main-offer__logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 25px;
  filter: none;
}
.main-offer .hero-offer__main-offer {
  font-size: 42px !important;
  line-height: 1.1 !important;
  margin-bottom: 20px !important;
  color: #FFFFFF;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.main-offer__condition {
  font-family: var(--font-base);
  font-size: 16px;
  color: var(--text-muted);
  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: #22222f;
  padding: 10px 16px;
  border-radius: 8px;
  letter-spacing: 0.2px;
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   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 var(--border-color);
  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: 400;
  font-size: 16px !important;
  line-height: 1.5;
  color: var(--text-muted) !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: var(--text-muted);
  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: 32px;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: none;
  color: #fff;
  font-family: var(--font-display);
}

.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: 12px;
  overflow: hidden;
  transition: 0.3s;
  padding: 24px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.bonus-card-v2:hover { transform: translateY(-5px); border-color: var(--accent-primary); }
.bonus-card-v2__title { font-size: 20px; color: #fff; margin-bottom: 8px; font-family: var(--font-display); }
.bonus-card-v2__offer { font-size: 26px; color: var(--accent-primary); margin-bottom: 20px; font-family: var(--font-display); }

.game-grid__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.game-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1.3;
  background: var(--bg-card);
  border: 1px solid transparent;
  transition: var(--transition);
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.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.05); }
.game-card__overlay {
  position: absolute; inset: 0;
  background: rgba(15, 15, 20, 0.8); /* Dark Overlay */
  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: 1px solid #fff;
  color: #fff !important;
  box-shadow: none;
  text-shadow: none;
}
.game-card__button.button--secondary:hover { border-color: var(--accent-primary); background: transparent !important; color: var(--accent-primary) !important; }
.game-card__title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(15, 15, 20, 0.9);
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 13px;
  text-align: center;
  color: #fff;
  border-top: none;
  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: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.provider-grid__title {
  font-size: 24px;
  color: #fff;
  border-bottom: 2px 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: #22222f;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s;
}
.provider-grid__item:hover, .quick-deposit__item:hover {
  background: #282838;
  color: #fff;
  border-color: transparent;
}
.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: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}
.reg-steps__item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}
.reg-steps__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--bg-element);
  border: 1px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent-primary);
  box-shadow: none;
}
.reg-steps__content { display: flex; flex-direction: column; }
.reg-steps__title {
  margin: 0 0 8px 0;
  font-family: var(--font-display);
  font-size: 18px;
  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: #fff; font-style: normal; font-weight: 700; }

.update-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(3, 182, 96, 0.08) !important;
  border: 1px solid var(--color-success);
  box-shadow: none;
  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: #000000;
  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: var(--text-muted); font-size: 0.9em; font-style: italic; }

.responsible-gaming-block {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  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: #22222f;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-align: left;
  transition: var(--transition);
}
.rg-tool-card:hover { border-color: var(--accent-primary); background: #282838; }
.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: #333; 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: 12px;
  border: 1px solid var(--border-color);
  padding: 30px;
  margin-bottom: 0 !important;
}
.faq-accordion__title {
  font-size: 24px;
  border-left: 5px solid var(--accent-primary);
  padding-left: 15px;
  color: #fff;
  font-family: var(--font-display);
}
.faq-item__question {
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 700;
  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: 400;
  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: #1a1a24;
  color: #fff;
  padding: 18px 15px;
  font-family: var(--font-display);
  font-size: 14px;
  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.05);
  font-family: var(--font-base);
  font-weight: 500;
  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: 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: #22222f; }

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.main-footer {
  background-color: #1a1a24 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border-top: 1px solid var(--border-color) !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); margin-bottom: 25px; line-height: 1.4; }

.footer-column__title {
  font-family: var(--font-display, sans-serif);
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
  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: 400;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  text-shadow: none;
  transition: 0.3s;
}
.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: 15px;
}
.footer-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 15px;
}
.footer-badge {
  background: #22222f;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-badge:hover { background: #282838; 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: 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: 26px;
  padding-top: 18px;
  border-top: 1px solid #333;
  color: #555;
  font-size: 12px;
}

/* ==========================================================================
   13. SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar { width: 10px; background: #0f0f14; }
::-webkit-scrollbar-track { background: #0f0f14; }
::-webkit-scrollbar-thumb { background: #22222f; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

/* ==========================================================================
   14. STICKY CTA
   ========================================================================== */
@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: #1a1a24;
  border-top: 2px solid var(--accent-primary);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.8);

  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-primary); /* Cyan */
  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: none;
}
.sticky-cta__button {
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  padding: 12px 35px !important;
  white-space: nowrap;
  box-shadow: none !important;
  animation: none;
  background: var(--accent-primary) !important;
  color: var(--btn-text) !important;
  border-radius: 12px !important;
}

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

.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: #22222f;
  border: 1px solid var(--accent-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font-display);
  font-size: 30px;
  color: var(--accent-primary);
  box-shadow: none;
}

.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: 700;
}

.license-address{
  margin-top: 12px;
  font-family: var(--font-base);
  font-size: 12px;
  color: #666;
  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: #22222f;
  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-primary);
  background: #282838;
}

.security-item-icon{
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  color: var(--color-success);
}

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

.security-text strong{
  font-family: var(--font-base);
  font-weight: 700;
  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
   ========================================================================== */
.author-box{
  background: var(--bg-card) !important;
  backdrop-filter: none;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 34px 26px !important;

  text-align: center !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.author-box__avatar{
  max-width: 180px;
  height: auto;
  margin: 0 auto 12px auto;
  filter: none;
  transition: transform 0.3s ease;
  border-radius: 50%;
  border: 3px solid var(--accent-primary);
}

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

.author-box__name{
  font-family: var(--font-display);
  font-size: 28px;
  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: 700;
  font-size: 13px;
  color: var(--accent-primary);
  letter-spacing: 1px;
  text-transform: uppercase;

  background: #22222f;
  border: 1px solid var(--accent-primary);
  padding: 6px 16px;
  border-radius: 12px;

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

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

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

/* ==========================================================================
   17. ARTICLE TEXT
   ========================================================================== */
#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) {

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

  body{
    background-size:
      100% 600px,
      100% auto,      
      100% 520px;

    background-position:
      top center,
      right 0 top var(--sg-header-h),
      bottom center;
  }

  #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: 8px !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: 8px;
    background: transparent;
    border: 1px solid #333;
    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: #1a1a24 !important;
    backdrop-filter: none;
    
    border-bottom: 1px solid #333;
    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: 8px;
    background: #22222f;
    border: 1px solid transparent;
  }
  .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: var(--bg-card) !important;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);

    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__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: 700 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
    color: #fff !important;
    text-shadow: none !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: none;
    opacity: 0.90;
    color: var(--accent-primary);
  }
  .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: 12px;
    padding: 14px 14px;
    margin-bottom: 14px;
    box-shadow: none;
  }
  .data-table td{
    display: flex;
    flex-direction: column;       
    align-items: center;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #333;
    font-family: var(--font-base);
    font-weight: 500;
    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: 700;
    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: 6px;
    background: #22222f;
    border: 1px solid var(--accent-primary);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
  }

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

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

  .license-rich-card{
    padding: 22px !important;
    border-radius: 12px;
    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-box{
    padding: 26px 18px !important;
    border-radius: 12px;
  }
  .author-box__name{ font-size: 24px; }
  .author-box__bio{ font-size: 14px; }
}

@media (max-width: 360px) {
  .main-header__actions a.button--secondary { display: none !important; }
}

@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.9; }
  .sticky-cta__offer { font-size: 16px; }
  .sticky-cta__button {
    font-size: 16px !important;
    padding: 10px 20px !important;
    box-shadow: none !important;
    animation: none;
    background: var(--accent-primary) !important;
    color: var(--btn-text) !important;
  }

  .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;
  }
}

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

/* =========================================================
   PATCHES (BRAND SPECIFIC)
   ========================================================= */

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

.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;
}

@media (max-width: 992px) {
  :root { --sticky-safe: 92px; }

  .main-footer{
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body{
    background-image:
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, #0f0f14 100%),
      url('/assets/images/bg/bg-hero.webp'),
      linear-gradient(to top, rgba(0, 0, 0, 0) 78%, #0f0f14 100%);

    background-size: 100% 600px, auto 600px, 100% 500px;

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

/* TABLE RESET for Mobile */
@media (max-width: 992px) {
  .data-table tr { text-align: center !important; }

  .data-table td{
    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;
    flex: none !important;
    max-width: none !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .data-table .promo-code{
    display: inline-flex;
    margin: 6px auto 0 auto;
  }
}

/* =========================================================
   FORCING THEME CONSTANTS (Safety Net)
   ========================================================= */

:root {
  --bg-body: #0f0f14;
  --bg-card: #1a1a24;
  --bg-element: #22222f;
  --text-main: #FFFFFF;
  --text-muted: hsla(0, 0%, 100%, 0.65);
  --border-color: rgba(255, 255, 255, 0.12);
  --accent-primary: #26e7ef;
  --accent-hover: #36f8ff;
  --accent-gold: #ffc736;
  --btn-text: #19191c;
}

body {
  background-color: var(--bg-body) !important;
}

.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(--accent-primary) !important;
  color: var(--btn-text) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.button:hover, .main-offer__cta-button:hover, .game-grid__more-button:hover{
  background: var(--accent-hover) !important;
}

.button--secondary{
  background: var(--bg-element) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.button--secondary:hover{
  background: #282838 !important;
}

.main-header{
  background-color: var(--bg-card) !important;
  border-bottom-color: var(--border-color) !important;
}
.main-nav__submenu{
  background: var(--bg-element) !important;
  border-color: var(--border-color) !important;
}

.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;
}

.provider-grid__item, .quick-deposit__item{
  background: var(--bg-element) !important;
  border-color: transparent !important;
}
.provider-grid__item:hover, .quick-deposit__item:hover{
  background: #282838 !important;
  color: #fff !important;
}

.bonus-card-v2__offer,
.data-table th,
.hero-offer__main-offer li,
.reg-steps__description em,
.nc-steps__description em{
  color: #fff !important;
}
.data-table th{
  background: var(--bg-card) !important;
  border-bottom-color: var(--border-color) !important;
}

.sticky-cta{
  background: var(--bg-card) !important;
  border-top-color: var(--accent-primary) !important;
}
.main-footer{
  background-color: var(--bg-card) !important;
  border-top-color: var(--border-color) !important;
}

::-webkit-scrollbar { background: var(--bg-body) !important; }
::-webkit-scrollbar-thumb { background: var(--bg-element) !important; }
::-webkit-scrollbar-thumb:hover { background: #333 !important; }

.main-offer{
  box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

.provider-grid, .quick-deposit, .data-table-container, .faq-accordion,
.responsible-gaming-block, .license-rich-card{
  box-shadow: 0 6px 12px rgba(0,0,0,0.2) !important;
}

.main-footer,
.main-footer .footer-text,
.main-footer .footer-column__list a,
.main-footer__copyright{
  color: var(--text-muted) !important;
}

.main-footer .footer-column__title{
  color: #ffffff !important;
}

.main-footer .footer-column__list a:hover{
  color: #fff !important;
}

.sticky-cta__brand{
  color: var(--accent-primary) !important;
  text-shadow: none !important;
}