

/* assembly r4 — owner layout rules */
:root {
  --r4-bg: #0c0d0f;
  --r4-bg-soft: #131519;
  --r4-panel: #1a1d22;
  --r4-panel-soft: #20242a;
  --r4-text: #f5f2e9;
  --r4-muted: #c5c1b7;
  --r4-gold: #f5b82e;
  --r4-blue: #58a6c7;
  --r4-line: rgba(245, 184, 46, 0.28);
  --r4-line-soft: rgba(255, 255, 255, 0.12);
  --r4-radius: 16px;
  --r4-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
}

*, *::before, *::after {
  box-sizing: border-box;
  text-transform: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  padding-bottom: 78px;
  background: var(--r4-bg);
  color: var(--r4-text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body, header, main, section, footer, article, nav, div, figure {
  min-width: 0;
}

a { color: inherit; }

.frame {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

h1, h2, h3 {
  margin: 0;
  color: var(--r4-text);
  font-family: "Rubik", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 760px;
  font-size: clamp(2rem, 7vw, 2.6rem);
  line-height: 1.08;
}

h2 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(1.4rem, 4vw, 1.6rem);
  line-height: 1.22;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.02rem, 2.5vw, 1.15rem);
  line-height: 1.3;
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

ul, ol {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

li + li { margin-top: 8px; }

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid var(--r4-line-soft);
  background: rgba(12, 13, 15, 0.96);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding-block: 8px;
}

.brand-mark { display: block; width: fit-content; }
.brand-logo { display: block; width: auto; height: 38px; }

.header-menu {
  display: flex;
  grid-column: 1 / -1;
  gap: 6px;
  padding-bottom: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-menu::-webkit-scrollbar { display: none; }

.header-menu a {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--r4-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.header-menu a:hover,
.header-menu a:focus-visible {
  background: rgba(245, 184, 46, 0.12);
  color: var(--r4-gold);
  outline: none;
}

.header-actions,
.hero__action {
  display: flex;
  gap: 8px;
}

.action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.action--gold {
  border-color: var(--r4-gold);
  background: var(--r4-gold);
  color: #231b05;
}

.action--gold:hover,
.action--gold:focus-visible {
  background: #ffd36a;
  outline: 3px solid rgba(88, 166, 199, 0.55);
  outline-offset: 2px;
}

.action--outline {
  border-color: var(--r4-line-soft);
  color: var(--r4-text);
}

.hero {
  padding: 52px 0 46px;
  background:
    radial-gradient(circle at 16% 5%, rgba(245, 184, 46, 0.13), transparent 34%),
    var(--r4-bg);
}

.hero__layout { display: grid; gap: 30px; align-items: center; }

.hero__copy > p {
  max-width: 720px;
  margin-top: 18px;
  color: var(--r4-muted);
  font-size: 1.02rem;
}

.hero__action { margin-top: 24px; }

.hero__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--r4-line);
  border-radius: var(--r4-radius);
  background: var(--r4-panel);
  box-shadow: var(--r4-shadow);
}

.hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 338;
  object-fit: cover;
}

.intro-strip {
  padding: 28px 0;
  border-block: 1px solid var(--r4-line-soft);
  background: var(--r4-bg-soft);
}

.intro-strip p {
  max-width: 900px;
  color: var(--r4-muted);
}

.content-section { padding: 54px 0; }
.content-section:nth-of-type(even) { background: var(--r4-bg-soft); }

.section--gold {
  background:
    linear-gradient(135deg, rgba(245, 184, 46, 0.055), transparent 42%),
    var(--r4-bg-soft);
}

.section--money > .frame {
  padding: 22px;
  border: 1px solid var(--r4-line);
  border-radius: var(--r4-radius);
  background: rgba(26, 29, 34, 0.76);
  box-shadow: var(--r4-shadow);
}

.section-intro {
  max-width: 860px;
  margin: -7px 0 24px;
  color: var(--r4-muted);
}

.section-lead {
  display: grid;
  gap: 22px;
  align-items: center;
  margin: -7px 0 26px;
}

.section-lead > div { color: var(--r4-muted); }

.section-art {
  display: grid;
  min-height: 205px;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--r4-line);
  border-radius: var(--r4-radius);
  background: radial-gradient(circle, rgba(245, 184, 46, 0.18), transparent 64%);
}

.section-art img {
  display: block;
  max-width: 100%;
  height: 230px;
  object-fit: contain;
}

.card-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
  gap: 14px;
  align-items: start;
}

.topic-card,
.faq-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--r4-line-soft);
  border-radius: var(--r4-radius);
  background: var(--r4-panel);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.topic-card p,
.faq-card p { color: var(--r4-muted); }

.topic-card__image {
  display: block;
  width: 100%;
  height: 132px;
  margin: -4px 0 16px;
  object-fit: contain;
  border-radius: 11px;
  background: rgba(245, 184, 46, 0.06);
}

.payment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.payment-chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #ded8ca;
  border-radius: 10px;
  background: #f8f5ed;
  color: #202126;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.payment-chip img {
  display: block;
  width: 58px;
  height: 28px;
  flex: 0 0 58px;
  object-fit: contain;
}

.game-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.game-thumb {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--r4-line-soft);
  border-radius: 12px;
  background: var(--r4-panel);
}

.game-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.faq-card { padding: 0; overflow: clip; }
.faq-card summary { padding: 19px 20px; cursor: pointer; list-style: none; }
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary h3 { display: inline; margin: 0; }

.faq-card__answer {
  padding: 0 20px 20px;
  border-top: 1px solid var(--r4-line-soft);
}

.faq-card__answer p { padding-top: 16px; }

.table-wrap { width: 100%; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th, td {
  padding: 11px;
  border: 1px solid var(--r4-line-soft);
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}

.closing {
  padding: 54px 0;
  border-top: 1px solid var(--r4-line);
  background: linear-gradient(135deg, rgba(245, 184, 46, 0.12), rgba(88, 166, 199, 0.05));
}

.closing__inner { display: grid; gap: 16px; }
.closing h2 { margin-bottom: 0; }
.closing p { max-width: 830px; color: var(--r4-muted); }

.site-footer {
  padding: 28px 0 92px;
  border-top: 1px solid var(--r4-line-soft);
  background: #090a0c;
}

.site-footer__inner { text-align: center; }
.site-footer p { margin-top: 12px; color: var(--r4-muted); font-size: 0.82rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: var(--r4-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-links a { text-decoration-color: var(--r4-gold); text-underline-offset: 4px; }

.back-to-top {
  position: fixed;
  z-index: 79;
  right: 14px;
  bottom: calc(78px + env(safe-area-inset-bottom));
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--r4-line);
  border-radius: 999px;
  background: var(--r4-panel-soft);
  box-shadow: var(--r4-shadow);
  color: var(--r4-gold);
  cursor: pointer;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

.mobile-bar {
  position: fixed;
  z-index: 78;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--r4-line-soft);
  background: rgba(12, 13, 15, 0.97);
}

@media (min-width: 560px) {
  .game-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .section-lead { grid-template-columns: minmax(0, 1fr) minmax(210px, 0.38fr); }
}

@media (max-width: 640px) {
  table, thead, tbody, tr, th, td { display: block; width: 100%; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { margin-bottom: 12px; border: 1px solid var(--r4-line-soft); border-radius: 10px; }
  th, td { border: 0; border-bottom: 1px solid var(--r4-line-soft); }
  tr > :last-child { border-bottom: 0; }
}

@media (min-width: 769px) {
  html { scroll-padding-top: 82px; }
  body { padding-bottom: 0; }
  .site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; }
  .brand-logo { height: 44px; }
  .header-menu { grid-column: auto; justify-content: center; padding: 0; }
  .header-menu a { padding-inline: 7px; }
  .hero { padding: 68px 0 62px; }
  .hero__layout { grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); gap: 42px; }
  .game-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mobile-bar { display: none; }
  .back-to-top { bottom: 22px; right: 22px; }
  .site-footer { padding-bottom: 30px; }
}

@media (min-width: 1040px) {
  .header-menu a { padding-inline: 10px; }
}

/* r5 — team fixes 2026-10-12: symmetric cards, images, payments grid, hero, inner pages */
.card-grid,
.faq-grid { align-items: stretch; }
.card-grid + .card-grid { margin-top: 14px; }
.cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); }
.topic-card { display: flex; flex-direction: column; height: 100%; }
.topic-card p { font-size: 0.97rem; }

.topic-card--media { padding: 0; overflow: hidden; }
.topic-card--media > h3 { margin: 18px 20px 10px; }
.topic-card--media > p { margin-inline: 20px; }
.topic-card--media > p:last-child { margin-bottom: 20px; }
.card-media {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid var(--r4-line-soft);
  background: #0f1013;
}
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
#promotions .card-media { aspect-ratio: 676 / 470; }
#promotions .card-media img { object-position: center 40%; }

.topic-card--icon { flex-direction: row; align-items: flex-start; gap: 16px; }
.card-icon {
  display: grid;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--r4-line);
  border-radius: 18px;
  background: radial-gradient(circle, rgba(245, 184, 46, 0.2), rgba(26, 29, 34, 0.9) 70%);
}
.card-icon img { display: block; width: 68px; height: 68px; object-fit: contain; }

.section--soft { background: var(--r4-bg-soft); }
.content-section:nth-of-type(even):not(.section--gold):not(.section--soft) { background: var(--r4-bg); }

.section-lead { grid-template-columns: minmax(0, 1fr); }
.section-lead__text p { color: var(--r4-muted); font-size: 1.02rem; }
.section-art { min-height: 0; padding: 14px; aspect-ratio: auto; }
.section-art img { width: auto; max-width: 100%; height: auto; max-height: 230px; }
.section-art--tall img { max-height: 260px; }
.section-art--small img { max-height: 184px; }

.section-cta { display: flex; justify-content: center; margin-top: 28px; }
.action--lg { min-height: 50px; padding: 12px 28px; font-size: 1.05rem; }
.action--outline { background: transparent; }
.action--outline:hover,
.action--outline:focus-visible { border-color: var(--r4-gold); color: var(--r4-gold); outline: none; }

/* hero */
.hero { padding: 44px 0 40px; overflow: hidden; }
.hero__media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 675px;
  border: 1px solid var(--r4-line);
  border-radius: 22px;
  background: #0f1013;
  box-shadow: 0 0 0 6px rgba(245, 184, 46, 0.06), 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 90px rgba(46, 160, 67, 0.18);
}
.hero__media img { aspect-ratio: 675 / 556; object-fit: cover; }

/* games */
.game-gallery--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* payments */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 22px;
  padding: 0;
  list-style: none;
}
.payment-grid li + li { margin-top: 0; }
.payment-tile {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border: 1px solid #ded8ca;
  border-radius: 14px;
  background: #f8f5ed;
  color: #202126;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}
.payment-tile img { display: block; width: 96px; height: 40px; object-fit: contain; }

/* table */
.table-wrap { margin-top: 26px; border: 1px solid var(--r4-line); border-radius: var(--r4-radius); overflow: hidden; background: var(--r4-panel); }
table caption { padding: 14px 16px; color: var(--r4-text); font-family: "Rubik", system-ui, sans-serif; font-size: 1.08rem; font-weight: 700; text-align: left; }
thead th { background: rgba(245, 184, 46, 0.12); color: var(--r4-gold); font-size: 0.9rem; }
tbody th { color: var(--r4-text); font-weight: 700; }
td { color: var(--r4-muted); }
th, td { padding: 12px 16px; border-width: 1px 0 0; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.025); }

/* back to top — icon only */
.back-to-top {
  display: grid;
  width: 46px;
  height: 46px;
  min-height: 0;
  padding: 0;
  place-items: center;
  border-radius: 50%;
}
.back-to-top svg { display: block; }

/* footer */
.footer-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  font-weight: 700;
}
.footer-pages a { color: var(--r4-text); text-decoration-color: var(--r4-gold); text-underline-offset: 4px; }
.footer-pages span { color: var(--r4-muted); }
.site-footer .footer-links { margin: 0; color: var(--r4-muted); font-size: 0.86rem; }
.site-footer .footer-copy { margin-top: 10px; }

/* inner pages */
.page-main { padding: 40px 0 64px; }
.page-main h1 { max-width: 24ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: var(--r4-muted); font-size: 0.82rem; }
.breadcrumb a { color: var(--r4-gold); }
.page-body {
  max-width: 820px;
  margin-top: 26px;
  padding: 26px;
  border: 1px solid var(--r4-line-soft);
  border-radius: var(--r4-radius);
  background: var(--r4-panel);
  color: var(--r4-muted);
  line-height: 1.75;
}
.page-body h2 { margin: 30px 0 12px; font-size: 1.2rem; }
.page-body h2:first-child { margin-top: 0; }
.page-body h3 { margin: 22px 0 10px; }
.page-body ul, .page-body ol { margin: 12px 0 16px; padding-left: 20px; list-style: disc; }
.page-body a { color: var(--r4-gold); }
.page-body table { margin: 16px 0; }

@media (min-width: 600px) {
  .cols-2, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .game-gallery--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 560px) {
  .section-lead { grid-template-columns: minmax(0, 1fr) minmax(200px, 0.36fr); }
}
@media (min-width: 900px) {
  .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .payment-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 769px) {
  .hero { padding: 64px 0 60px; }
  .hero__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .hero__copy > p { font-size: 1.06rem; }
  .header-menu a { padding-inline: 6px; }
}
@media (max-width: 768px) {
  .header-actions .action { min-height: 38px; padding: 8px 14px; font-size: 0.9rem; }
  .site-footer { padding-bottom: 96px; }
}
@media (max-width: 480px) {
  .topic-card--icon { flex-direction: column; }
}

/* r5b */
.topic-card--icon { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; align-content: start; }
.topic-card--icon .card-icon { flex: none; width: 64px; height: 64px; border-radius: 16px; }
.topic-card--icon .card-icon img { width: 58px; height: 58px; }
.topic-card--icon > h3 { align-self: center; margin: 0; }
.topic-card--icon > p { grid-column: 1 / -1; margin-top: 14px; margin-bottom: 0; }
.topic-card--icon > p + p { margin-top: 12px; }
#promotions .card-media { aspect-ratio: 676 / 556; display: grid; place-items: center; background: radial-gradient(circle, rgba(245, 184, 46, 0.18), #0f1013 70%); }
#promotions .card-media img[src$=".png"] { width: auto; height: auto; max-width: 70%; max-height: 82%; object-fit: contain; }
.section-art { padding: 10px; }
.section-art img { max-height: 200px; }
.section-art--tall img { max-height: 250px; }
@media (max-width: 480px) { .topic-card--icon { display: grid; } }
@media (min-width: 560px) { .section-lead { grid-template-columns: minmax(0, 1fr) minmax(180px, 0.28fr); } }
.section-art img { max-height: 170px; }
.section-art--tall img { max-height: 230px; }
.topic-card--icon { row-gap: 0; }
.topic-card--icon > p { margin-top: 12px; }
@media (max-width: 768px) { .header-actions { grid-row: 1; grid-column: 2; } .header-menu { grid-row: 2; } }
/* r5c: withdrawal trophy fills the art panel, cup centred */
.section-art--trophy { padding: 0; }
.section-art--trophy img { width: 100%; height: auto; max-height: none; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 559px) { .section-art--trophy { max-width: 280px; width: 100%; justify-self: center; } }
/* r5d: larger header menu text (Account removed from nav) */
.header-menu a { font-size: 0.86rem; }
@media (min-width: 769px) { .header-menu a { font-size: 0.95rem; padding-inline: 8px; } }
@media (min-width: 1200px) { .header-menu a { font-size: 1rem; padding-inline: 11px; } }
/* r5d: FAQ chevron shows that a card opens */
.faq-card summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.faq-card summary::after {
  content: ""; flex: none; width: 32px; height: 32px; margin-top: -3px;
  border: 1px solid rgba(245, 184, 46, 0.45); border-radius: 50%;
  background: rgba(245, 184, 46, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23f5b82e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq-card summary:hover::after { background-color: rgba(245, 184, 46, 0.22); }
.faq-card[open] summary::after { transform: rotate(180deg); }
.faq-grid { align-items: start; }
@media (min-width: 769px) and (max-width: 1099px) { .header-menu a { font-size: 0.8rem; padding-inline: 5px; } }
@media (min-width: 769px) and (max-width: 1099px) {
  .site-header__inner { row-gap: 6px; }
  .header-menu { grid-row: 2; grid-column: 1 / -1; justify-content: center; }
  .header-actions { grid-row: 1; grid-column: 3; }
  .header-menu a { font-size: 0.92rem; padding-inline: 8px; }
}
/* r5d: heading inside the lead text column */
.section-lead__text > h2 { margin-top: 0; }
.section-lead { margin-top: 0; }
/* r5e: closed FAQ cards share one height (two question lines) */
.faq-card summary h3 { display: block; min-height: 2lh; }
/* r5g: larger section CTA with equal space above and below it */
.section-cta { margin-top: 52px; }
.section-cta .action { min-height: 56px; padding: 14px 40px; font-size: 1.12rem; }
.content-section:has(> .frame > .section-cta:last-child) { padding-bottom: 0; }
/* the next section has another background: keep the same 52px gap down to that edge */
.content-section:has(> .frame > .section-cta:last-child) { padding-bottom: 52px; }
#bonus { padding-bottom: 0; }
.lead-cta { margin-top: 26px; }
.lead-cta .action { min-height: 56px; padding: 14px 40px; font-size: 1.12rem; }
/* r5h: heading row with a button on the right */
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head .action { min-height: 56px; padding: 14px 40px; font-size: 1.12rem; }
