/* Rat Games page — fluid, image-forward, minimal framing */

.page{ position: relative; }

/* Soft background texture for this page only */
.rg-hero,
.rg-section{
  position: relative;
}

.rg-hero{
  padding: 84px 0 38px;
  overflow: hidden;
}
.rg-hero::before{
  content:"";
  position:absolute;
  inset:-240px -120px auto -120px;
  height: 560px;
  background:
    radial-gradient(900px 520px at 25% 40%, rgba(11,11,11,0.10), transparent 60%),
    radial-gradient(980px 520px at 85% 10%, rgba(225,6,0,0.10), transparent 58%),
    linear-gradient(180deg, rgba(11,11,11,0.06), transparent 60%);
  pointer-events:none;
}
.rg-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(11,11,11,0.10) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: .04;
  pointer-events:none;
}

.rg-hero-inner{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: end;
}
@media (max-width: 980px){
  .rg-hero{ padding: 70px 0 28px; }
  .rg-hero-inner{ grid-template-columns: 1fr; }
}

.rg-hero-copy h1{
  font-size: clamp(38px, 4.2vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}
.rg-lead{
  margin-top: 14px;
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(11,11,11,0.70);
}
.rg-updated{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(11,11,11,0.52);
}

/* Jump links — simple, no pills */
.rg-jump{
  margin-top: 18px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px 16px;
}
.rg-jump a{
  text-decoration:none;
  color: rgba(11,11,11,0.78);
  font-weight: 650;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(11,11,11,0.18);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.rg-jump a:hover{ border-color: rgba(225,6,0,0.40); transform: translateY(-1px); }

/* Hero media — floating, no card border */
.rg-hero-media{
  justify-self: end;
  width: min(520px, 100%);
}
.rg-hero-media-inner{
  border-radius: 30px;
  overflow:hidden;
  box-shadow: none;
  transform: translateY(6px);
}
.rg-hero-media-inner img{
  width:100%;
  height:auto;
  display:block;
  background: transparent;
}

/* Hero photo treatment */
.rg-hero-media-inner{
  position: relative;
  aspect-ratio: 16 / 10;
}
.rg-hero-photo{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.02);
}
@media (max-width: 980px){
  .rg-hero-media-inner{ aspect-ratio: 16 / 11; }
}

/* Media sizing — keep it photographic & consistent (no tall portrait boxes) */
.rg-section--media .rg-media{
  aspect-ratio: 16 / 10;
}

/* Sections */
.rg-section{
  padding: 44px 0;
}
.rg-section:first-of-type{ padding-top: 10px; }

.rg-section-inner{
  position: relative;
}

.rg-section-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 980px){
  .rg-section--media .rg-section-grid{
    grid-template-columns: 1fr 0.92fr;
    align-items: center;
    gap: 34px;
  }
  .rg-media-left .rg-text{ order: 2; }
  .rg-media-left .rg-media{ order: 1; }
}

.rg-text h2{
  font-size: clamp(22px, 2.3vw, 34px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.rg-text .rg-body{
  margin-top: 10px;
  max-width: 74ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(11,11,11,0.72);
}
.rg-text .rg-body p{ margin: 0 0 12px 0; }
.rg-text .rg-body ul{ margin: 0 0 14px 18px; }
.rg-text .rg-body li{ margin: 0 0 8px 0; }

/* Media block — more "photographic" */
.rg-media{
  width: 100%;
  border-radius: 30px;
  overflow:hidden;
  box-shadow: none;
  position: relative;
}
.rg-media::after{ display:none; }
.rg-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  background: transparent;
}

/* Light section separators without frames */
.rg-divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,11,11,0.14), transparent);
  margin: 18px 0 0;
}

/* Tables — readable but not "boxed" */
.rg-table{
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 6px;
}
.rg-table th,
.rg-table td{
  padding: 10px 10px;
  border-bottom: 1px solid rgba(11,11,11,0.08);
  text-align:left;
  vertical-align:top;
  font-size: 13px;
  color: rgba(11,11,11,0.76);
}
.rg-table th{
  font-weight: 750;
  color: rgba(11,11,11,0.82);
}
.rg-table tbody tr:nth-child(odd) td{ background: rgba(11,11,11,0.02); }
.rg-footnote{
  font-size: 12px;
  color: rgba(11,11,11,0.56);
  margin: 8px 0 0;
}

/* FAQ */
.rg-faq{ margin: 0; }
.rg-faq dt{ font-weight: 750; margin: 14px 0 6px; color: rgba(11,11,11,0.86); }
.rg-faq dd{ margin: 0 0 10px 0; color: rgba(11,11,11,0.72); }

/* Scroll/enter animations */
.rg-reveal{ opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.rg-reveal.is-in{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  .rg-reveal{ opacity: 1; transform: none; }
}
