/* lebandit-slots.org — sunset casino RTP guide */
:root {
  --bg: #0B0907;
  --surface: #15110D;
  --surface-alt: #1D1711;
  --gold: #E6A52D;
  --gold-bright: #F3BB48;
  --bronze: #9D642A;
  --terracotta: #63331F;
  --text: #F5EEDF;
  --muted: #B9AA99;
  --border: rgba(230, 165, 45, 0.22);
  --hero-overlay-right: linear-gradient(
    270deg,
    rgba(11, 9, 7, 0.92) 0%,
    rgba(11, 9, 7, 0.78) 28%,
    rgba(11, 9, 7, 0.42) 52%,
    rgba(11, 9, 7, 0.08) 100%
  );
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --max: 1200px;
  --prose-max: 50rem;
  --faq-max: 53.75rem;
  --section-pad: clamp(2rem, 3vw, 2.75rem);
  --section-pad-compact: clamp(2rem, 2.5vw, 2.25rem);
  --header-h: 3.5rem;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a { color: var(--gold-bright); }
a:hover { color: var(--gold); }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--bg);
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(11, 9, 7, 0.9) 0%, transparent 100%);
}

.site-header-inner-page {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  text-decoration: none;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

.site-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--gold-bright); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
}

.lang-switch { position: relative; }

.lang-switch-btn {
  background: rgba(21, 17, 13, 0.88);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

.lang-switch-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 9rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: 60;
}

.lang-switch.is-open .lang-switch-menu { display: block; }

.lang-switch-menu a {
  display: block;
  padding: 0.45rem 0.85rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}
.lang-switch-menu a:hover,
.lang-switch-menu a[aria-current="true"] {
  background: rgba(230, 165, 45, 0.12);
  color: var(--gold-bright);
}

/* Hero — content on right, character left in image */
.hero-math {
  position: relative;
  min-height: clamp(480px, 52vh, 590px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-math-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-math-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
}

.hero-math-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-overlay-right);
  pointer-events: none;
}

.hero-math-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.hero-math-content {
  max-width: 520px;
  margin-left: auto;
  padding: calc(var(--header-h) + 1.5rem) 0 2rem;
  text-align: left;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.hero-math h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero-lead {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

button.btn {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  line-height: inherit;
}

button.btn-primary[aria-disabled="true"] {
  cursor: default;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--bronze) 100%);
  color: var(--bg);
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(230, 165, 45, 0.25);
}
.btn-primary:hover {
  color: var(--bg);
  filter: brightness(1.06);
}

.btn-hero-play {
  letter-spacing: 0.02em;
}

.hero-secondary-link {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-secondary-link:hover { color: var(--gold-bright); }

/* Math strip */
.math-strip {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.math-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 88px;
  align-items: stretch;
  border-inline: 1px solid var(--border);
}

.fact-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.85rem 0.65rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.fact-cell:last-child { border-right: none; }

.fact-cell dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.3rem;
}

.fact-cell dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-bright);
}

/* Sections */
.section {
  padding-block: var(--section-pad);
  background: var(--bg);
}

.section-alt {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--gold-bright);
  margin: 0 0 1.125rem;
  line-height: 1.2;
}

.subsection-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.prose {
  max-width: var(--prose-max);
}

.prose-tight { max-width: var(--prose-max); }

.prose p,
.section p {
  margin: 0 0 0.875rem;
  color: var(--muted);
}

.prose p:last-child,
.section p:last-child { margin-bottom: 0; }

.rtp-explain {
  margin: 1rem 0 0;
  max-width: var(--prose-max);
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* House edge bars */
.section-house-edge {
  padding-block: var(--section-pad) var(--section-pad-compact);
}

.edge-bars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
  width: 100%;
}

.edge-bar {
  background: rgba(21, 17, 13, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

.edge-bar-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.55rem;
}

.edge-bar-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
}

.edge-bar-meta {
  font-size: 0.82rem;
  color: var(--gold);
  font-family: var(--font-serif);
}

.edge-bar-track {
  height: 0.55rem;
  background: var(--surface-alt);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(157, 100, 42, 0.35);
}

.edge-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bronze) 0%, var(--terracotta) 55%, #4a2218 100%);
  border-radius: 999px;
  min-width: 4%;
}

/* Numbers mean grid */
.numbers-mean-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.25rem;
}

.numbers-mean-card {
  background: rgba(21, 17, 13, 0.8);
  border: 1px solid var(--border);
  border-top: 2px solid var(--bronze);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}

.numbers-mean-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
}

.numbers-mean-value {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin: 0 0 0.5rem;
}

.numbers-mean-body {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Game math */
.game-math-grid {
  display: grid;
  gap: 1.5rem;
}

.game-math-copy .section-title {
  margin-bottom: 1rem;
}

.game-math-copy .prose {
  max-width: var(--prose-max);
}

.game-math-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
}

.game-math-pays {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.base-schematic {
  margin: 0 0 0.5rem;
  max-width: 280px;
  width: 100%;
}

.schematic-caption {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.45;
  max-width: 280px;
}

.pay-intro,
.jackpot-note {
  margin: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.jackpot-note {
  margin-bottom: 0;
  font-size: 0.85rem;
  font-style: italic;
}

/* Tables */
.data-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 280px;
}

.data-table th,
.data-table td {
  padding: 0.8125rem 0.85rem;
  border: 1px solid var(--border);
  text-align: left;
}

.data-table thead th {
  background: var(--surface-alt);
  color: var(--gold-bright);
  font-weight: 600;
}

.data-table tbody th {
  background: rgba(21, 17, 13, 0.65);
  color: var(--text);
  font-weight: 500;
}

.data-table td { color: var(--muted); }

.compare-table-compact { font-size: 0.88rem; }
.compare-table-compact th,
.compare-table-compact td { padding: 0.65rem 0.75rem; }

/* Pay lists */
.pay-compact-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 0;
}

.pay-compact-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.pay-compact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(230, 165, 45, 0.14);
}

.pay-compact-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(230, 165, 45, 0.1);
  font-size: 0.9rem;
}

.pay-item-label { color: var(--muted); }
.pay-item-value {
  color: var(--gold-bright);
  font-weight: 600;
  font-family: var(--font-serif);
  text-align: right;
}

/* Bonus */
.bonus-card-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.bonus-card {
  background: rgba(21, 17, 13, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.feature-spins-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
  background: rgba(230, 165, 45, 0.06);
  border-left: 3px solid var(--bronze);
  border-radius: var(--radius);
  max-width: var(--prose-max);
}

.demo-note {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  background: rgba(99, 51, 31, 0.22);
  border: 1px solid rgba(157, 100, 42, 0.35);
  border-radius: var(--radius);
  max-width: var(--prose-max);
}

/* Active RTP — two-column on desktop */
.section-check-rtp {
  padding-block: var(--section-pad-compact);
}

.check-rtp-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.section-check-rtp .demo-note {
  margin-top: 0;
}

/* FAQ */
.section-compare {
  padding-bottom: clamp(2.5rem, 3.25vw, 3.25rem);
}

.section-faq {
  padding-top: clamp(2.5rem, 3.25vw, 3.25rem);
  padding-bottom: clamp(2.25rem, 3vw, 3rem);
  background: var(--surface);
}

.faq-list {
  max-width: var(--faq-max);
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: rgba(11, 9, 7, 0.55);
}

.faq-item summary {
  padding: 0.9375rem 1.05rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-a {
  padding: 0 1rem 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(230, 165, 45, 0.06) 0%, transparent 70%),
    var(--bg);
  border-top: 1px solid rgba(230, 165, 45, 0.35);
}

.footer-minimal {
  display: grid;
  gap: 0.55rem;
  place-items: center;
  place-content: center;
  text-align: center;
  padding: clamp(1.25rem, 2vw, 1.75rem) 0 clamp(1rem, 2vw, 1.35rem);
}

.footer-age {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--bronze) 100%);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.footer-inline-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.3rem 0.55rem;
  max-width: 68rem;
}

.footer-inline-nav a {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(230, 165, 45, 0.42);
}

.footer-inline-nav a:hover { color: var(--gold-bright); }

.footer-inline-nav span {
  color: rgba(185, 170, 153, 0.65);
  font-size: 0.72rem;
}

.footer-responsible-copy,
.footer-meta-copy,
.footer-editorial-line {
  max-width: 58rem;
  margin: 0;
  line-height: 1.45;
}

.footer-responsible-copy {
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-meta-copy {
  color: rgba(185, 170, 153, 0.88);
  font-size: 0.72rem;
}

.footer-editorial-line {
  color: rgba(185, 170, 153, 0.72);
  font-size: 0.68rem;
}

.footer-copy {
  margin: 0.15rem 0 0;
  color: rgba(185, 170, 153, 0.65);
  font-size: 0.68rem;
}

/* Legal / 404 */
.page-hero-compact {
  padding: calc(var(--header-h) + 1.5rem) 0 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero-compact h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold-bright);
  margin: 0 0 0.75rem;
}

.page-lead {
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
}

.error-page {
  padding: 4rem 0;
  text-align: center;
}

.error-page h1 {
  font-family: var(--font-serif);
  color: var(--gold-bright);
}

/* Responsive */
@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 9, 7, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-toggle { display: block; }

  .math-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-cell:nth-child(2) { border-right: none; }
  .fact-cell:nth-child(5) {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid var(--border);
  }

  .bonus-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-math {
    min-height: clamp(460px, 72vh, 580px);
  }

  .hero-math-bg img {
    object-position: 28% center;
  }

  .hero-math-overlay {
    background: linear-gradient(
      180deg,
      rgba(11, 9, 7, 0.92) 0%,
      rgba(11, 9, 7, 0.78) 45%,
      rgba(11, 9, 7, 0.35) 100%
    );
  }

  .hero-math-inner {
    justify-content: stretch;
  }

  .hero-math-content {
    max-width: 100%;
    margin-left: 0;
    padding-top: calc(var(--header-h) + 1.25rem);
  }
}

@media (max-width: 430px) {
  body { font-size: 16px; }

  .hero-math-bg img {
    object-position: 22% center;
  }

  .fact-cell { padding: 0.75rem 0.45rem; }
  .fact-cell dd { font-size: 1.15rem; }
}

@media (min-width: 768px) {
  .numbers-mean-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }

  .edge-bars {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1rem;
  }
}

@media (min-width: 901px) {
  .header-inner { position: relative; }
  .site-nav { display: block !important; }
}

@media (min-width: 768px) {
  .pay-compact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .game-math-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
    grid-template-rows: auto auto;
    column-gap: 2.5rem;
    row-gap: 1.5rem;
    align-items: start;
  }

  .game-math-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .game-math-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-items: flex-start;
    justify-self: end;
    align-self: start;
  }

  .game-math-pays {
    grid-column: 1;
    grid-row: 2;
  }

  .bonus-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .check-rtp-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 1.25rem 2rem;
  }

  .check-rtp-grid .prose {
    max-width: none;
  }

  .section-check-rtp .demo-note {
    max-width: none;
  }
}

@media (min-width: 1280px) {
  .game-math-grid {
    column-gap: clamp(3rem, 4vw, 4rem);
    row-gap: 1.75rem;
  }

  .pay-compact-grid {
    gap: clamp(1.5rem, 2vw, 2rem);
  }

  .base-schematic {
    max-width: 300px;
  }

  .schematic-caption {
    max-width: 300px;
  }
}
