/* Rump & Friends Guide — InOut Games Hold & Win slot, static landing bundle
   Prefix: .rf-  |  Unique implementation per templates/landings/STYLE_GUIDE.md */

:root {
  --rf-navy-deep: #0f1230;
  --rf-navy-mid: #171b45;
  --rf-violet: #2a1f52;
  --rf-sky-night: #0a1c40;
  --rf-gold: #f5c542;
  --rf-gold-deep: #c9911a;
  --rf-gold-soft: #ffe5a3;
  --rf-confetti-pink: #ff6fa5;
  --rf-ink: #f4f1ff;
  --rf-ink-dim: #c7c4e6;
  --rf-ink-faint: #9a97c2;
  --rf-line: rgba(245, 197, 66, 0.22);
  --rf-panel: rgba(23, 27, 69, 0.72);
  --rf-panel-solid: #171b45;
  --rf-radius-lg: 20px;
  --rf-radius-md: 14px;
  --rf-radius-sm: 9px;
  --rf-maxw: 1180px;
  --rf-shadow: 0 18px 44px rgba(4, 5, 20, 0.45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--rf-navy-deep);
  color: var(--rf-ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--rf-gold); text-decoration-color: rgba(245,197,66,0.45); }
a:hover { text-decoration-color: var(--rf-gold); }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.22; margin: 0 0 0.5em; color: #ffffff; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--rf-ink-dim); }
p:last-child { margin-bottom: 0; }

.rf-wrap { max-width: var(--rf-maxw); margin: 0 auto; padding: 0 max(20px, 4vw); }
.rf-section { padding: 64px 0; border-top: 1px solid var(--rf-line); }
.rf-section--tight { padding: 48px 0; }

/* ---------- Skip link ---------- */
.rf-skip {
  position: absolute; left: -999px; top: 0; background: var(--rf-gold); color: var(--rf-navy-deep);
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; font-weight: 700;
}
.rf-skip:focus { left: 0; }

/* ---------- Header / Topbar ---------- */
.rf-topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(12, 14, 38, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rf-line);
}
.rf-menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.rf-topbar-inner {
  max-width: var(--rf-maxw); margin: 0 auto; padding: 14px max(20px, 4vw);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-areas: "mark route dial hatch";
  align-items: center; column-gap: 22px;
}
.rf-mark { grid-area: mark; display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.rf-mark-coin {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, var(--rf-gold-soft), var(--rf-gold) 55%, var(--rf-gold-deep) 100%);
  box-shadow: inset 0 0 0 2px rgba(15,18,48,0.35);
}
.rf-mark-text {
  color: var(--rf-ink); font-family: Georgia, serif; font-weight: 700; font-size: 1.05rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.rf-route { grid-area: route; display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.rf-route a { color: var(--rf-ink-dim); text-decoration: none; font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
.rf-route a:hover { color: var(--rf-gold); }

.rf-dial { grid-area: dial; position: relative; }
.rf-dial summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 1px solid var(--rf-line); border-radius: 999px;
  color: var(--rf-ink); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em;
}
.rf-dial summary::-webkit-details-marker { display: none; }
.rf-dial summary::after { content: "▾"; color: var(--rf-gold); font-size: 0.7rem; }
.rf-dial[open] summary::after { content: "▴"; }
.rf-dial-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: var(--rf-panel-solid);
  border: 1px solid var(--rf-line); border-radius: var(--rf-radius-sm); padding: 8px;
  display: grid; grid-template-columns: repeat(2, minmax(90px, 1fr)); gap: 4px;
  min-width: 220px; box-shadow: var(--rf-shadow); z-index: 70;
}
.rf-dial-menu a {
  display: block; padding: 8px 10px; border-radius: 7px; color: var(--rf-ink-dim);
  text-decoration: none; font-size: 0.86rem;
}
.rf-dial-menu a:hover { background: rgba(245,197,66,0.12); color: var(--rf-gold); }
.rf-dial-menu a[aria-current="page"] { color: var(--rf-navy-deep); background: var(--rf-gold); font-weight: 700; }

.rf-hatch { grid-area: hatch; display: none; }
.rf-hatch-btn {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 36px; cursor: pointer; padding: 0;
}
.rf-hatch-btn span { display: block; width: 100%; height: 2px; background: var(--rf-gold); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

.rf-drawer { display: none; flex-direction: column; gap: 4px; padding: 10px max(20px, 4vw) 20px; }
.rf-drawer a {
  color: var(--rf-ink); text-decoration: none; padding: 11px 6px; border-bottom: 1px solid rgba(245,197,66,0.12);
  font-weight: 600; font-size: 0.95rem;
}
.rf-drawer-locales { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin-top: 12px; }
.rf-drawer-locales a {
  border: 1px solid var(--rf-line); border-radius: 8px; text-align: center; padding: 9px 4px;
  font-size: 0.82rem; font-weight: 700;
}
.rf-drawer-locales a[aria-current="page"] { background: var(--rf-gold); color: var(--rf-navy-deep); border-color: var(--rf-gold); }

.rf-menu-toggle:checked ~ .rf-drawer { display: flex; }
.rf-menu-toggle:checked ~ .rf-topbar-inner .rf-hatch-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rf-menu-toggle:checked ~ .rf-topbar-inner .rf-hatch-btn span:nth-child(2) { opacity: 0; }
.rf-menu-toggle:checked ~ .rf-topbar-inner .rf-hatch-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.rf-hero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.rf-hero-media { position: absolute; inset: 0; z-index: 0; background: var(--rf-navy-deep); }
.rf-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rf-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(8,9,26,0.94) 0%, rgba(8,9,26,0.78) 36%, rgba(8,9,26,0.22) 60%, rgba(8,9,26,0) 76%);
}
.rf-hero-body { position: relative; z-index: 2; max-width: 620px; padding: 64px max(20px, 4vw); }
.rf-hero-body h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3rem); color: #fff; }
.rf-hero-body p { color: var(--rf-ink-dim); font-size: 1.05rem; }
.rf-hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.rf-hero-pills li {
  border: 1px solid rgba(245,197,66,0.4); background: rgba(245,197,66,0.08);
  color: var(--rf-gold-soft); padding: 7px 13px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
}
.rf-hero-cta {
  display: inline-flex; align-items: center; gap: 8px; background: var(--rf-gold); color: var(--rf-navy-deep);
  padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 0.98rem;
  box-shadow: 0 10px 26px rgba(245,197,66,0.28);
}
.rf-hero-cta:hover { background: var(--rf-gold-soft); }

/* ---------- Disambiguation ---------- */
.rf-disamb-intro { max-width: 760px; }
.rf-disamb-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 24px 0; }
.rf-disamb-card {
  background: var(--rf-panel); border: 1px solid var(--rf-line); border-radius: var(--rf-radius-md);
  padding: 18px 20px;
}
.rf-disamb-card strong { color: #fff; display: block; margin-bottom: 6px; font-size: 0.98rem; }
.rf-disamb-card p { margin: 0; font-size: 0.92rem; }
.rf-disamb-close { font-style: italic; color: var(--rf-ink-faint); border-left: 3px solid var(--rf-gold); padding-left: 14px; }

/* ---------- Specs table ---------- */
.rf-specs-scroll { overflow-x: auto; border-radius: var(--rf-radius-md); border: 1px solid var(--rf-line); }
.rf-specs-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.rf-specs-table th, .rf-specs-table td { padding: 13px 18px; text-align: left; font-size: 0.94rem; }
.rf-specs-table thead th { background: rgba(245,197,66,0.12); color: var(--rf-gold-soft); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.rf-specs-table tbody tr:nth-child(odd) { background: rgba(255,255,255,0.02); }
.rf-specs-table tbody th { color: var(--rf-ink-faint); font-weight: 600; width: 38%; }
.rf-specs-table tbody td { color: var(--rf-ink); }

.rf-note {
  margin-top: 20px; border: 1px dashed rgba(245,197,66,0.4); border-radius: var(--rf-radius-md);
  padding: 14px 18px; background: rgba(245,197,66,0.05); font-size: 0.9rem;
}
.rf-note p { margin: 0; color: var(--rf-ink-dim); }

/* ---------- Bonus Buy tier strip ---------- */
.rf-tier-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.rf-tier-card {
  border: 1px solid var(--rf-line); border-radius: var(--rf-radius-md); padding: 20px 16px; text-align: center;
  background: linear-gradient(160deg, rgba(245,197,66,0.08), rgba(23,27,69,0.4));
}
.rf-tier-num { font-family: Georgia, serif; font-size: 1.8rem; color: var(--rf-gold); }
.rf-tier-card span { display: block; font-size: 0.78rem; color: var(--rf-ink-faint); margin-top: 6px; }

/* ---------- Theme block ---------- */
.rf-theme-body { max-width: 780px; }

/* ---------- Where to play ---------- */
.rf-chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.rf-chip {
  border: 1px solid var(--rf-line); border-radius: 999px; padding: 8px 16px; font-size: 0.86rem;
  font-weight: 700; color: var(--rf-ink); background: rgba(255,255,255,0.03);
}

/* ---------- About ---------- */
.rf-about-body { max-width: 780px; }

/* ---------- Content images (holdwin/bonus-buy/theme/availability/where-to-play/about) ---------- */
.rf-content-figure { margin: 28px 0 0; }
.rf-content-figure picture { display: block; }
.rf-content-figure img {
  display: block; width: 100%; height: auto; border-radius: var(--rf-radius-md);
  box-shadow: var(--rf-shadow); border: 1px solid var(--rf-line);
}
.rf-content-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.rf-content-pair .rf-content-figure { margin-top: 0; }

/* ---------- Decorative divider (between Quick Specs and How Hold & Win Works) ---------- */
.rf-divider {
  width: 100%; max-height: 220px; overflow: hidden;
  border-top: 1px solid var(--rf-line); border-bottom: 1px solid var(--rf-line);
}
.rf-divider img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- FAQ ---------- */
.rf-faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.rf-faq-item {
  border: 1px solid var(--rf-line); border-radius: var(--rf-radius-md); padding: 4px 20px;
  background: var(--rf-panel);
}
.rf-faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 26px 16px 0; position: relative;
  font-weight: 700; color: #fff; font-size: 1rem;
}
.rf-faq-item summary::-webkit-details-marker { display: none; }
.rf-faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 14px; color: var(--rf-gold); font-size: 1.3rem; line-height: 1;
}
.rf-faq-item[open] summary::after { content: "–"; }
.rf-faq-item p { padding-bottom: 16px; }

/* ---------- Responsible gambling ---------- */
.rf-rg { border: 1px solid rgba(245,197,66,0.35); border-radius: var(--rf-radius-lg); padding: 28px max(20px,4vw); background: rgba(245,197,66,0.04); }
.rf-rg-body { max-width: 780px; }
.rf-rg-age { font-size: 0.85rem; color: var(--rf-ink-faint); margin-top: 14px; }

/* ---------- Footer ---------- */
.rf-footer { border-top: 1px solid var(--rf-line); padding: 46px 0 30px; background: var(--rf-navy-mid); }
.rf-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.rf-footer-brand { max-width: 420px; }
.rf-footer-brand strong { display: block; color: #fff; font-family: Georgia, serif; font-size: 1.15rem; margin-bottom: 8px; }
.rf-footer-locales h3 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rf-ink-faint); margin-bottom: 12px; }
.rf-footer-lang-grid { display: grid; grid-template-columns: repeat(3, minmax(70px, 1fr)); gap: 8px; max-width: 420px; }
.rf-footer-lang-grid a {
  border: 1px solid var(--rf-line); border-radius: 7px; text-align: center; padding: 8px 4px;
  color: var(--rf-ink-dim); text-decoration: none; font-size: 0.8rem; font-weight: 700;
}
.rf-footer-lang-grid a[aria-current="page"] { background: var(--rf-gold); color: var(--rf-navy-deep); border-color: var(--rf-gold); }
.rf-footer-meta { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--rf-line); font-size: 0.82rem; color: var(--rf-ink-faint); }
.rf-footer-meta p { color: var(--rf-ink-faint); font-size: 0.82rem; }
.rf-footer-meta a { color: var(--rf-ink-dim); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .rf-disamb-grid { grid-template-columns: 1fr; }
  .rf-tier-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .rf-topbar-inner { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "mark hatch"; column-gap: 12px; }
  .rf-route, .rf-dial { display: none; }
  .rf-hatch { display: block; }
  .rf-hero { min-height: 92vh; align-items: flex-end; }
  .rf-hero-scrim {
    background: linear-gradient(to top, rgba(8,9,26,0.96) 0%, rgba(8,9,26,0.88) 42%, rgba(8,9,26,0.25) 74%, rgba(8,9,26,0) 100%);
  }
  .rf-hero-body { padding: 40px 20px 48px; max-width: 100%; }
  .rf-section { padding: 44px 0; }
  .rf-tier-strip { grid-template-columns: 1fr; }
  .rf-content-pair { grid-template-columns: 1fr; gap: 16px; }
  .rf-divider { max-height: 140px; }
  .rf-footer-top { flex-direction: column; }
  .rf-footer-lang-grid { grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 100%; }
}

@media (max-width: 420px) {
  .rf-hero-pills li { font-size: 0.76rem; padding: 6px 10px; }
}
