:root {
  --bg: #f8f5ef;
  --surface: #ffffff;
  --surface2: #f3ede2;
  --border: #e2d5bf;
  --accent: #d6a441;
  --accent-light: #edc979;
  --accent-dim: #a97822;
  --text: #2f2418;
  --muted: #8c7b68;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(47,36,24,0.06);
  --shadow-md: 0 4px 16px rgba(47,36,24,0.08);
  --shadow-lg: 0 8px 28px rgba(214,164,65,0.28);
  --max-w: 1140px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-dim);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
}

.skip-nav:focus {
  top: 0.5rem;
}

.wrap-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.region-light {
  background: var(--bg);
}

.region-white {
  background: var(--surface);
}

/* =============== HEADER =============== */

.mx-masthead {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.mx-masthead .wrap-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand-mark:hover {
  color: var(--accent-dim);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-item:hover,
.nav-item.active {
  color: var(--accent-dim);
  background: var(--surface2);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-ribbon {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.3s ease;
    z-index: 800;
  }

  .nav-ribbon.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 0;
  }

  .nav-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* =============== BREADCRUMBS =============== */

.crumb-trail ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.crumb-trail li + li::before {
  content: "›";
  margin-right: 0.35rem;
  color: var(--border);
}

.crumb-trail a {
  color: var(--muted);
  font-weight: 500;
}

.crumb-trail a:hover {
  color: var(--accent-dim);
}

.crumb-trail span[aria-current] {
  color: var(--accent-dim);
  font-weight: 600;
}

/* =============== HERO =============== */

.hero-banner {
  padding: 2.5rem 0 2rem;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.cta-engage {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}

.cta-engage:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
  color: #fff;
}

/* =============== SECTION HEADINGS =============== */

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.section-lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

/* =============== CASINO SHOWCASE / RANKING =============== */

.ranking-section {
  padding: 3rem 0;
}

.goldrank-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.venue-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.venue-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.badge-pos {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

.tile-brand {
  flex: 0 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-brand img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.tile-offer {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.offer-title {
  font-size: 0.95rem;
  color: var(--text);
}

.offer-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-dim);
}

.offer-detail {
  font-size: 0.85rem;
  color: var(--muted);
}

.tile-action {
  flex: 0 0 auto;
}

.action-link {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
}

.action-link:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
  color: #fff;
}

@media (max-width: 740px) {
  .venue-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem;
    position: relative;
    padding-top: 2rem;
  }

  .badge-pos {
    position: absolute;
    top: -14px;
    left: 1rem;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .tile-brand {
    flex: 0 0 auto;
  }

  .tile-offer {
    align-items: center;
  }

  .tile-action {
    width: 100%;
  }

  .action-link {
    display: block;
    width: 100%;
  }
}

/* =============== CRITERIA SECTION =============== */

.eval-matrix {
  padding: 3rem 0;
}

.eval-matrix p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

.criteria-grid {
  min-width: 600px;
}

.criteria-grid th,
.criteria-grid td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.criteria-grid thead th {
  background: var(--surface2);
  font-weight: 600;
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.criteria-grid tbody tr:hover {
  background: var(--surface2);
}

.importance-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.tag-critical {
  background: #fef3cd;
  color: #856404;
}

.tag-high {
  background: #e8f5e9;
  color: #2e7d32;
}

.tag-medium {
  background: #e3f2fd;
  color: #1565c0;
}

/* =============== CASINO REVIEWS =============== */

.platform-profiles {
  padding: 3rem 0;
}

.venue-profile {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.venue-profile:last-of-type {
  border-bottom: none;
}

.venue-profile h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.venue-profile p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.merit-grid {
  min-width: 400px;
}

.merit-grid th,
.merit-grid td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: top;
}

.merit-grid thead th {
  background: var(--surface2);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.merit-grid thead th:first-child {
  color: #2e7d32;
}

.merit-grid thead th:last-child {
  color: #c62828;
}

.profile-cta {
  margin-top: 1rem;
}

/* =============== CONTENT SECTIONS =============== */

.legal-overview,
.mobile-overview,
.final-verdict {
  padding: 3rem 0;
}

.legal-overview p,
.mobile-overview p,
.final-verdict p {
  max-width: 780px;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* =============== STEP-BY-STEP GUIDE =============== */

.pathway-guide {
  padding: 3rem 0;
}

.pathway-guide > .wrap-container > p {
  margin-bottom: 2rem;
  line-height: 1.75;
}

.step-sequence {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  counter-reset: none;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--surface2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.step-marker {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-content strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 520px) {
  .step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* =============== BONUS GUIDE =============== */

.bonus-guide {
  padding: 3rem 0;
}

.bonus-guide > .wrap-container > p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.bonus-guide > .wrap-container > h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.bonus-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.bonus-type-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.bonus-type-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--accent-dim);
  margin-bottom: 0.5rem;
}

.bonus-type-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.compare-grid {
  min-width: 550px;
}

.compare-grid th,
.compare-grid td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.compare-grid thead th {
  background: var(--surface2);
  font-weight: 600;
  color: var(--text);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.compare-grid tbody tr:hover {
  background: var(--surface2);
}

.compare-grid td:first-child {
  font-weight: 600;
  color: var(--accent-dim);
}

/* =============== FAQ =============== */

.inquire-panel {
  padding: 3rem 0;
}

.faq-collection {
  max-width: 780px;
}

.faq-entry {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.4;
  list-style: none;
  transition: color var(--transition);
}

.faq-trigger::-webkit-details-marker {
  display: none;
}

.faq-trigger::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  margin-left: 1rem;
  transition: transform var(--transition);
}

.faq-entry[open] .faq-trigger::after {
  content: "−";
}

.faq-trigger:hover {
  color: var(--accent-dim);
}

.faq-response {
  padding: 0 0 1.25rem;
}

.faq-response p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

/* =============== FOOTER =============== */

.site-basement {
  background: var(--text);
  color: #d5cbbf;
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}

.basement-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.basement-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.basement-about p {
  font-size: 0.88rem;
  line-height: 1.65;
}

.basement-links h4,
.basement-responsible h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.basement-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.basement-links a {
  color: #d5cbbf;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.basement-links a:hover {
  color: var(--accent-light);
}

.basement-responsible p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.basement-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #9e9083;
}

.author-credit a {
  color: var(--accent-light);
}

@media (max-width: 740px) {
  .basement-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .basement-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =============== SCROLL-TO-TOP =============== */

.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 700;
  box-shadow: var(--shadow-md);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* =============== SUBPAGE CONTENT =============== */

.content-body {
  padding: 2.5rem 0 3rem;
}

.content-narrow {
  max-width: 780px;
}

.content-narrow h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.content-narrow h2:first-child {
  margin-top: 0;
}

.content-narrow h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-narrow p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.check-list {
  margin-bottom: 1.25rem;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.65;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* =============== AUTHOR PAGE =============== */

.author-showcase {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--surface2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.author-portrait img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--accent-light);
}

.author-bio h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.author-role {
  color: var(--accent-dim);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 520px) {
  .author-showcase {
    flex-direction: column;
    text-align: center;
  }
}

/* =============== ANIMATIONS =============== */

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============== PRINT =============== */

@media print {
  .mx-masthead,
  .nav-toggle,
  .scroll-top-btn,
  .action-link,
  .cta-engage {
    display: none;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }
}