/* ═══════════════════════════════════════════════════════════
   TheBoySkyler — Design System
   ═══════════════════════════════════════════════════════════ */

:root {
  --paper: #ece5e2;
  --paper-bright: #f7f1ef;
  --wall: #d8cfcc;
  --wall-deep: #cfc6c3;
  --ink: #40373d;
  --ink-soft: rgba(64, 55, 61, 0.72);
  --line: rgba(255, 255, 255, 0.28);
  --glass: rgba(255, 255, 255, 0.24);
  --glass-strong: rgba(255, 255, 255, 0.34);
  --pink: #f4acbf;
  --pink-deep: #e48fb0;
  --blue: #9dd4f4;
  --blue-deep: #75bbeb;
  --lilac: #c2b4ef;
  --floor-shadow: rgba(164, 146, 160, 0.18);
  --surface: #1a1118;
  --surface-card: rgba(255, 255, 255, 0.04);
  --accent: #c97aff;
  --accent-soft: rgba(201, 122, 255, 0.15);
  --text-on-dark: #f0ecf3;
  --text-muted-dark: rgba(240, 236, 243, 0.55);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.625rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  background: radial-gradient(circle at top, var(--paper-bright), var(--paper));
}

/* Pages with dark bg */
.page-body {
  color: var(--text-on-dark);
  background: var(--surface);
}

/* ═══════════════════════════════════════════════════════════
   Site Navigation
   ═══════════════════════════════════════════════════════════ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  background: rgba(26, 17, 24, 0.88);
  backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--border-subtle);
}

.site-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 17, 24, 0.55);
}

.site-nav .brand-mark {
  color: var(--text-on-dark);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 2rem);
}

.nav-links a {
  color: var(--text-muted-dark);
  text-decoration: none;
  font-size: clamp(0.68rem, 0.85vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -0.55rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════════
   Site Footer
   ═══════════════════════════════════════════════════════════ */

.site-footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-inner p {
  margin: 0.25rem 0;
  font-size: 0.8rem;
  color: var(--text-muted-dark);
}

.footer-ai-notice {
  color: var(--accent) !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--text-muted-dark);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   Scene / Hero (existing)
   ═══════════════════════════════════════════════════════════ */

.scene-page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.scene-room {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.78), transparent 24%),
    linear-gradient(180deg, #d9d1ce 0%, #ddd5d2 24%, #ebe4e1 100%);
}

.scene-wall {
  position: absolute;
  inset: 10% 18% 26%;
  border-radius: 5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(192, 180, 177, 0.24));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -28px 38px rgba(185, 173, 171, 0.2),
    0 12px 20px rgba(176, 162, 160, 0.12);
}

.scene-lightbar {
  position: absolute;
  top: 4.6%;
  left: 50%;
  width: min(36vw, 560px);
  height: 0.95rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.72);
}

.scene-arch {
  position: absolute;
  bottom: 24%;
  width: 4.6rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 8px 22px rgba(255, 255, 255, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.scene-arch::before {
  content: "";
  position: absolute;
  inset: -3rem 0 auto;
  height: 3rem;
  border-radius: 999px 999px 0 0;
  background: inherit;
}

.scene-arch-left {
  left: 7.5%;
  height: 43%;
  border-radius: 999px 999px 2rem 2rem;
}

.scene-arch-right {
  right: 7.5%;
  height: 36%;
  border-radius: 999px 999px 2rem 2rem;
}

.scene-floor {
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background:
    linear-gradient(180deg, rgba(241, 236, 234, 0), rgba(234, 228, 226, 0.7) 18%, rgba(225, 217, 214, 0.95));
}

.floor-band {
  position: absolute;
  left: 0;
  right: 0;
  height: 1rem;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
}

.floor-band-top { top: 24%; }
.floor-band-mid { top: 48%; }
.floor-band-bottom { top: 72%; }

.scene-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.72;
}

.scene-glow-pink {
  width: 24rem;
  height: 24rem;
  left: -8rem;
  bottom: -2rem;
  background: rgba(244, 172, 191, 0.46);
}

.scene-glow-blue {
  width: 24rem;
  height: 24rem;
  right: -7rem;
  bottom: -1rem;
  background: rgba(157, 212, 244, 0.42);
}

.scene-glow-lilac {
  width: 18rem;
  height: 18rem;
  left: 46%;
  top: 18%;
  background: rgba(194, 180, 239, 0.22);
}

.blob {
  position: absolute;
  border-radius: 42% 58% 60% 40% / 42% 42% 58% 58%;
  filter: saturate(1.05);
}

.blob::after {
  content: "";
  position: absolute;
  inset: 10% 12% 42% 16%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  filter: blur(4px);
}

.blob-pink {
  background: linear-gradient(145deg, rgba(248, 187, 205, 0.98), rgba(236, 142, 174, 0.84));
}

.blob-blue {
  background: linear-gradient(145deg, rgba(170, 222, 249, 0.98), rgba(104, 180, 229, 0.84));
}

.blob-pink-left { width: 16rem; height: 16rem; left: -3rem; bottom: -1rem; }
.blob-blue-left { width: 13rem; height: 13rem; left: 22%; bottom: 14%; transform: rotate(-18deg); }
.blob-pink-right { width: 12rem; height: 12rem; right: 20%; bottom: 16%; transform: rotate(24deg); }
.blob-blue-right { width: 14rem; height: 14rem; right: -2rem; bottom: -1rem; transform: rotate(18deg); }
.blob-blue-back { width: 14.5rem; height: 14.5rem; right: 17%; bottom: 27%; opacity: 0.88; }

.scene-shadow {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, var(--floor-shadow), transparent 72%);
  filter: blur(12px);
}

.shadow-main { width: 34rem; height: 3.6rem; left: 49%; bottom: 16.2%; transform: translateX(-4%); }
.shadow-panel { width: 21.5rem; height: 2.8rem; left: calc(20% - 100px); bottom: 22%; }
.shadow-meta { width: 12rem; height: 2rem; left: 34%; bottom: 18%; }

.page-head,
.hero-scene {
  position: relative;
  z-index: 2;
}

.page-head {
  width: min(1200px, calc(100vw - 3rem));
  margin: 0 auto;
  padding-top: 1.4rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.9rem;
}

.hero-scene {
  width: min(1200px, calc(100vw - 3rem));
  min-height: calc(100vh - 4rem);
  margin: 0 auto;
}

.scene-logo {
  position: absolute;
  width: min(56vw, 860px);
  right: 8%;
  bottom: 14%;
  height: auto;
}

.glass-panel {
  position: absolute;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, rgba(244, 172, 191, 0.12), rgba(157, 212, 244, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 32px rgba(181, 164, 171, 0.18);
  backdrop-filter: blur(22px);
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.14),
    inset 0 18px 24px rgba(255, 255, 255, 0.1);
}

.glass-panel-main {
  left: calc(21% - 100px);
  top: 18%;
  width: min(33vw, 485px);
  padding: 1.6rem 1.6rem 1.7rem;
  border-radius: 2rem;
}

.glass-panel-meta {
  right: 7%;
  bottom: 19%;
  width: min(18vw, 240px);
  padding: 1rem 1rem 1.1rem;
  border-radius: 1.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(104, 131, 170, 0.9);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.glass-panel h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(2.8rem, 5vw, 4.35rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.lede {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

/* ═══════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--pink-deep));
  box-shadow: 0 8px 24px rgba(201, 122, 255, 0.25);
}

.button-primary:hover {
  box-shadow: 0 12px 32px rgba(201, 122, 255, 0.4);
}

.button-outline {
  color: var(--text-on-dark);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.button-outline:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.button-sm {
  min-height: 2.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
}

.button-loading {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  opacity: 0.6;
}

.glass-panel-meta p {
  margin: 0;
  padding: 0.72rem 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.glass-panel-meta p + p {
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   Monetization Strip (Home page)
   ═══════════════════════════════════════════════════════════ */

.monetization-strip {
  position: relative;
  z-index: 10;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 2rem;
}

.monetization-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.monetize-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.monetize-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 122, 255, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.monetize-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.monetize-card h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
}

.monetize-card p {
  margin: 0 0 1.5rem;
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   Landing Page Sections
   ═══════════════════════════════════════════════════════════ */

.landing-section-head {
  width: min(760px, 100%);
  margin: 0 auto 2rem;
  text-align: center;
}

.landing-section-head h2,
.home-landing-band h2,
.final-cta h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.landing-section-head h2 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.landing-section-head p:not(.eyebrow) {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

.landing-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem auto 3rem;
}

.landing-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-proof-home {
  margin-top: 0;
}

.feature-grid,
.access-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-tile,
.access-card,
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-card);
}

.feature-tile,
.faq-item {
  padding: 1.45rem;
}

.feature-tile h3,
.access-card h3,
.faq-item h3 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1.08rem;
}

.feature-tile p,
.access-card p,
.faq-item p {
  margin: 0;
  color: var(--text-muted-dark);
  line-height: 1.65;
}

.home-landing-band {
  padding: 5rem 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 241, 239, 0.98)),
    radial-gradient(circle at 20% 10%, rgba(244, 172, 191, 0.28), transparent 24rem);
}

.home-landing-band .landing-section-head h2,
.final-cta-light h2 {
  color: var(--ink);
}

.home-landing-band .landing-section-head p:not(.eyebrow),
.home-landing-band .feature-tile p {
  color: var(--ink-soft);
}

.home-landing-band .feature-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.home-landing-band .feature-tile {
  border-color: rgba(64, 55, 61, 0.08);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 44px rgba(164, 146, 160, 0.12);
}

.home-landing-band .feature-tile h3 {
  color: var(--ink);
}

.final-cta {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: min(1100px, calc(100vw - 2rem));
  margin: 3rem auto 0;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 1.6rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.2)),
    linear-gradient(135deg, rgba(244, 172, 191, 0.22), rgba(157, 212, 244, 0.22));
  box-shadow: 0 18px 44px rgba(164, 146, 160, 0.16);
}

.final-cta h2 {
  max-width: 14ch;
  color: var(--ink);
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.final-cta .tool-actions {
  justify-content: center;
}

.final-cta-light {
  margin-top: 0;
  margin-bottom: 4rem;
}

.final-cta .button-outline {
  color: var(--ink);
  border-color: rgba(64, 55, 61, 0.14);
  background: rgba(255, 255, 255, 0.34);
}

/* ═══════════════════════════════════════════════════════════
   Tyler's Twink Creation Tool Pro Access
   ═══════════════════════════════════════════════════════════ */

.tool-body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 18%, rgba(244, 172, 191, 0.35), transparent 24rem),
    radial-gradient(circle at 84% 10%, rgba(157, 212, 244, 0.42), transparent 26rem),
    linear-gradient(180deg, var(--paper-bright), var(--paper));
}

.tool-shell {
  width: min(1160px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0 4rem;
}

.tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 2rem;
  align-items: stretch;
}

.tool-hero-copy,
.tool-preview-panel,
.tool-pass-panel,
.tool-card,
.tool-key-card {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.22)),
    linear-gradient(135deg, rgba(244, 172, 191, 0.16), rgba(157, 212, 244, 0.18));
  box-shadow: 0 18px 44px rgba(164, 146, 160, 0.18);
  backdrop-filter: blur(22px);
}

.tool-hero-copy {
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 2rem;
}

.tool-hero-copy h1,
.tool-card h2,
.tool-key-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0;
}

.tool-hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
}

.tool-preview-panel {
  display: grid;
  min-height: 34rem;
  place-items: center;
  padding: 1.25rem;
  border-radius: 2rem;
}

.tool-preview-screen {
  width: 100%;
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  border-radius: 1.3rem;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(26, 17, 24, 0.12), rgba(26, 17, 24, 0.74)),
    radial-gradient(circle at 28% 18%, rgba(244, 172, 191, 0.72), transparent 12rem),
    radial-gradient(circle at 78% 20%, rgba(157, 212, 244, 0.78), transparent 13rem),
    linear-gradient(135deg, #f7f1ef, #dcecf6 48%, #f8cfdd);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.preview-label {
  margin: 0 0 0.6rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tool-preview-screen h2 {
  max-width: 9ch;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.95;
}

.preview-lines {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0;
}

.preview-lines span {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.preview-lines span:nth-child(2) {
  width: 74%;
}

.preview-lines span:nth-child(3) {
  width: 52%;
}

.tool-preview-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tool-preview-badges span {
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 700;
}

.tool-actions,
.tool-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.tool-body .button-outline {
  color: var(--ink);
  border-color: rgba(64, 55, 61, 0.16);
  background: rgba(255, 255, 255, 0.3);
}

.tool-body .button-outline:hover {
  border-color: rgba(228, 143, 176, 0.45);
  background: rgba(255, 255, 255, 0.48);
}

.tool-note {
  min-height: 1.4rem;
  max-width: 44rem;
}

.tool-landing-section {
  margin-top: 4rem;
}

.tool-landing-section .landing-section-head h2 {
  color: var(--ink);
}

.tool-landing-section .landing-section-head p:not(.eyebrow) {
  color: var(--ink-soft);
}

.tool-landing-section .feature-tile,
.tool-landing-section .faq-item,
.access-card {
  border-color: rgba(255, 255, 255, 0.52);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2)),
    linear-gradient(135deg, rgba(244, 172, 191, 0.12), rgba(157, 212, 244, 0.12));
  box-shadow: 0 18px 44px rgba(164, 146, 160, 0.12);
}

.tool-landing-section .feature-tile h3,
.tool-landing-section .faq-item h3,
.access-card h3 {
  color: var(--ink);
}

.tool-landing-section .feature-tile p,
.tool-landing-section .faq-item p,
.access-card p {
  color: var(--ink-soft);
}

.access-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.access-card {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.access-card h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
}

.access-card .button {
  margin-top: auto;
}

.access-card-featured {
  border-color: rgba(228, 143, 176, 0.52);
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-pass-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.6rem;
}

.tool-step {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.25);
}

.tool-step span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-deep), var(--blue-deep));
  font-weight: 700;
}

.tool-step strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-size: 1rem;
}

.tool-step p,
.tool-card p,
.tool-status {
  color: var(--ink-soft);
  line-height: 1.65;
}

.tool-step p {
  margin: 0;
  font-size: 0.92rem;
}

.tool-account {
  margin-top: 4rem;
}

.tool-card {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 1.6rem;
}

.tool-card h2 {
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.tool-status {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 600;
}

.tool-status[data-tone="success"] {
  color: #347a66;
}

.tool-status[data-tone="error"] {
  color: #b64f73;
}

.tool-key-card {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
}

.tool-key-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tool-key-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.tool-key-card code {
  display: block;
  max-width: 100%;
  padding: 1rem;
  overflow-wrap: anywhere;
  border-radius: 0.8rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 0.86rem;
}

.tool-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.tool-meta div {
  padding: 0.8rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.26);
}

.tool-meta dt {
  color: rgba(64, 55, 61, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tool-meta dd {
  margin: 0.3rem 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   Premium Gallery (Home page inline)
   ═══════════════════════════════════════════════════════════ */

.premium-gallery {
  padding: 4rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  min-height: 50vh;
  z-index: 10;
  position: relative;
}

.gallery-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 300;
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover {
  transform: translateY(-12px);
  border-color: var(--accent);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px var(--accent-soft);
}

.gallery-thumbnail {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover .gallery-thumbnail img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.view-btn {
  padding: 0.85rem 1.75rem;
  background: #fff;
  color: #000;
  border-radius: 3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover .view-btn {
  transform: translateY(0);
}

.gallery-info {
  padding: 1.75rem;
}

.gallery-info h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   Section Headers (Feed & Gallery pages)
   ═══════════════════════════════════════════════════════════ */

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  margin: 0;
  color: #fff;
}

.section-subtitle {
  color: var(--text-muted-dark);
  font-size: 1.05rem;
  margin: 0.75rem 0 0;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   Feed Page
   ═══════════════════════════════════════════════════════════ */

.feed-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.feed-header {
  margin-bottom: 3rem;
}

.feed-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feed-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 4rem 0;
  color: var(--text-muted-dark);
}

.spinner {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.feed-empty {
  text-align: center;
  padding: 4rem 1rem;
}

.feed-empty h2 {
  color: #fff;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.feed-empty p {
  color: var(--text-muted-dark);
}

/* Post Card */
.post-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.post-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.post-media {
  position: relative;
  overflow: hidden;
}

.post-media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.post-card:hover .post-media img {
  transform: scale(1.02);
}

.post-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  pointer-events: none;
}

.post-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.premium-badge {
  background: linear-gradient(135deg, var(--accent), var(--pink-deep));
  color: #fff;
}

.free-badge {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.post-body {
  padding: 1.5rem;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-on-dark);
}

.author-avatar {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
}

.post-time {
  font-size: 0.75rem;
  color: var(--text-muted-dark);
}

.post-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: #fff;
  line-height: 1.4;
}

.post-caption {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.post-duration {
  font-size: 0.78rem;
  color: var(--text-muted-dark);
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════
   Gallery Page
   ═══════════════════════════════════════════════════════════ */

.gallery-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.gallery-header {
  margin-bottom: 3rem;
}

.gallery-filters {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Masonry Grid */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.masonry-item {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.masonry-item:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.masonry-item.locked {
  opacity: 0.75;
}

.masonry-item.locked:hover {
  opacity: 1;
  border-color: var(--accent);
}

.masonry-media {
  position: relative;
  overflow: hidden;
}

.masonry-media img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.masonry-item:hover .masonry-media img {
  transform: scale(1.05);
}

.masonry-play {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}

.masonry-lock {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.masonry-info {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.masonry-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.masonry-badge {
  flex-shrink: 0;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Gallery CTA */
.gallery-cta {
  margin-top: 3rem;
}

.cta-card {
  background: linear-gradient(135deg, rgba(201, 122, 255, 0.08), rgba(228, 143, 176, 0.08));
  border: 1px solid rgba(201, 122, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-card h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
}

.cta-card p {
  color: var(--text-muted-dark);
  margin: 0 0 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   Lightbox
   ═══════════════════════════════════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
}

.lightbox-content iframe {
  border-radius: var(--radius-md);
  max-width: 1000px;
}

.lightbox-title {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   Legal / Terms Page
   ═══════════════════════════════════════════════════════════ */

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.legal-container {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.legal-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: #fff;
}

.legal-updated {
  color: var(--text-muted-dark);
  font-size: 0.82rem;
  margin: 0 0 2rem;
}

.legal-alert {
  background: linear-gradient(135deg, rgba(255, 80, 80, 0.08), rgba(255, 160, 60, 0.06));
  border: 1px solid rgba(255, 100, 60, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.legal-alert h2 {
  color: #ff9966;
  font-size: 1.3rem;
  margin: 0 0 1rem;
}

.legal-alert p {
  color: var(--text-on-dark);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.legal-alert p:last-child {
  margin-bottom: 0;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-section p {
  color: var(--text-on-dark);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.legal-section ul {
  color: var(--text-on-dark);
  font-size: 0.92rem;
  line-height: 1.7;
  padding-left: 1.5rem;
  margin: 0 0 0.75rem;
}

.legal-section li {
  margin-bottom: 0.4rem;
}

.legal-section a {
  color: var(--accent);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   Status Note
   ═══════════════════════════════════════════════════════════ */

.status-note {
  font-size: 0.75rem;
  color: #ff4d4d;
  margin-top: 0.5rem;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  body {
    overflow-y: auto;
  }

  .scene-page,
  .scene-room {
    min-height: 100vh;
  }
}

@media (max-width: 720px) {
  body {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .site-nav {
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .tool-shell {
    width: min(100vw - 1rem, 100%);
    padding: 4.5rem 0 2.5rem;
  }

  .tool-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-grid,
  .access-grid,
  .faq-grid,
  .tool-pass-panel {
    grid-template-columns: 1fr;
  }

  .landing-proof {
    justify-content: flex-start;
  }

  .landing-section-head {
    text-align: left;
  }

  .tool-hero-copy {
    min-height: auto;
    padding: 1.45rem;
    border-radius: 1.4rem;
  }

  .tool-preview-panel {
    min-height: auto;
    border-radius: 1.4rem;
  }

  .tool-preview-screen {
    min-height: 20rem;
  }

  .tool-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .tool-pass-panel,
  .tool-card {
    border-radius: 1.25rem;
  }

  .tool-step {
    min-height: 0;
    padding: 1rem;
  }

  .tool-account {
    margin-top: 2.5rem;
  }

  .tool-meta {
    grid-template-columns: 1fr;
  }

  .tool-key-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-head,
  .hero-scene {
    width: min(100vw - 1.25rem, 100%);
  }

  .scene-wall {
    inset: 11% 8% 28%;
    border-radius: 3rem;
  }

  .scene-arch {
    width: 2.8rem;
  }

  .scene-arch-left,
  .scene-arch-right {
    height: 28%;
    bottom: 31%;
  }

  .hero-scene {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 4.5rem 0 calc(8rem + env(safe-area-inset-bottom));
  }

  .scene-logo,
  .glass-panel-main,
  .glass-panel-meta {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  .glass-panel-main {
    order: 1;
    width: min(calc(100vw - 1.5rem), 360px);
    padding: 1.25rem;
    margin: 0 auto;
  }

  .glass-panel-main h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .hero-scene [data-reveal],
  .hero-scene [data-reveal].is-visible {
    transform: none;
  }

  .glass-panel-meta {
    order: 3;
    width: min(calc(100vw - 5rem), 240px);
    text-align: center;
    margin: 0 auto;
  }

  .hero-actions {
    position: fixed;
    left: 0.625rem;
    right: 0.625rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    z-index: 5;
    margin-top: 0;
  }

  .scene-logo {
    order: 2;
    width: min(calc(100vw - 0.75rem), 430px);
    max-width: 100%;
    margin: 0.25rem auto 0;
  }

  .scene-shadow {
    opacity: 0;
  }

  .blob-pink-left { width: 11rem; height: 11rem; }
  .blob-blue-right { width: 11rem; height: 11rem; }

  .button {
    width: 100%;
  }

  .legal-container {
    padding: 1.5rem;
  }

  .legal-title {
    font-size: 2rem;
  }

  .feed-page,
  .gallery-page {
    padding-top: 5rem;
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .masonry-info {
    padding: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .monetization-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    gap: 0.5rem;
  }

  .brand-mark span {
    max-width: 8.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-nav {
    align-items: flex-start;
  }

  .nav-links {
    max-width: 9.6rem;
    row-gap: 0.45rem;
  }

  .gallery-masonry {
    grid-template-columns: 1fr;
  }
}
