/* OreganoWay — candy-rocket-cloudburst. Mobile-first: base rules are the
   mobile layout, min-width media queries progressively enhance for wider
   viewports. Vanilla Bootstrap 5 .container/.row/.col-* handle grid layout
   (Phase G) — nothing here redefines them. */

:root {
  /* Hero-theme palette (Candy Rocket Cloudburst) at real, vivid saturation —
     the sky-blue/cotton-candy-pink pair is the page's dominant canvas, not
     a button-only accent (2026-08-19 correction). */
  --sv2-gold: #ffc93c;
  --sv2-gold-deep: #ff9f1c;
  --sv2-white: #ffffff;
  --sv2-ink: #2a1a52;
  --sv2-text-dim: #6b5aa0;
  --sv2-card-bg: rgba(255, 255, 255, 0.14);
  --sv2-card-border: rgba(255, 255, 255, 0.4);
  --sv2-radius-lg: 26px;

  --rlo-sky: #5ec8f2;
  --rlo-sky-deep: #2f9fe0;
  --rlo-pink: #ff7fc0;
  --rlo-pink-deep: #ff4fa3;
  --rlo-navy: #241645;
  --rlo-navy-soft: #34216b;
  --rlo-white: #ffffff;
  --rlo-cream: #fff6fb;
  --rlo-radius: 20px;
  --rlo-shadow: 0 14px 34px rgba(42, 20, 80, 0.28);
}

* { box-sizing: border-box; }

/* Real fix for the hidden-attribute-vs-author-display conflict (mobile_first_audit.py
   Rule 16 known static-analysis gap — it doesn't resolve cascade, so this override still
   trips the check even though it correctly wins in a real browser: author-origin
   attribute selectors beat UA-origin `[hidden]{display:none}` regardless of source
   order, and !important here removes any doubt against later `display:flex/grid` class
   rules on the same element). */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: "Quicksand", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--rlo-navy);
  background: linear-gradient(180deg, #bfe8ff 0%, #9fd8fb 22%, #ffd3ec 62%, #ffc0e3 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-weight: 700;
  color: var(--rlo-navy);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
a { color: var(--rlo-sky-deep); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }

.rlo-main { padding-top: 78px; } /* clears the fixed nav */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--sv2-gold), var(--sv2-gold-deep));
  color: var(--rlo-navy);
  box-shadow: 0 8px 20px rgba(255, 159, 28, 0.4);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--rlo-navy);
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 0.9rem; }
.btn--lg { min-height: 52px; padding: 14px 30px; font-size: 1.1rem; }

/* ==========================================================
   NAV — orbit-arc-launch-nav
   Desktop: 3 detached elements (brand capsule left, arc-link
   cluster center, auth capsule right). Mobile: brand + auth
   persist shrunk in their corners; links collapse behind a
   bottom-left launch FAB that reveals them as a radial stack.
   ========================================================== */
.rlo-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 66px;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}
.rlo-nav__brand, .rlo-nav__auth, .rlo-nav__fab, .rlo-nav__arc { pointer-events: auto; }

.rlo-nav__brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(36, 22, 69, 0.92);
  color: var(--rlo-white);
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  box-shadow: var(--rlo-shadow);
}
.rlo-nav__brand-badge svg { width: 30px; height: 30px; display: block; }
.rlo-nav__brand-word { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.05rem; }
.rlo-nav__age-tag {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--sv2-gold);
  color: var(--rlo-navy);
  padding: 2px 6px;
  border-radius: 999px;
}

.rlo-nav__arc {
  display: none; /* revealed by FAB on mobile */
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 92px;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(36, 22, 69, 0.95);
  padding: 10px;
  border-radius: 18px;
  box-shadow: var(--rlo-shadow);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.rlo-nav.is-open .rlo-nav__arc {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.rlo-nav__arc-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--rlo-white);
  font-weight: 600;
  white-space: nowrap;
}
.rlo-nav__arc-link.is-active { background: var(--rlo-pink); color: var(--rlo-navy); }

.rlo-nav__auth-guest, .rlo-nav__auth-user {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(36, 22, 69, 0.92);
  padding: 6px;
  border-radius: 999px;
  box-shadow: var(--rlo-shadow);
}
.rlo-nav__link-btn {
  background: none;
  border: none;
  color: var(--rlo-white);
  font-weight: 700;
  min-height: 44px;
  padding: 0 10px;
  cursor: pointer;
}
.rlo-nav__user-email { color: var(--rlo-white); font-size: 0.85rem; padding: 0 8px; }

.rlo-nav__fab {
  position: fixed;
  left: 16px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--rlo-pink), var(--sv2-gold));
  box-shadow: var(--rlo-shadow);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .rlo-nav { height: 88px; padding: 0 28px; }
  .rlo-main { padding-top: 96px; }
  .rlo-nav__fab { display: none; }
  .rlo-nav__arc {
    display: flex;
    position: fixed;
    top: 16px;
    left: 50%;
    right: auto;
    width: fit-content;
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
    bottom: auto;
    gap: 2px;
    background: rgba(36, 22, 69, 0.9);
    padding: 6px;
    border-radius: 999px;
    opacity: 1;
  }
  .rlo-nav__arc-link { padding: 0 12px; font-size: 0.92rem; }
}

/* ---------- Section scaffolding ---------- */
.rlo-section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.rlo-eyebrow {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rlo-pink-deep);
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.rlo-lead { color: var(--sv2-text-dim); font-size: 1.05rem; }

section { padding: 48px 0; }

/* ==========================================================
   HERO — hero-fullbleed-photo, center-anchored text, eyebrow
   trust signal, split-headline-callout, live-proof-snippet
   above headline, CTAs in a detached floating card.
   ========================================================== */
.rlo-hero {
  position: relative;
  min-height: 40vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 52px 0 84px;
  overflow: hidden;
}
.rlo-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(94, 200, 242, 0.35) 0%, rgba(255, 79, 163, 0.55) 100%);
}
.rlo-hero__inner { position: relative; z-index: 2; }
.rlo-hero__inner--center { text-align: center; max-width: 760px; margin: 0 auto; }
.rlo-hero__proof {
  display: inline-block;
  background: rgba(255, 255, 255, 0.85);
  color: var(--rlo-navy);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.rlo-hero__eyebrow {
  color: var(--rlo-white);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  margin-bottom: 10px;
}
.rlo-hero__h1 {
  color: var(--rlo-white);
  font-size: 2rem;
  line-height: 1.15;
  text-shadow: 0 4px 16px rgba(0,0,0,0.28);
}
.rlo-hero__h1 span { color: var(--sv2-gold); }

.rlo-hero__ctacard {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--sv2-card-bg);
  backdrop-filter: blur(6px);
  border: 1px solid var(--sv2-card-border);
  border-radius: var(--rlo-radius);
  padding: 14px;
}

@media (min-width: 700px) {
  .rlo-hero__h1 { font-size: 2.8rem; }
}
@media (min-width: 900px) {
  .rlo-hero__ctacard { right: 40px; bottom: 32px; }
}

/* ---------- Recent wins ticker ---------- */
.rlo-wins { background: rgba(255,255,255,0.35); }
.rlo-wins__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rlo-wins__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  background: var(--rlo-white);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 4px 14px rgba(42,20,80,0.08);
}
.rlo-wins__player { font-weight: 700; }
.rlo-wins__game { color: var(--sv2-text-dim); font-size: 0.9rem; }
.rlo-wins__amount { color: var(--rlo-pink-deep); font-weight: 800; }
.rlo-wins__time { font-size: 0.8rem; color: var(--sv2-text-dim); }
@media (min-width: 700px) {
  .rlo-wins__row { grid-template-columns: 1.2fr 1.4fr 1fr 0.8fr; align-items: center; }
}

/* ==========================================================
   GAME CARDS — capsule-window-peek-card, portrait 3:4
   ========================================================== */
.rlo-grid, .rlo-carousel {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 420px) {
  .rlo-grid { grid-template-columns: repeat(2, 1fr); }
}
.rlo-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding-bottom: 10px;
}
.rlo-carousel .rlo-card { flex: 0 0 62%; scroll-snap-align: start; }

.rlo-card {
  border-radius: var(--rlo-radius);
  overflow: hidden;
  background: var(--rlo-white);
  box-shadow: 0 8px 22px rgba(42,20,80,0.14);
  transition: transform 0.2s ease;
}
.rlo-card:hover { transform: translateY(-4px); }
/* .rlo-card__plinth is the big "play this game" anchor — it fills the card
   (media + title/meta/CTA) exactly like the old single <a class="rlo-card">
   used to, so nothing above the fold changes visually. */
.rlo-card__plinth { display: block; color: inherit; }
.rlo-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  margin: 8px 8px 0;
}
.rlo-card__media img { width: 100%; height: 100%; object-fit: cover; }
.rlo-card__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(36,22,69,0.85);
  color: var(--rlo-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.rlo-card__body { padding: 12px 14px 16px; }
.rlo-card__title { font-family: "Baloo 2", sans-serif; font-weight: 700; margin: 0 0 6px; }
.rlo-card__meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--sv2-text-dim); margin-bottom: 10px; }
.rlo-card__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-weight: 700;
  color: var(--rlo-pink-deep);
}
/* .rlo-card__scout — the guide-article link. A sibling of .rlo-card__plinth
   (never nested inside it, so the card keeps a single valid <a>) that reads
   as the card's basement floor: a quiet strip under the "Blast Off" CTA,
   clipped to the card's own rounded corners by the parent's overflow:hidden.
   Sky-blue (the fleet's secondary color) instead of the CTA's hot pink, so
   it never competes with the primary play action — it's the "read first"
   option, not the "play now" one. */
.rlo-card__scout {
  display: block;
  text-align: center;
  padding: 9px 10px;
  min-height: 40px;
  line-height: 22px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--rlo-sky-deep);
  background: var(--rlo-cream);
  border-top: 1px solid rgba(42,20,80,0.08);
}
.rlo-card__scout:hover { background: #ffeef8; color: var(--rlo-pink-deep); }

@media (min-width: 560px) { .rlo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .rlo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .rlo-grid { grid-template-columns: repeat(5, 1fr); } }

.rlo-games-home__more { text-align: center; margin-top: 24px; }

/* ---------- Promo band ---------- */
.rlo-promo {
  background: linear-gradient(120deg, var(--rlo-pink), var(--rlo-sky));
}
.rlo-promo__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  color: var(--rlo-navy);
}
.rlo-promo .rlo-eyebrow { color: var(--rlo-navy); }
@media (min-width: 800px) {
  .rlo-promo__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Testimonials ---------- */
.rlo-testimonials__row { display: grid; gap: 16px; }
.rlo-testimonial {
  background: var(--rlo-white);
  border-radius: var(--rlo-radius);
  padding: 20px;
  box-shadow: 0 6px 18px rgba(42,20,80,0.1);
}
.rlo-testimonial span { display: block; margin-top: 10px; font-weight: 700; color: var(--rlo-pink-deep); }
@media (min-width: 800px) { .rlo-testimonials__row { grid-template-columns: repeat(3, 1fr); } }

/* ---------- How-it-works (used on flexible pages if needed) ---------- */
.rlo-steps__row { display: grid; gap: 18px; }
.rlo-steps__item { background: var(--rlo-white); border-radius: var(--rlo-radius); padding: 20px; text-align: center; }
.rlo-steps__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sv2-gold); color: var(--rlo-navy); font-weight: 800; margin-bottom: 10px;
}
@media (min-width: 800px) { .rlo-steps__row { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================
   SLOT — rocket-capsule-viewport-console
   ========================================================== */
.rlo-slot-section { background: rgba(36,22,69,0.04); }
.rlo-slot-console { max-width: 640px; margin: 0 auto; }
.nj-slot__stage {
  position: relative;
  border-radius: 999px 999px 40px 40px;
  background-size: cover;
  background-position: center;
  padding: 22px 16px 26px;
  box-shadow: var(--rlo-shadow);
  border: 6px solid var(--rlo-navy);
}
.nj-slot__stage.is-flash::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 70%);
  animation: rloFlash 0.5s ease-out;
  pointer-events: none;
}
@keyframes rloFlash { from { opacity: 1; } to { opacity: 0; } }

.rlo-slot__viewport-ring {
  position: absolute;
  inset: 8px;
  border: 3px dashed rgba(255,255,255,0.5);
  border-radius: 999px 999px 34px 34px;
  pointer-events: none;
}
.nj-slot__cabinet {
  position: relative;
  background: rgba(36,22,69,0.82);
  border-radius: 30px;
  padding: 16px;
}
.rlo-slot__stats { display: flex; justify-content: space-between; margin-bottom: 12px; }
.rlo-slot__stat { text-align: center; color: var(--rlo-white); }
.rlo-slot__stat span { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.75; }
.rlo-slot__stat strong { font-family: "Baloo 2", sans-serif; font-size: 1.2rem; color: var(--sv2-gold); }
.rlo-slot__stat.is-pulsing strong { animation: rloPulse 0.7s ease; }
@keyframes rloPulse { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* game-ui */
.nj-slot__reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  background: rgba(0,0,0,0.25);
  border-radius: 18px;
  padding: 8px;
}
.nj-slot__cell {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--rlo-white);
  filter: brightness(1);
}
.nj-slot__cell img { width: 100%; height: 100%; object-fit: cover; }
.nj-slot__reels.is-spinning .nj-slot__cell img { filter: blur(3px); }
.nj-slot__cell.is-win { box-shadow: 0 0 0 3px var(--sv2-gold) inset; animation: rloWinCell 0.6s ease infinite alternate; }
@keyframes rloWinCell { from { filter: brightness(1); } to { filter: brightness(1.35); } }

.nj-slot__win {
  text-align: center;
  color: var(--sv2-gold);
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  margin-top: 10px;
  min-height: 28px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nj-slot__win.is-visible { opacity: 1; transform: translateY(0); }

/* game-ui */
.rlo-slot__controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px 60px 44px;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}
.rlo-slot__ctrl {
  min-height: 44px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.16);
  color: var(--rlo-white);
  font-weight: 700;
  cursor: pointer;
}
.rlo-slot__ctrl--auto.is-active { background: var(--rlo-pink); color: var(--rlo-navy); }
.rlo-slot__spin {
  min-height: 48px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--sv2-gold), var(--rlo-pink));
  color: var(--rlo-navy);
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.rlo-slot__spin.is-spinning { opacity: 0.7; }
.rlo-slot__ctrl:disabled, .rlo-slot__spin:disabled { opacity: 0.4; cursor: not-allowed; }

/* Bespoke win animation: comet-trail-streak-sweep */
.rlo-comet {
  position: absolute;
  top: var(--rlo-comet-y, 30%);
  left: -10%;
  width: 46px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--sv2-gold) 40%, var(--rlo-white) 100%);
  box-shadow: 0 0 14px 3px rgba(255, 201, 60, 0.7);
  animation: rloCometSweep var(--rlo-comet-dur, 900ms) var(--rlo-comet-delay, 0ms) ease-out forwards;
  pointer-events: none;
}
@keyframes rloCometSweep {
  0% { left: -10%; opacity: 0; transform: scaleX(0.4); }
  15% { opacity: 1; }
  100% { left: 110%; opacity: 0; transform: scaleX(1.4); }
}

/* Paytable sheet */
.nj-paytable { position: fixed; inset: 0; z-index: 900; display: flex; align-items: flex-end; }
.nj-paytable__backdrop { position: absolute; inset: 0; background: rgba(36,22,69,0.55); }
.nj-paytable__sheet {
  position: relative;
  background: var(--rlo-white);
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 26px 26px 0 0;
  padding: 20px;
}
.nj-paytable__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
/* game-ui */
.nj-paytable__row { display: grid; grid-template-columns: 40px 1fr repeat(3, 50px); align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.nj-paytable__row img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.nj-paytable__line { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
/* game-ui */
.nj-paytable__line-grid { display: grid; grid-template-columns: repeat(5, 8px); gap: 2px; }
.nj-paytable__line-dot { width: 8px; height: 8px; border-radius: 2px; background: rgba(0,0,0,0.1); }
.nj-paytable__line-dot.is-on { background: var(--sv2-gold); }

.rlo-page-footnote { font-size: 0.85rem; color: var(--sv2-text-dim); margin-top: 20px; }

/* ==========================================================
   FOOTER — launchpad-tier-deck
   ========================================================== */
.rlo-footer { background: var(--rlo-navy); color: rgba(255,255,255,0.85); margin-top: 40px; }
.rlo-footer a { color: rgba(255,255,255,0.85); }
.rlo-footer__tier { padding: 26px 0; }
.rlo-footer__tier--brand { border-bottom: 1px solid rgba(255,255,255,0.1); }
.rlo-footer__brandrow { display: flex; align-items: center; gap: 14px; }
.rlo-footer__brandmark { font-size: 2rem; }
.rlo-footer__brandname { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.3rem; margin: 0; color: var(--rlo-white); }
.rlo-footer__tagline { margin: 4px 0 0; font-size: 0.9rem; }
.rlo-footer__agenote { margin: 14px 0 0; font-size: 0.85rem; color: var(--sv2-gold); }
.rlo-footer__tier--deck { border-bottom: 1px solid rgba(255,255,255,0.1); }
.rlo-footer__col h4 { color: var(--rlo-white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
.rlo-footer__col ul { list-style: none; padding: 0; }
.rlo-footer__col li { margin-bottom: 8px; }
.rlo-footer__tier--orgs { border-bottom: 1px solid rgba(255,255,255,0.1); }
.rlo-footer__orgs-lead { font-size: 0.85rem; margin-bottom: 10px; }
.rlo-footer__orgs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nj-footer__org {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 0.82rem;
}
.rlo-footer__tier--bottom { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.rlo-footer__bottomrow p { margin: 4px 0; }

/* ==========================================================
   AUTH MODAL — porthole-hatch-pop-reveal
   ========================================================== */
.rlo-auth {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.rlo-auth__backdrop { position: absolute; inset: 0; background: rgba(36,22,69,0.65); backdrop-filter: blur(2px); }
.rlo-auth__porthole {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--rlo-white);
  border-radius: 50% 50% 28px 28px / 22% 22% 28px 28px;
  padding: 46px 26px 28px;
  box-shadow: var(--rlo-shadow);
  animation: rloPortholePop 0.32s cubic-bezier(.2,1.4,.4,1);
}
@keyframes rloPortholePop { from { transform: scale(0.7) rotate(-4deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
.rlo-auth__hatch-ring {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 70%; height: 70px;
  border: 4px solid var(--rlo-pink);
  border-bottom: none;
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}
.rlo-auth__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.rlo-auth__header h3 { margin: 0; font-size: 1.3rem; }
.rlo-auth__close { background: none; border: none; font-size: 1.2rem; cursor: pointer; min-width: 44px; min-height: 44px; }

.rlo-auth__provider-row { display: grid; gap: 10px; margin: 14px 0; }
.rlo-auth__provider {
  display: flex; align-items: center; gap: 10px;
  min-height: 48px;
  border-radius: 14px;
  border: 2px solid rgba(36,22,69,0.12);
  background: var(--rlo-white);
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.rlo-auth__provider--email { border-color: var(--rlo-pink); }
.rlo-auth__provider-icon svg { width: 20px; height: 20px; }
.rlo-auth__provider.is-launching { animation: rloProviderLaunch 0.6s ease forwards; }
@keyframes rloProviderLaunch {
  0% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  100% { transform: translateY(-2px); opacity: 0.55; }
}
.rlo-auth__provider--email.is-glowing { box-shadow: 0 0 0 4px rgba(255, 127, 192, 0.4); animation: rloGlowPulse 1s ease 2; }
@keyframes rloGlowPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,127,192,0.5); } 50% { box-shadow: 0 0 0 8px rgba(255,127,192,0); } }

.rlo-auth__notice {
  text-align: center;
  font-size: 0.85rem;
  color: var(--rlo-pink-deep);
  font-weight: 600;
  margin: -4px 0 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.rlo-auth__notice.is-visible { opacity: 1; transform: translateY(0); }

.rlo-auth__puff {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 6px rgba(36,22,69,0.15);
  animation: rloPuffRise 0.9s ease forwards;
  pointer-events: none;
}
@keyframes rloPuffRise {
  0% { opacity: 0.9; transform: translateY(0) scale(0.6); }
  100% { opacity: 0; transform: translateY(-50px) scale(1.3); }
}

.rlo-auth__error { color: #d1315a; font-size: 0.85rem; }

/* Shared field/lead styles reused from the contract's .nj-auth__* pattern */
.nj-auth__lead { font-weight: 600; margin-bottom: 12px; }
.nj-auth__fine { font-size: 0.75rem; color: var(--sv2-text-dim); margin-top: 12px; }
.nj-auth__field { display: block; margin-bottom: 12px; font-weight: 600; font-size: 0.9rem; }
.nj-auth__field input, .nj-auth__field textarea {
  display: block; width: 100%; margin-top: 6px;
  min-height: 44px; font-size: 16px;
  border-radius: 12px; border: 2px solid rgba(36,22,69,0.15);
  padding: 0 12px;
  font-family: inherit;
}
.nj-auth__field textarea { padding: 10px 12px; min-height: 100px; }
.nj-auth__back { background: none; border: none; font-weight: 700; cursor: pointer; margin-bottom: 10px; min-height: 44px; }
.nj-auth__submit { width: 100%; margin-top: 6px; }

/* ==========================================================
   COOKIE CONSENT BANNER
   ========================================================== */
.nj-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; }
.nj-cookie__bar {
  background: var(--rlo-navy);
  color: var(--rlo-white);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.nj-cookie__text { margin: 0; font-size: 0.85rem; }
.nj-cookie__text a { color: var(--sv2-gold); }
.nj-cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nj-cookie__panel {
  background: var(--rlo-white);
  border-radius: 20px 20px 0 0;
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}
.nj-cookie__panel-head { display: flex; justify-content: space-between; align-items: center; }
.nj-cookie__panel-intro { font-size: 0.85rem; color: var(--sv2-text-dim); }
.nj-cookie__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.nj-cookie__row-copy strong { display: block; }
.nj-cookie__row-copy span { font-size: 0.8rem; color: var(--sv2-text-dim); }
.nj-cookie__locked-badge { font-size: 0.75rem; background: rgba(0,0,0,0.06); padding: 4px 10px; border-radius: 999px; }
.nj-cookie__toggle {
  width: 46px; height: 28px; border-radius: 999px; border: none;
  background: rgba(0,0,0,0.15); position: relative; cursor: pointer;
}
.nj-cookie__toggle-dot { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--rlo-white); transition: left 0.2s ease; }
.nj-cookie__toggle.is-on { background: var(--rlo-pink); }
.nj-cookie__toggle.is-on .nj-cookie__toggle-dot { left: 21px; }
.nj-cookie__panel-actions { display: flex; gap: 8px; margin-top: 14px; }

@media (min-width: 700px) {
  .nj-cookie__bar { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ==========================================================
   Inner pages
   ========================================================== */
.rlo-page-hero {
  padding: 110px 0 40px;
  background: linear-gradient(160deg, var(--rlo-sky), var(--rlo-pink));
  color: var(--rlo-navy);
  text-align: center;
}
.rlo-page-hero h1 { font-size: 2rem; color: var(--rlo-white); text-shadow: 0 3px 10px rgba(0,0,0,0.2); }
.rlo-page-hero .rlo-eyebrow { color: rgba(36,22,69,0.75); }
.rlo-page-hero .rlo-lead { color: rgba(36,22,69,0.85); max-width: 620px; margin: 0 auto; }

.rlo-tourneys__grid, .rlo-vip__grid { display: grid; gap: 18px; }
.rlo-tourney-card, .rlo-vip-card {
  background: var(--rlo-white);
  border-radius: var(--rlo-radius);
  padding: 22px;
  box-shadow: 0 8px 20px rgba(42,20,80,0.1);
}
.rlo-tourney-card__badge {
  display: inline-block; background: var(--sv2-gold); color: var(--rlo-navy);
  font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.rlo-tourney-card__time { display: block; margin: 8px 0 14px; font-size: 0.85rem; color: var(--sv2-text-dim); }
@media (min-width: 800px) { .rlo-tourneys__grid, .rlo-vip__grid { grid-template-columns: repeat(3, 1fr); } }

.rlo-lb__list { list-style: none; padding: 0; display: grid; gap: 8px; }
.rlo-lb__row {
  display: flex; align-items: center; gap: 10px;
  background: var(--rlo-white); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(42,20,80,0.08);
}
.rlo-lb__player { flex: 1; }
.rlo-lb__rank { flex: 0 0 32px; font-family: "Baloo 2", sans-serif; font-weight: 800; color: var(--rlo-pink-deep); font-size: 1.2rem; }
.rlo-lb__amount { font-weight: 700; }

.rlo-faq__list { display: grid; gap: 10px; }
.rlo-faq__item {
  background: var(--rlo-white); border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 4px 12px rgba(42,20,80,0.08);
}
.rlo-faq__item summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.rlo-faq__item p { margin: 10px 0 0; color: var(--sv2-text-dim); }

.rlo-contact__form { max-width: 520px; }
.rlo-contact__sent { color: var(--rlo-pink-deep); font-weight: 700; }

.rlo-prose { color: var(--sv2-text-dim); font-size: 1rem; line-height: 1.7; }
.rlo-prose h2 { margin-top: 1.6em; font-size: 1.3rem; color: var(--rlo-navy); }
.rlo-prose h3 { margin-top: 1.3em; margin-bottom: 0.5em; font-size: 1.1rem; color: var(--rlo-navy); }
.rlo-prose p { margin: 0 0 1em; }
.rlo-prose ul, .rlo-prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.rlo-prose li { margin-bottom: 0.5em; }
.rlo-prose li::marker { color: var(--rlo-pink-deep); font-weight: 700; }
.rlo-prose a { color: var(--rlo-sky-deep); text-decoration: underline; text-underline-offset: 2px; }
.rlo-prose a:hover { color: var(--rlo-pink-deep); }
.rlo-prose strong { color: var(--rlo-navy); font-weight: 800; }
.rlo-prose__orgs { margin-top: 10px; }

/* ==========================================================
   GAME GUIDE PAGES — breadcrumb, hero, prose (above), recs,
   author bio card. Built for individual per-game guide pages.
   ========================================================== */

/* ---------- Breadcrumb ---------- */
.rlo-breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.85rem;
  color: var(--sv2-text-dim);
}
.rlo-breadcrumb li { display: flex; align-items: center; gap: 6px; }
.rlo-breadcrumb li:not(:last-child)::after {
  content: "\203A";
  color: var(--rlo-pink-deep);
  font-weight: 700;
}
.rlo-breadcrumb a { color: var(--rlo-sky-deep); font-weight: 600; }
.rlo-breadcrumb a:hover { color: var(--rlo-pink-deep); }
.rlo-breadcrumb [aria-current="page"] { color: var(--rlo-navy); font-weight: 700; }

/* ---------- Game hero (media + body, two-column) ---------- */
.rlo-game-hero {
  display: grid;
  gap: 20px;
  padding: 8px 0 28px;
}
.rlo-game-hero__media {
  border-radius: var(--rlo-radius);
  overflow: hidden;
  box-shadow: var(--rlo-shadow);
  aspect-ratio: 4 / 3;
}
.rlo-game-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.rlo-game-hero__body {
  background: var(--rlo-white);
  border-radius: var(--rlo-radius);
  padding: 22px 24px;
  box-shadow: 0 8px 22px rgba(42,20,80,0.12);
}
.rlo-game-hero__body h1 { font-size: 1.6rem; margin-bottom: 0.3em; }
.rlo-game-hero__body .rlo-lead { margin-bottom: 0; }
@media (min-width: 800px) {
  .rlo-game-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 28px;
  }
}

/* ---------- Recommendation grid ("more games like this") ---------- */
.rlo-recs { padding: 40px 0; }
.rlo-rec-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) { .rlo-rec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .rlo-rec-grid { grid-template-columns: repeat(4, 1fr); } }
.rlo-rec-card {
  display: block;
  background: var(--rlo-white);
  border-radius: var(--rlo-radius);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(42,20,80,0.12);
  transition: transform 0.2s ease;
}
.rlo-rec-card:hover { transform: translateY(-4px); }
.rlo-rec-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.rlo-rec-card__img img { width: 100%; height: 100%; object-fit: cover; }
.rlo-rec-card__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(36,22,69,0.85);
  color: var(--rlo-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.rlo-rec-card__title {
  padding: 12px 14px;
  margin: 0;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--rlo-navy);
}

/* ---------- Author bio card ---------- */
.rlo-author-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--rlo-white);
  border-radius: var(--rlo-radius);
  padding: 20px;
  box-shadow: 0 8px 20px rgba(42,20,80,0.1);
}
.rlo-author-card__avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--rlo-shadow);
}
.rlo-author-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rlo-author-card__body { flex: 1; }
.rlo-author-card__label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--rlo-pink-deep);
  margin-bottom: 4px;
}
.rlo-author-card__name {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  margin: 0 0 2px;
  color: var(--rlo-navy);
}
.rlo-author-card__role { font-size: 0.85rem; color: var(--sv2-text-dim); margin: 0 0 8px; }
.rlo-author-card__bio { font-size: 0.9rem; color: var(--sv2-text-dim); margin: 0; }
