/* ============================================================
   Roach Republic — standalone theme (roach brown + stamp red)
   Same components as the PanchVeda page, recoloured for the game.
   ============================================================ */

:root {
  --rr-bg:        #231d19;
  --rr-bg-2:      #2b241f;
  --rr-surface:   #332a24;
  --rr-surface-2: #3d322b;
  --rr-border:    rgba(233, 207, 143, 0.18);
  --rr-border-soft: rgba(255, 255, 255, 0.08);

  --rr-text:      #f6eedb;
  --rr-muted:     #d2c4aa;
  --rr-dim:       #ab9b82;

  --rr-gold:      #e9cf8f;
  --rr-gold-soft: #f0dcaa;
  --rr-gold-deep: #c8413a;
  --rr-grad-gold: linear-gradient(120deg, #e05a47 0%, #c8413a 55%, #a1332d 100%);

  --rr-radius:    18px;
  --rr-radius-lg: 28px;
  --rr-maxw:      1080px;
  --rr-ease:      cubic-bezier(0.22, 1, 0.36, 1);

  --rr-serif: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rr-sans:  'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}


/* hummOut wordmark colors (shared brand treatment) */
.humm { color: #4FC3F7; }
.out  { color: #FFA726; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--rr-sans);
  background: var(--rr-bg);
  color: var(--rr-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--rr-serif); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }

.rr-container { width: 100%; max-width: var(--rr-maxw); margin: 0 auto; padding: 0 24px; }
.rr-section { padding: 96px 0; }

.rr-gold-text {
  background: var(--rr-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rr-eyebrow {
  display: inline-block;
  font-family: var(--rr-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rr-gold);
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.rr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--rr-sans);
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--rr-ease), box-shadow 0.25s var(--rr-ease), background 0.25s;
}
.rr-btn:hover { transform: translateY(-2px); }
.rr-btn-gold {
  background: var(--rr-grad-gold);
  color: #fff6e6;
  box-shadow: 0 14px 34px -14px rgba(200, 65, 58, 0.6);
}
.rr-btn-gold:hover { box-shadow: 0 20px 44px -14px rgba(200, 65, 58, 0.75); }
.rr-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--rr-border);
  color: var(--rr-text);
}
.rr-btn-ghost:hover { background: rgba(200, 65, 58, 0.08); }

/* ============================================================
   Header
   ============================================================ */
.rr-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(35, 29, 25, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rr-border-soft);
}
.rr-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.rr-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--rr-serif);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}
.rr-brand img { width: 40px; height: 40px; border-radius: 11px; }
.rr-nav-links { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.rr-nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--rr-muted);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--rr-sans);
  transition: color 0.2s, background 0.2s;
}
.rr-nav-links a:hover { color: var(--rr-text); background: rgba(200, 65, 58, 0.08); }
.rr-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rr-dim) !important;
  font-size: 0.88rem !important;
}
.rr-back svg { width: 15px; height: 15px; }

.rr-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  width: 44px; height: 42px;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.rr-nav-toggle span { display: block; width: 20px; height: 2px; background: var(--rr-gold); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.rr-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rr-nav-toggle.open span:nth-child(2) { opacity: 0; }
.rr-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.rr-hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(200, 65, 58, 0.14), transparent 60%),
    radial-gradient(700px 420px at 10% 10%, rgba(184, 134, 11, 0.12), transparent 55%);
}
.rr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(200, 65, 58, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(800px 460px at 60% 30%, #000 25%, transparent 72%);
  pointer-events: none;
}
.rr-hero .rr-container { position: relative; z-index: 1; }
.rr-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.rr-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(200, 65, 58, 0.08);
  border: 1px solid var(--rr-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rr-gold-soft);
  font-family: var(--rr-sans);
  margin-bottom: 26px;
}
.rr-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); letter-spacing: 0.01em; }
.rr-hero .rr-tagline { font-size: 1.3rem; color: var(--rr-gold-soft); font-family: var(--rr-serif); margin-top: 10px; }
.rr-hero p.rr-lead { margin-top: 22px; color: var(--rr-muted); font-size: 1.12rem; max-width: 52ch; }
.rr-hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.rr-hero-art { position: relative; display: grid; place-items: center; }
.rr-hero-art .rr-glow {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,65,58,0.28), transparent 65%);
  filter: blur(10px);
}
.rr-hero-art img {
  position: relative;
  z-index: 1;
  width: 290px;
  max-width: 80%;
  border-radius: 40px;
  border: 1px solid var(--rr-border);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7);
}

/* ============================================================
   Section heads
   ============================================================ */
.rr-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.rr-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.rr-head p { margin-top: 16px; color: var(--rr-muted); font-size: 1.08rem; }

/* ============================================================
   Features
   ============================================================ */
.rr-grid { display: grid; gap: 22px; }
.rr-grid-3 { grid-template-columns: repeat(3, 1fr); }
.rr-grid-2 { grid-template-columns: repeat(2, 1fr); }

.rr-card {
  background: linear-gradient(180deg, var(--rr-surface), var(--rr-bg-2));
  border: 1px solid var(--rr-border-soft);
  border-radius: var(--rr-radius);
  padding: 34px 30px;
  transition: transform 0.3s var(--rr-ease), border-color 0.3s;
}
.rr-card:hover { transform: translateY(-4px); border-color: var(--rr-border); }
.rr-icon {
  width: 56px; height: 56px;
  border-radius: 15px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  background: rgba(200, 65, 58, 0.10);
  color: var(--rr-gold);
  border: 1px solid var(--rr-border);
}
.rr-icon svg { width: 27px; height: 27px; }
.rr-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.rr-card p { color: var(--rr-muted); font-size: 0.99rem; }

/* ============================================================
   Privacy highlight band
   ============================================================ */
.rr-band {
  background: linear-gradient(180deg, var(--rr-bg-2), var(--rr-bg));
  border-top: 1px solid var(--rr-border-soft);
  border-bottom: 1px solid var(--rr-border-soft);
}
.rr-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rr-band-grid h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.rr-band-grid p { margin-top: 18px; color: var(--rr-muted); font-size: 1.08rem; }
.rr-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rr-points li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--rr-surface);
  border: 1px solid var(--rr-border-soft);
  border-radius: var(--rr-radius);
  padding: 20px 22px;
}
.rr-points .rr-tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rr-grad-gold); color: #fff6e6;
}
.rr-points .rr-tick svg { width: 15px; height: 15px; }
.rr-points h4 { margin: 0 0 3px; font-family: var(--rr-sans); font-size: 1.02rem; font-weight: 700; }
.rr-points p { margin: 0; font-size: 0.94rem; color: var(--rr-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.rr-faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.rr-faq details {
  background: linear-gradient(180deg, var(--rr-surface), var(--rr-bg-2));
  border: 1px solid var(--rr-border-soft);
  border-radius: var(--rr-radius);
  overflow: hidden;
}
.rr-faq details[open] { border-color: var(--rr-border); }
.rr-faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--rr-sans);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  padding: 20px 56px 20px 22px;
  position: relative;
}
.rr-faq summary::-webkit-details-marker { display: none; }
.rr-faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--rr-gold);
  border-bottom: 2px solid var(--rr-gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--rr-ease);
}
.rr-faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.rr-faq summary:hover { color: var(--rr-gold-soft); }
.rr-faq summary:focus { outline: none; }
.rr-faq summary:focus-visible {
  outline: 2px solid var(--rr-gold);
  outline-offset: -2px;
}
.rr-faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--rr-muted);
  font-size: 0.99rem;
}

/* ============================================================
   Download band
   ============================================================ */
.rr-download {
  background: linear-gradient(135deg, #3a2e26, #2b221d);
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius-lg);
  padding: 52px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rr-download::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 240px at 50% 0%, rgba(200,65,58,0.16), transparent 70%);
}
.rr-download > * { position: relative; z-index: 1; }
.rr-download h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.rr-download p { margin: 14px auto 0; max-width: 50ch; color: var(--rr-muted); }
.rr-download .rr-btn { margin-top: 28px; }
.rr-store-note { margin-top: 16px; font-size: 0.85rem; color: var(--rr-dim); }

/* ============================================================
   Contact
   ============================================================ */
.rr-contact-card {
  background: linear-gradient(180deg, var(--rr-surface), var(--rr-bg-2));
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius-lg);
  padding: 52px 48px;
  text-align: center;
}
.rr-contact-card .rr-icon { margin: 0 auto 22px; }
.rr-contact-card h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.rr-contact-card p { margin-top: 14px; color: var(--rr-muted); }
.rr-mail {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--rr-serif);
  font-size: 1.4rem;
  color: var(--rr-gold);
  border-bottom: 1px solid var(--rr-border);
  padding-bottom: 4px;
  transition: color 0.2s;
}
.rr-mail:hover { color: var(--rr-gold-soft); }

/* ============================================================
   Legal / prose (privacy)
   ============================================================ */
.rr-page-hero {
  padding: 72px 0 44px;
  background: radial-gradient(700px 360px at 70% -20%, rgba(200,65,58,0.12), transparent 60%);
  border-bottom: 1px solid var(--rr-border-soft);
  text-align: center;
}
.rr-page-hero img { width: 74px; height: 74px; border-radius: 18px; margin: 0 auto 18px; border: 1px solid var(--rr-border); }
.rr-page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.rr-page-hero p { color: var(--rr-gold-soft); margin-top: 8px; font-family: var(--rr-serif); }

.rr-prose { max-width: 760px; margin: 0 auto; }
.rr-prose .rr-updated { text-align: center; color: var(--rr-dim); font-size: 0.86rem; margin-bottom: 36px; }
.rr-prose > p { color: var(--rr-muted); margin: 14px 0; }
.rr-prose h2 {
  font-family: var(--rr-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rr-text);
  margin: 36px 0 12px;
  border-left: 3px solid var(--rr-gold);
  padding-left: 14px;
}
.rr-prose ul { margin: 10px 0 14px; padding-left: 22px; }
.rr-prose li { color: var(--rr-muted); margin: 8px 0; }
.rr-prose strong { color: var(--rr-text); }
.rr-prose em { color: var(--rr-gold-soft); font-style: normal; }
.rr-prose a { color: var(--rr-gold); border-bottom: 1px solid var(--rr-border); }
.rr-prose a:hover { color: var(--rr-gold-soft); }

/* ============================================================
   Footer
   ============================================================ */
.rr-footer {
  background: var(--rr-bg-2);
  border-top: 1px solid var(--rr-border-soft);
  padding: 52px 0 30px;
}
.rr-footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 28px; }
.rr-footer .rr-brand { font-size: 1.3rem; }
.rr-footer-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.rr-footer-links a { color: var(--rr-muted); font-size: 0.95rem; transition: color 0.2s; }
.rr-footer-links a:hover { color: var(--rr-gold); }
.rr-footer-bottom {
  margin-top: 34px; padding-top: 22px;
  border-top: 1px solid var(--rr-border-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--rr-dim); font-size: 0.88rem;
}

/* ============================================================
   Reveal + responsive
   ============================================================ */
.rr-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--rr-ease), transform 0.7s var(--rr-ease); }
.rr-reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .rr-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .rr-hero-art { order: -1; }
  .rr-grid-3, .rr-grid-2 { grid-template-columns: 1fr; }
  .rr-band-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .rr-section { padding: 72px 0; }
  .rr-nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--rr-bg); border-bottom: 1px solid var(--rr-border-soft);
    padding: 16px 24px 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--rr-ease), opacity 0.3s;
  }
  .rr-nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .rr-nav-toggle { display: flex; }
  .rr-contact-card, .rr-download { padding: 34px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .rr-reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Roach Republic additions: quick facts + screenshot gallery ---------- */
.rr-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.rr-facts li {
  font-size: 0.85rem; font-weight: 600; color: var(--rr-gold-soft);
  border: 1px solid var(--rr-border); background: var(--rr-surface);
  border-radius: 999px; padding: 6px 12px;
}
.rr-btn[aria-disabled="true"] { opacity: 0.75; cursor: default; pointer-events: none; }
.rr-gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px;
  margin: 0; list-style: none;
}
.rr-gallery li { scroll-snap-align: start; }
.rr-gallery img {
  width: 100%; height: auto; border-radius: 16px;
  border: 1px solid var(--rr-border); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
}
.rr-gallery figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--rr-muted); text-align: center; }
.rr-hero-art img.rr-banner { border-radius: var(--rr-radius-lg); }
.rr-list { margin: 10px 0 0; padding-left: 18px; color: var(--rr-muted); font-size: 0.95rem; }
.rr-list li { margin: 0 0 6px; }
.rr-hero-art img, .rr-gallery img, img.rr-banner { height: auto; }
