/* ===============================
   GLOBAL RESET
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===============================
   COLOR VARIABLES
================================ */
:root {
  --bg-black: #050608;
  --neon-green: #39ff14;
  --muted-green: #2fae12;
  --text-gray: #9aa0a6;

  /* Layout */
  --page-max: 1100px;
  --page-pad: 18px;

  /* Alt depth bands (full-bleed section rhythm) */
  --uc-band-a: rgba(255, 255, 255, 0.02);
  --uc-band-b: rgba(255, 255, 255, 0.045);
  --uc-section-pad-y: 56px;
}

/* ===============================
   BASE
================================ */
html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--bg-black);
  color: white;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;

  overflow-x: hidden;
  overflow-y: auto;

  position: relative;
}

/* A reusable inner container so backgrounds can go full width */
.section-inner,
.ruoh-hero-inner,
.ruoh-section,
.section,
.nav-inner,
.comic-head-inner,
.comic-reader,
.hero-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

/* ===============================
   FX LAYERS: NOISE + SCANLINES
================================ */
.fx-noise,
.fx-scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.fx-noise {
  opacity: 0.12;
  filter: contrast(140%) brightness(110%);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 60% 10%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px);
  background-size: 120px 120px, 180px 180px, 220px 220px, 160px 160px;
  background-repeat: repeat;
  animation: noiseShift 1.2s steps(2) infinite;
}

@keyframes noiseShift {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(-1%,  1%, 0); }
  50%  { transform: translate3d( 1%, -1%, 0); }
  75%  { transform: translate3d(-1%, -1%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.fx-scanlines {
  opacity: 0.8;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    rgba(0, 0, 0, 0.0) 3px,
    rgba(0, 0, 0, 0.35) 4px
  );
  mix-blend-mode: overlay;
  animation: scanDrift 8s linear infinite;
}

@keyframes scanDrift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(16px); }
}

/* ===============================
   GLITCH (RESTRAINED)
================================ */
.glitch {
  position: relative;
  display: inline-block;
  text-shadow:
    0 0 8px rgba(57, 255, 20, 0.55),
    0 0 22px rgba(57, 255, 20, 0.25);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.85;
}

.glitch::before {
  transform: translateX(-1px);
  color: rgba(57, 255, 20, 0.85);
  filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.35));
  animation: glitchSliceA 3.2s infinite linear;
}

.glitch::after {
  transform: translateX(1px);
  color: rgba(255, 255, 255, 0.55);
  animation: glitchSliceB 2.6s infinite linear;
}

@keyframes glitchSliceA {
  0%, 92%, 100% { clip-path: inset(0 0 0 0); transform: translateX(-1px); opacity: 0.0; }
  93% { clip-path: inset(12% 0 70% 0); transform: translateX(-3px); opacity: 0.85; }
  94% { clip-path: inset(55% 0 18% 0); transform: translateX(2px); }
  95% { clip-path: inset(30% 0 45% 0); transform: translateX(-2px); }
  96% { clip-path: inset(75% 0 8% 0);  transform: translateX(3px); }
  97% { clip-path: inset(42% 0 34% 0); transform: translateX(-1px); }
  98% { clip-path: inset(0 0 0 0); transform: translateX(-1px); opacity: 0.0; }
}

@keyframes glitchSliceB {
  0%, 88%, 100% { clip-path: inset(0 0 0 0); transform: translateX(1px); opacity: 0.0; }
  89% { clip-path: inset(65% 0 10% 0); transform: translateX(4px); opacity: 0.70; }
  90% { clip-path: inset(10% 0 75% 0); transform: translateX(-3px); }
  91% { clip-path: inset(40% 0 35% 0); transform: translateX(2px); }
  92% { clip-path: inset(20% 0 55% 0); transform: translateX(-2px); }
  93% { clip-path: inset(0 0 0 0); transform: translateX(1px); opacity: 0.0; }
}

@media (prefers-reduced-motion: reduce) {
  .glitch::before,
  .glitch::after { animation: none; opacity: 0; }
  .fx-noise,
  .fx-scanlines { animation: none; }
}

/* ===============================
   NAVIGATION
================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;

  background: rgba(5, 6, 8, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(57, 255, 20, 0.20);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  padding-top: 14px;
  padding-bottom: 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-brand {
  text-decoration: none;
  color: rgba(57, 255, 20, 0.92);
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.30);
}

.nav-prompt { color: rgba(255, 255, 255, 0.45); }

.nav-cursor {
  margin-left: 6px;
  color: rgba(57, 255, 20, 0.85);
  animation: cursorBlink 1.1s steps(2) infinite;
}

@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 600;

  padding: 10px 8px;
  border-radius: 10px;

  transition: transform 150ms ease, color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.nav-link:hover {
  color: rgba(57, 255, 20, 0.95);
  background: rgba(57, 255, 20, 0.07);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.12);
  transform: translateY(-1px);
}

.nav-link.is-active {
  color: rgba(57, 255, 20, 0.95);
  background: rgba(57, 255, 20, 0.10);
  border: 1px solid rgba(57, 255, 20, 0.22);
}

@media (max-width: 560px) {
  .nav-inner { flex-direction: column; align-items: flex-start; }
  .nav-links { flex-wrap: wrap; gap: 10px; }
}

/* ===============================
   HERO (DEFAULT + IDENTITY)
================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding-top: 72px;
  position: relative;
  z-index: 2;

  background: radial-gradient(circle at center, rgba(57, 255, 20, 0.08), transparent 60%);
}

.logo {
  width: 260px;
  max-width: 80%;
  margin-bottom: 2rem;
  filter:
    drop-shadow(0 0 18px rgba(57, 255, 20, 0.45))
    drop-shadow(0 0 40px rgba(57, 255, 20, 0.15));
  animation: pulse 4s ease-in-out infinite;
    margin-left: auto;
  margin-right: auto;
}

@keyframes pulse {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(57, 255, 20, 0.35)); }
  50% { filter: drop-shadow(0 0 26px rgba(57, 255, 20, 0.65)); }
}

.studio-name {
  font-size: 2.8rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  margin-bottom: 1rem;

  color: var(--neon-green);
  text-shadow:
    0 0 8px rgba(57, 255, 20, 0.6),
    0 0 22px rgba(57, 255, 20, 0.3);
    margin-left: auto;
  margin-right: auto;
}

.tagline {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-gray);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Force perfect centering for the Identity hero block */
.hero--identity .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers logo + title on the same axis */
  text-align: center;
}

/* Make the image behave consistently with margin auto */
.hero--identity .logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Optional: ensure the title is centered as a block (glitch uses inline-block) */
.hero--identity .studio-name {
  display: block;
  width: 100%;
  text-align: center;
}

/* ===============================
   HERO: REEL (VIMEO BACKGROUND)
================================ */
.hero--reelOnly {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 72px;
}

.hero--reelOnly .hero-reelFrame {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero--reelOnly .hero-reelIframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero-reelOverlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(57, 255, 20, 0.05), transparent 90%),
    linear-gradient(to bottom, rgba(5, 6, 8, 0.45), rgba(5, 6, 8, 0.62));
}

.hero-scrollCue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;

  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;

  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.30);
}

.hero-scrollCue:hover {
  border-color: rgba(57, 255, 20, 0.30);
  color: rgba(57, 255, 20, 0.92);
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta {
  margin: 20px auto 0;
  max-width: 520px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 12px 14px;
  text-align: left;
}

.hero-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.70);
}

.hero-meta-row:last-child { border-bottom: none; }

/* ===============================
   BUTTONS
================================ */
.btn-primary,
.btn-secondary {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  border-radius: 14px;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn-primary {
  color: rgba(57, 255, 20, 0.95);
  border: 1px solid rgba(57, 255, 20, 0.30);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 26px rgba(57, 255, 20, 0.10);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: rgba(57, 255, 20, 0.08);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.18);
}

.btn-secondary {
  color: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.30);
}

/* ===============================
   SECTIONS (FULL-BLEED BACKGROUNDS)
================================ */
.section {
  position: relative;
  z-index: 2;
  padding-top: var(--uc-section-pad-y);
  padding-bottom: var(--uc-section-pad-y);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.00),
      rgba(0, 0, 0, 0.22) 18%,
      rgba(0, 0, 0, 0.22) 82%,
      rgba(0, 0, 0, 0.00)
    ),
    linear-gradient(to bottom, var(--uc-band-a), var(--uc-band-a));
}

.section:nth-of-type(even)::before {
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.00),
      rgba(0, 0, 0, 0.22) 18%,
      rgba(0, 0, 0, 0.22) 82%,
      rgba(0, 0, 0, 0.00)
    ),
    linear-gradient(to bottom, var(--uc-band-b), var(--uc-band-b));
}

/* Keep content above band overlay */
.section > .section-inner { position: relative; z-index: 1; }

.section-head { text-align: left; margin-bottom: 26px; }

.section-title {
  color: rgba(57, 255, 20, 0.92);
  letter-spacing: 0.22em;
  font-size: 1.15rem;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.22);
}

.section-subtitle {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.05em;
  max-width: 620px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  :root { --uc-section-pad-y: 42px; }
}

/* ===============================
   CARDS
================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 920px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  background: rgba(9, 10, 12, 0.72);
  border: 1px solid rgba(57, 255, 20, 0.16);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(57, 255, 20, 0.10), transparent 40%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent 30%);
  opacity: 0.7;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 5px
  );
  opacity: 0.12;
  transform: rotate(8deg);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 255, 20, 0.38);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.72);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.badge {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(57, 255, 20, 0.92);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.20);
  background: rgba(57, 255, 20, 0.05);
}

.stamp {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  padding: 6px 10px;
  border-radius: 10px;
  transform: rotate(-2deg);
}

.card-title {
  margin-top: 14px;
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.12em;
  font-size: 1.0rem;
}

.card-text {
  margin-top: 10px;
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.card-meta {
  margin-top: 14px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.52);
}

.card-link {
  margin-top: 16px;
  display: inline-flex;
  position: relative;
  z-index: 1;

  text-decoration: none;
  color: rgba(57, 255, 20, 0.92);
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;

  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(57, 255, 20, 0.22);
  background: rgba(0, 0, 0, 0.35);

  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card-link:hover {
  background: rgba(57, 255, 20, 0.08);
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.16);
  transform: translateY(-1px);
}

/* Social card copy tweak */
.cards--social .card-text { max-width: 60ch; }

/* ===============================
   AUDIO TOGGLE
================================ */
.audio-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 20;

  background: rgba(0, 0, 0, 0.55);
  color: rgba(57, 255, 20, 0.92);
  border: 1px solid rgba(57, 255, 20, 0.28);
  border-radius: 12px;

  padding: 10px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 700;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.audio-toggle:hover {
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.14);
  border-color: rgba(57, 255, 20, 0.55);
}

/* ===============================
   INTRO OVERLAY (HOME)
================================ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background:
    radial-gradient(circle at center, rgba(57, 255, 20, 0.12), transparent 55%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.96));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.intro-inner {
  width: min(720px, 92vw);
  text-align: center;
  padding: 28px 20px;
}

.intro-logo {
  width: 240px;
  max-width: 70%;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 28px rgba(57, 255, 20, 0.45));
  animation: introPulse 2.6s ease-in-out infinite;
}

@keyframes introPulse {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 22px rgba(57, 255, 20, 0.35)); }
  50% { transform: translateY(-2px); filter: drop-shadow(0 0 34px rgba(57, 255, 20, 0.65)); }
}

.intro-lines { letter-spacing: 0.18em; font-weight: 700; }

.intro-line {
  margin-top: 10px;
  color: rgba(57, 255, 20, 0.95);
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.18);
  animation: introFlicker 3.2s infinite;
}

.intro-line.subtle {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  animation: introFlickerSubtle 4.4s infinite;
}

@keyframes introFlicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: 0.35; }
  94% { opacity: 1; }
  97% { opacity: 0.6; }
}

@keyframes introFlickerSubtle {
  0%, 88%, 100% { opacity: 0.75; }
  89% { opacity: 0.35; }
  90% { opacity: 0.8; }
}

.intro-enter {
  margin-top: 26px;
  padding: 12px 18px;
  border-radius: 14px;

  background: rgba(0, 0, 0, 0.6);
  color: rgba(57, 255, 20, 0.95);
  border: 1px solid rgba(57, 255, 20, 0.28);

  font-size: 0.85rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  cursor: pointer;

  box-shadow: 0 0 26px rgba(57, 255, 20, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.intro-enter:hover {
  transform: translateY(-1px);
  background: rgba(57, 255, 20, 0.08);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.22);
}

.intro.is-exiting { animation: introExit 520ms ease forwards; }

@keyframes introExit {
  to { opacity: 0; transform: scale(1.02); visibility: hidden; }
}

/* ===============================
   RUOH / SERIES PAGES
================================ */
.page { padding-top: 92px; }

.ruoh-hero {
  padding-top: 92px;
  padding-bottom: 34px;
  position: relative;
  z-index: 2;
}

.ruoh-hero-inner {
  padding-top: 28px;
  padding-bottom: 28px;

  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 920px) {
  .ruoh-hero-inner { grid-template-columns: 1fr; }
}

.ruoh-kicker {
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.ruoh-title {
  font-size: 2.1rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(57, 255, 20, 0.92);
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.22);
  line-height: 1.15;
}

.ruoh-logline {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  max-width: 680px;
}

.ruoh-badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ruoh-badge {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(57, 255, 20, 0.92);
  border: 1px solid rgba(57, 255, 20, 0.18);
  background: rgba(57, 255, 20, 0.06);
  padding: 8px 10px;
  border-radius: 999px;
}

.ruoh-cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ruoh-meta {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 14px;
  max-width: 520px;
}

.ruoh-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ruoh-meta-row:last-child { border-bottom: none; }

.ruoh-meta-key {
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.ruoh-meta-val {
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.ruoh-poster {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, 0.16);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.60);
}

.ruoh-poster img {
  width: 100%;
  display: block;
  filter: contrast(105%) brightness(92%);
}

.ruoh-poster-caption {
  padding: 12px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.60);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* Series body sections (also full-bleed rhythm) */
.ruoh-body { position: relative; z-index: 2; }

.ruoh-section {
  position: relative;
  padding-top: var(--uc-section-pad-y);
  padding-bottom: var(--uc-section-pad-y);
}

.ruoh-section::before {
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.00),
      rgba(0, 0, 0, 0.22) 18%,
      rgba(0, 0, 0, 0.22) 82%,
      rgba(0, 0, 0, 0.00)
    ),
    linear-gradient(to bottom, var(--uc-band-a), var(--uc-band-a));
}

/* Alternate consecutive RUOH sections (simple + consistent) */
.ruoh-section:nth-of-type(even)::before {
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.00),
      rgba(0, 0, 0, 0.22) 18%,
      rgba(0, 0, 0, 0.22) 82%,
      rgba(0, 0, 0, 0.00)
    ),
    linear-gradient(to bottom, var(--uc-band-b), var(--uc-band-b));
}

.ruoh-section > * { position: relative; z-index: 1; }

.ruoh-section-head { margin-bottom: 20px; }

.ruoh-section-title {
  color: rgba(57, 255, 20, 0.92);
  letter-spacing: 0.22em;
  font-size: 1.0rem;
  font-weight: 800;
}

.ruoh-section-subtitle {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.6;
  max-width: 720px;
}

.ruoh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 820px) { .ruoh-grid { grid-template-columns: 1fr; } }

.ruoh-card {
  background: rgba(9, 10, 12, 0.72);
  border: 1px solid rgba(57, 255, 20, 0.16);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.ruoh-card-title {
  margin-top: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
}

.ruoh-card-text {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.ruoh-card-meta {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.52);
}

/* ===============================
   FEATURED SERIES (HOME)
================================ */
.featured-series { padding-top: 24px; }

.series-panel {
  padding: 14px;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;

  border-radius: 18px;
  border: 1px solid rgba(57, 255, 20, 0.16);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.65);

  position: relative;
  overflow: hidden;
  align-items: start;
}

.series-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(57, 255, 20, 0.12), transparent 55%);
  pointer-events: none;
}

.series-panel--reverse { grid-template-columns: 0.8fr 1.2fr; }
.series-panel--reverse .series-right { grid-column: 1; }
.series-panel--reverse .series-left { grid-column: 2; }

@media (max-width: 920px) {
  .series-panel { grid-template-columns: 1fr; }
  .series-panel--reverse .series-right,
  .series-panel--reverse .series-left { grid-column: auto; }
}

.series-left { position: relative; z-index: 1; }
.series-right { position: relative; z-index: 1; display: flex; flex-direction: column; align-self: start; }

.series-kicker { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }

.series-title {
  color: rgba(57, 255, 20, 0.92);
  letter-spacing: 0.18em;
  font-weight: 800;
  margin-top: 6px;
}

.series-desc {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 680px;
}

.series-actions { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }

.series-meta {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 12px;
  max-width: 520px;
}

.series-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.70);
}

.series-meta-row:last-child { border-bottom: none; }

.series-poster {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.series-poster img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: contrast(105%) brightness(92%);
}

@media (max-width: 920px) { .series-poster img { height: 240px; } }

.series-caption {
  padding: 12px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.60);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* ===============================
   VIDEO THUMBNAILS (RUOH)
================================ */
.ruoh-video .ruoh-thumbLink {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(57, 255, 20, 0.16);
  background: rgba(0, 0, 0, 0.45);
  margin-bottom: 12px;
  text-decoration: none;
}

.ruoh-video .ruoh-thumbImg {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: contrast(105%) brightness(92%);
  transform: scale(1.01);
  transition: transform 220ms ease, filter 220ms ease;
}

.ruoh-video .ruoh-thumbLink:hover .ruoh-thumbImg {
  transform: scale(1.04);
  filter: contrast(110%) brightness(98%);
}

.ruoh-playBadge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 900;
  color: rgba(57, 255, 20, 0.95);
  border: 1px solid rgba(57, 255, 20, 0.28);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.12);
}

/* ===============================
   COMIC COVERS (RUOH)
================================ */
.ruoh-comic .ruoh-coverLink {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(57, 255, 20, 0.18);
  background: rgba(0, 0, 0, 0.45);
  margin-bottom: 12px;
  text-decoration: none;
}

.ruoh-comic .ruoh-coverImg {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  filter: contrast(104%) brightness(92%);
  transform: scale(1.01);
  transition: transform 240ms ease, filter 240ms ease;
}

.ruoh-comic .ruoh-coverLink:hover .ruoh-coverImg {
  transform: scale(1.04);
  filter: contrast(108%) brightness(98%);
}

.ruoh-coverBadge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 900;
  color: rgba(57, 255, 20, 0.95);
  border: 1px solid rgba(57, 255, 20, 0.30);
  background: rgba(0, 0, 0, 0.60);
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.12);
}

/* ===============================
   FAN ART IMAGE WRAP (SPKO)
================================ */
.ruoh-image-wrap {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
}

.ruoh-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* ===============================
   EXPLORE (RUOH) — scoped so it won't affect Fanart Archive
================================ */
#explore .ruoh-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

@media (max-width: 1100px) {
  #explore .ruoh-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  #explore .ruoh-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  #explore .ruoh-gallery { grid-template-columns: 1fr; }
}

#explore .ruoh-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(circle at 30% 20%, rgba(57, 255, 20, 0.10), rgba(0, 0, 0, 0.85));
  text-decoration: none;

  aspect-ratio: 4 / 3;
  min-height: 170px;

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

#explore .ruoh-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.70);
}

#explore .ruoh-thumb-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.0));
}



/* ===============================
   MASONRY GALLERY (FANART ARCHIVE)
================================ */
.ruoh-gallery--art { column-count: 4; column-gap: 16px; }
@media (max-width: 1200px) { .ruoh-gallery--art { column-count: 3; } }
@media (max-width: 820px) { .ruoh-gallery--art { column-count: 2; } }
@media (max-width: 520px) { .ruoh-gallery--art { column-count: 1; } }

.ruoh-thumb--art {
  display: block;
  break-inside: avoid;
  margin: 0 0 16px;

  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);

  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.85));
  position: relative;

  cursor: pointer;
  border: 0;
  padding: 0;
  text-align: left;
}

.ruoh-thumb--art .ruoh-thumbImg {
  position: static;
  width: 100%;
  height: auto;
  display: block;
}

.ruoh-thumb--art .ruoh-thumb-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.0));
}

.ruoh-thumb-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(57, 255, 20, 0.88);
}

.ruoh-thumb-title {
  margin-top: 8px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.3;
}

/* ===============================
   LIGHTBOX
================================ */
.ruoh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.ruoh-lightbox.is-open { display: block; }

.ruoh-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.ruoh-lightbox-dialog {
  position: relative;
  max-width: min(1100px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;

  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 30% 20%, rgba(57, 255, 20, 0.12), rgba(0, 0, 0, 0.90));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.ruoh-lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.35);
}

.ruoh-lightbox-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ruoh-lightbox-close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.30);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.ruoh-lightbox-close:hover { border-color: rgba(57, 255, 20, 0.35); }

.ruoh-lightbox-body {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ruoh-lightbox-body img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.35);
}

/* Lightbox nav arrows (centered vertically) */
.ruoh-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  width: 44px;
  height: 44px;
  border-radius: 12px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.85);

  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.ruoh-lightbox-prev { left: 12px; }
.ruoh-lightbox-next { right: 12px; }

.ruoh-lightbox-nav:hover {
  border-color: rgba(57, 255, 20, 0.4);
  color: var(--neon-green);
}

@media (max-width: 640px) {
  .ruoh-lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
}

/* ===============================
   PLAYER MODAL (VIMEO)
================================ */
.player-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
}

.player-modal.is-open { display: block; }

.player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.player-panel {
  position: relative;
  width: min(1000px, 94vw);
  height: min(560px, 70vh);
  margin: 110px auto 0;

  background: rgba(6, 7, 9, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(57, 255, 20, 0.22);

  box-shadow:
    0 0 40px rgba(57, 255, 20, 0.12),
    0 30px 120px rgba(0, 0, 0, 0.85);
}

.player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.player-frame { width: 100%; height: calc(100% - 48px); }
.player-frame iframe { width: 100%; height: 100%; display: block; }

/* ===============================
   COMIC READER (RUOH)
================================ */
.comic-head { padding-top: 92px; position: relative; z-index: 2; }

.comic-head-inner { padding-top: 26px; padding-bottom: 10px; }

.comic-kicker {
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.comic-title {
  color: rgba(57, 255, 20, 0.92);
  letter-spacing: 0.18em;
  font-size: 1.6rem;
  font-weight: 800;
  text-shadow: 0 0 16px rgba(57, 255, 20, 0.18);
}

.comic-subtitle {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.10em;
}

.comic-actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }

.comic-reader { padding-top: 18px; padding-bottom: 80px; position: relative; z-index: 2; }

.comic-stage {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, 0.18);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.65);
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 10px;
}

.comic-page {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
  filter: contrast(102%) brightness(95%);
}

.comic-page.is-visible { opacity: 1; transform: translateY(0); }

.comic-controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 12px 12px;
}

.comic-btn {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(57, 255, 20, 0.92);
  border: 1px solid rgba(57, 255, 20, 0.22);
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
}

.comic-btn:hover {
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.14);
  border-color: rgba(57, 255, 20, 0.45);
}

.comic-btn:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }

.comic-counter {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

.ruoh-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 40%,
    rgba(0,0,0,0.0),
    rgba(0,0,0,0.65)
  );
  pointer-events: none;
}


/* =========================================
   RUOH CHARACTER DETAIL — HERO (LEAGUE-STYLE)
   Scoped to character detail pages only
========================================= */

/* Prevent global .page spacing from creating a gap under the fixed nav */
.page--characterDetail {
  padding-top: 0;
}

/* HERO: full-bleed splash area under fixed nav */
.page--characterDetail .ruoh-hero--character {
  position: relative;
  overflow: hidden;

  /* Fill the visible viewport area under the fixed navbar */
  min-height: 100vh;

  /* Clear the fixed navbar so text doesn't sit behind it */
  padding-top: 92px;
  padding-bottom: 56px;

  display: flex;
  align-items: center;

  margin: 0; /* just in case anything adds margin */
}

/* Layout: remove centered container behavior and bias left like League */
.page--characterDetail .ruoh-hero--character .ruoh-hero-inner {
  width: 100%;
  max-width: none;
  margin: 0;

  /* viewport-based left inset (League feel) */
  padding-left: clamp(32px, 8vw, 140px);
  padding-right: var(--page-pad);
}

/* Text column */
.page--characterDetail .ruoh-hero--character .ruoh-hero-left {
  max-width: 900px;
  text-align: left;
}

/* Typography */
.page--characterDetail .ruoh-hero--character .ruoh-kicker {
  margin-bottom: 8px;
}

.page--characterDetail .ruoh-hero--character .ruoh-title {
  font-size: clamp(2.8rem, 5.8vw, 4.6rem);
  letter-spacing: 0.16em;
  line-height: 1.02;
  margin: 0;
}

.page--characterDetail .ruoh-hero--character .ruoh-logline {
  margin-top: 8px;
}

/* Mobile */
@media (max-width: 680px) {
  .page--characterDetail .ruoh-hero--character {
    /* On short screens, it feels better to sit lower */
    align-items: flex-end;
    padding-bottom: 44px;
  }

  .page--characterDetail .ruoh-hero--character .ruoh-hero-inner {
    padding-left: 22px;
  }

  .page--characterDetail .ruoh-hero--character .ruoh-title {
    letter-spacing: 0.14em;
  }
}

/* =========================================
   RUOH CHARACTER NICKNAME (EPITHET)
========================================= */

.page--characterDetail .ruoh-nickname {
  margin-top: 10px;
  margin-bottom: 14px;

  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: rgba(180, 255, 160, 0.95);

  /* Subtle glow, NOT blurry */
  text-shadow:
    0 0 8px rgba(57, 255, 20, 0.35),
    0 0 18px rgba(57, 255, 20, 0.15);
}


/* =========================================
   RUOH CHARACTERS LIST — 4-COL PORTRAIT GRID
========================================= */

.ruoh-charGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; /* slightly more breathing room than squares */
  margin-top: 20px;
}

/* Responsive fallbacks */
@media (max-width: 1200px) {
  .ruoh-charGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ruoh-charGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ruoh-charGrid { grid-template-columns: 1fr; }
}

.ruoh-charTile {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Portrait tile: matches 1200x1400 ratio */
.ruoh-charThumb {
  aspect-ratio: 6 / 7; /* portrait */
  border-radius: 14px;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.35);

  position: relative;
}

.ruoh-charThumb img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: right center; /* anchor to right */

  filter: contrast(105%) brightness(92%);
  transition: transform 200ms ease, filter 200ms ease;
}

.ruoh-charTile:hover .ruoh-charThumb img {
  transform: scale(1.04);
  filter: contrast(108%) brightness(98%);
}

/* Name below tile */
.ruoh-charName {
  margin-top: 10px;
  padding-left: 2px;

  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.85);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Subtle hover frame — Riot-style restraint */
.ruoh-charTile:hover .ruoh-charThumb {
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.10);
}


.ruoh-charThumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 60%,
    rgba(0,0,0,0.45) 100%
  );
  pointer-events: none;
}

/* ===============================
   EXPLORE THUMBNAILS (RUOH)
   Use background images correctly
================================ */

#explore .ruoh-thumb.ruoh-thumb--explore {
  position: relative;
  overflow: hidden;

  /* Keep your existing tile feel */
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  text-decoration: none;

  /* Pick ONE ratio: your grid uses 4/3 right now */
  aspect-ratio: 4 / 5;
  min-height: 170px;

  /* This is the key part */
  background-image: var(--thumb);
  background-size: cover;              /* correct crop */
  background-repeat: no-repeat;
  background-position: center;         /* change per tile if needed */
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

#explore .ruoh-thumb.ruoh-thumb--explore:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.70);
}

/* Dark overlay + green glow for readability */
#explore .ruoh-thumb.ruoh-thumb--explore::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(57, 255, 20, 0.16), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.85));
  z-index: 0;
}

/* Bottom label area stays as your existing style */
#explore .ruoh-thumb.ruoh-thumb--explore .ruoh-thumb-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 12px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.0));
  z-index: 1;
}

/* ===============================
   COMIC READER — WIDE MODE
================================ */


.comic-reader {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

@media (max-width: 680px) {
  .comic-reader {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }
}


/* =========================================
   MOBILE OVERRIDES (HOME + NAV)
   Keep desktop unchanged
========================================= */
@media (max-width: 680px) {

  /* GLOBAL SPACING: reduce overall padding */
  :root {
    --page-pad: 14px;
    --uc-section-pad-y: 42px;
  }

  /* NAV: reduce height + prevent “double-line giant bar” */
  .nav-inner {
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
  }

  .nav-brand {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }

  /* Let links wrap cleanly and be tappable */
  .nav-links {
    flex-wrap: wrap;
    gap: 8px 10px;
    justify-content: flex-start;
  }

  .nav-link {
    font-size: 0.72rem;
    padding: 8px 10px;
    border-radius: 12px;
  }

  /* HERO REEL: make it feel tighter + avoid “wasted top padding” */
  .hero--reelOnly {
    padding-top: 64px; /* slightly less than desktop */
  }

  .hero-scrollCue {
    bottom: 12px;
    font-size: 0.68rem;
    padding: 9px 10px;
  }

  /* IDENTITY: scale down logo + title so it fits without looking cramped */
  .hero--identity .logo {
    width: 200px;
    margin-bottom: 1.2rem;
  }

  .hero--identity .studio-name {
    font-size: 2.0rem;
    letter-spacing: 0.18em;
  }

  .hero--identity .tagline {
    font-size: 0.9rem;
    max-width: 34ch;
  }

  /* Buttons: full width feels more “mobile native” */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  /* Featured series: remove the “desktop card density” and make posters shorter */
  .series-panel {
    padding: 12px;
    gap: 14px;
  }

  .series-poster img {
    height: 210px;
  }

  /* Services + Social: 1-column cards, bigger tap targets */
  .cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card {
    padding: 16px;
  }

  .card-title {
    font-size: 0.98rem;
  }

  .card-link {
    width: 100%;
    justify-content: center;
  }

  /* Intro overlay: scale down and reduce “dead space” */
  .intro-inner {
    width: min(560px, 92vw);
    padding: 22px 16px;
  }

  .intro-logo {
    width: 190px;
    margin-bottom: 14px;
  }

  .intro-line {
    font-size: 0.82rem;
  }

  .intro-enter {
    width: 100%;
  }

  /* Audio toggle: keep it reachable, not blocking */
  .audio-toggle {
    top: 12px;
    right: 12px;
    padding: 9px 10px;
    font-size: 0.72rem;
  }
}


.comic-reader--webtoon {
  max-width: none;         /* stops the “small column” feeling */
  padding-left: 0;
  padding-right: 0;
}

.webtoon-strip {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 var(--page-pad) 70px;
}

.webtoon-slice {
  width: 100%;
  height: auto;
  display: block;
}


/* ===============================
   SOCIAL ICONS
================================ */

.social-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--neon-green);
  filter:
    drop-shadow(0 0 6px rgba(57, 255, 20, 0.55))
    drop-shadow(0 0 14px rgba(57, 255, 20, 0.25));
}

/* Slight hover punch */
.card:hover .social-icon svg {
  filter:
    drop-shadow(0 0 10px rgba(57, 255, 20, 0.8))
    drop-shadow(0 0 22px rgba(57, 255, 20, 0.35));
}


/* ===============================
   CONTACT — PRIMARY CTA SECTION
================================ */

.section--contact {
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(80px, 12vh, 140px);
}

.section-inner--contact {
  max-width: 1100px;
}

/* Header tweaks */
.section-head--contact {
  margin-bottom: 48px;
}

.section-title--contact {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  letter-spacing: 0.28em;
}

.section-subtitle--contact {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Main contact panel */
.contact-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;

  padding: 32px;
  border-radius: 22px;

  background:
    radial-gradient(circle at 20% 20%, rgba(57,255,20,0.12), transparent 55%),
    rgba(0, 0, 0, 0.45);

  border: 1px solid rgba(57,255,20,0.22);
  box-shadow:
    0 0 40px rgba(57,255,20,0.10),
    0 30px 120px rgba(0,0,0,0.85);
}

/* Left column */
.contact-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;

  color: rgba(57,255,20,0.95);
  border: 1px solid rgba(57,255,20,0.28);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.contact-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 14px;
}

.contact-copy {
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  max-width: 560px;
}

/* Email highlight */
.contact-email {
  margin-top: 26px;
}

.contact-email-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}

.contact-email a {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: rgba(57,255,20,0.95);
  text-decoration: none;

  text-shadow:
    0 0 10px rgba(57,255,20,0.35),
    0 0 22px rgba(57,255,20,0.18);
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Right column CTA */
.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-cta {
  width: 100%;
  text-align: center;

  padding: 18px 22px;
  border-radius: 18px;

  font-size: 0.9rem;
  letter-spacing: 0.28em;
  font-weight: 900;

  color: rgba(57,255,20,0.95);
  text-decoration: none;

  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(57,255,20,0.35);

  box-shadow:
    0 0 30px rgba(57,255,20,0.18);

  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-cta:hover {
  transform: translateY(-2px);
  background: rgba(57,255,20,0.10);
  box-shadow:
    0 0 40px rgba(57,255,20,0.28),
    0 24px 80px rgba(0,0,0,0.8);
}

/* ===============================
   MOBILE CONTACT OVERRIDES
================================ */

@media (max-width: 720px) {
  .contact-panel {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .contact-right {
    justify-content: stretch;
  }

  .contact-cta {
    margin-top: 20px;
    padding: 20px;
    font-size: 0.85rem;
  }
}

/* =========================================
   RUOH READ — FEATURE COMIC GATEWAY
========================================= */

.ruoh-section--read {
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(80px, 12vh, 140px);
}

.ruoh-section-head--read {
  margin-bottom: 44px;
}

/* Panel layout */
.ruoh-read-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;

  padding: 28px;
  border-radius: 22px;

  background:
    radial-gradient(circle at 25% 20%, rgba(57,255,20,0.12), transparent 55%),
    rgba(0,0,0,0.40);

  border: 1px solid rgba(57,255,20,0.22);
  box-shadow:
    0 0 40px rgba(57,255,20,0.12),
    0 30px 120px rgba(0,0,0,0.85);
}

/* Left content */
.ruoh-read-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 800;

  color: rgba(57,255,20,0.95);
  border: 1px solid rgba(57,255,20,0.28);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.ruoh-read-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  letter-spacing: 0.16em;
  margin-bottom: 14px;

  color: rgba(255,255,255,0.95);
}

.ruoh-read-copy {
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  max-width: 560px;
}

/* CTA */
.ruoh-read-cta {
  display: inline-block;
  margin-top: 26px;

  padding: 16px 22px;
  border-radius: 16px;

  font-size: 0.85rem;
  letter-spacing: 0.28em;
  font-weight: 900;

  color: rgba(57,255,20,0.95);
  text-decoration: none;

  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(57,255,20,0.35);

  box-shadow: 0 0 30px rgba(57,255,20,0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ruoh-read-cta:hover {
  transform: translateY(-2px);
  background: rgba(57,255,20,0.10);
  box-shadow:
    0 0 40px rgba(57,255,20,0.28),
    0 24px 80px rgba(0,0,0,0.8);
}

/* Right cover */
.ruoh-read-cover {
  border-radius: 18px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.45);

  box-shadow: 0 22px 80px rgba(0,0,0,0.60);
}

.ruoh-read-cover img {
  width: 100%;
  height: auto;
  display: block;

  object-fit: cover;
  filter: contrast(105%) brightness(92%);
}

.ruoh-read-cover-caption {
  padding: 10px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.60);
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* Mobile */
@media (max-width: 820px) {
  .ruoh-read-panel {
    grid-template-columns: 1fr;
  }

  .ruoh-read-cover {
    max-width: 420px;
    margin: 0 auto;
  }

  .ruoh-read-cta {
    width: 100%;
    text-align: center;
  }
}

/* =========================================
   INTRO: MORE ANIMATED "ACCESS GATE"
========================================= */

.intro-inner {
  position: relative;
}

.intro-logo {
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  animation: introLogoIn 700ms ease forwards;
}

@keyframes introLogoIn {
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Typing line */
.intro-line.type {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid rgba(57,255,20,0.85);
  width: 0;
  animation: typing 1.35s steps(34, end) 250ms forwards, caretBlink 900ms steps(2) infinite;
  color: rgba(57,255,20,0.95);
  text-shadow: 0 0 18px rgba(57,255,20,0.18);
}

.intro-line.type::before {
  content: attr(data-text);
}

@keyframes typing { to { width: 34ch; } }
@keyframes caretBlink { 0%,49% {opacity:1} 50%,100% {opacity:0} }

/* Flicker subtles */
.intro-line.flicker {
  opacity: 0;
  animation: introLineIn 700ms ease forwards;
  animation-delay: 1.45s;
}

.intro-line.flicker:nth-child(3) { animation-delay: 1.65s; }
.intro-line.flicker:nth-child(4) { animation-delay: 1.85s; }

@keyframes introLineIn {
  to { opacity: 0.75; }
}

/* Progress bar */
.intro-progress {
  margin-top: 18px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(57,255,20,0.22);
  background: rgba(0,0,0,0.55);
  overflow: hidden;
  box-shadow: 0 0 26px rgba(57,255,20,0.10);
}

.intro-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(57,255,20,0.25), rgba(57,255,20,0.95), rgba(57,255,20,0.25));
  animation: introLoad 2.2s ease forwards;
  animation-delay: 1.2s;
}

@keyframes introLoad {
  0% { width: 0%; }
  70% { width: 78%; }
  100% { width: 100%; }
}

/* Status text */
.intro-status {
  margin-top: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  opacity: 0;
  animation: statusIn 600ms ease forwards;
  animation-delay: 1.9s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@keyframes statusIn { to { opacity: 0.75; } }

.intro-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(57,255,20,0.85);
  box-shadow: 0 0 18px rgba(57,255,20,0.35);
  animation: dotPulse 1s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,100% { transform: scale(0.75); opacity: 0.6; }
  50% { transform: scale(1); opacity: 1; }
}

/* ENTER button: make it feel more "armed" after load */
.intro-enter {
  opacity: 0;
  transform: translateY(6px);
  animation: enterIn 650ms ease forwards;
  animation-delay: 2.25s;
}

@keyframes enterIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Exit: stronger */
.intro.is-exiting {
  animation: introExit 520ms ease forwards;
}

@keyframes introExit {
  to { opacity: 0; transform: scale(1.03); visibility: hidden; }
}


/* ===============================
   SITE FOOTER
================================ */

.site-footer {
  position: relative;
  z-index: 2;

  margin-top: clamp(80px, 14vh, 160px);
  padding-top: 48px;

  background:
    linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.85)),
    radial-gradient(circle at center, rgba(57,255,20,0.06), transparent 60%);
  border-top: 1px solid rgba(57,255,20,0.18);
}

.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad) 42px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

/* Columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col--left { align-items: flex-start; }
.footer-col--center { align-items: center; }
.footer-col--right { align-items: flex-end; }

/* Labels */
.footer-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
}

/* Socials */
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-socials a {
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: rgba(57,255,20,0.90);
  transition: color 150ms ease, text-shadow 150ms ease, transform 150ms ease;
}

.footer-socials a:hover {
  color: rgba(57,255,20,1);
  text-shadow: 0 0 14px rgba(57,255,20,0.35);
  transform: translateX(2px);
}

/* Logo */
.footer-logo {
  width: 140px;
  max-width: 70%;
  filter:
    drop-shadow(0 0 18px rgba(57,255,20,0.45))
    drop-shadow(0 0 36px rgba(57,255,20,0.18));
}

/* Location */
.footer-location {
  margin-top: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.55);
}

/* Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  transition: color 150ms ease, text-shadow 150ms ease, transform 150ms ease;
}

.footer-links a:hover {
  color: rgba(57,255,20,0.95);
  text-shadow: 0 0 14px rgba(57,255,20,0.35);
  transform: translateX(-2px);
}

/* Placeholder (future pages) */
.footer-links .is-placeholder {
  opacity: 0.55;
  cursor: default;
}

.footer-links .is-placeholder:hover {
  color: rgba(255,255,255,0.75);
  text-shadow: none;
  transform: none;
}

/* Bottom strip */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 14px var(--page-pad);

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 0.65rem;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.45);
}

.footer-status {
  color: rgba(57,255,20,0.85);
}

/* ===============================
   FOOTER — MOBILE
================================ */
@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-col--left,
  .footer-col--right {
    align-items: center;
  }

  .footer-socials,
  .footer-links {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===============================
   ABOUT PAGE (SCOPED)
================================ */

.about-hero {
  padding-top: 92px;
  padding-bottom: 34px;
  position: relative;
  z-index: 2;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0,0,0,0.0), rgba(0,0,0,0.65));
  pointer-events: none;
}

.about-hero-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 28px var(--page-pad);

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 920px) {
  .about-hero-inner { grid-template-columns: 1fr; }
}

.about-kicker {
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.about-title {
  font-size: 2.2rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(57, 255, 20, 0.92);
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.22);
  line-height: 1.15;
}

.about-lede {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  max-width: 70ch;
}

.about-badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-badge {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(57, 255, 20, 0.92);
  border: 1px solid rgba(57, 255, 20, 0.18);
  background: rgba(57, 255, 20, 0.06);
  padding: 8px 10px;
  border-radius: 999px;
}

.about-cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-meta {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 14px;
  max-width: 620px;
}

.about-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-meta-row:last-child { border-bottom: none; }

.about-meta-key {
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.about-meta-val {
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

/* Right identity card */
.about-identity-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, 0.16);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.60);
  padding: 18px;
}

.about-logo {
  width: 180px;
  max-width: 70%;
  display: block;
  margin: 6px auto 10px;
  filter:
    drop-shadow(0 0 18px rgba(57,255,20,0.45))
    drop-shadow(0 0 36px rgba(57,255,20,0.18));
}

.about-identity-caption {
  text-align: center;
  padding: 10px 0 2px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.60);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 12px;
}

.about-identity-lines {
  display: grid;
  gap: 10px;
}

.about-identity-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-identity-line:last-child { border-bottom: none; }

.about-identity-line .k {
  color: rgba(255,255,255,0.52);
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.about-identity-line .v {
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

/* ===============================
   ABOUT SECTIONS
================================ */

.about-body { position: relative; z-index: 2; }

.about-section {
  position: relative;
  padding-top: var(--uc-section-pad-y);
  padding-bottom: var(--uc-section-pad-y);
}

.about-section::before {
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.00),
      rgba(0, 0, 0, 0.22) 18%,
      rgba(0, 0, 0, 0.22) 82%,
      rgba(0, 0, 0, 0.00)
    ),
    linear-gradient(to bottom, var(--uc-band-a), var(--uc-band-a));
}

.about-section:nth-of-type(even)::before {
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.00),
      rgba(0, 0, 0, 0.22) 18%,
      rgba(0, 0, 0, 0.22) 82%,
      rgba(0, 0, 0, 0.00)
    ),
    linear-gradient(to bottom, var(--uc-band-b), var(--uc-band-b));
}

.about-section > * {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.about-section-head { margin-bottom: 20px; }

.about-section-title {
  color: rgba(57, 255, 20, 0.92);
  letter-spacing: 0.22em;
  font-size: 1.0rem;
  font-weight: 800;
}

.about-section-subtitle {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.6;
  max-width: 78ch;
}

/* ===============================
   ORIGIN PANEL
================================ */

.about-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;

  padding: 22px;
  border-radius: 22px;

  background:
    radial-gradient(circle at 25% 20%, rgba(57,255,20,0.12), transparent 55%),
    rgba(0,0,0,0.40);

  border: 1px solid rgba(57,255,20,0.20);
  box-shadow: 0 22px 90px rgba(0,0,0,0.65);
}

@media (max-width: 920px) {
  .about-panel { grid-template-columns: 1fr; }
}

.about-panel-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 800;

  color: rgba(57,255,20,0.95);
  border: 1px solid rgba(57,255,20,0.28);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.about-panel-title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 12px;
}

.about-panel-copy {
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  margin-top: 10px;
  max-width: 76ch;
}

.about-panel-meta {
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  border-radius: 16px;
  padding: 12px;
  max-width: 620px;
}

.about-panel-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.70);
}

.about-panel-meta-row:last-child { border-bottom: none; }

.about-mini-card {
  background: rgba(9, 10, 12, 0.72);
  border: 1px solid rgba(57, 255, 20, 0.14);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.about-mini-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: rgba(57,255,20,0.88);
  margin-bottom: 10px;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,0.70);
  line-height: 1.6;
  padding-left: 0;
}

.about-list li {
  position: relative;
  padding-left: 14px;
}

.about-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: rgba(57,255,20,0.85);
}

/* ===============================
   PRINCIPLES GRID
================================ */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

.about-card {
  background: rgba(9, 10, 12, 0.72);
  border: 1px solid rgba(57, 255, 20, 0.14);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.about-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.about-card-title {
  margin-top: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
}

.about-card-text {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

/* ===============================
   PROCESS STEPS
================================ */

.about-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  padding-left: 0;
  margin: 0;
}

.about-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;

  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  border-radius: 18px;
  padding: 14px;
}

.about-step-num {
  width: 64px;
  height: 44px;
  display: grid;
  place-items: center;

  border-radius: 14px;
  border: 1px solid rgba(57,255,20,0.22);
  background: rgba(0,0,0,0.55);
  color: rgba(57,255,20,0.92);

  letter-spacing: 0.22em;
  font-weight: 900;
  font-size: 0.78rem;
}

.about-step-title {
  letter-spacing: 0.18em;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  margin-top: 2px;
}

.about-step-text {
  margin-top: 6px;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
}

/* ===============================
   ABOUT CONTACT
================================ */

.about-section--contact {
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(80px, 12vh, 140px);
}

.about-contact {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;

  padding: 32px;
  border-radius: 22px;

  background:
    radial-gradient(circle at 20% 20%, rgba(57,255,20,0.12), transparent 55%),
    rgba(0, 0, 0, 0.45);

  border: 1px solid rgba(57,255,20,0.22);
  box-shadow: 0 0 40px rgba(57,255,20,0.10), 0 30px 120px rgba(0,0,0,0.85);
}

@media (max-width: 720px) {
  .about-contact { grid-template-columns: 1fr; }
}

.about-contact-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;

  color: rgba(57,255,20,0.95);
  border: 1px solid rgba(57,255,20,0.28);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.about-contact-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 14px;
}

.about-contact-copy {
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  max-width: 560px;
}

.about-contact-email { margin-top: 26px; }

.about-contact-email-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}

.about-contact-email a {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: rgba(57,255,20,0.95);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(57,255,20,0.35), 0 0 22px rgba(57,255,20,0.18);
}

.about-contact-email a:hover { text-decoration: underline; }

.about-contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-contact-cta {
  width: 100%;
  text-align: center;

  padding: 18px 22px;
  border-radius: 18px;

  font-size: 0.9rem;
  letter-spacing: 0.28em;
  font-weight: 900;

  color: rgba(57,255,20,0.95);
  text-decoration: none;

  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(57,255,20,0.35);

  box-shadow: 0 0 30px rgba(57,255,20,0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.about-contact-cta:hover {
  transform: translateY(-2px);
  background: rgba(57,255,20,0.10);
  box-shadow: 0 0 40px rgba(57,255,20,0.28), 0 24px 80px rgba(0,0,0,0.8);
}


/* ===============================
   FEATURED SERIES — SPLASH PANELS
================================ */

/* Make the panel feel like a hero card with a background splash */
.series-panel--splash {
  position: relative;
  overflow: hidden;
  min-height: 360px;

  /* use your existing card look, but a touch more presence */
  border-radius: 20px;

  /* background splash image */
  background-image: var(--splash);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Readability layer: dark scrim + subtle green energy */
.series-panel--splash::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    /* vignette for cinematic readability */
    radial-gradient(circle at 20% 20%, rgba(57,255,20,0.12), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(0,0,0,0.25), rgba(0,0,0,0.85) 70%),
    /* bottom-to-top text scrim */
    linear-gradient(to right,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.70) 38%,
      rgba(0,0,0,0.35) 70%,
      rgba(0,0,0,0.15) 100%
    );
}

/* Optional: subtle texture so splashes don't look too flat */
.series-panel--splash::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.10;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.06) 0px,
    rgba(255,255,255,0.06) 1px,
    transparent 5px
  );
}

/* Ensure children sit above overlays */
.series-panel--splash > * {
  position: relative;
  z-index: 1;
}

/* Improve text column readability + spacing */
.series-panel--splash .series-left {
  padding: 18px 18px 18px 18px;
}

/* Title row (title + subkicker) */
.series-titleRow {
  margin-top: 10px;
}

.series-subkicker {
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}

/* Make title bigger on splash cards */
.series-panel--splash .series-title {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: 0.18em;
  text-shadow: 0 0 18px rgba(0,0,0,0.55);
}

/* Description: slightly more readable */
.series-panel--splash .series-desc {
  color: rgba(255,255,255,0.75);
  max-width: 60ch;
  text-shadow: 0 0 16px rgba(0,0,0,0.55);
}

/* Poster card: smaller + more “file preview” */
.series-poster--compact img {
  height: 240px;
  object-fit: cover;
}

@media (max-width: 920px) {
  .series-panel--splash {
    min-height: 0;
  }

  /* On mobile, make scrim vertical so text stays readable */
  .series-panel--splash::before {
    background:
      radial-gradient(circle at 20% 20%, rgba(57,255,20,0.12), transparent 55%),
      linear-gradient(to bottom,
        rgba(0,0,0,0.86) 0%,
        rgba(0,0,0,0.72) 45%,
        rgba(0,0,0,0.35) 100%
      );
  }

  .series-poster--compact img {
    height: 220px;
  }
}

/* Nice hover: slight lift + shimmer */
.series-panel--splash:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 110px rgba(0,0,0,0.75);
}


/* ===============================
   BLOG (INDEX + POST)
================================ */

.blog-hero,
.blog-post-hero {
  padding-top: 92px;
  padding-bottom: 28px;
  position: relative;
  z-index: 2;
}

.blog-hero-inner,
.blog-post-hero-inner,
.blog-post-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.blog-kicker,
.blog-post-kicker {
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}

.blog-title,
.blog-post-title {
  color: rgba(57,255,20,0.92);
  letter-spacing: 0.16em;
  line-height: 1.12;
}

.blog-subtitle {
  margin-top: 12px;
  color: rgba(255,255,255,0.65);
  max-width: 70ch;
  line-height: 1.7;
}

.blog-body { position: relative; z-index: 2; }

.blog-section {
  padding-top: var(--uc-section-pad-y);
  padding-bottom: var(--uc-section-pad-y);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1020px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
  background: rgba(9, 10, 12, 0.72);
  border: 1px solid rgba(57, 255, 20, 0.16);
  border-radius: 18px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}

.blog-card-media {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  text-decoration: none;
  margin-bottom: 12px;
}

.blog-card-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  filter: contrast(105%) brightness(92%);
  transform: scale(1.01);
  transition: transform 220ms ease, filter 220ms ease;
}

.blog-card-mediaScrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.70), rgba(0,0,0,0.05));
  pointer-events: none;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
  filter: contrast(110%) brightness(98%);
}

.blog-card-fallback {
  height: 190px;
  display: grid;
  place-items: center;
  letter-spacing: 0.22em;
  font-weight: 800;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.blog-card-title {
  margin-top: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.98rem;
}

.blog-card-title a {
  color: rgba(255,255,255,0.90);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: rgba(57,255,20,0.92);
}

.blog-card-excerpt {
  margin-top: 10px;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
}

.blog-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(57,255,20,0.90);
  border: 1px solid rgba(57,255,20,0.20);
  background: rgba(57,255,20,0.06);
  padding: 6px 8px;
  border-radius: 999px;
}

/* Post page */
.blog-post-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-post-cover {
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 22px 90px rgba(0,0,0,0.65);
}

.blog-post-cover img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: contrast(105%) brightness(92%);
}

.blog-post-body {
  position: relative;
  z-index: 2;
  padding-top: 18px;
  padding-bottom: 80px;
}

.blog-post-content {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  border-radius: 18px;
  padding: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
}

.blog-post-content h2,
.blog-post-content h3 {
  color: rgba(57,255,20,0.92);
  letter-spacing: 0.12em;
  margin-top: 18px;
}

.blog-post-content a {
  color: rgba(57,255,20,0.92);
}

.blog-post-back {
  margin-top: 14px;
}


/* ===============================
   BLOG POST — MARKDOWN LIST FIX
================================ */

.blog-post-content ul,
.blog-post-content ol {
  margin-left: 1.4rem;       /* pushes list inward */
  padding-left: 1.2rem;      /* ensures bullets sit correctly */
}

.blog-post-content li {
  margin: 0.4rem 0;
  padding-left: 0.2rem;
}

.blog-post-content ul {
  list-style: disc;
}

.blog-post-content ol {
  list-style: decimal;
}

/* =========================
   ENVIRONMENTS (RUOH)
========================== */

.page--envIndex, .page--envNode{
  background: var(--bg-black);
}

/* World chooser grid */
.env-worldGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.env-worldCard{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 18px 70px rgba(0,0,0,0.62);
  text-decoration: none;
  color: white;
  min-height: 360px;
  display: grid;
}

.env-worldSplash{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: contrast(108%) brightness(70%);
  transform: scale(1.02);
}

.env-worldShade{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 18%, rgba(57,255,20,0.14), rgba(0,0,0,0.72)),
    linear-gradient(to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0.88));
}

.env-worldBody{
  position: relative;
  z-index: 2;
  padding: 20px 20px 18px;
  display: grid;
  gap: 12px;
  align-content: end;
}

.env-worldTop{
  display: flex;
  align-items: center;
  gap: 10px;
}

.env-worldTitle{
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 1.25rem;
  margin: 0;
  color: rgba(57,255,20,0.92);
  text-shadow: 0 0 14px rgba(57,255,20,0.18);
}

.env-worldSubtitle{
  margin: 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.55;
  max-width: 64ch;
}

.env-worldMeta{
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.env-worldMetaRow{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,0.66);
  font-size: 0.86rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.env-worldLink{
  margin-top: 6px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(57,255,20,0.92);
  text-transform: uppercase;
  font-size: 0.86rem;
}

/* Node breadcrumbs + tags */
.env-breadcrumbs{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 0.78rem;
}

.env-crumb{
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(57,255,20,0.22);
  padding-bottom: 2px;
}

.env-crumb:hover{
  color: rgba(57,255,20,0.92);
}

.env-crumbSep{
  opacity: 0.55;
}

.env-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.env-tag{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(57,255,20,0.22);
  background: rgba(57,255,20,0.06);
  color: rgba(57,255,20,0.92);
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

/* Facts grid */
.env-factsGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Children grid */
.env-childGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.env-childCard{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 18px 70px rgba(0,0,0,0.55);
  text-decoration: none;
  color: white;
  min-height: 260px;
  display: grid;
}

.env-childThumb{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: contrast(108%) brightness(70%);
  transform: scale(1.02);
}

.env-childShade{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 18%, rgba(57,255,20,0.12), rgba(0,0,0,0.70)),
    linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.90));
}

.env-childBody{
  position: relative;
  z-index: 2;
  padding: 16px 16px 14px;
  display: grid;
  gap: 10px;
  align-content: end;
}

.env-childTop{
  display: flex;
  align-items: center;
  gap: 10px;
}

.env-childTitle{
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(57,255,20,0.92);
  text-shadow: 0 0 12px rgba(57,255,20,0.18);
  font-size: 1.05rem;
}

.env-childSubtitle{
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.env-childLink{
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(57,255,20,0.92);
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* Dossier section blocks */
.env-sectionStack{
  display: grid;
  gap: 14px;
}

.env-sectionTitle{
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(57,255,20,0.92);
}

.env-sectionBody{
  margin-top: 10px;
  color: rgba(255,255,255,0.74);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 980px){
  .env-worldGrid{ grid-template-columns: 1fr; }
  .env-factsGrid{ grid-template-columns: 1fr; }
  .env-childGrid{ grid-template-columns: 1fr; }
}

.env-worldGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.env-worldCard{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  min-height: 260px;
}

.env-worldSplash{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  filter: contrast(105%) brightness(75%);
  transform: scale(1.02);
}

.env-worldShade{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 30% 20%, rgba(57,255,20,0.16), rgba(0,0,0,0.82)),
    linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.88));
}

.env-worldBody{
  position: relative;
  padding: 18px 18px;
  display: grid;
  gap: 10px;
}
.env-worldTitle{ font-weight: 900; letter-spacing: .12em; }
.env-worldSubtitle{ color: rgba(255,255,255,0.72); line-height: 1.55; }
.env-worldMeta{ display: grid; gap: 6px; margin-top: 6px; }
.env-worldMetaRow{ display:flex; justify-content: space-between; color: rgba(255,255,255,0.65); }
.env-worldLink{ margin-top: 10px; color: rgba(57,255,20,0.9); font-weight: 900; letter-spacing: .12em; }

.env-splashHeader{
  display: grid;
  gap: 18px;
}

.env-splashArt{
  width: 100%;
  min-height: 560px;      /* adjust */
  border-radius: 22px;    /* optional */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.env-splashMeta{
  padding: 0 2px; /* slight alignment */
}

.env-splashMetaCenter{
  max-width: 72ch;
  margin: 0 auto;            /* centers block horizontally */
  text-align: center;        /* centers text */
  display: flex;
  flex-direction: column;
  align-items: center;       /* centers buttons */
  gap: 10px;
}

.env-splashMetaCenter .ruoh-cta{
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ===============================
   SOCIAL HUB PAGE (compact + mobile-first)
=============================== */

/* Page wrapper: keep it narrow like Linktree */
.socialhubPage{
  max-width: 560px;
  margin: 0 auto;

  /* KEY: push content below sticky nav */
  padding: 110px 16px 40px;

  /* If your nav is NOT sticky, reduce this to 24px */
}

/* Slightly tighter on small screens */
@media (max-width: 420px){
  .socialhubPage{ padding: 102px 12px 34px; }
}

/* Compact header card */
.socialhubHeader{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px;
  margin-bottom: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(to bottom, rgba(0,0,0,0.46), rgba(0,0,0,0.18));
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  position: relative;
  overflow:hidden;
}

.socialhubHeader::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(650px 420px at 18% 20%, rgba(57,255,20,0.10), transparent 58%),
    radial-gradient(650px 420px at 92% 35%, rgba(200,100,18,0.08), transparent 62%);
  opacity: 0.95;
  pointer-events:none;
}

.socialhubHeader-left{
  display:flex;
  align-items:center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.socialhubMark{
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.55));
}

.socialhubHeader-text{
  display:flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.socialhubTitle{
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(57,255,20,0.92);
  text-shadow: 0 0 18px rgba(57,255,20,0.18), 0 20px 60px rgba(0,0,0,0.75);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.socialhubDomain{
  font-size: 12px;
  color: rgba(255,255,255,0.70);
}

.socialhubHeader-led{
  position: relative;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(57,255,20,0.92);
  box-shadow: 0 0 18px rgba(57,255,20,0.55);
  flex: 0 0 10px;
}

/* Link stack */
.socialhubStack{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons: icon + label + hint */
.socialhubBtn{
  position: relative;
  display:grid;
  grid-template-columns: 52px 1fr auto 24px;
  align-items:center;
  gap: 10px;

  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(to bottom, rgba(0,0,0,0.48), rgba(0,0,0,0.18));
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  text-decoration:none;
  overflow:hidden;

  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.socialhubBtn::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(650px 420px at 18% 20%, rgba(57,255,20,0.10), transparent 58%),
    radial-gradient(650px 420px at 92% 35%, rgba(200,100,18,0.08), transparent 62%);
  opacity: 0.95;
  pointer-events:none;
}

.socialhubBtn::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 2px, transparent 5px);
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events:none;
}

.socialhubBtn:hover{
  transform: translateY(-2px);
  border-color: rgba(57,255,20,0.22);
  box-shadow: 0 30px 70px rgba(0,0,0,0.60);
}

.socialhubIcon{
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 2;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity: 0.92;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,0.55));
}

.socialhubIcon svg{
  width: 100%;
  height: 100%;
  fill: rgba(255,255,255,0.90);
}

.socialhubIcon--img{
  width: 42px;
  height: 42px;
}

.socialhubIcon--img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
  opacity: 0.95;
}

.socialhubLabel{
  position: relative;
  z-index: 2;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(255,255,255,0.90);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.socialhubHint{
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.socialhubArrow{
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.70);
  font-size: 16px;
  text-align:right;
}

/* Mobile tightening */
@media (max-width: 420px){
  .socialhubBtn{ grid-template-columns: 48px 1fr auto 20px; padding: 13px 13px; }
  .socialhubLabel{ font-size: 12px; letter-spacing: 0.12em; }
}



/* ===============================
   GLOBAL MOBILE OPTIMIZATIONS
   Base Header/Nav + Footer
=============================== */

/* ---------- NAV: mobile layout ---------- */
@media (max-width: 760px){

  /* Give content room under nav if nav is sticky/fixed */
  /* If your nav is NOT sticky/fixed, you can remove this. */
  body{
    /* keep as-is if you already manage spacing per-page */
  }

  .nav{
    /* If your nav uses backdrop blur already, keep it.
       Otherwise this gives it a more readable mobile feel. */
    padding: 10px 0;
  }

  .nav-inner{
    /* Stack brand on top, links below */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    /* keep existing horizontal padding if present */
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-brand{
    /* Reduce horizontal space and increase tap reliability */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 14px;

    /* Optional: subtle frame so brand reads as a "home" button */
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.22);
    text-decoration: none;
  }

@media (max-width: 760px){
  .nav-links{
    display: flex;
    flex-wrap: nowrap;          /* KEY: no wrapping */
    gap: 10px;
    justify-content: flex-start;

    overflow-x: auto;           /* allow single-row scroll */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;      /* Firefox hide scrollbar */
    padding: 0 2px 6px;         /* bottom padding for scroll comfort */
  }

  .nav-links::-webkit-scrollbar{ display:none; } /* Chrome/Safari hide */

  .nav-link{
    flex: 0 0 auto;             /* prevent shrinking into unreadable pills */
    white-space: nowrap;        /* keep each label on one line */
  }
}


  .nav-link{
    /* Bigger tap targets (important for phones) */
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.18);

    /* Prevent tiny text */
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    /* Avoid links stretching oddly */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
  }

  /* If your brand string is long, allow it to scale */
  .nav-brand{
    font-size: 12px;
    letter-spacing: 0.10em;
  }
}

/* Extra-tight phones */
@media (max-width: 420px){
  .nav-inner{ padding-left: 12px; padding-right: 12px; }
  .nav-link{ padding: 9px 11px; font-size: 11px; }
}


/* ---------- FOOTER: mobile layout ---------- */
@media (max-width: 760px){
  .site-footer{
    /* Add breathing room */
    padding-top: 26px;
  }

  .footer-inner{
    /* Stack columns vertically */
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;

    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-col{
    /* Ensure each block reads like a card area */
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    background: rgba(0,0,0,0.18);
    padding: 14px;
  }

  .footer-col--center{
    /* Put logo center block first visually if desired */
    order: -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .footer-logo{
    width: 44px;
    height: 44px;
    object-fit: contain;
  }

  .footer-location{
    font-size: 12px;
    letter-spacing: 0.10em;
    opacity: 0.8;
    text-align: right;
  }

  .footer-socials,
  .footer-links{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-socials a,
  .footer-links a{
    /* Mobile tap targets */
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.18);

    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .footer-label{
    font-size: 11px;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
    opacity: 0.85;
  }

  .footer-bottom{
    /* Stack bottom strip nicely */
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;

    padding: 16px 16px 22px;
    text-align: center;
  }

  .footer-bottom span{
    font-size: 11px;
    letter-spacing: 0.12em;
  }
}

/* Extra-tight phones */
@media (max-width: 420px){
  .footer-inner{ padding-left: 12px; padding-right: 12px; }
  .footer-col{ padding: 12px; }
  .footer-socials a,
  .footer-links a{ padding: 9px 11px; font-size: 10.5px; }
}

/* ===============================
   SOCIAL HUB PAGE — layout spacing under NAV
=============================== */

.socialhubPage{
  max-width: 560px;
  margin: 0 auto;
  padding: 140px 16px 40px;   /* desktop: normal spacing */
}

/* Mobile nav becomes 2 rows, so we need more top space */
@media (max-width: 760px){
  .socialhubPage{
    padding: 160px 16px 40px;  /* <- adjust if needed */
  }
}

/* Extra-tight phones */
@media (max-width: 420px){
  .socialhubPage{
    padding: 162px 12px 34px;
  }
}
