:root {
  --black: #000000;
  --black-soft: #0a0a0a;
  --black-card: #111111;
  --yellow: #ffd700;
  --yellow-dark: #e6c200;
  --yellow-glow: rgba(255, 215, 0, 0.22);
  --white: #ffffff;
  --blue: #2160c4;
  --blue-light: #4a8dff;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(180, 198, 235, 0.88);
  --border: #1f1f1f;
  --layout: min(1360px, 100%);
  --banner-width: min(80vw, calc(100% - 24px));
  --pad: clamp(14px, 3vw, 24px);
  --radius: 10px;
  --mobile-bar-h: 56px;
  --font: "Noto Sans Thai", "Manrope", "Segoe UI", sans-serif;
  --display: "Sora", "Manrope", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--blue-light); text-decoration: none; }
a:hover { color: var(--yellow); }
img { display: block; height: auto; max-width: 100%; }
button { cursor: pointer; font: inherit; }

h1, .h1 {
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h2, .h2 {
  color: var(--blue-light);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 1.5rem 0 0.75rem;
}

h3, .h3 {
  color: var(--blue-light);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}

p, .article p, .section-lead {
  color: var(--text);
  margin-bottom: 0.85rem;
}

.muted, .section-lead { color: var(--muted); }

.site-header {
  background: var(--black);
  border-bottom: 2px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--layout);
  min-height: 68px;
  padding: 10px var(--pad);
  width: 100%;
}

.brand-logo {
  display: block;
  height: auto;
  max-height: 52px;
  width: auto;
}

.brand-text {
  align-items: baseline;
  display: inline-flex;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-text .c-yellow { color: var(--yellow); }
.brand-text .c-white { color: var(--white); }
.brand-text .c-blue { color: var(--blue); }

.header-nav {
  align-items: center;
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.header-nav a {
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 12px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  background: var(--yellow-glow);
  color: var(--yellow);
}

.auth-btns {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.btn {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn-login {
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--white);
}

.btn-login:hover {
  background: rgba(33, 96, 196, 0.2);
  color: var(--white);
}

.btn-join {
  background: linear-gradient(180deg, #ffe566 0%, var(--yellow) 55%, var(--yellow-dark) 100%);
  border: 1px solid #c9a800;
  box-shadow: 0 4px 0 #8a7200, 0 6px 14px rgba(0, 0, 0, 0.45);
  color: var(--black);
}

.btn-join:hover { transform: translateY(-1px); }

.menu-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 40px;
  justify-content: center;
  padding: 8px;
  width: 40px;
}

.menu-toggle span {
  background: var(--yellow);
  border-radius: 2px;
  display: block;
  height: 2px;
  width: 100%;
}

.banner {
  margin: 0 auto;
  max-width: var(--banner-width);
  padding: 16px var(--pad) 0;
}

.banner-link { display: block; }

.banner-picture { display: block; position: relative; }

.banner-img {
  border-radius: 0;
  display: block;
  width: 100%;
}

.jackpot-bar {
  margin: 16px auto 0;
  max-width: var(--layout);
  padding: 0 var(--pad);
}

.jackpot-pill {
  align-items: center;
  background: linear-gradient(90deg, #0d0d0d, #151515, #0d0d0d);
  border: 1px solid var(--yellow);
  border-radius: 999px;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 12px 20px;
}

.jackpot-label { color: var(--white); font-size: 0.85rem; font-weight: 600; }
.jackpot-amount { color: var(--yellow); font-family: var(--display); font-size: 1.25rem; font-weight: 800; }

.site-main {
  margin: 0 auto;
  max-width: var(--layout);
  padding: 20px var(--pad) 48px;
}

.auth-strip {
  display: none;
  gap: 10px;
  margin-bottom: 16px;
}

.auth-strip .btn { flex: 1; }

.mobile-footer-bar {
  display: none;
}

.block { margin-bottom: 28px; }

.block-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  margin-bottom: 14px;
  text-align: center;
}

.block-head h2 { margin: 0; }

.block-head a { color: var(--blue-light); font-size: 0.88rem; font-weight: 600; }

.stats-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.stat-card p { color: var(--muted); font-size: 0.82rem; margin-bottom: 6px; }
.stat-card strong { color: var(--yellow); font-family: var(--display); font-size: 1.15rem; }

.cats, .promo-grid, .provider-grid, .feature-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.cat-card, .promo-card, .provider-card, .feature-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.cat-card:hover, .promo-card:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.card-media, .provider-media {
  aspect-ratio: 400 / 250;
  background: #0f0f0f;
  position: relative;
}

.promo-card .card-media {
  overflow: hidden;
}

.promo-glow-wave {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.promo-glow-wave::before {
  animation: promo-glow-wave 2.8s ease-in-out infinite;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 215, 0, 0.04) 16%,
    rgba(255, 215, 0, 0.14) 42%,
    rgba(74, 141, 255, 0.18) 58%,
    rgba(33, 96, 196, 0.06) 84%,
    transparent 100%
  );
  content: "";
  height: 100%;
  left: -70%;
  position: absolute;
  top: 0;
  width: 70%;
}

.promo-glow-wave::after {
  animation: promo-glow-wave 2.8s ease-in-out infinite;
  animation-delay: 1.4s;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 28%,
    rgba(255, 215, 0, 0.06) 48%,
    rgba(74, 141, 255, 0.1) 52%,
    rgba(255, 255, 255, 0.02) 72%,
    transparent 100%
  );
  content: "";
  height: 100%;
  left: -50%;
  position: absolute;
  top: 0;
  width: 45%;
}

.promo-card .card-media .card-img,
.promo-card .card-media .card-fallback {
  position: relative;
  z-index: 1;
}

@keyframes promo-glow-wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(320%); }
}

.provider-media { aspect-ratio: 250 / 80; }

.card-img, .provider-logo {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.card-fallback, .provider-fallback {
  align-items: center;
  color: var(--muted);
  display: none;
  font-size: 0.75rem;
  height: 100%;
  justify-content: center;
  inset: 0;
  position: absolute;
  text-align: center;
}

.is-placeholder .card-img,
.is-placeholder .provider-logo { display: none; }

.is-placeholder .card-fallback,
.is-placeholder .provider-fallback { display: flex; }

.brand-link strong { color: var(--yellow); }

.cat-card > span:last-child,
.promo-card > span:last-child {
  color: var(--white);
  font-weight: 700;
  padding: 10px 12px;
  text-align: center;
}

.feature-card {
  align-items: center;
  gap: 8px;
  padding: 18px 14px;
  text-align: center;
}

.feature-card .ico { font-size: 1.6rem; }
.feature-card h3 { margin: 0; }
.feature-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }

.article-block { margin-top: 8px; }

.article {
  padding: 0;
}

.article ul { color: var(--text); margin: 0 0 1rem 1.25rem; }
.article li { margin-bottom: 0.35rem; }

.toc-box {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  margin: 1rem 0 1.5rem;
  padding: 14px 16px;
}

.toc-box strong { color: var(--yellow); display: block; margin-bottom: 8px; text-align: center; }
.toc-box ol { color: var(--muted); margin-left: 1.2rem; }
.toc-box a { color: var(--blue-light); text-decoration: none; }
.toc-box a:hover { color: var(--yellow); text-decoration: underline; }

.faq-list details {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}

.faq-list details[open] {
  border-color: var(--blue);
}

.faq-list summary {
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding-right: 24px;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  color: var(--yellow);
  content: '+';
  font-size: 1.2rem;
  font-weight: 700;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after { content: '−'; }

.faq-list details p {
  color: var(--muted);
  margin: 8px 0 0;
}

.faq-list details p:first-of-type {
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 10px;
}

.site-footer {
  background: var(--black-soft);
  border-top: 2px solid var(--blue);
  padding: 24px var(--pad) 32px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-nav a { color: var(--white); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--yellow); }

.footer-copy { color: var(--muted); font-size: 0.85rem; }
.footer-copy strong { color: var(--yellow); }

.sub-page {
  margin: 0 auto;
  max-width: 860px;
  padding: 32px var(--pad) 48px;
}

.sub-page h1 { margin-bottom: 1rem; }

@media (max-width: 960px) {
  .stats-grid, .cats, .promo-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-grid { grid-template-columns: repeat(3, 1fr); }
  .provider-hide-mobile { display: none; }
}

@media (max-width: 768px) {
  .header-nav {
    background: var(--black-soft);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 12px var(--pad);
    position: absolute;
    right: 0;
    top: 100%;
  }

  .header-nav.is-open { display: flex; }
  .auth-btns { display: none; }
  .menu-toggle { display: flex; }
  .auth-strip { display: none; }

  body {
    padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
  }

  .mobile-footer-bar {
    align-items: stretch;
    background: rgba(0, 0, 0, 0.96);
    border-top: 1px solid var(--border);
    bottom: 0;
    display: flex;
    gap: 10px;
    left: 0;
    padding: 8px var(--pad) calc(8px + env(safe-area-inset-bottom, 0px));
    position: fixed;
    right: 0;
    z-index: 100;
  }

  .mobile-footer-bar .btn {
    flex: 1;
    font-size: 0.9rem;
    min-height: 44px;
  }

  .provider-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .stats-grid, .cats, .promo-grid, .feature-grid, .provider-grid { grid-template-columns: 1fr; }
}

/* —— test template sections (W69 theme) —— */
.promo-ticker {
  background: linear-gradient(90deg, var(--yellow-dark), var(--yellow), var(--blue));
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 700;
  overflow: hidden;
  padding: 9px 0;
}

.promo-ticker-track {
  animation: w69-marquee 38s linear infinite;
  display: flex;
  width: max-content;
}

.promo-ticker-track span {
  flex-shrink: 0;
  padding-right: 4rem;
  white-space: nowrap;
}

@keyframes w69-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .promo-ticker-track { animation: none; }
}

.cta-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
}

.cta-row .btn { justify-content: center; width: 100%; }

.btn-hot {
  background: linear-gradient(180deg, #ffe566, var(--yellow), var(--yellow-dark));
  border: 1px solid #c9a800;
  box-shadow: 0 4px 0 #8a7200;
  color: var(--black);
}

.casino-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-bottom: 20px;
}

.casino-chip {
  align-items: center;
  background: transparent;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--white);
  display: flex;
  flex: 0 0 8.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
  padding: 8px;
  text-align: center;
  white-space: nowrap;
  width: 8.25rem;
}

.casino-chip:hover {
  background: rgba(33, 96, 196, 0.15);
  border-color: var(--yellow);
  color: var(--yellow);
}

.live-chat {
  align-items: center;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--yellow);
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  padding: 12px;
}

.live-dot {
  animation: w69-pulse 1.5s ease infinite;
  background: #3dff9a;
  border-radius: 50%;
  box-shadow: 0 0 8px #3dff9a;
  flex-shrink: 0;
  height: 10px;
  width: 10px;
}

@keyframes w69-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.live-chat strong { color: var(--yellow); font-size: 0.9rem; }

.banks-section h3,
.gallery-section h3,
.review-scores h3 {
  color: var(--white);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 10px;
  position: relative;
  text-align: center;
}

.banks-section h3::after,
.gallery-section h3::after,
.review-scores h3::after {
  background: linear-gradient(90deg, var(--yellow), var(--blue));
  border-radius: 2px;
  bottom: 0;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 72px;
}

.banks-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
}

.bank-item {
  align-items: center;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 76px;
  padding: 12px 6px;
  text-align: center;
  transition: border-color 0.2s;
}

.bank-item:hover { border-color: var(--yellow); }

.bank-item .status {
  background: rgba(61, 255, 154, 0.12);
  border: 1px solid rgba(61, 255, 154, 0.3);
  border-radius: 999px;
  color: #3dff9a;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
}

.bank-item .name {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}

.gallery-grid-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.gallery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.game-card {
  background: rgba(10, 10, 10, 0.95);
  border-radius: 12px;
  color: inherit;
  display: block;
  isolation: isolate;
  overflow: hidden;
  padding: 2px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.game-card::before {
  animation: gallery-glow-spin 2.8s linear infinite;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 250deg,
    rgba(255, 215, 0, 0.2) 265deg,
    var(--yellow) 290deg,
    var(--blue-light) 320deg,
    rgba(74, 141, 255, 0.2) 335deg,
    transparent 350deg 360deg
  );
  content: "";
  inset: -130%;
  position: absolute;
  z-index: 0;
}

.game-card:nth-child(3n + 2)::before { animation-delay: -0.95s; }
.game-card:nth-child(3n)::before { animation-delay: -1.9s; }

.game-card:hover {
  box-shadow:
    0 0 18px rgba(255, 215, 0, 0.28),
    0 0 22px rgba(33, 96, 196, 0.32);
  transform: translateY(-3px);
}

.game-card:hover::before { animation-duration: 1.6s; }

.game-card img {
  aspect-ratio: 300 / 400;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  position: relative;
  width: 100%;
  z-index: 1;
}

@keyframes gallery-glow-spin {
  to { transform: rotate(360deg); }
}

.info-table-wrap { margin-bottom: 28px; overflow-x: auto; }

.info-table {
  border-collapse: collapse;
  font-size: 0.88rem;
  width: 100%;
}

.info-table th,
.info-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.info-table thead th {
  background: var(--black-card);
  border-bottom: 3px solid var(--yellow);
  color: var(--yellow);
  font-weight: 700;
  text-align: center;
}

.info-table td:first-child {
  background: var(--black-soft);
  color: var(--muted);
  font-weight: 600;
  width: 40%;
}

.info-table td:last-child {
  background: var(--black-card);
  color: var(--blue-light);
  font-weight: 700;
}

.article-block .article {
  content-visibility: auto;
}

.article h1,
.article h2,
.article h3 {
  text-align: center;
}

.article-table-section h2 {
  text-align: center;
}

.article-compare thead th {
  text-align: center;
}

.article-table-section { margin-bottom: 32px; }

.article-compare-wrap { margin: 16px 0 0; overflow-x: auto; }

.article-compare {
  border-collapse: collapse;
  font-size: 0.88rem;
  width: 100%;
}

.article-compare th,
.article-compare td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.article-compare thead th {
  background: var(--black-card);
  border-bottom: 2px solid var(--yellow);
  color: var(--yellow);
  font-weight: 700;
}

.article-compare td:first-child {
  background: var(--black-soft);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
  width: 30%;
}

.article-compare td.compare-brand {
  background: rgba(255, 215, 0, 0.08);
  color: var(--yellow);
}

.article-compare td:last-child { color: var(--text); line-height: 1.5; }

.review-scores--above-footer {
  border-top: 1px solid var(--border);
  padding: 24px var(--pad);
}

.review-scores-inner { margin: 0 auto; max-width: var(--layout); }

.review-scores h3 {
  font-size: 0.92rem;
  margin-bottom: 12px;
  padding-bottom: 0;
}

.review-scores h3::after { display: none; }

.review-scores-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-scores .review-card {
  align-items: center;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
  text-align: center;
}

.review-name {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.review-score {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.review-score em {
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

.site-footer.rich-footer {
  padding: 32px var(--pad) 24px;
  text-align: left;
}

.footer-inner { margin: 0 auto; max-width: var(--layout); }

.footer-heading {
  color: var(--yellow);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  text-align: center;
  text-transform: uppercase;
}

.footer-pay-wrap { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.footer-banks,
.footer-wallets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pay-btn {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 8px 12px;
  white-space: nowrap;
}

.pay-btn-wallet { align-items: center; display: inline-flex; gap: 6px; }

.pay-btn-wallet svg { flex-shrink: 0; height: 16px; width: 16px; }

.pay-btn-promptpay { border-color: #005baa; color: #4db8ff; }
.pay-btn-truemoney { border-color: #ff6600; color: #ff9933; }
.pay-btn-linepay { border-color: #06c755; color: #3de87a; }

.footer-features {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 28px;
}

.footer-feature-card {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
}

.footer-feature-card:hover { border-color: var(--blue); }

.footer-feature-icon {
  align-items: center;
  color: var(--yellow);
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.footer-feature-icon svg { height: 28px; width: 28px; }

.footer-feature-card h4 { color: var(--white); font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; }

.footer-feature-card p { color: var(--muted); font-size: 0.72rem; line-height: 1.45; margin: 0; }

.footer-divider {
  background: linear-gradient(90deg, var(--yellow), var(--blue));
  height: 1px;
  margin-bottom: 24px;
  opacity: 0.35;
  width: 100%;
}

.footer-nav-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  margin-bottom: 24px;
}

.footer-col-brand { align-items: flex-start; display: flex; }

.footer-logo { max-height: 40px; width: auto; }

.footer-col-title { color: var(--yellow); font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a { color: var(--muted); font-size: 0.8rem; transition: color 0.2s; }

.footer-col a:hover { color: var(--yellow); }

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-badge {
  align-items: center;
  border: 1px solid var(--blue);
  border-radius: 6px;
  color: var(--blue-light);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 6px;
  padding: 9px 14px;
}

.footer-badge svg { flex-shrink: 0; height: 15px; width: 15px; }

@media (max-width: 900px) {
  .casino-cats { display: grid; gap: 6px; grid-template-columns: repeat(4, 1fr); }
  .casino-chip { flex: none; width: auto; }
  .banks-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-scores-grid { grid-template-columns: 1fr; }
  .footer-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col-brand { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .cta-row { grid-template-columns: 1fr; }
  .casino-cats { grid-template-columns: repeat(2, 1fr); }
  .banks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-nav-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col-brand { justify-content: center; }
}
