@media (max-width: 1020px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(70, 81, 90, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px) saturate(135%);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav > ul {
    display: grid;
    align-items: stretch;
  }

  .has-dropdown {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dropdown {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.25rem;
    box-shadow: none;
  }

  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-trust {
    grid-template-columns: 1fr;
  }

  .trust-strip--payments div,
  .trust-strip--responsible div {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }

  .sidebar {
    position: static;
    order: -1;
  }

  .casino-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 66px;
  }

  .container,
  .narrow-container {
    width: min(100% - 1rem, var(--container));
  }

  .page-shell {
    padding-top: 0.75rem;
  }

  .casino-card {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
      "rank logo"
      "main main"
      "actions actions";
    min-height: auto;
    padding: 1rem;
    gap: 0.8rem;
    overflow: hidden;
  }

  .casino-rank {
    position: static;
    grid-area: rank;
    align-self: center;
    justify-self: start;
  }

  .casino-logo {
    grid-area: logo;
    width: 100%;
    max-width: 220px;
    height: 82px;
    justify-self: center;
    padding: 0.5rem;
  }

  .casino-logo img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 100% !important;
    max-height: 64px;
    object-fit: contain;
    object-position: center center;
  }

  .casino-main {
    text-align: left;
  }

  .casino-main h3 {
    font-size: 1.08rem;
  }

  .casino-main p,
  .casino-main span {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .casino-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding-top: 0.7rem;
  }

  .btn,
  .brand-cta {
    width: 100%;
  }

  .listing-head,
  .promo-popup {
    display: grid;
  }

  .promo-popup {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .toc,
  .author-box {
    padding: 0.95rem;
  }

  .toc h2,
  .author-box h2 {
    font-size: 1.05rem;
  }

  .toc ol {
    gap: 0.5rem;
    padding-left: 1.15rem;
  }

  .toc a,
  .author-box p,
  .author-box a {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .toc-level-3 {
    margin-left: 0;
    font-size: 0.92rem;
  }

  .author-box {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .author-avatar {
    width: 48px;
    height: 48px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Viewport overflow fix 20260625-v2: do not change desktop popup/menu behavior */
html,
body {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.site-header,
.site-footer,
main,
.page-shell,
.content-grid,
.sidebar,
.glass-panel,
.intro-panel,
.article-body,
.review-content,
.service-content,
.casino-listing,
.casino-grid,
.casino-card,
.casino-main,
.casino-actions,
.toc,
.author-box,
.footer-grid,
.footer-trust,
.trust-strip,
.link-grid,
.faq-accordion,
.faq-list,
.faq-item,
.callout,
.table-scroll {
  max-width: 100%;
  min-width: 0;
}

.content-grid > *,
.footer-grid > *,
.footer-trust > *,
.casino-grid > *,
.link-grid > * {
  min-width: 0;
}

h1,
h2,
h3,
p,
li,
span,
strong,
summary,
th,
td,
.article-body a,
.review-content a,
.service-content a,
.toc a,
.author-box a,
.review-link {
  overflow-wrap: break-word;
  word-break: normal;
}

.article-body,
.review-content,
.service-content,
.intro-panel,
.toc,
.author-box,
.faq-answer,
.casino-main {
  overflow-wrap: anywhere;
}

.btn,
.brand-cta {
  max-width: 100%;
  min-width: 0;
  text-align: center;
  white-space: normal;
}

.casino-logo {
  max-width: 100%;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  max-width: none;
}

@media (max-width: 1020px) {
  .header-inner {
    min-width: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: min(168px, 100%);
    height: auto;
    max-height: 44px;
  }

  .site-nav,
  .dropdown {
    min-width: 0;
    max-width: calc(100vw - 2rem);
    overflow-x: hidden;
  }

  .site-nav a,
  .dropdown a {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .container,
  .narrow-container {
    width: 100%;
    max-width: 100%;
    padding-inline: 0.5rem;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .brand {
    flex: 1 1 auto;
  }

  .menu-toggle {
    flex: 0 0 44px;
  }

  .site-nav {
    left: 0.5rem;
    right: 0.5rem;
    max-width: calc(100vw - 1rem);
    max-height: calc(100dvh - var(--header-height) - 1rem);
    overflow-y: auto;
  }

  .dropdown {
    max-width: 100%;
  }

  .intro-panel,
  .service-content,
  .review-content,
  .article-body,
  .toc,
  .author-box,
  .casino-card,
  .trust-strip {
    padding: 0.9rem;
  }

  .casino-card,
  .casino-actions {
    width: 100%;
  }

  .promo-popup {
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    width: min(360px, calc(100vw - 1rem));
    max-width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 0.85rem;
    padding: 0.9rem;
    margin-inline: 0;
    transform: translate(-50%, -50%);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .promo-popup > * {
    min-width: 0;
    max-width: 100%;
  }

  .promo-popup > img {
    justify-self: center;
    width: min(240px, 100%);
    height: auto;
    max-height: 80px;
    object-fit: contain;
  }

  .promo-popup .btn {
    width: 100%;
  }

  .promo-close {
    top: 0.45rem;
    right: 0.45rem;
  }
}
/* Listing + CTA refresh 2026-07-08 */
.casino-grid--offers,
.casino-grid {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 1120px) {
  .casino-grid--offers,
  .casino-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.casino-card {
  position: relative;
  grid-template-columns: 128px minmax(0, 1fr) 92px 156px;
  grid-template-areas: "logo main rating actions";
  min-height: 128px;
  gap: 0.9rem;
  padding: 1rem;
  align-items: center;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.36);
  background:
    radial-gradient(circle at 92% 0%, rgba(141, 225, 234, 0.26), transparent 34%),
    linear-gradient(145deg, rgba(250, 253, 254, 0.36), rgba(250, 253, 254, 0.17));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.casino-card:hover {
  transform: translateY(-2px);
  border-color: rgba(141, 225, 234, 0.66);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(141, 225, 234, 0.12) inset;
}

.casino-card .casino-rank {
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  width: 30px;
  height: 30px;
  font-size: 0.88rem;
  background: rgba(20, 31, 38, 0.82);
}

.casino-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 235, 168, 0.55);
  border-radius: 999px;
  color: #fff4bf;
  background: rgba(74, 59, 22, 0.58);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.casino-card .casino-logo {
  grid-area: logo;
  width: 128px;
  height: 70px;
  padding: 0.55rem;
  justify-self: start;
  background: rgba(255, 255, 255, 0.16);
}

.casino-logo--text {
  background: linear-gradient(135deg, rgba(141, 225, 234, 0.22), rgba(255, 255, 255, 0.11));
}

.casino-logo--text span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--accent-strong);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.casino-card .casino-main {
  grid-area: main;
  align-self: center;
}

.casino-card .casino-main h3 {
  margin-bottom: 0.28rem;
  padding-right: 4.8rem;
  font-size: 1.08rem;
  line-height: 1.15;
}

.casino-offer-label {
  display: inline-flex;
  margin-bottom: 0.3rem;
  padding: 0.16rem 0.45rem;
  border: 1px solid rgba(141, 225, 234, 0.38);
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(141, 225, 234, 0.1);
  font-size: 0.74rem;
  font-weight: 800;
}

.casino-card .casino-main p {
  margin: 0;
  max-width: 100%;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.32;
}

.casino-card .casino-main small {
  display: block;
  margin-top: 0.32rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.casino-rating {
  grid-area: rating;
  display: grid;
  justify-items: center;
  gap: 0.08rem;
  padding: 0.62rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(8, 18, 22, 0.22);
}

.casino-rating span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.casino-rating strong {
  color: var(--accent-strong);
  font-size: 1.2rem;
  line-height: 1.1;
}

.casino-rating em {
  color: #ffe48f;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: -0.04em;
}

.casino-card .casino-actions {
  grid-area: actions;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.42rem;
  padding-top: 0;
  border-top: 0;
}

.btn.btn-primary,
.btn-offer,
.brand-cta {
  min-height: 54px;
  border: 1px solid rgba(255, 236, 156, 0.7);
  color: #201506;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 38%),
    linear-gradient(135deg, #ffe48f 0%, #ffb23f 52%, #ff8a1f 100%);
  box-shadow: 0 14px 34px rgba(255, 150, 31, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.17) inset;
  font-weight: 950;
  letter-spacing: 0.01em;
  text-transform: none;
}

.btn.btn-primary:hover,
.btn-offer:hover,
.brand-cta:hover {
  color: #160e04;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(255, 150, 31, 0.33), 0 0 0 1px rgba(255, 255, 255, 0.24) inset;
}

.review-link {
  align-self: center;
  color: var(--accent-strong);
  font-weight: 800;
}

.review-link--muted {
  color: var(--muted);
  opacity: 0.78;
}

.brand-cta.brand-cta--review {
  width: min(100%, 760px);
  min-height: 92px;
  margin: 0.2rem 0 1.1rem;
  padding: 1rem 1.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label action"
    "bonus action";
  align-items: center;
  gap: 0.2rem 1rem;
  border-radius: 14px;
  text-align: left;
}

.brand-cta__label {
  grid-area: label;
  color: rgba(32, 21, 6, 0.72);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-cta.brand-cta--review strong {
  grid-area: bonus;
  color: #201506;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.18;
}

.brand-cta.brand-cta--review em {
  grid-area: action;
  min-width: 136px;
  padding: 0.72rem 0.92rem;
  border-radius: 999px;
  color: #fffaf0;
  background: rgba(36, 24, 10, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-style: normal;
  font-weight: 950;
  text-align: center;
}

@media (max-width: 760px) {
  .casino-card {
    grid-template-columns: 86px minmax(0, 1fr);
    grid-template-areas:
      "logo main"
      "rating rating"
      "actions actions";
    min-height: auto;
  }

  .casino-card .casino-logo {
    width: 86px;
    height: 62px;
  }

  .casino-card .casino-rank {
    top: 0.5rem;
    left: 0.5rem;
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }

  .casino-card .casino-main h3 {
    padding-right: 4.6rem;
  }

  .casino-rating {
    grid-template-columns: auto auto 1fr;
    justify-items: start;
    align-items: center;
    padding: 0.52rem 0.65rem;
  }

  .casino-rating em {
    justify-self: end;
  }

  .brand-cta.brand-cta--review {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "bonus"
      "action";
  }

  .brand-cta.brand-cta--review em {
    width: 100%;
    margin-top: 0.25rem;
  }
}

@media (max-width: 420px) {
  .casino-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "main"
      "rating"
      "actions";
  }

  .casino-card .casino-logo {
    width: 100%;
    max-width: 190px;
    justify-self: center;
  }

  .casino-card .casino-main h3 {
    padding-right: 0;
  }

  .casino-badge {
    top: 0.55rem;
    right: 0.55rem;
  }
}
