/* ==========================================================================
   notliya.com • Multi-Theme Creative Experience
   5 Distinct Color Palettes, Organic Polaroid Collage, and Creative Art Gallery
   ========================================================================== */

/* ==========================================================================
   THEME PALETTES (5 FULL DISTINCT COLOR THEMES)
   ========================================================================== */

/* 1. Default: Emo Bedroom / Late Night */
:root, [data-theme="emo"] {
  --bg: #141316;
  --surface-1: #1d1c21;
  --surface-2: #24232a;
  --surface-hover: #2c2a33;
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-active: rgba(189, 160, 232, 0.45);
  --accent-lilac: #bda0e8;
  --accent-lilac-dim: rgba(189, 160, 232, 0.14);
  --accent-blush: #e28193;
  --accent-cream: #f4dfb5;
  --accent-cream-dim: rgba(244, 223, 181, 0.12);
  --accent-sage: #9bbda0;
  --text-head: #f5f2eb;
  --text-body: #c6c1b9;
  --text-muted: #8c867e;
  --text-faint: #59544e;
  --polaroid-bg: #f7f4ed;
  --polaroid-text: #1a191d;
  color-scheme: dark;
}

/* 2. Vintage Indie Zine / Sepia Paper */
[data-theme="zine"] {
  --bg: #191613;
  --surface-1: #231e19;
  --surface-2: #2d2620;
  --surface-hover: #372f28;
  --border: rgba(244, 223, 181, 0.1);
  --border-subtle: rgba(244, 223, 181, 0.05);
  --border-active: rgba(224, 122, 95, 0.5);
  --accent-lilac: #e07a5f;
  --accent-lilac-dim: rgba(224, 122, 95, 0.15);
  --accent-blush: #d97d64;
  --accent-cream: #f2e9dc;
  --accent-cream-dim: rgba(242, 233, 220, 0.12);
  --accent-sage: #81b29a;
  --text-head: #fefae0;
  --text-body: #d4c8b8;
  --text-muted: #9c8e7e;
  --text-faint: #6e6355;
  --polaroid-bg: #efe8dc;
  --polaroid-text: #2a231d;
  color-scheme: dark;
}

/* 3. 90s Grunge Matcha / Moss & Oat */
[data-theme="matcha"] {
  --bg: #121512;
  --surface-1: #1a201b;
  --surface-2: #222a23;
  --surface-hover: #2b352c;
  --border: rgba(167, 196, 157, 0.12);
  --border-subtle: rgba(167, 196, 157, 0.05);
  --border-active: rgba(167, 196, 157, 0.5);
  --accent-lilac: #a7c49d;
  --accent-lilac-dim: rgba(167, 196, 157, 0.15);
  --accent-blush: #d88c9a;
  --accent-cream: #f0ead2;
  --accent-cream-dim: rgba(240, 234, 210, 0.12);
  --accent-sage: #8fbc8f;
  --text-head: #f4f7f2;
  --text-body: #c1ccbd;
  --text-muted: #889684;
  --text-faint: #596356;
  --polaroid-bg: #edf2e8;
  --polaroid-text: #1d241e;
  color-scheme: dark;
}

/* 4. Y2K Cyber Twilight / Electric Lilac */
[data-theme="twilight"] {
  --bg: #0e0d18;
  --surface-1: #171526;
  --surface-2: #211e36;
  --surface-hover: #2b2745;
  --border: rgba(167, 139, 250, 0.14);
  --border-subtle: rgba(167, 139, 250, 0.06);
  --border-active: rgba(110, 231, 183, 0.5);
  --accent-lilac: #a78bfa;
  --accent-lilac-dim: rgba(167, 139, 250, 0.16);
  --accent-blush: #f472b6;
  --accent-cream: #6ee7b7;
  --accent-cream-dim: rgba(110, 231, 183, 0.15);
  --accent-sage: #38bdf8;
  --text-head: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #84879e;
  --text-faint: #525468;
  --polaroid-bg: #f3f0fa;
  --polaroid-text: #1c182b;
  color-scheme: dark;
}

/* 5. Scandinavian Minimalist Light / Oat & Clay */
[data-theme="cream-day"] {
  --bg: #f5f2eb;
  --surface-1: #ffffff;
  --surface-2: #eae4d8;
  --surface-hover: #dfd8cb;
  --border: rgba(40, 35, 30, 0.08);
  --border-subtle: rgba(40, 35, 30, 0.04);
  --border-active: rgba(176, 93, 71, 0.45);
  --accent-lilac: #b05d47;
  --accent-lilac-dim: rgba(176, 93, 71, 0.12);
  --accent-blush: #c25e68;
  --accent-cream: #8b5d5d;
  --accent-cream-dim: rgba(139, 93, 93, 0.12);
  --accent-sage: #5b7c62;
  --text-head: #1c1a17;
  --text-body: #47423c;
  --text-muted: #7d766e;
  --text-faint: #aaa298;
  --polaroid-bg: #ffffff;
  --polaroid-text: #1c1a17;
  color-scheme: light;
}

/* Common Typography & Layout Tokens */
:root {
  --font-hebrew: 'Heebo', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Heebo', sans-serif;
  --font-hand: 'Caveat', cursive, sans-serif;
  --font-mono: 'JetBrains Mono', monospace, sans-serif;

  --radius-xs: 5px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.35s var(--ease-out);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* RTL / LTR Setup */
[dir="rtl"] {
  font-family: var(--font-hebrew), sans-serif;
  text-align: right;
}

[dir="ltr"] {
  font-family: var(--font-body), sans-serif;
  text-align: left;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
  user-select: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   THEME PALETTE SELECTOR BAR (LIVE COLOR SWITCHER)
   ========================================================================== */
.theme-palette-bar {
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 950;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.theme-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-bar-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-head);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.theme-chips-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.theme-chip-btn:hover {
  color: var(--text-head);
  border-color: var(--border-active);
  transform: translateY(-1px);
}

.theme-chip-btn.active {
  background: var(--surface-hover);
  border-color: var(--accent-lilac);
  color: var(--text-head);
  font-weight: 800;
}

.theme-swatch-dots {
  display: inline-flex;
  gap: 3px;
}

.theme-swatch-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   MINIMAL TICKER
   ========================================================================== */
.ticker-strip {
  width: 100%;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-subtle);
  padding: 7px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  gap: 1.5rem;
  animation: tickerScroll 38s linear infinite;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.ticker-inner:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

[dir="rtl"] @keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: relative;
  z-index: 900;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-head);
  line-height: 1.1;
}

.brand-handle {
  font-size: 0.72rem;
  color: var(--accent-lilac);
  font-weight: 500;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 5px 2px;
}

.nav-item:hover {
  color: var(--text-head);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 9px;
}

.btn-vip {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--accent-lilac);
  color: var(--accent-lilac);
  transition: var(--transition-fast);
}

.btn-vip:hover {
  background: var(--accent-lilac);
  color: #141316;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  font-size: 0.85rem;
}

.icon-btn:hover {
  border-color: var(--accent-lilac);
  color: var(--text-head);
}

.lang-pill {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.lang-pill:hover {
  color: var(--text-head);
  border-color: var(--accent-lilac);
}

/* ==========================================================================
   PERSONAL CREATOR NOTE
   ========================================================================== */
.creator-note-banner {
  background: var(--surface-1);
  border: 1px dashed var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.creator-note-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.creator-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-cream);
  background: var(--accent-cream-dim);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.creator-note-dismiss {
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.creator-note-dismiss:hover {
  color: var(--text-head);
  background: var(--surface-2);
}

.creator-note-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ==========================================================================
   HERO SECTION & POLAROID COLLAGE
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  border: 1px solid var(--border);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-lilac);
  margin-bottom: 1.25rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-lilac);
  box-shadow: 0 0 8px var(--accent-lilac);
}

.hero-heading {
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-head);
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

.hero-manifesto {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.btn-hero-primary {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--accent-lilac);
  color: #141316;
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-hero-ghost {
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  border: 1px solid var(--border);
  color: var(--text-head);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition-fast);
}

.btn-hero-ghost:hover {
  border-color: var(--accent-lilac);
  color: var(--accent-lilac);
}

.hero-metrics {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.metric-block {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-head);
}

.metric-lbl {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ORGANIC COLLAGE (REAL + ILLUSTRATION)
   ========================================================================== */
.hero-art-side {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
}

.collage-container {
  position: relative;
  width: 100%;
  max-width: 390px;
  height: 420px;
}

.polaroid-card {
  position: absolute;
  background: var(--polaroid-bg);
  color: var(--polaroid-text);
  padding: 11px 11px 32px 11px;
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-smooth), z-index 0s;
  cursor: pointer;
}

.polaroid-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
  border-radius: 2px;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaroid-caption {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--polaroid-text);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

.polaroid-real {
  width: 240px;
  top: 10px;
  right: 15px;
  transform: rotate(5deg);
  z-index: 1;
}

[dir="rtl"] .polaroid-real {
  right: auto;
  left: 15px;
  transform: rotate(-5deg);
}

.polaroid-real:hover {
  transform: rotate(0deg) scale(1.03);
  z-index: 10;
}

.polaroid-art {
  width: 255px;
  bottom: 15px;
  left: 20px;
  transform: rotate(-6deg);
  z-index: 2;
}

[dir="rtl"] .polaroid-art {
  left: auto;
  right: 20px;
  transform: rotate(6deg);
}

.polaroid-art:hover {
  transform: rotate(0deg) scale(1.03);
  z-index: 10;
}

.tape-strip {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 22px;
  background: rgba(244, 223, 181, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.polaroid-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}

.handwritten-sticker {
  position: absolute;
  bottom: 0;
  right: 10px;
  background: var(--surface-2);
  border: 1px dashed var(--accent-lilac);
  color: var(--accent-cream);
  font-family: var(--font-hand);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transform: rotate(3deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

[dir="rtl"] .handwritten-sticker {
  right: auto;
  left: 10px;
  transform: rotate(-3deg);
}

/* ==========================================================================
   THE STORIES (4-STORY GRID)
   ========================================================================== */
.stories-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface-1);
}

.section-heading-wrap {
  margin-bottom: 2.75rem;
  max-width: 650px;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--accent-lilac);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-headline {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 900;
  color: var(--text-head);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.section-dek {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.story-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-fast);
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.story-visual-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
}

.story-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-card:hover .story-main-img {
  transform: scale(1.03);
}

.real-badge-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(19, 18, 22, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 4px 10px 4px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

[dir="rtl"] .real-badge-overlay {
  right: auto;
  left: 10px;
  padding: 4px 4px 4px 10px;
}

.real-badge-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent-lilac);
}

.real-badge-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.story-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.story-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-lilac);
  margin-bottom: 0.45rem;
}

.story-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-head);
  margin-bottom: 0.65rem;
}

.story-body p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   CREATIVE ARTWORK GALLERY
   ========================================================================== */
.gallery-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
}

.art-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.art-gallery-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-fast);
}

.art-gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-lilac);
}

.art-gallery-visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
  position: relative;
}

.art-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.art-gallery-card:hover .art-gallery-img {
  transform: scale(1.04);
}

.art-gallery-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cream);
}

[dir="rtl"] .art-gallery-tag {
  right: auto;
  left: 10px;
}

.art-gallery-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.art-gallery-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 0.4rem;
}

.art-gallery-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   REELS VAULT
   ========================================================================== */
.vault-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface-1);
}

.filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.filter-chip {
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: var(--transition-fast);
}

.filter-chip:hover {
  color: var(--text-head);
  border-color: var(--border-active);
}

.filter-chip.active {
  background: var(--accent-lilac);
  color: #141316;
  border-color: var(--accent-lilac);
  font-weight: 700;
}

.reels-minimal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.reel-item-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-smooth), border-color var(--transition-fast);
}

.reel-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-lilac);
}

.reel-thumb-box {
  width: 100%;
  aspect-ratio: 9 / 14;
  position: relative;
  overflow: hidden;
  background: #000;
}

.reel-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.reel-item-card:hover .reel-thumb-img {
  transform: scale(1.04);
}

.reel-overlay-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #fff;
  font-weight: 600;
}

.reel-card-info {
  padding: 1rem;
}

.reel-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-head);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.reel-card-quote {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  font-style: italic;
}

/* ==========================================================================
   CYNIC ORACLE
   ========================================================================== */
.oracle-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
}

.oracle-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.oracle-header {
  margin-bottom: 1.75rem;
}

.oracle-input-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.oracle-input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 13px 20px;
  font-size: 0.92rem;
  color: var(--text-head);
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
}

.oracle-input:focus {
  border-color: var(--accent-lilac);
}

.oracle-btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-oracle-action {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--accent-lilac);
  color: #141316;
  font-weight: 800;
  font-size: 0.86rem;
  transition: var(--transition-fast);
}

.btn-oracle-action:hover {
  filter: brightness(1.1);
}

.btn-oracle-ghost {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent-cream);
  font-weight: 700;
  font-size: 0.86rem;
  transition: var(--transition-fast);
}

.btn-oracle-ghost:hover {
  background: var(--accent-cream);
  color: #141316;
}

.oracle-result-box {
  background: var(--surface-2);
  border: 1px dashed var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

[dir="rtl"] .oracle-result-box {
  align-items: flex-start;
}

.oracle-quote-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-head);
}

.copy-link-btn {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-lilac);
  background: var(--accent-lilac-dim);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-active);
}

.copy-link-btn:hover {
  background: var(--accent-lilac);
  color: #141316;
}

/* ==========================================================================
   CLUBHOUSE (POLL & CONFESSIONS)
   ========================================================================== */
.clubhouse-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface-1);
}

.clubhouse-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
}

.col-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 1.15rem;
}

.poll-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.poll-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  transition: border-color var(--transition-fast);
}

.poll-item.voted {
  border-color: var(--accent-lilac);
}

.poll-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.poll-item-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-head);
}

.poll-item-pct {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-lilac);
}

.poll-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.poll-meter-track {
  width: 100%;
  height: 5px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.poll-meter-fill {
  height: 100%;
  background: var(--accent-lilac);
  transition: width 0.6s ease;
}

.btn-vote-trigger {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  border: 1px solid var(--border);
  color: var(--text-head);
}

.btn-vote-trigger:hover {
  background: var(--accent-lilac);
  color: #141316;
  border-color: var(--accent-lilac);
}

.poll-item.voted .btn-vote-trigger {
  background: var(--accent-lilac);
  color: #141316;
  pointer-events: none;
}

.pitch-card-mini {
  display: flex;
  gap: 0.5rem;
}

.pitch-input {
  flex-grow: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 9px 15px;
  font-size: 0.82rem;
  color: var(--text-head);
  font-family: inherit;
  outline: none;
}

.pitch-input:focus {
  border-color: var(--accent-lilac);
}

.btn-mini-send {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-head);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.btn-mini-send:hover {
  background: var(--accent-lilac);
  color: #141316;
  border-color: var(--accent-lilac);
}

/* Confessions Wall */
.confess-stream {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 1.25rem;
  padding-right: 4px;
}

[dir="rtl"] .confess-stream {
  padding-right: 0;
  padding-left: 4px;
}

.confess-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
}

.confess-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}

.confess-who {
  font-weight: 700;
  color: var(--accent-blush);
}

.confess-when {
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.confess-message {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.5;
}

.confess-box-mini {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.confess-input-author {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-head);
  font-family: inherit;
  outline: none;
}

.confess-input-text {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 9px 12px;
  font-size: 0.82rem;
  color: var(--text-head);
  font-family: inherit;
  resize: vertical;
  min-height: 65px;
  outline: none;
}

.confess-input-author:focus, .confess-input-text:focus {
  border-color: var(--accent-blush);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface-1);
}

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

.footer-brand-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-head);
  display: block;
  margin-bottom: 0.3rem;
}

.footer-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 480px;
}

.footer-right {
  display: flex;
  gap: 1.25rem;
}

.social-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.social-link:hover {
  color: var(--text-head);
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

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

.modal-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-card-vip {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  text-align: center;
}

/* Letter Specific Elements */
.letter-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.letter-stamp-pill {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cream);
  background: var(--accent-cream-dim);
  border: 1px dashed var(--accent-cream);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.letter-heading-vip {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-head);
  margin-bottom: 1rem;
}

/* Voice Note Player Bar */
.voice-note-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  margin-bottom: 1.25rem;
}

.voice-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-lilac);
  color: #141316;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 900;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.voice-play-btn:hover {
  transform: scale(1.06);
}

.voice-wave-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 10px;
}

.voice-wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}

.v-bar {
  width: 3px;
  background: var(--accent-lilac);
  border-radius: 2px;
  opacity: 0.75;
}

.voice-note-card.playing .v-bar {
  animation: wavePulse 0.6s ease-in-out infinite alternate;
}

.voice-note-card.playing .v-bar:nth-child(2n) {
  animation-delay: 0.15s;
}

.voice-note-card.playing .v-bar:nth-child(3n) {
  animation-delay: 0.3s;
}

@keyframes wavePulse {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.2); }
}

.voice-time {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.letter-text-block {
  text-align: right;
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

[dir="ltr"] .letter-text-block {
  text-align: left;
}

.letter-callout-text {
  background: var(--surface-2);
  border-inline-start: 3px solid var(--accent-lilac);
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  color: var(--text-head);
}

/* VIP Buttons & Social Channels */
.vip-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.vip-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 520px) {
  .vip-buttons-row {
    grid-template-columns: 1fr;
  }
}

.btn-vip-ig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(253, 29, 29, 0.3);
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.btn-vip-ig:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-vip-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25D366;
  color: #0b2e15 !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.btn-vip-wa:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* Creator Dev Pill */
.creator-dev-pill {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 9990;
  background: rgba(20, 19, 24, 0.95);
  border: 1px solid var(--accent-lilac);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  font-size: 0.76rem;
}

[dir="rtl"] .creator-dev-pill {
  left: auto;
  right: 18px;
}

.creator-pill-tag {
  font-weight: 800;
  color: var(--accent-lilac);
  white-space: nowrap;
}

.creator-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.creator-status-badge.waiting {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.creator-status-badge.viewed {
  color: #f87171;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.creator-pill-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-head);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.creator-pill-btn:hover {
  background: var(--accent-lilac);
  color: #141316 !important;
}

.creator-pill-link {
  color: var(--accent-cream);
  border-color: rgba(230, 213, 184, 0.3);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  z-index: 10;
}

[dir="rtl"] .modal-close {
  right: auto;
  left: 12px;
}

.modal-close:hover {
  background: var(--accent-blush);
  border-color: var(--accent-blush);
}

.modal-img-wrap {
  background: #000;
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-lilac);
  background: var(--accent-lilac-dim);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 0.65rem;
}

.modal-heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-head);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.modal-quote-callout {
  border-inline-start: 2px solid var(--accent-lilac);
  padding-inline-start: 10px;
  margin-bottom: 1.15rem;
}

.modal-quote-callout p {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.5;
}

.modal-caption-text {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.modal-meta-row {
  display: flex;
  gap: 1.25rem;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.btn-modal-ig {
  display: block;
  text-align: center;
  background: var(--accent-lilac);
  color: #141316;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px;
  border-radius: var(--radius-pill);
}

.btn-modal-ig:hover {
  filter: brightness(1.1);
}

/* Toast Shelf */
.toast-shelf {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

[dir="rtl"] .toast-shelf {
  right: auto;
  left: 20px;
}

.toast-msg {
  background: var(--surface-2);
  border: 1px solid var(--accent-lilac);
  color: var(--text-head);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-fast);
  pointer-events: auto;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-manifesto {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

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

  .reels-minimal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clubhouse-layout {
    grid-template-columns: 1fr;
  }

  .modal-card {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-img-wrap {
    height: 260px;
  }
}

@media (max-width: 580px) {
  .nav-center {
    display: none;
  }

  .hero-heading {
    font-size: 1.85rem;
  }

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

  .reels-minimal-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
