/* ============================================================
   BWIN ITALIA — UI KIT STYLESHEET
   style.css | v1.0
   ============================================================ */

/* ---- 1. GOOGLE FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@600;700;800&display=swap');

/* ---- 2. CSS VARIABLES ---- */
:root {
  /* Colors — extracted from bwin screenshot */
  --bg-body:        #111111;
  --bg-header:      #000000;
  --bg-secondary:   #1c1c1c;
  --bg-card:        #222222;
  --bg-card-hover:  #2c2c2c;
  --bg-input:       #2a2a2a;
  --bg-overlay:     rgba(0,0,0,0.75);

  --accent:         #f5a623;
  --accent-hover:   #ffba45;
  --accent-dark:    #c47e0f;
  --accent-green:   #4caf50;
  --accent-red:     #e53935;
  --accent-live:    #ff3d3d;

  --border-color:   #333333;
  --border-accent:  #f5a623;

  --text-main:      #ffffff;
  --text-muted:     #999999;
  --text-dim:       #666666;
  --text-dark:      #111111;

  /* Typography */
  --font-primary:   'Barlow', 'Segoe UI', sans-serif;
  --font-display:   'Barlow Condensed', 'Oswald', sans-serif;
  --font-mono:      'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 80px;

  /* Borders */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card:   0 4px 16px rgba(0,0,0,0.5);
  --shadow-accent: 0 4px 20px rgba(245,166,35,0.3);
  --shadow-hover:  0 8px 32px rgba(0,0,0,0.7);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-med:  0.25s ease;
  --transition-slow: 0.4s ease;

  /* Layout */
  --header-height: 56px;
}

/* ---- 3. RESET ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---- 4. LAYOUT ---- */
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

/* ---- 5. TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(28px, 5vw, 52px); }
h2 { font-size: clamp(22px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; }

p {
  margin-bottom: var(--space-md);
  color: var(--text-muted);
  line-height: 1.7;
}
p:last-child { margin-bottom: 0; }

strong { color: var(--text-main); font-weight: 600; }

/* ---- 6. HEADER ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-header);
  border-bottom: 2px solid var(--accent);
}

.header__content {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  height: var(--header-height);
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
  width: auto;
}

/* Desktop Nav */
.header__menu {
  flex: 1;
}

.header__menu ul {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.header__menu a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.header__menu a:hover,
.header__menu a.active {
  color: var(--accent);
  background: rgba(245,166,35,0.08);
}

.header__menu a.is-live {
  color: var(--accent-live);
}

/* Header Buttons */
.header__buttons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Burger Button */
.header__menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
  background: transparent;
  border-radius: var(--radius-sm);
  margin-left: auto;
  transition: background var(--transition-fast);
}

.header__menu-button:hover {
  background: rgba(255,255,255,0.08);
}

/* Mobile Expand Menu */
.header__expand-menu {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--bg-header);
  border-bottom: 2px solid var(--accent);
  z-index: 999;
}

.header__expand-menu.is-open {
  display: block;
}

.header__expand-menu ul {
  display: flex;
  flex-direction: column;
}

.header__expand-menu a {
  display: block;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.header__expand-menu a:hover {
  color: var(--accent);
  padding-left: var(--space-xl);
}

/* ---- 7. BUTTONS ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px var(--space-lg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  background-color: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}

.button:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.button--secondary {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}
.button--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: transparent;
  transform: translateY(-1px);
}

.button--live {
  background-color: var(--accent-live);
  color: #fff;
  border-color: var(--accent-live);
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,61,61,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(255,61,61,0); }
}

.header__button {
  padding: 8px 20px;
}

/* ---- 8. COVER / HERO ---- */
.cover {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.cover .image.cover__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cover .image.cover__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cover .image.cover__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.88) 40%, rgba(0,0,0,0.15) 100%);
}

.cover__content {
  position: relative;
  z-index: 1;
}

.cover__wrap {
  max-width: 560px;
  padding: var(--space-2xl) 0;
}

.cover__wrap h1 {
  margin-bottom: var(--space-md);
  color: var(--text-main);
}

.cover__wrap h1 span {
  color: var(--accent);
}

.cover__wrap p {
  font-size: 18px;
  margin-bottom: var(--space-lg);
  color: rgba(255,255,255,0.8);
}

.cover__button {
  font-size: 16px;
  padding: 14px 32px;
  box-shadow: var(--shadow-accent);
}

/* ---- 9. ARTICLE & CONTENT ---- */
.article {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.article h2 {
  color: var(--text-main);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.article h3 {
  color: var(--text-main);
  margin-bottom: var(--space-sm);
}

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, rgba(245,166,35,0.12), rgba(245,166,35,0.04));
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md) var(--space-lg);
}

.highlight-box p {
  color: var(--text-main);
  margin: 0;
}

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--text-muted);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-color);
}

.check-list li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- 10. NAV GRID (SEO Interlinking) ---- */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.nav-card {
  display: flex;
  align-items: flex-end;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 140px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-main);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.nav-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

/* With background image */
.nav-card.has-image .nav-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform var(--transition-slow);
}

.nav-card.has-image:hover .nav-card__bg {
  transform: scale(1.06);
}

.nav-card.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  z-index: 1;
}

/* Without image */
.nav-card.no-image {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--space-lg);
  min-height: 120px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
}

.nav-card__icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.nav-card__title {
  position: relative;
  z-index: 2;
  padding: var(--space-md);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-main);
  width: 100%;
}

.nav-card.no-image .nav-card__title {
  padding: 0;
  font-size: 14px;
}

/* ---- 11. FAQ ACCORDION ---- */
.faq__content h2 {
  margin-bottom: var(--space-xl);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-color);
}

.faq__item {
  border-bottom: 1px solid var(--border-color);
}

/* CRITICAL: cursor + indicator on FAQ button */
.js-button-expander {
  cursor: pointer;
  position: relative;
  padding: var(--space-md) 48px var(--space-md) 0;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-main);
  transition: color var(--transition-fast);
  user-select: none;
  display: block;
  width: 100%;
}

.js-button-expander:hover {
  color: var(--accent);
}

/* Plus indicator */
.js-button-expander::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  transition: transform var(--transition-med);
}

.faq__item.is-open .js-button-expander::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__item.is-open .js-button-expander {
  color: var(--accent);
}

/* CRITICAL: hidden by default */
.js-expand-content {
  display: none;
  padding: 0 0 var(--space-md);
  animation: faq-open 0.25s ease;
}

.faq__item.is-open .js-expand-content {
  display: block;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-item__answer p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---- 12. AUTHOR BLOCK ---- */
.author__block {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: var(--space-md);
}

.author__block img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.author__name {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  letter-spacing: 0.04em;
}

.author-position {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 4px 0 0;
}

/* ---- 13. FLOATING BUTTON ---- */
.floating-btn {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 900;
  background-color: var(--accent);
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-accent);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 30px rgba(245,166,35,0.5);
}

/* ---- 14. FOOTER ---- */
.footer {
  background-color: var(--bg-header);
  border-top: 2px solid var(--border-color);
  padding: var(--space-2xl) 0 var(--space-xl);
  margin-top: var(--space-2xl);
}

.footer__content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-color);
}

.footer__brand .logo {
  margin-bottom: var(--space-md);
}

.footer__brand p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-color);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__col a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: block;
}

.footer__col a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer__bottom {
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__legal {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer__badges {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__badge--18 {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 8px;
}

/* ---- 15. UTILITY ---- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag--live { background: var(--accent-live); color: #fff; }
.tag--new  { background: var(--accent-green); color: #fff; }
.tag--hot  { background: var(--accent); color: var(--text-dark); }

.divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: var(--space-xl) 0;
}

/* ---- 16. RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer__content {
    grid-template-columns: 1fr 1fr;
  }
  .nav-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 52px;
  }

  /* Hide desktop nav, show burger */
  .header__menu {
    display: none;
  }

  .header__menu-button {
    display: flex;
  }

  .header__buttons .button {
    padding: 7px 14px;
    font-size: 12px;
  }

  /* Hero */
  .cover {
    min-height: 320px;
    border-radius: 0;
  }

  .cover__wrap {
    padding: var(--space-xl) 0;
  }

  .cover__wrap p {
    font-size: 15px;
  }

  /* Typography */
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  /* Grid */
  .nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .nav-card {
    min-height: 110px;
  }

  /* FAQ */
  .js-button-expander {
    font-size: 14px;
  }

  /* Footer */
  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Author */
  .author__block {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Floating */
  .floating-btn {
    bottom: var(--space-md);
    right: var(--space-md);
    font-size: 12px;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .nav-grid {
    grid-template-columns: 1fr;
  }

  .cover {
    min-height: 260px;
  }

  .footer__content {
    grid-template-columns: 1fr;
  }
}


<!-- Critical fixes: casino listing centering + isolated slot styles -->

    /* Keep casino listing centered */
    .listing-light {
      width: min(100% - 32px, 1180px);
      margin-inline: auto;
      box-sizing: border-box;
    }

    .listing-light-list {
      width: 100%;
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .listing-light-item {
      width: 100%;
      box-sizing: border-box;
    }

    /* Slot section layout */
    .slot-listing-dark {
      width: min(100% - 32px, 1180px);
      margin-inline: auto;
      padding: 34px 0 10px;
      position: relative;
      box-sizing: border-box;
    }

    .slot-listing-head {
      margin-bottom: 24px;
      text-align: center;
    }

    .slot-listing-kicker {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 10px;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(255, 204, 0, 0.12);
      color: #f8cf33;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .slot-listing-head h2 {
      margin: 0 0 10px;
      color: #ffffff;
      font-size: clamp(28px, 4vw, 44px);
      line-height: 1.1;
    }

    .slot-listing-head p {
      max-width: 760px;
      margin: 0 auto;
      color: rgba(255, 255, 255, 0.72);
      font-size: 16px;
      line-height: 1.6;
    }

    /* Isolated slot grid. Do not affect .nav-card or casino listing cards. */
    .slot-listing-dark .slot-cards {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
      width: 100%;
    }

    .slot-listing-dark .card {
      position: relative;
      display: block;
      overflow: hidden;
      border-radius: 22px;
      background: #121212;
      color: #ffffff;
      text-decoration: none;
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
      transform: translateZ(0);
      transition: transform 0.22s ease, box-shadow 0.22s ease;
    }

    .slot-listing-dark .card:hover {
      transform: translateY(-4px);
      box-shadow: 0 24px 52px rgba(0, 0, 0, 0.38);
    }

    .slot-listing-dark .card-img {
      position: relative;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      background: #1a1a1a;
    }

    .slot-listing-dark .card-img img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }

    .slot-listing-dark .card:hover .card-img img {
      transform: scale(1.06);
    }

    /* Sweet Bonanza image centering fix */
    .slot-listing-dark .card-img--sweet-bonanza {
      display: flex;
      align-items: center;
      justify-content: center;
      background:
        radial-gradient(circle at center, rgba(255, 210, 235, 0.28), transparent 58%),
        #1a1a1a;
    }

    .slot-listing-dark .card-img--sweet-bonanza img {
      width: 100%;
      height: 100%;
      padding: 8%;
      object-fit: contain;
      object-position: center center;
      box-sizing: border-box;
    }

    .slot-listing-dark .shimmer {
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 35%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 65%,
        transparent 100%
      );
      transform: translateX(-120%);
      transition: transform 0.75s ease;
    }

    .slot-listing-dark .card:hover .shimmer {
      transform: translateX(120%);
    }

    .slot-listing-dark .overlay {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 14px;
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92),
        rgba(0, 0, 0, 0.38),
        rgba(0, 0, 0, 0.06)
      );
      opacity: 0;
      transition: opacity 0.22s ease;
    }

    .slot-listing-dark .card:hover .overlay {
      opacity: 1;
    }

    .slot-listing-dark .stats {
      display: grid;
      grid-template-columns: 1fr;
      gap: 7px;
      margin-bottom: 12px;
    }

    .slot-listing-dark .st {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 7px 9px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(8px);
    }

    .slot-listing-dark .st-l {
      color: rgba(255, 255, 255, 0.68);
      font-size: 12px;
    }

    .slot-listing-dark .st-v {
      color: #ffffff;
      font-size: 12px;
      font-weight: 800;
    }

    .slot-listing-dark .overlay-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 42px;
      border-radius: 14px;
      background: #f8cf33;
      color: #111111;
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }

    .slot-listing-dark .overlay-btn svg,
    .slot-listing-dark .play svg {
      width: 10px;
      height: 12px;
    }

    .slot-listing-dark .badge {
      position: absolute;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 26px;
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.7);
      color: #ffffff;
      font-size: 11px;
      font-weight: 800;
      backdrop-filter: blur(8px);
    }

    .slot-listing-dark .b-rtp {
      top: 10px;
      left: 10px;
    }

    .slot-listing-dark .b-vol {
      top: 10px;
      right: 10px;
    }

    .slot-listing-dark .b-mx {
      right: 10px;
      bottom: 10px;
    }

    .slot-listing-dark .foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 14px;
      background: linear-gradient(180deg, #171717, #0f0f0f);
    }

    .slot-listing-dark .name {
      margin: 0;
      color: #ffffff;
      font-size: 15px;
      line-height: 1.25;
      font-weight: 850;
    }

    .slot-listing-dark .play {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 999px;
      background: #f8cf33;
      color: #111111;
    }

    .slot-listing-dark .hot {
      position: absolute;
      top: 44px;
      left: 10px;
      z-index: 3;
    }

    .slot-listing-dark .hot-label {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 5px 8px;
      border-radius: 999px;
      background: #ff4d4d;
      color: #ffffff;
      font-size: 10px;
      font-weight: 900;
      letter-spacing: 0.04em;
    }

    .slot-listing-dark .ai-stick {
      display: flex;
      justify-content: center;
      margin-top: 24px;
    }

    .slot-listing-dark .ai-fab {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 48px;
      padding: 12px 18px;
      border: 0;
      border-radius: 999px;
      background: #171717;
      color: #ffffff;
      cursor: pointer;
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
    }

    .slot-listing-dark .ai-icon {
      width: 24px;
      height: 24px;
    }

    .slot-listing-dark .ai-grad {
      font-weight: 850;
    }

    @media (max-width: 1024px) {
      .slot-listing-dark .slot-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    @media (max-width: 768px) {
      .slot-listing-dark .slot-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .slot-listing-dark {
        width: min(100% - 24px, 1180px);
      }
    }

    @media (max-width: 480px) {
      .slot-listing-dark .slot-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }

      .slot-listing-dark .card {
        border-radius: 16px;
      }

      .slot-listing-dark .foot {
        padding: 10px;
        gap: 8px;
      }

      .slot-listing-dark .name {
        font-size: 12px;
        line-height: 1.2;
      }

      .slot-listing-dark .play {
        width: 30px;
        height: 30px;
      }

      .slot-listing-dark .badge {
        min-height: 22px;
        padding: 3px 6px;
        font-size: 9px;
      }

      .slot-listing-dark .hot {
        top: 36px;
        left: 8px;
      }

      .slot-listing-dark .hot-label {
        padding: 4px 6px;
        font-size: 8px;
      }

      .slot-listing-dark .overlay {
        padding: 9px;
      }

      .slot-listing-dark .st {
        padding: 5px 6px;
      }

      .slot-listing-dark .st-l,
      .slot-listing-dark .st-v {
        font-size: 10px;
      }

      .slot-listing-dark .overlay-btn {
        min-height: 34px;
        border-radius: 10px;
        font-size: 11px;
      }
    }
    /* Header safety: prevent menu/layout stretching */
    .header__content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .header__logo {
      flex: 0 0 auto;
    }

    .header__menu {
      flex: 1 1 auto;
      min-width: 0;
    }

    .header__menu ul {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: clamp(12px, 1.5vw, 24px);
      margin: 0;
      padding: 0;
      list-style: none;
      white-space: nowrap;
    }

    .header__menu a {
      display: inline-flex;
      align-items: center;
      font-size: 14px;
      line-height: 1.2;
    }

    .header__buttons {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    /* Footer menu layout: compact, centered, responsive */
    .footer__content {
      display: grid;
      grid-template-columns: minmax(240px, 1.25fr) repeat(4, minmax(150px, 1fr));
      gap: 34px;
      align-items: start;
    }

    .footer__brand {
      max-width: 320px;
    }

    .footer__brand p {
      margin-top: 14px;
      line-height: 1.6;
    }

    .footer__col h4 {
      margin: 0 0 14px;
      font-size: 15px;
      line-height: 1.2;
    }

    .footer__col ul {
      display: grid;
      gap: 9px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .footer__col a {
      display: inline-flex;
      align-items: center;
      line-height: 1.35;
      text-decoration: none;
    }

    @media (max-width: 1180px) {
      .header__menu ul {
        gap: 14px;
      }

      .header__menu a {
        font-size: 13px;
      }

      .footer__content {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .footer__brand {
        grid-column: 1 / -1;
        max-width: 720px;
      }
    }

    @media (max-width: 900px) {
      .header__menu,
      .header__buttons {
        display: none;
      }

      .header__content {
        justify-content: space-between;
      }

      .footer__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
      }

      .footer__brand {
        grid-column: 1 / -1;
      }
    }

    .footer__social {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-top: 34px;
      padding: 22px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer__social-title {
      margin: 0;
      color: rgba(255, 255, 255, 0.74);
      font-size: 14px;
      line-height: 1.4;
    }

    .footer__social-list {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .footer__social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      padding: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      transition: transform 0.2s ease, background 0.2s ease;
    }

    .footer__social-link:hover {
      transform: translateY(-2px);
      background: rgba(255, 204, 0, 0.16);
    }

    .footer__social-icon {
      width: 20px;
      height: 20px;
      display: block;
      object-fit: contain;
    }

    @media (max-width: 560px) {
      .footer__content {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .footer__brand {
        grid-column: auto;
      }

      .footer__social {
        align-items: flex-start;
        flex-direction: column;
      }

      .footer__social-list {
        flex-wrap: wrap;
      }
    }
    /* Mobile navigation as a clean button menu */
    .header__expand-menu {
      display: none;
    }

    .header__mobile-actions {
      display: none;
    }

    @media (max-width: 900px) {
      .header {
        position: sticky;
        top: 0;
        z-index: 1000;
      }

      .header__content {
        position: relative;
      }

      .header__menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }

      .header__expand-menu {
        position: absolute;
        top: calc(100% + 12px);
        left: 12px;
        right: 12px;
        z-index: 999;
        display: none;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 22px;
        background: rgba(12, 12, 12, 0.96);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(18px);
      }

      .header__expand-menu.is-open {
        display: block;
      }

      .header__expand-menu ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
      }

      .header__expand-menu li {
        margin: 0;
        padding: 0;
      }

      .header__expand-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.25;
        text-align: center;
        text-decoration: none;
        transition: background 0.2s ease, transform 0.2s ease;
      }

      .header__expand-menu a:hover,
      .header__expand-menu a:focus-visible {
        background: rgba(255, 204, 0, 0.18);
        transform: translateY(-1px);
      }

      .header__mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
      }

      .header__mobile-action {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 11px 14px;
        border-radius: 999px;
        color: #111111;
        background: #f8cf33;
        font-size: 14px;
        font-weight: 900;
        text-align: center;
        text-decoration: none;
      }

      .header__mobile-action--secondary {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.12);
      }
    }

    @media (max-width: 380px) {
      .header__expand-menu ul {
        grid-template-columns: 1fr;
      }

      .header__mobile-actions {
        grid-template-columns: 1fr;
      }
    }
    /* Mobile nav cards: 3 per row */
    @media (max-width: 768px) {
      .nav-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }

      .nav-card {
        min-height: 96px;
        padding: 12px 8px;
        border-radius: 14px;
      }

      .nav-card__icon {
        font-size: 28px;
        line-height: 1;
      }

      .nav-card__title {
        font-size: 11px;
        line-height: 1.18;
        text-align: center;
        word-break: normal;
      }

      .nav-card.has-image .nav-card__title {
        font-size: 11px;
      }
    }

    @media (max-width: 380px) {
      .nav-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
      }

      .nav-card {
        min-height: 86px;
        padding: 10px 6px;
      }

      .nav-card__icon {
        font-size: 24px;
      }

      .nav-card__title {
        font-size: 10px;
      }
    }

    /* Mobile casino listing: compact cards */
    @media (max-width: 768px) {
      .listing-light {
        width: min(100% - 24px, 1180px);
      }

      .listing-light-list {
        gap: 12px;
      }

      .listing-light-item {
        padding: 14px !important;
        border-radius: 18px !important;
        min-height: auto !important;
      }

      .listing-light-ribbon {
        top: 0 !important;
        right: 14px !important;
        padding: 7px 12px !important;
        border-radius: 0 0 12px 12px !important;
        font-size: 11px !important;
      }

      .listing-light-brand {
        display: grid !important;
        grid-template-columns: 72px 1fr !important;
        align-items: center !important;
        gap: 12px !important;
      }

      .listing-light-left {
        display: block !important;
      }

      .listing-light-logo-box {
        width: 66px !important;
        height: 66px !important;
        min-width: 66px !important;
        border-radius: 16px !important;
      }

      .listing-light-logo-box img {
        max-width: 58px !important;
        max-height: 58px !important;
        object-fit: contain !important;
      }

      .listing-light-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        margin-top: 8px !important;
      }

      .listing-light-tag {
        padding: 4px 7px !important;
        border-radius: 999px !important;
        font-size: 9px !important;
        line-height: 1.1 !important;
      }

      .listing-light-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
      }

      .listing-light-name {
        font-size: 24px !important;
        line-height: 1 !important;
      }

      .listing-light-rating {
        padding: 5px 8px !important;
        border-radius: 10px !important;
        font-size: 14px !important;
      }

      .listing-light-rating-star {
        font-size: 16px !important;
      }

      .listing-light-social {
        justify-content: center !important;
        width: fit-content !important;
        margin: 10px auto 0 !important;
        padding: 7px 10px !important;
        border-radius: 999px !important;
        font-size: 12px !important;
      }

      .listing-light-bonus {
        margin-top: 12px !important;
        font-size: 20px !important;
        line-height: 1.22 !important;
        text-align: center !important;
      }

      .listing-light-usp {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin: 12px 0 !important;
        padding: 0 !important;
      }

      .listing-light-usp li {
        padding: 7px 8px !important;
        border-radius: 10px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
      }

      .listing-light-right {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-top: 10px !important;
      }

      .listing-light-cta {
        min-height: 44px !important;
        padding: 10px 14px !important;
        border-radius: 999px !important;
        font-size: 13px !important;
      }

      .listing-light-urgency {
        justify-content: center !important;
        padding: 7px 8px !important;
        border-radius: 12px !important;
        font-size: 11px !important;
        text-align: center !important;
      }

      .listing-light-review {
        font-size: 12px !important;
        text-align: center !important;
      }
    }

    @media (max-width: 380px) {
      .listing-light-item {
        padding: 12px !important;
      }

      .listing-light-brand {
        grid-template-columns: 62px 1fr !important;
        gap: 10px !important;
      }

      .listing-light-logo-box {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
      }

      .listing-light-logo-box img {
        max-width: 50px !important;
        max-height: 50px !important;
      }

      .listing-light-name {
        font-size: 21px !important;
      }

      .listing-light-bonus {
        font-size: 18px !important;
      }
    }
 