/* ===== Base Reset ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #e6ebf1;
  color: #222;
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */

.site-header {
  background: #111;
  padding: 18px 0;
  position: relative;
  z-index: 50;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.logo a {
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #f5c518;
  transition: 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}



/* ===== Hero ===== */

.hero {
  background: linear-gradient(180deg, #111 0%, #1c1f26 100%);
  border-bottom: 3px solid #f5c518;
  color: #fff;
  padding: 60px 0 70px 0;
}

.hero h1 {
  margin: 0 0 15px 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.hero-subtext {
  font-size: 18px;
  opacity: 0.9;
  max-width: 700px;
  color: #d1d5db;
}

.hero-trust {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 10px;
}

.last-updated {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 25px;
}

/* ===== rtp-table ===== */

.rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.rtp-table th,
.rtp-table td {
  border: 1px solid #e5e7eb;
  padding: 10px;
  text-align: left;
}

.rtp-table th {
  background: #f9fafb;
}

/* ===== Content Area ===== */
.content-area {
  background: #ffffff;
  padding: 50px;
  margin-top: -40px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.content-area hr {
  margin: 40px 0;
}

.content-area h2 {
  margin-top: 45px;
  font-size: 24px;
}

.content-area h3 {
  margin-top: 25px;
  font-size: 18px;
}

.content-area p {
  margin-bottom: 18px;
}

.content-area ul {
  margin: 15px 0 20px 20px;
}

/* ===== Links ===== */
a {
  color: #0f4c81;
  text-decoration: none;
}

/* Underline ONLY inside content area */
.content-area a:hover {
  text-decoration: underline;
}

/* Never underline nav links */
.nav-links a,
.nav-links a:hover {
  text-decoration: none;
}


/* ===== authority-box ===== */
.authority-box {
  border-left: 4px solid #f5c518;
  padding: 20px;
  margin: 30px 0;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.authority-box ul {
  margin-top: 10px;
}

/* ===== casino-highlight ===== */

.casino-highlight {
  background: #111;
  color: #fff;
  padding: 30px;
  border-radius: 6px;
  margin: 40px 0;
  border: 1px solid #1f2937;
  border-top: 3px solid #f5c518;
}

.casino-highlight h3 {
  margin-top: 0;
  color: #f5c518;
}

.casino-highlight ul {
  margin: 15px 0 20px 20px;
}

.casino-highlight a.button {
  background: #f5c518;
  color: #111 !important;
}

.casino-highlight a.button:hover {
  background: #e6b800;
}


/* ===== casino review ===== */

.rating-box {
  display: inline-block;
  background: #ffffff;
  border-left: 4px solid #f5c518;
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.review-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.review-table th,
.review-table td {
  border: 1px solid #e5e7eb;
  padding: 10px;
  text-align: left;
}

.review-table th {
  background: #f9fafb;
}

.casino-hero-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 25px;
  border-left: 4px solid #f5c518;
  border: 1px solid #e5e7eb;
  margin-bottom: 30px;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.casino-review-image-link {
  display: block;
  margin: 0 0 30px 0;
}

.casino-review-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.casino-cta-final {
  text-align: center;
  margin: 30px 0;
}

@media (max-width: 900px) {
  .casino-hero-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }
}



/* ===== Button Styling ===== */
.button {
  display: inline-block;
  background: #f5c518;
  color: #111 !important;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s ease;
}

.button:hover {
  background: #e6b800;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: 0.2s ease;
	}
/* ===== Footer ===== */

.site-footer {
  background: linear-gradient(180deg, #0f1115 0%, #0b0d11 100%);
  color: #aaa;
  padding: 70px 0 30px 0;
  margin-top: 100px;
  border-top: 3px solid #f5c518;
  box-shadow: inset 0 10px 20px rgba(0,0,0,0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.footer-column h4 {
  color: #ffffff;
  margin-bottom: 18px;
  font-size: 16px;
  letter-spacing: 0.5px;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: #f5c518;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #e5e7eb;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-column a:hover {
  color: #f5c518;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 350px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  border-top: 1px solid #1f2937;
  color: #9ca3af;
}

.footer-disclaimer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #1f2937;
  font-size: 13px;
  line-height: 1.6;
  color: #9ca3af;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-column p {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .content-area {
    padding: 30px 20px;
  }
}

/* ===== Footer Disclaimer Upgrade ===== */

.footer-disclaimer {
  background: #0b0f15;
  padding: 50px 0;
  border-top: 1px solid #1f2937;
}

.disclaimer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-disclaimer h4 {
  color: #f5c518;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-disclaimer p {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
}

@media (max-width: 900px) {
  .disclaimer-columns {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ===== Mobile Navigation ===== */

.menu-toggle {
  display: none;
  cursor: pointer;
  position: absolute;
  right: max(12px, env(safe-area-inset-right, 0px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 22px;
  background: #ffffff;
  transition: 0.3s ease;
  flex-shrink: 0;
}

/* ===== Mobile Layout (nav): wide breakpoint so horizontal links never overflow off-screen ===== */
@media (max-width: 900px) {

  /* Logo + language under it (col 1); hamburger top-right (col 2); nav full width row below */
  .header-flex {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    grid-template-rows: auto auto auto;
    align-items: start;
    column-gap: 10px;
    row-gap: 0;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
  }

  .lang-switcher {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    margin-left: 0;
    margin-right: 0;
    margin-top: 8px;
  }

  /* Show hamburger — grid cell, vertically centered beside logo + lang */
  .menu-toggle {
    display: flex;
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
    align-self: center;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
  }

  /* Mobile nav: in document flow under header row */
  #main-nav {
    position: static;
    grid-column: 1 / -1;
    grid-row: 3;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    background: #111;
    z-index: 1000;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
  }

  /* When active */
  #main-nav.active {
    max-height: min(100vh, 640px);
    padding: 16px 0 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
  }

  /* Stack links vertically */
  .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero-subtext {
    font-size: 16px;
  }
}

/* ===== Batch 1 content polish ===== */
.content-area ol {
  margin: 15px 0 20px 22px;
}

.content-area table a {
  font-weight: 600;
}


/* ===== Batch 2 content polish ===== */
.jump-links {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #f5c518;
  padding: 18px 22px;
  border-radius: 6px;
  margin: 25px 0 35px 0;
}

.jump-links h2,
.jump-links h3 {
  margin-top: 0;
}

.jump-links ul {
  margin: 10px 0 0 18px;
}

.note-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 25px 0;
}

.note-box strong {
  color: #111827;
}


/* ===== Batch 3 content polish ===== */
.secondary-button {
  background: transparent !important;
  color: #f5c518 !important;
  border: 1px solid #f5c518;
  margin-left: 12px;
}

.secondary-button:hover {
  background: rgba(245, 197, 24, 0.12) !important;
}

@media (max-width: 700px) {
  .secondary-button {
    display: inline-block;
    margin-left: 0;
    margin-top: 12px;
  }
}


/* ===== Batch 4 content polish ===== */
.callout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.callout-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 18px 20px;
}

.callout-card h3 {
  margin-top: 0;
}

@media (max-width: 800px) {
  .callout-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Batch 5 content polish ===== */
.checklist-box {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #0f4c81;
  border-radius: 6px;
  padding: 20px 22px;
  margin: 28px 0;
}

.checklist-box h3,
.checklist-box h2 {
  margin-top: 0;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.glossary-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 18px 20px;
}

.glossary-card h3 {
  margin-top: 0;
}

.verdict-box {
  background: #111827;
  color: #f9fafb;
  border-top: 3px solid #f5c518;
  border-radius: 6px;
  padding: 24px 26px;
  margin: 35px 0;
}

.verdict-box h2,
.verdict-box h3 {
  margin-top: 0;
  color: #f5c518;
}

.verdict-box a {
  color: #fcd34d;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.compare-table th,
.compare-table td {
  border: 1px solid #e5e7eb;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: #f8fafc;
}

.definition-list {
  margin: 0;
}

.definition-list dt {
  font-weight: 700;
  margin-top: 18px;
}

.definition-list dd {
  margin: 8px 0 0 0;
}

@media (max-width: 800px) {
  .glossary-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Batch 6 trust / policy pages ===== */
.trust-links-box {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #f5c518;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 0 0 28px 0;
}

.policy-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-top: 3px solid #f5c518;
  border-radius: 6px;
  padding: 20px 22px;
  margin: 28px 0;
}

.checklist {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: "•";
  color: #0f4c81;
  font-weight: 700;
  position: absolute;
  left: 8px;
  top: 0;
}

.contact-placeholder {
  background: #fff8db;
  border: 1px solid #f5d66a;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 24px 0;
}

.footer-column strong {
  color: #ffffff;
}


/* ===== Batch 7 additions ===== */
.mistake-grid,
.example-grid,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.info-card,
.example-card,
.mistake-card,
.comparison-card {
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.info-card h3,
.example-card h3,
.mistake-card h3,
.comparison-card h3 {
  margin-top: 0;
}

.quick-tip-box {
  background: #fff8db;
  border-left: 4px solid #f5c518;
  padding: 18px 20px;
  margin: 28px 0;
  border-radius: 6px;
}

.warning-box {
  background: #fff4f2;
  border-left: 4px solid #dc2626;
  padding: 18px 20px;
  margin: 28px 0;
  border-radius: 6px;
}

.practice-steps ol {
  margin-left: 18px;
}

@media (max-width: 768px) {
  .mistake-grid,
  .example-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Batch 8 additions ===== */
.scenario-grid,
.path-grid,
.plan-grid,
.red-flag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.scenario-card,
.path-card,
.plan-card,
.red-flag-card {
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.scenario-card h3,
.path-card h3,
.plan-card h3,
.red-flag-card h3 {
  margin-top: 0;
}

.example-table td,
.example-table th {
  vertical-align: top;
}

.step-box {
  background: #f8fafc;
  border-left: 4px solid #0f4c81;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 24px 0;
}

.note-stack {
  background: #fff8db;
  border: 1px solid #f5d66a;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .scenario-grid,
  .path-grid,
  .plan-grid,
  .red-flag-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Batch 9 additions ===== */
.review-table td a {
  font-weight: 600;
}

.jump-links + p,
.note-box + h2 {
  margin-top: 28px;
}

.site-footer .footer-column ul li a {
  word-break: break-word;
}

@media (max-width: 768px) {
  .site-footer .footer-grid {
    gap: 24px;
  }
}


/* ===== Batch 10 tools + FAQ ===== */
.faq-list {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 20px 22px;
}

.faq-item h3 {
  margin-top: 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.tool-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 20px 22px;
}

.tool-card h3 {
  margin-top: 0;
}

.calculator-panel {
  background: #111827;
  color: #f9fafb;
  border-top: 3px solid #f5c518;
  border-radius: 8px;
  padding: 26px;
  margin: 34px 0;
}

.calculator-panel h2,
.calculator-panel h3 {
  color: #f5c518;
  margin-top: 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 24px;
}

.calc-grid label {
  display: block;
  font-weight: 700;
  color: #f9fafb;
}

.calc-grid input,
.calc-grid select {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #374151;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  font-size: 15px;
}

.tool-button {
  cursor: pointer;
  border: none;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.result-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 18px 20px;
}

.result-card h3 {
  color: #d1d5db;
  font-size: 16px;
  margin: 0 0 10px 0;
}

.result-card p {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 850px) {
  .tool-grid,
  .calc-grid,
  .calc-results {
    grid-template-columns: 1fr;
  }
}


/* Batch 11 additions */
.hero-trust a { color: #fff; }
.faq-item h3 { margin-bottom: 8px; }


/* ===== Batch 12 practical pages ===== */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.insight-card {
  background: #fffdf5;
  border: 1px solid #f3e8b2;
  border-radius: 6px;
  padding: 18px 20px;
}

.insight-card h3 {
  margin-top: 0;
}

@media (max-width: 800px) {
  .insight-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Batch 13 practical decision pages ===== */
.warning-grid,
.decision-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.warning-card,
.decision-strip-card {
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  padding: 18px 20px;
}

.warning-card h3,
.decision-strip-card h3 {
  margin-top: 0;
}

.browser-box {
  background: #f3f7fb;
  border-left: 4px solid #0f4c81;
  border-radius: 6px;
  padding: 20px 22px;
  margin: 28px 0;
}

.browser-box h2 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .warning-grid,
  .decision-strip {
    grid-template-columns: 1fr;
  }
}



/* Batch 14 additions */
.checklist-panel {
  background: #f7f9fc;
  border: 1px solid #d8e1ee;
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin: 1.4rem 0;
}

.checklist-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.checklist-panel li {
  margin-bottom: 0.8rem;
}

.compare-table td strong,
.rtp-table td strong {
  white-space: nowrap;
}


/* Batch 15 additions */
.planning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.planning-card {
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.planning-card h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .planning-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Batch 16: final QA / navigation polish ===== */
.breadcrumbs {
  font-size: 14px;
  color: #64748b;
  margin: 18px 0 0;
  padding: 12px 0 0;
}

.breadcrumbs a {
  color: #0f4c81;
}

.breadcrumbs .crumb-sep {
  color: #94a3b8;
  margin: 0 8px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.sitemap-card {
  background: #ffffff;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.sitemap-card h2 {
  margin-top: 0;
  font-size: 20px;
}

.sitemap-card ul {
  margin: 12px 0 0 18px;
}

.sitemap-card li + li {
  margin-top: 8px;
}

.last-updated {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 13px;
    line-height: 1.6;
  }

  .content-area {
    padding: 28px 20px;
  }

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


/* ===== Batch 17 optional expansion pages ===== */
.routine-grid,
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.routine-card,
.device-card,
.limit-box {
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.routine-card h3,
.device-card h3,
.limit-box h2,
.limit-box h3 {
  margin-top: 0;
}

.limit-box ol {
  margin-left: 18px;
}

@media (max-width: 768px) {
  .routine-grid,
  .device-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Batch 18 optional expansion pages ===== */
.banking-grid,
.reward-grid,
.cashout-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.banking-card,
.reward-card,
.cashout-step {
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.banking-card h3,
.reward-card h3,
.cashout-step h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .banking-grid,
  .reward-grid,
  .cashout-steps {
    grid-template-columns: 1fr;
  }
}


/* ===== Batch 19 optional expansion pages ===== */
.batch19-section {
  margin-top: 42px;
  padding-top: 10px;
}

.batch19-grid,
.quality-grid,
.budget-grid,
.verify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.batch19-card,
.quality-card,
.budget-card,
.verify-card {
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.batch19-card h3,
.quality-card h3,
.budget-card h3,
.verify-card h3 {
  margin-top: 0;
}

.related-links-list {
  margin: 18px 0 0 18px;
}

.related-links-list li + li {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .batch19-grid,
  .quality-grid,
  .budget-grid,
  .verify-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Language Switcher ─────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 18px;
  flex-shrink: 0;
}
.lang-switcher a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
  border: 1px solid transparent;
}
.lang-switcher a.lang-active {
  color: #fff;
  background: #333;
  border-color: #555;
  cursor: default;
  pointer-events: none;
}
.lang-switcher a.lang-other {
  color: #aaa;
  background: transparent;
  border-color: #444;
}
.lang-switcher a.lang-other:hover {
  color: #fff;
  background: #2a2a2a;
  border-color: #666;
}
.lang-sep {
  color: #444;
  font-size: 12px;
  user-select: none;
}
@media (max-width: 600px) {
  .lang-switcher a { padding: 3px 7px; font-size: 11px; }
}
