/* ---------- THEME VARIABLES ---------- */
:root {
  /* Backgrounds */
  --bg-main: #070b12;
  --bg-soft: #020617;
  --bg-elevated: #111827;

  /* Text */
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-soft: #9ca3af;

  /* Accents */
  --accent-primary: #22c55e;
  --accent-secondary: #facc15;
  --accent-info: #38bdf8;

  /* Status */
  --status-hot: #22c55e;
  --status-info: #38bdf8;
  --status-warning: #f97316;
  --status-bad: #ef4444;

  /* Borders & surfaces */
  --border-soft: #1f2937;
  --border-subtle: #111827;

  /* Radii & motion */
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 150ms ease-out;
}

/* ---------- GLOBAL ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top, #111827 0, #020617 40%, #020617 100%);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* Global links (keep clean everywhere) */a {  color: var(--accent-info);  text-decoration: none;}/* Links inside the main article content (fix Lighthouse) */.content a {  border-bottom: 1.5px solid rgba(56, 189, 248, 0.6);  padding-bottom: 1px;}/* Optional: nicer hover */.content a:hover {  border-bottom-color: var(--accent-secondary);}



.wsg-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}


/* Reserve space for the header so content doesn't jump when it's injected */
.wsg-header-root {
  position: relative;      /* root itself is just a normal container */
  min-height: 103.34px;        /* reserve approx. header height on desktop */
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.14), transparent 55%),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.97), rgba(2, 6, 23, 0.94));
}

/* Optional: slightly smaller on tablet/phone if you want */
@media (max-width: 1024px) {
  .wsg-header-root {
    min-height: 38.69px;
  }
}

.wsg-footer-root {
  min-height: 220px;
}

.brand-logo {
  width: 50px;
  height: auto;
  display: block; /* or inline-block */
  margin: 0;      /* no auto centering */
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;         /* space between logo and text */
}

/* ---------- HEADER (DESKTOP: TWO-LAYER, TABLET/MOBILE: SINGLE ROW) ---------- */

.wsg-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 60;
  backdrop-filter: blur(16px);
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.14), transparent 55%),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.97), rgba(2, 6, 23, 0.94));
  border-bottom: 1px solid rgba(15, 23, 42, 0.95);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 0.2rem 0.45rem;
}

/* --- TOP BAR (desktop) --- */

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(15, 23, 42, 0.95);
  padding-bottom: 0.2rem;
}

/* Brand wordmark ("World Spin Guide") */

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  white-space: nowrap;
  text-decoration: none;
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.brand-title-accent {
  color: #F8AB07;
}

.header-top-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 0.8rem;
}

.header-top-link {
  color: var(--text-soft);
  text-decoration: none;
}

.header-top-link:hover {
  color: var(--text-main);
}

.header-top-link-rg {
  color: #facc15;
}

/* --- BOTTOM BAR (desktop baseline) --- */

.header-bottom {
  padding-top: 0.25rem;
}

.header-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Mobile brand: hidden on desktop, shown on tablet/mobile */
.brand-mobile {
  display: none;
}

/* Nav + tools layout */

.main-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.nav-link {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-caret {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-top: 1px;
  display: inline-block;
  transform: translateY(1px);
}

/* Dropdowns */

.nav-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 220px;
  padding: 0.55rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.85);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 120ms ease-out, transform 120ms ease-out, visibility 120ms;
  z-index: 60;
}

.nav-dropdown a {
  padding: 0.25rem 0.45rem;
  border-radius: 0.45rem;
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--text-muted);
}

.nav-dropdown a:hover {
  color: var(--text-main);
  background: rgba(30, 64, 175, 0.4);
}

/* Wider dropdown for long casino review lists */

.nav-dropdown-wide {
  min-width: 260px;
  max-width: 420px;
  column-count: 2;
  column-gap: 1.2rem;
}

.nav-dropdown-wide a {
  break-inside: avoid;
}

/* Show dropdown on hover (desktop) */

.nav-item.has-dropdown:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (min-width: 1025px) {
  /* On touch devices with DESKTOP layout, ignore :hover for dropdowns – JS handles open state */
  body.is-touch .nav-item.has-dropdown:hover > .nav-dropdown,
  body.is-touch .nav-item.has-dropdown:hover > .nav-dropdown-wide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
  }
}



/* Right side: search + burger */

.header-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Search */

.header-search {
  flex: 0 0 210px;
  position: relative;
}

.header-search-input {
  width: 100%;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-size: 0.8rem;
}

.header-search-input::placeholder {
  color: var(--text-soft);
}

.header-search-input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45);
}

/* Meta nav items only for mobile/tablet (About/RG inside burger) */
.nav-meta {
  display: none;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  margin: 4px 0;
  border-radius: 999px;
}

/* JS-controlled open state on touch devices */
.nav-item.has-dropdown.is-open > .nav-dropdown,
.nav-item.has-dropdown.is-open > .nav-dropdown-wide {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- HERO ---------- */

.page-hero {
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at top left, #22c55e22, transparent 60%),
    radial-gradient(circle at top right, #38bdf822, transparent 60%),
    linear-gradient(to bottom, #020617, #020617);
  margin-top: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1.5fr);
  gap: 2.5rem;
  padding: 2.5rem 1.25rem 2.75rem;
}

.hero-main h1 {
  font-size: clamp(1.8rem, 2.3vw + 1.2rem, 2.5rem);
  margin: 0.25rem 0 0.75rem;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-info);
}

.hero-sub {
  color: var(--text-muted);
  max-width: 38rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.hero-score {
  background: radial-gradient(circle at top, #22c55e22, #111827ee);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 118, 110, 0.6);
  padding: 0.9rem 1.2rem;
  min-width: 210px;
}

.score-label {
  display: block;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.score-value {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.score-value span {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-left: 0.1rem;
}

.score-note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.8);
}

.tag-hot {
  border-color: rgba(34, 197, 94, 0.7);
  color: #bbf7d0;
  background: rgba(22, 163, 74, 0.15);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Buttons */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background: var(--accent-primary);
  color: #020617;
  box-shadow: 0 0px 10px rgba(22, 163, 74, 0.35);
}

.btn-primary:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 0px 30px rgba(22, 163, 74, 0.45);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* Hero side card */

.hero-side {
  align-self: stretch;
}

.rating-card {
  height: 100%;
  background: radial-gradient(circle at top, #0f172acc, #020617f0);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(30, 64, 175, 0.7);
  padding: 1.2rem 1.15rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.rating-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.rating-row:last-child {
  border-bottom: none;
  margin-bottom: 0.35rem;
}

.rating-row span:last-child {
  font-weight: 600;
}

.rating-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ---------- LAYOUT ---------- */

.wsg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 4fr);
  gap: 2rem;
  padding: 2.25rem 1.25rem 3rem;
}

.side-toc {
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

.toc-card {
  padding: 1rem;
}

.toc-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin: 0 0 0.6rem;
}

.toc-card nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.toc-card a {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.18rem 0.2rem;
  border-radius: 6px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.toc-card a:hover {
  background: rgba(15, 23, 42, 0.9);
  color: var(--accent-info);
}
.toc-card a.active {
  background: rgba(30, 64, 175, 0.45); /* blue-ish glow */
  color: var(--accent-info);
  font-weight: 600;
}


/* ---------- CARDS / CONTENT ---------- */

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 1.25rem 1.3rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}

.section-block + .section-block {
  margin-top: 1.5rem;
}

.section-block h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.section-block h3 {
  margin-top: 1.2rem;
  font-size: 1rem;
}

.section-block h4 {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

/* Pros & Cons */

.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
  margin-top: 0.75rem;
}

.pros-cons-grid h4 {
  margin-bottom: 0.35rem;
}

.pros-cons-grid ul {
  padding-left: 1.2rem;
}

/* Tables */

.table-wrapper {
  margin-top: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(31, 41, 55, 0.95);
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95));
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.table-wrapper thead {
  background: rgba(15, 23, 42, 0.98);
}

.table-wrapper th,
.table-wrapper td {
  padding: 0.6rem 0.75rem;
  text-align: left;
}

.table-wrapper th {
  font-weight: 600;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(31, 41, 55, 0.85);
}

.table-wrapper tbody tr:nth-child(odd) {
  background: rgba(15, 23, 42, 0.9);
}

.table-wrapper tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.8);
}

.table-wrapper tbody tr:hover {
  background: rgba(30, 64, 175, 0.4);
}

/* Lists & text */

.section-block ul {
  padding-left: 1.2rem;
}

.section-block p {
  margin-top: 0.4rem;
  color: #e5e7eb;
}

.section-block p + p {
  margin-top: 0.2rem;
}

/* FAQ */

#faq details {
  border-radius: 10px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.8);
  padding: 0.55rem 0.75rem;
  margin-top: 0.4rem;
}

#faq summary {
  cursor: pointer;
  font-size: 0.9rem;
}

#faq p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- FOOTER ---------- */

.wsg-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
  padding: 2.5rem 0 2.25rem;
  font-size: 0.85rem;
}

/* Top: nav layout */

.footer-top {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

/* CENTER the columns block on the page */
.footer-nav {
  display: flex;
  justify-content: center;   /* centers the whole group */
  flex-wrap: wrap;           /* wraps nicely on smaller screens */
  gap: 2.25rem 3.5rem;       /* row / column gaps */
}

.footer-column {
  min-width: 220px;          /* keeps columns readable */
  max-width: 260px;
}

/* headings, links etc. stay as you already have them */
.footer-heading {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.footer-subheading {
  margin: 1rem 0 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-secondary);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.83rem;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-info);
  transform: translateX(2px);
}

/* Under 1024px: stack footer sections vertically */
@media (max-width: 1024px) {
  .footer-nav {
    display: flex;
    flex-direction: column; /* stack vertically */
    align-items: center;    /* center the section blocks */
    gap: 2rem;              /* spacing between sections */
  }

  .footer-column {
    width: 100%;
    max-width: 340px;       /* keeps nice readable width */
  }
}


/* Responsible gambling strip */

.footer-rg {
  padding: 1.8rem 0 1.8rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.footer-rg-heading {
  margin: 0 0 1.1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.footer-rg-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.75rem;
}

.footer-rg-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-rg-logo img {
  max-height: 40px;
  height: 32px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.9;
  transition: opacity var(--transition-fast), transform var(--transition-fast), filter var(--transition-fast);
}

.footer-rg-logo:hover img {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-1px);
}

/* Bottom bar: copyright + disclaimers */

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.1rem;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer-copy,
.footer-disclaimer,
.footer-note {
  margin: 0;
}

.footer-copy {
  white-space: nowrap;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-disclaimer {
  max-width: 52rem;
}

.footer-note {
  width: 100%;
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- FOOTER RESPONSIVE ---------- */

/* Tablet: 2 columns */

@media (max-width: 960px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

/* Mobile: single column, stacked centre-ish */

@media (max-width: 640px) {
  .wsg-footer {
    padding: 2.2rem 0 2.6rem;
  }

  .footer-top {
    padding-bottom: 1.6rem;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  .footer-heading {
    font-size: 0.88rem;
  }

  .footer-rg-logos {
    justify-content: flex-start;
  }

  .footer-rg-logo img {
    height: 28px;
    max-height: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.76rem;
  }

  .footer-copy {
    white-space: normal;
  }
}


/* ---------- RESPONSIVE ---------- */

/* Slightly tighter nav on narrow desktops */
@media (max-width: 1100px) {
  .main-nav {
    gap: 1rem;
    font-size: 0.85rem;
  }
}

/* Tablet header: behave like mobile to avoid overflow */
@media (max-width: 1024px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.45rem;
  }

  /* Hide desktop top bar (logo + About/RG) */
  .header-top {
    display: none;
  }

  .header-bottom {
    padding-top: 0;
    width: 100%;
  }

.header-bottom-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;       /* new: menu positions under this bar */
    z-index: 70;              /* keep bar above page content */
  }


  /* Show mobile brand on tablet too */
  .brand-mobile {
    display: inline-flex;
  }

  /* About/RG only inside burger menu below this width */
  .header-top-links {
    display: none;
  }

  /* Hide search in header on tablet to save space */
  .header-search {
    display: none;
  }

  .header-tools {
    gap: 0.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* Collapse nav into dropdown panel (same as mobile) */
  .main-nav {
    position: absolute;
    top: 100%; /* new: directly under .header-bottom-bar */
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(2, 6, 23, 0.98);
    padding: 0.75rem 1.1rem 1.1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
    display: none;

    /* new: allow long menus to scroll instead of page */
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }



  .main-nav.open {
    display: flex;
  }

  .nav-item {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-link {
    padding-inline: 0;
  }

  .nav-caret {
    display: none;
  }

  .nav-dropdown,
  .nav-dropdown-wide {
    position: static;
    margin-top: 0.2rem;
    min-width: 0;
    padding: 0.1rem 0 0.45rem;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    column-count: 1;
  }

  .nav-dropdown a,
  .nav-dropdown-wide a {
    padding: 0.18rem 0;
    white-space: normal;
  }

  /* Show About/RG inside the mobile/tablet menu */
  .nav-meta {
    display: block;
  }
}

/* Layout & hero stacking on smaller screens */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side {
    order: -1;
  }

  .wsg-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* On tablet/phone: TOC goes above content and is NOT sticky */
  .side-toc {
    position: static;
    top: auto;
    order: -1;
    margin-bottom: 1.25rem;
  }
}

/* Small phones tweaks */
@media (max-width: 560px) {
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-inner {
    padding-top: 1.7rem;
  }

  .card {
    padding: 1.05rem 0.95rem;
  }

  .wsg-layout {
    padding-inline: 1.05rem;
  }

  .table-wrapper {
    overflow-x: auto;
  }
}
/* ---------- REVIEW SUMMARY BLOCK ---------- */


.review-summary {
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at top left, #1d4ed833, transparent 55%),
    radial-gradient(circle at top right, #22c55e22, transparent 55%),
    linear-gradient(to bottom, #020617, #020617);
}

.review-summary-inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.9rem 0 2.2rem;
}

/* Left column */

.review-summary-sidebar {
  background: radial-gradient(circle at top, #0f172acc, #020617f0);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(30, 64, 175, 0.7);
  padding: 1.25rem 1.1rem 1.3rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  width: 290px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.review-casino-logo-wrap {
  width: 100%;
  height: 110px; /* taller, like your second screenshot */
  margin: 0 0 1rem;
  padding: 0;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* "cuts" top/bottom background of the square logo */
}

.review-casino-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fills the box, cropping excess */
  object-position: center; /* keeps the logo centered */
}


/* Score block */

.review-score {
  margin-bottom: 0.2rem;
}

.review-score-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin: 0 0 0.2rem;
}

.review-score-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1.1;
}

.review-score-value span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.15rem;
}

.review-score-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.3rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.74rem;
  background: rgba(22, 163, 74, 0.15);
  color: var(--accent-primary);
}

/* Score colour tiers */

.review-score {
  position: relative;
}

/* 0–5: Read with caution (red) */
.score-tier-caution .review-score-value {
  color: var(--status-bad);
}
.score-tier-caution .review-score-badge {
  background: rgba(239, 68, 68, 0.15);
  color: var(--status-bad);
}

/* 5.1–7: Average (orange-ish) */
.score-tier-average .review-score-value {
  color: var(--status-warning);
}
.score-tier-average .review-score-badge {
  background: rgba(249, 115, 22, 0.18);
  color: var(--status-warning);
}

/* 7.1–8.7: Above average (green) */
.score-tier-above .review-score-value {
  color: var(--accent-primary);
}
.score-tier-above .review-score-badge {
  background: rgba(34, 197, 94, 0.16);
  color: var(--accent-primary);
}

/* 8.8–10: High (stronger green) */
.score-tier-high .review-score-value {
  color: #4ade80;
}
.score-tier-high .review-score-badge {
  background: rgba(74, 222, 128, 0.16);
  color: #4ade80;
}
/* Language badges */
.lang-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.lang-badge {
  background: rgba(30, 41, 59, 0.7);
  padding: 0.1rem 0.45rem;
  border-radius: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-soft);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.lang-more-btn {
  background: rgba(51, 65, 85, 0.6);
  padding: 0.1rem 0.45rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lang-more-btn:hover {
  background: rgba(71, 85, 105, 0.7);
}

/* Dropdown box */
.lang-dropdown {
  position: absolute;
  margin-top: 0.35rem;
  background: rgba(15, 23, 42, 0.98);
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(51, 65, 85, 0.9);
  z-index: 50;
  font-size: 0.78rem;

  /* EXACT layout you requested */
  display: grid;
  grid-template-columns: repeat(5, minmax(70px, auto)); /* 5 columns */
  grid-template-rows: repeat(2, auto);                 /* 2 rows */
  gap: 0.3rem 1rem;                                     /* row-gap, column-gap */
  
  /* prevents scrolling completely */
  overflow: visible;
  white-space: normal; 
}

.lang-dropdown p {
  margin: 0;
  padding: 0;
  color: var(--text-muted);
}




/* CTAs */

.review-cta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.review-cta-main,
.review-cta-secondary {
  width: 100%;
  justify-content: center;
}

.review-cta-secondary {
  font-size: 0.8rem;
}

/* Quick facts list */

.review-meta {
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.3rem;
}

.review-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.review-meta-row dt {
  font-weight: 400;
  color: var(--text-soft);
}

.review-meta-row dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

/* Right column */

.review-summary-main {
  flex: 1;
  min-width: 0;
}
@media (max-width: 1024px) {
  .review-summary-main {
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* Top navigation buttons */

.review-summary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.95);
}

.review-summary-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem; /* more square look */
  border: 1px solid rgba(30, 64, 175, 0.7);
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.95);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.review-summary-tab:hover {
  background: rgba(30, 64, 175, 0.8);
  border-color: rgba(59, 130, 246, 0.9);
  color: #e5f2ff;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
}

.review-summary-tab.is-active {
  background: linear-gradient(135deg, #1d4ed8, #22c55e);
  border-color: rgba(59, 130, 246, 0.95);
  color: #f9fafb;
}

/* Panels */

.review-summary-panels {
  position: relative;
}

.review-summary-panel {
  display: none; /* hidden by default */
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.95);
  padding: 1rem 1.1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.review-summary-panel.is-active {
  display: block; /* only active one shows */
}

.review-summary-heading {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.review-summary-panel p {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Pros & cons block */

.review-pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-top: 0.5rem;
}

.review-pros-cons section {
  position: relative;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(239, 68, 68, 0.12), transparent 55%),
              rgba(15, 23, 42, 0.98);
  border-radius: 1.1rem;
  border: 1px solid rgba(30, 64, 175, 0.9);
  padding: 0.75rem 0.9rem 0.8rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
}

.review-pros-cons h3 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Pros vs Cons heading colours */
.review-pros h3 {
  color: var(--accent-primary); /* green */
}

.review-cons h3 {
  color: var(--status-bad); /* red */
}

.review-pros-cons ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Custom bullets */

.review-pros-cons li {
  list-style: none;
  position: relative;
  padding-left: 0.4rem;
}

.review-pros-cons li + li {
  margin-top: 0.15rem;
}

.review-pros li::before,
.review-cons li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.35rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
}

/* Green dot for pros, red for cons */
.review-pros li::before {
  background: var(--accent-primary);
}

.review-cons li::before {
  background: var(--status-bad);
}


/* Responsive tweaks */

@media (max-width: 1024px) {
  .review-summary-inner {
    flex-direction: column;
  }

  .review-summary-sidebar {
    width: 100%;
    max-width: 420px;
	margin-inline: auto;   /* <-- this centers the card */
  }
}

@media (max-width: 640px) {
  .review-summary-nav {
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }

  .review-summary-tab {
    white-space: nowrap;
  }
}

/* ---------- CASINO BONUSES SECTION ---------- */

.casino-bonuses-section {
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.casino-bonuses-section .section-heading {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.casino-bonus-grid {
  display: grid;
  gap: 1.25rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Force at least 2 columns on wider screens */
@media (min-width: 900px) {
  .casino-bonus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Card – text only, more colourful */

.casino-bonus-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.28), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.22), transparent 55%),
    linear-gradient(to bottom right, #020617, #020617);
  border-radius: 1.4rem;
  border: 1px solid rgba(30, 64, 175, 0.85);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  padding: 1.1rem 1.3rem 1.15rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* subtle glow on hover */
.casino-bonus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.95);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
}

.casino-bonus-main {
  flex: 1;
  min-width: 0;
}

/* Top label + titles */

.casino-bonus-header {
  margin-bottom: 0.4rem;
}

.casino-bonus-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0.3rem;
  padding: 0.08rem 0.55rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-secondary);
  background: rgba(250, 204, 21, 0.12);
  border-radius: 999px;
}

.casino-bonus-title {
  margin: 0;
  font-size: 1.05rem;
}

.casino-bonus-highlight {
  margin: 0.18rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-info);
}

/* Bullet points */

.casino-bonus-keypoints {
  margin: 0.55rem 0 0.85rem;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.casino-bonus-keypoints li + li {
  margin-top: 0.12rem;
}

/* Actions */

.casino-bonus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.casino-bonus-actions .btn-primary {
  padding-inline: 1.4rem;
}

.casino-bonus-actions .btn-link {
  font-size: 0.82rem;
}

/* "Terms & conditions apply" link */

.bonus-terms-link {
  margin-top: 0.15rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-soft);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bonus-terms-link:hover {
  color: var(--accent-info);
}

/* No media anymore – keep just in case */
.casino-bonus-media {
  display: none;
}

/* Responsive tweaks */

@media (max-width: 768px) {
  .casino-bonus-card {
    padding: 1rem 1.05rem 1.05rem;
  }
}

/* Terms popover (unchanged) */

.bonus-terms-popover {
  position: absolute;
  margin-top: 0.35rem;
  background: rgba(15, 23, 42, 0.98);
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.9);
  z-index: 60;
  font-size: 0.8rem;
  max-width: 420px;
  max-height: 260px;
  overflow-y: auto;
}

.bonus-terms-popover h4 {
  margin: 0.1rem 0 0.25rem;
  font-size: 0.86rem;
}

.bonus-terms-popover ol,
.bonus-terms-popover ul {
  margin: 0 0 0.4rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.bonus-terms-popover li + li {
  margin-top: 0.15rem;
}
/* Extra-small screens: make bonus cards full-width and lighter */
@media (max-width: 480px) {
  .casino-bonus-grid {
    grid-template-columns: 1fr; /* one card per row */
  }

  .casino-bonus-card {
    padding: 0.9rem 0.9rem 0.95rem;
    margin: 0;               /* no extra horizontal margin */
    border-radius: 1rem;
  }
}
/* ---------- PAYMENT METHODS GRID ---------- */

.review-payment-methods {
  max-width: 820px;
}

.review-payment-intro {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.payment-methods-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* individual method pill */
.payment-methods-grid li {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(30, 64, 175, 0.8);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* subtle highlight on hover */
.payment-methods-grid li:hover {
  border-color: rgba(56, 189, 248, 0.95);
  color: var(--accent-info);
}
/* ---------------------------
   GLOBAL PILL GRID COMPONENT
--------------------------- */
.wsg-pill-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem; /* spacing from top text */
}

.wsg-pill-grid li {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(30, 64, 175, 0.8);
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: 0.15s ease;
}

.wsg-pill-grid li:hover {
  border-color: rgba(56, 189, 248, 0.95);
  color: var(--accent-info);
}
/* ---------- USER REVIEWS (EXTERNAL) ---------- */

.external-reviews {
  max-width: 980px;
}

.external-reviews-header {
  margin-bottom: 1rem;
}

.external-reviews-intro {
  margin: 0.35rem 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.external-reviews-overview {
  margin-bottom: 1.3rem;
}

.external-score-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-bottom: 0.4rem;
}

.external-score-chip--low {
  background: rgba(248, 113, 113, 0.12);
  color: var(--status-bad);
  border-color: rgba(248, 113, 113, 0.5);
}

.external-reviews-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.external-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem 1.25rem;
  margin-bottom: 1.3rem;
}

.external-review-card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), #020617);
  border-radius: 1rem;
  border: 1px solid rgba(30, 64, 175, 0.85);
  padding: 0.85rem 0.95rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.85);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.external-review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.95);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.95);
}

.external-review-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.external-review-meta {
  font-size: 0.8rem;
}

.external-review-author {
  margin: 0 0 0.1rem;
  font-weight: 600;
}

.external-review-source {
  margin: 0;
  color: var(--text-soft);
}

.external-review-rating {
  align-self: flex-start;
  padding: 0.15rem 0.55rem;
  border-radius: 0.6rem;
  font-size: 0.8rem;
  white-space: nowrap;   /* <-- prevents line break */
  display: inline-flex;  /* keeps layout tight */
  align-items: center;
  gap: 0.25rem;          /* small spacing between star and numbers */
}


/* 1/5 — BAD (red) */
.external-review-rating--bad {
  background: rgba(248, 113, 113, 0.15);
  color: var(--status-bad);
}

/* 2/5 — BELOW AVERAGE (orange-red) */
.external-review-rating--low {
  background: rgba(251, 146, 60, 0.15);
  color: rgb(251, 146, 60); /* orange */
}

/* 3/5 — AVERAGE (yellow/orange) */
.external-review-rating--average {
  background: rgba(251, 191, 36, 0.15);
  color: rgb(251, 191, 36); /* amber */
}

/* 4/5 — GOOD (light green) */
.external-review-rating--good {
  background: rgba(134, 239, 172, 0.15);
  color: rgb(134, 239, 172); /* light green */
}

/* 5/5 — EXCELLENT (strong green) */
.external-review-rating--great {
  background: rgba(74, 222, 128, 0.20);
  color: rgb(74, 222, 128); /* brighter green */
}

.external-review-summary {
  margin: 0.1rem 0 0;
  color: var(--text-muted);
}

.external-review-quote {
  margin: 0.2rem 0 0.3rem;
  padding-left: 0.7rem;
  border-left: 2px solid rgba(148, 163, 184, 0.5);
  font-style: italic;
  color: var(--text-soft);
}

.external-review-link {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--accent-info);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.external-review-link:hover {
  color: var(--accent-primary);
}

.external-reviews-disclaimer {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}
/* ---------- QUICK VERDICT LAYOUT ---------- */

.quick-verdict {
  max-width: 980px;
}

.quick-verdict-header {
  margin-bottom: 1.3rem;
}

.quick-verdict-intro {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Pillar grid */

.quick-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}
/* Mobile fallback: 1 per row */
@media (max-width: 600px) {
  .quick-pillar-grid {
    grid-template-columns: 1fr;
  }
}

.quick-pillar {
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(30, 64, 175, 0.65);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.quick-pillar-title {
  margin: 0;
  font-size: 0.9rem;
}

.quick-pillar-score {
  margin: 0;
  font-weight: 600;
  font-size: 0.85rem;
}

.quick-pillar-points {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

/* Colour accents per pillar */

.quick-pillar--good {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), #020617);
}

.quick-pillar--average {
  background: radial-gradient(circle at top left, rgba(234, 179, 8, 0.24), #020617);
}

.quick-pillar--low {
  background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.24), #020617);
}

/* Welcome bonus highlight */

.quick-bonus-highlight {
  margin-bottom: 1.7rem;
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(30, 64, 175, 0.8);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.3), transparent 60%),
    linear-gradient(to right, #020617, #020617);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.2rem;
}

.quick-bonus-copy {
  max-width: 480px;
}

.quick-bonus-label {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-secondary);
}

.quick-bonus-title {
  margin: 0;
  font-size: 1rem;
}

.quick-bonus-offer {
  margin: 0.3rem 0 0.15rem;
  font-size: 0.95rem;
  color: var(--accent-info);
}

.quick-bonus-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.quick-bonus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quick-bonus-actions .btn-primary {
  padding-inline: 1.4rem;
}

.quick-bonus-actions .btn-secondary {
  padding-inline: 1rem;
}
/* Shared secondary button style */
.btn-secondary {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-soft);
  font-size: 0.85rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(56, 189, 248, 0.6);
  color: var(--accent-info);
}

/* Payments preview */

.quick-payments-highlight {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(30, 64, 175, 0.7);
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.25), #020617);
}

.quick-payments-header {
  margin-bottom: 0.8rem;
}

.quick-payments-title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

.quick-payments-intro {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Re-use the existing pill grid for methods */
.quick-payments-highlight .payment-methods-grid {
  margin-top: 1rem;
  margin-bottom: 0.9rem;
}

.quick-payments-more {
  font-size: 0.82rem;
}
/* Center left sidebar on medium screens */
@media (max-width: 1200px) {
  .review-layout {
    justify-content: center;
  }
  .review-sidebar {
    margin-inline: auto;
  }
}
.bonus-terms-note {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 0.4rem;
  opacity: 0.85;
}
.rating-method-box {
  background: rgba(10, 20, 40, 0.75);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 1rem;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.rating-method-title {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--accent-info);
}

.rating-method-intro {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}

.rating-method-list {
  margin: 0 0 0.8rem 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.rating-method-list li {
  margin-bottom: 0.4rem;
}

.rating-method-bottom {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-top: 0.6rem;
}


/* ---------- END OF REVIEW SUMMARY BLOCK ---------- */
/* -------------------------------------------------
   Author Box (bottom of review pages)
-------------------------------------------------- */
.author-box {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-box-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  padding: 1.6rem;
  border-radius: 1rem;
  background: radial-gradient(
    circle at bottom right,
    rgba(30, 64, 175, 0.25),
    rgba(2, 6, 23, 0.9)
  );
  border: 1px solid rgba(29, 78, 216, 0.4);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.author-photo {
  width: 95px;
  height: 95px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.6);
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  margin: 0 0 0.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-bright);
}

.author-role {
  margin: 0 0 0.8rem;
  color: var(--accent-info);
  font-size: 0.9rem;
}

.author-bio {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45rem;
}

.author-updated {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.author-date {
  color: var(--accent-info);
}

/* Responsive */
@media (max-width: 600px) {
  .author-box-inner {
    flex-direction: column;
    text-align: center;
  }

  .author-photo {
    margin: 0 auto;
  }
}
.review-author-meta {
  margin-top: 1.3rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(30, 58, 138, 0.55);
  font-size: 0.85rem;
  color: var(--text-soft);
}

.review-author-meta strong {
  color: var(--text-muted);
  font-weight: 600;
}

.review-author-line {
  margin: 0.2rem 0;
}

/* Changelog dropdown */
.changelog-toggle {
  margin-left: 0.5rem;
  color: #28a745;
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
}

.changelog-toggle:hover {
  text-decoration: underline;
}

.changelog-list {
  display: none;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: rgba(40, 167, 69, 0.08);
  border-left: 3px solid #28a745;
  border-radius: 4px;
  max-height: 180px;
  overflow-y: auto;
}

/* Custom scrollbar for changelog */
.changelog-list::-webkit-scrollbar {
  width: 8px;
}

.changelog-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.changelog-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.changelog-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.changelog-list ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: #b8b8b8;
}

.changelog-list li {
  margin-bottom: 0.5rem;
}

.changelog-list li:last-child {
  margin-bottom: 0;
}

/* ---------------------------
   Betista screenshot gallery
   --------------------------- */

.casino-screenshots {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

/* intro text under the H2 */
.casino-screenshots .screens-intro {
  margin: 0.35rem 0 1.2rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* rows that hold the screenshot cards */
.screens-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 1.8rem;
}

/* just a tiny tweak for the 2nd row if needed */
.screens-row--desktop {
  margin-top: 0.3rem;
}

/* each screenshot “card” (the button) */
.screenshot-card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), #020617);
  border-radius: 1rem;
  border: 1px solid rgba(30, 64, 175, 0.85);
  padding: 0.55rem 0.65rem 0.75rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
  text-align: center;
  max-width: 230px;
  width: 100%;
  cursor: pointer;

  /* reset default button styling */
  border: none;
  background-clip: padding-box;
  color: inherit;
}

.screenshot-card:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* frame inside the card that controls aspect ratio */
.screenshot-frame {
  border-radius: 0.85rem;
  overflow: hidden;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* portrait vs landscape boxes */
.screenshot-card--portrait .screenshot-frame {
  aspect-ratio: 9 / 16;
}

.screenshot-card--landscape .screenshot-frame {
  aspect-ratio: 16 / 9;
}

/* actual screenshot image */
.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;          /* ✅ allow intrinsic ratio */
  object-fit: contain;  /* safe now */
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.screenshot-card:hover .screenshot-frame img {
  transform: scale(1.03);
  opacity: 0.96;
}

/* caption text */
.screenshot-caption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* a bit more width on very small screens */
@media (max-width: 640px) {
  .screenshot-card {
    max-width: 260px;
  }
}

/* ---------------------------
   Lightbox
   --------------------------- */

.screenshot-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.screenshot-lightbox.is-open {
  display: flex;
}

.screenshot-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
}

.screenshot-lightbox-dialog {
  position: relative;
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  background: #020617;
  border-radius: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.45);
  padding: 0.75rem 0.9rem 0.9rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.screenshot-lightbox-dialog img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 0.75rem;
  object-fit: contain;
}

.screenshot-lightbox-dialog figcaption {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.screenshot-lightbox-close {
  position: absolute;
  top: 0.25rem;
  right: 0.45rem;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.screenshot-lightbox-close:hover {
  color: var(--accent-primary);
}

body.has-open-lightbox {
  overflow: hidden;
}
.centered-title {
  text-align: center;
}
/* ---------- BREADCRUMBS ---------- */

.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-soft);
  padding: 0.6rem 0 0.25rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "›";
  margin: 0 0.45rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  opacity: 0.7;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--accent-info);
  transform: translateY(-0.5px);
}

.breadcrumbs-current {
  color: var(--text-main);
  font-weight: 500;
}
  /* ---- Comparison table csss ---- */

  .casino-reviews-hero {
    margin: 2.5rem auto 1.5rem;
    max-width: 980px;
    text-align: left;
  }

  .casino-reviews-hero .eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
	  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at top left, #1d4ed833, transparent 55%),
    radial-gradient(circle at top right, #22c55e22, transparent 55%),
    linear-gradient(to bottom, #020617, #020617);
  }

  .casino-reviews-hero-lead {
    margin-top: 0.6rem;
    color: var(--text-soft);
    font-size: 0.95rem;
    max-width: 46rem;
  }

  .casino-reviews-hero-note {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  /* ---- Top comparison list ---- */

  .casino-list {
    margin-top: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }

  .casino-list-item {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr) auto;
    gap: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: radial-gradient(circle at top left,
      rgba(255, 255, 255, 0.02) 0,
      rgba(15, 23, 42, 0.96) 30%,
      rgba(15, 23, 42, 1) 100%);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.6);
    align-items: center;
  }

  .casino-list-heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
  }

  .casino-list-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .casino-list-title {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .casino-list-name {
    font-weight: 600;
  }

  .casino-list-year {
    font-size: 0.78rem;
    color: var(--text-soft);
  }
  
    .casino-list-year-opened {
	margin-top: 0.2rem;
    font-size: 0.86rem;
    color: var(--text-soft);
  }
  
  .casino-list-year-opened strong{
	font-size: 0.96rem;
    color: var(--text-main);
  }

  .casino-list-score {
    margin-top: 0.2rem;
    font-size: 0.86rem;
    color: var(--text-soft);
  }

  .casino-list-score strong {
    font-size: 0.96rem;
    color: var(--text-main);
  }

  .casino-list-info {
    font-size: 0.86rem;
  }

  /* meta rows: Best for / Payments / Bonus / Min. deposit */

  .casino-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.35rem 0;
    border-top: 1px solid rgba(51, 65, 85, 0.7);
  }

  .casino-meta-row:first-child {
    border-top: none;
    padding-top: 0;
  }

  .casino-meta-label {
    min-width: 6.3rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding-top: 0.1rem;
  }

  .casino-meta-value {
    color: var(--text-soft);
  }

  /* highlight BONUS row (3rd row) */

  .casino-meta-row:nth-of-type(3) .casino-meta-label {
    color: #22c55e;
  }

  .casino-meta-row:nth-of-type(3) .casino-meta-value {
    color: #bbf7d0;
  }

  .casino-payment-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .casino-payment-chips li {
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(30, 64, 175, 0.85);
    font-size: 0.74rem;
    color: var(--text-muted);
    white-space: nowrap;
  }

  .casino-list-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    justify-content: center;
  }

  .casino-list-actions .btn-primary,
  .casino-list-actions .btn-ghost {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    justify-content: center;
    min-width: 8.5rem;
  }

  .wsg-table-note {
    margin-top: 0.55rem;
    font-size: 0.78rem;
    color: var(--text-muted);
  }

  /* ---- Responsive tweaks for comparison block ---- */

  @media (max-width: 900px) {
    .casino-list-item {
      grid-template-columns: minmax(0, 1fr);
      gap: 0.8rem;
      padding: 0.9rem 0.9rem;
    }

    .casino-list-actions {
      flex-direction: row;
      flex-wrap: wrap;
    }

    .casino-list-actions .btn-primary,
    .casino-list-actions .btn-ghost {
      flex: 1 1 auto;
      min-width: 0;
    }
  }

  @media (max-width: 640px) {
    .casino-reviews-hero {
      margin-top: 2rem;
    }

    .casino-meta-label {
      min-width: 5.4rem;
    }
  }
    /* ---- end of Comparison table csss ---- */
	
	#wsg-scroll-top {
  position: fixed;
  bottom: 100px;
  right: 250px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 3000;
}
@media (min-width: 1024px) and (max-width: 1700px) {
  #wsg-scroll-top {
    bottom: 100px;
    right: 25px;
  }
}



@media (max-width: 1023px) {
  #wsg-scroll-top {
    bottom: 25px;
    right: 25px;
  }
}

#wsg-scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#wsg-scroll-top svg {
  pointer-events: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Content infographic images */
.content-infographic {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  border: 2px solid #28a745;
  border-radius: 8px;
  background: rgba(40, 167, 69, 0.03);
}