@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,400;1,500&display=swap');

/* ===================================
   TOON.WTF — Design System v1.0
   =================================== */

/* Reset Base */
html {
  scroll-behavior: smooth;
}

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

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

body {
  font-family: var(--f-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text, #E8E8EE);
  background: radial-gradient(ellipse 70% 100% at 50% 50%, #0A0A14 20%, #252535 100%) fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Variables CSS */
:root {
  /* Colores base */
  --bg-base: #0A0A14;
  --bg-surface: #10101C;
  --bg-elevated: #161624;
  
  /* Colores de texto */
  --text: #E8E8EE;
  --text-secondary: #B0B0C0;
  --text-muted: #707085;
  
  /* Bordes */
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.05);
  
  /* Colores por área */
  --c-vip: #F4C430;
  --c-yuri: #FF6B9D;
  --c-slave: #A855F7;
  --c-comic: #3B82F6;
  --c-ai: #10B981;
  --c-futa: #EF4444;
  
  /* Espaciados */
  --s-2xs: 4px;
  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-2xl: 48px;
  --s-3xl: 64px;
  --s-4xl: 96px;
  
  /* Bordes */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-full: 999px;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.45);
  
  /* Transiciones */
  --t-base: 0.2s ease;
  --t-slow: 0.3s ease;
  
  /* Tipografía */
  --f-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===================================
   COMPONENTES BASE
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-lg);
}

.section {
  padding: var(--s-3xl) 0;
}

.text-center {
  text-align: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-md);
}

/* ===================================
   BOTONES
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-sm) var(--s-lg);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--t-base);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--text);
  color: var(--bg-base);
}

.btn-primary:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: var(--bg-surface);
}

.btn-sm {
  padding: var(--s-xs) var(--s-md);
  font-size: 0.8125rem;
}

.btn-lg {
  padding: var(--s-md) var(--s-xl);
  font-size: 1rem;
}

/* ===================================
   HEADER / SITE HEADER
   =================================== */

.site-header {
  background: #10101C;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(
    90deg,
    #F4C430   0%,
    #FF6B9D  20%,
    #A855F7  38%,
    #3B82F6  56%,
    #10B981  75%,
    #EF4444 100%
  ) 1;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  width: 100%;
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 32px;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* LOGO */
.logo {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
}

.logo-accent {
  color: #F4C430;
  font-style: normal;
}

.logo span {
  color: #E8E8EE;
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  margin: 0;
}

.main-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #B0B0C0;
  text-decoration: none;
  padding: 6px 18px;
  transition: color 0.15s;
  white-space: nowrap;
  position: relative;
}

.main-nav a:hover { color: #E8E8EE; }

.main-nav a.active {
  color: #E8E8EE;
  font-weight: 600;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: #F4C430;
  border-radius: 1px;
}

.nav-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-ext-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: #707085;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.header-ext-link:hover {
  color: #B0B0C0;
  background: rgba(255,255,255,0.06);
}

.header-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
  padding: 0 2px;
  user-select: none;
}

.header-home-link { color: #909090; }
.header-home-link:hover { color: #B0B0C0; }

.header-ext-icon {
  font-size: 0.875rem;
  line-height: 1;
}

/* USER BADGE */
.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A855F7 0%, #3B82F6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.user-badge-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #B0B0C0;
}

/* BOTONES AUTH */
.btn-primary.btn-sm {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0A0A14;
  background: #F4C430;
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 6px;
  transition: opacity 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary.btn-sm:hover { opacity: 0.88; }

.btn-ghost.btn-sm {
  font-size: 0.75rem;
  font-weight: 500;
  color: #707085;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  transition: color 0.15s, border-color 0.15s;
  background: transparent;
  cursor: pointer;
}

.btn-ghost.btn-sm:hover {
  color: #B0B0C0;
  border-color: rgba(255,255,255,0.2);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-4xl) var(--s-lg);
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* ── Hero background — 4 columnas superpuestas ──────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-col {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38%;       /* más ancho que 25% para que se superpongan */
  overflow: hidden;
  /* bordes difusos en ambos lados */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* posiciones con solapamiento de ~13% */
.hero-col:nth-child(1) { left: 0;   -webkit-mask-image: linear-gradient(to right, black 0%, black 80%, transparent 100%); mask-image: linear-gradient(to right, black 0%, black 80%, transparent 100%); }
.hero-col:nth-child(2) { left: 21%; }
.hero-col:nth-child(3) { left: 42%; }
.hero-col:nth-child(4) { left: 63%; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 100%); mask-image: linear-gradient(to right, transparent 0%, black 20%, black 100%); }

.hero-col-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  will-change: opacity;
  /* zoom 15% para ocultar watermarks de esquinas */
  transform: scale(1.15);
  transform-origin: center center;
}

.hero-col-slide.active {
  opacity: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(59, 130, 246, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(168, 85, 247, 0.07) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  /* halo oscuro detrás del texto */
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.30) 50%, transparent 75%);
  padding: var(--s-3xl) var(--s-4xl);
  border-radius: 50%;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--s-md);
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-lg);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.9)) drop-shadow(0 1px 3px rgba(0,0,0,1));
}

.hero h1 .accent {
  background: linear-gradient(90deg,
    #A06010 0%,  #C87B00 5%,  #F5C842 18%, #FFF0A0 23%,
    #ffffff 25%, #FFF0A0 27%, #F5C842 33%, #C87B00 45%,  #A06010 50%,
    #C87B00 55%, #F5C842 68%, #FFF0A0 73%,
    #ffffff 75%, #FFF0A0 77%, #F5C842 83%, #C87B00 95%,  #A06010 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shimmer 16s linear infinite;
}

.hero-sub {
  font-size: 1.125rem;
  color: #ffffff;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto var(--s-xl);
  text-shadow: 0 1px 8px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.8);
}

.hero-cta {
  display: flex;
  gap: var(--s-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-login-link {
  display: block;
  margin-top: var(--s-sm);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  transition: color 0.2s;
}
.hero-login-link:hover {
  color: rgba(255,255,255,0.9);
}

/* ── Fan Quotes Ticker ───────────────────────────────────── */
.fan-quotes-wrap {
  overflow: hidden;
  padding: 2.2rem 0;
  position: relative;
}

.fan-quote-ticker {
  white-space: nowrap;
  will-change: transform;
}

.fan-quote-text {
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: #F5C842;
  text-shadow: 0 0 20px rgba(245, 200, 66, 0.3);
  padding: 0 4rem;
  white-space: nowrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--s-xl);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-muted);
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================================
   STATS ROW
   =================================== */

.stats-row {
  display: flex;
  justify-content: center;
  gap: var(--s-4xl);
  padding: var(--s-3xl) 0;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ===================================
   SECTION CARDS (PREVIEW)
   =================================== */

.sections-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}

.section-card {
  position: relative;
  display: block;
  background-size: cover;
  background-position: center;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border);
  transition: all var(--t-slow);
  min-height: 300px;
}

.section-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 40%, rgba(10,10,20,0.95) 100%),
    linear-gradient(90deg, rgba(10,10,20,0.45) 0%, transparent 18%, transparent 82%, rgba(10,10,20,0.45) 100%),
    linear-gradient(0deg, rgba(10,10,20,0.6) 0%, transparent 12%);
  z-index: 1;
}

.section-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent, var(--text-muted));
  box-shadow: var(--shadow-lg);
}

.section-card-icon {
  position: absolute;
  top: var(--s-xl);
  left: var(--s-xl);
  font-size: 2rem;
  z-index: 2;
  color: var(--bg-base);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.section-card h3 {
  position: relative;
  padding: 0 var(--s-xl);
  margin-top: calc(var(--s-xl) + 4rem);
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,1), 0 4px 16px rgba(0,0,0,0.8);
}

.section-card p {
  position: relative;
  padding: var(--s-sm) var(--s-xl);
  font-size: 0.875rem;
  color: rgba(232, 232, 238, 0.9);
  line-height: 1.6;
  z-index: 2;
}

.section-card-footer {
  position: absolute;
  bottom: var(--s-xl);
  left: var(--s-xl);
  right: var(--s-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.section-card-footer span:first-child {
  font-size: 0.8125rem;
  color: rgba(232, 232, 238, 0.7);
}

.section-card-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  z-index: 3;
  pointer-events: none;
}

.section-card-enter {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--card-accent, var(--text));
  white-space: nowrap;
}

/* ===================================
   TEASER STRIP (LATEST UPDATES)
   =================================== */

.teaser-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-md);
}

.teaser-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
  text-decoration: none;
  color: var(--text);
}

.teaser-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.teaser-thumb {
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-family: var(--f-display);
  position: relative;
}

.teaser-thumb .badge {
  position: absolute;
  top: var(--s-sm);
  left: var(--s-sm);
  padding: var(--s-2xs) var(--s-sm);
  background: var(--c-vip, #F4C430);
  color: var(--bg-base);
  border-radius: var(--r-sm);
  font-size: 0.6875rem;
  font-weight: 600;
}

.teaser-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teaser-info {
  padding: var(--s-md);
}

.teaser-info h5 {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--s-2xs);
  line-height: 1.4;
}

.teaser-info span {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ===================================
   FEATURES GRID
   =================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}

.feature-item {
  text-align: center;
  padding: var(--s-2xl) var(--s-lg);
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px var(--border);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--s-md);
  display: block;
}

.feature-item h4 {
  font-size: 1.125rem;
  margin-bottom: var(--s-sm);
  font-weight: 600;
}

.feature-item p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}

.testimonial {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
}

.testimonial p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--s-md);
}

.testimonial-author {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cta-section h2 {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--s-md);
}

.cta-section > .container {
  text-align: center;
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--s-xl);
  line-height: 1.7;
}

.age-notice {
  display: flex;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: var(--s-md);
  background: rgba(239, 68, 68, 0.1);
  border-radius: var(--r-md);
  display: inline-flex;
}

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

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: var(--s-3xl) 0 var(--s-xl);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--s-2xl);
  flex-wrap: wrap;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: var(--s-sm);
  max-width: 300px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: var(--s-2xl);
}

.footer-col h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--s-md);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--s-xs);
  transition: color var(--t-base);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: var(--s-2xl);
  padding-top: var(--s-xl);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===================================
   BADGES & LABELS
   =================================== */

.badge {
  display: inline-block;
  padding: var(--s-2xs) var(--s-sm);
  background: var(--c-vip, #F4C430);
  color: var(--bg-base);
  border-radius: var(--r-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--new {
  background: var(--c-comic, #3B82F6);
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
  .sections-preview {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .teaser-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Hamburger & Mobile Drawer ───────────────────────────── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: rgba(10,10,20,0.97);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--s-md) var(--s-lg);
  flex-direction: column;
  gap: 0;
  z-index: 99;
}
.mobile-drawer a {
  padding: var(--s-md) 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-drawer a:last-child { border-bottom: none; }
.mobile-drawer a:hover { color: var(--text); }
.mobile-drawer.open { display: flex; }

.site-header { position: relative; }

@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
  .header-ext-desktop { display: none; }
  .user-badge-desktop { display: none; }
  .main-nav { display: none; }

  /* Hero: solo 2 columnas */
  .hero-col:nth-child(3),
  .hero-col:nth-child(4) { display: none; }

  .hero-col { width: 55%; }
  .hero-col:nth-child(1) {
    left: 0;
    -webkit-mask-image: linear-gradient(to right, black 0%, black 75%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 75%, transparent 100%);
  }
  .hero-col:nth-child(2) {
    left: 46%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .stats-row {
    flex-direction: column;
    gap: var(--s-xl);
    align-items: center;
  }
  
  .stat-value {
    font-size: 2.5rem;
  }
  
  .sections-preview {
    grid-template-columns: 1fr;
  }
  
  .teaser-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .teaser-strip > :last-child {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-row {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--s-lg);
  }
}

/* ===================================
   AREA PAGE STYLES
   =================================== */

.area-page {
  --section-color: #8b5cf6;
}

.breadcrumb-nav {
  padding: var(--s-md) 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.breadcrumb-link {
  color: var(--text-muted);
  transition: color var(--t-base);
}

.breadcrumb-link:hover {
  color: var(--section-color, var(--c-vip));
}

.breadcrumb-sep {
  margin: 0 var(--s-sm);
  color: var(--text-muted);
}

.breadcrumb-current {
  color: var(--text);
}

.section-hero {
  padding: calc(var(--header-h) + var(--s-2xl)) 0 var(--s-xl);
  background: radial-gradient(ellipse at top, var(--section-color-glow, rgba(139, 92, 246, 0.08)) 0%, transparent 60%);
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--s-sm);
}

.section-icon {
  color: var(--section-color, var(--c-vip));
  display: inline-block;
  margin-right: var(--s-sm);
}

.section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.7;
  margin-bottom: var(--s-lg);
}

/* Stats in section hero */
.section-stats {
  display: flex;
  gap: var(--s-xl);
  flex-wrap: wrap;
}

.stat-item {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.stat-item strong {
  color: var(--section-color, var(--c-vip));
  font-weight: 600;
}

/* Section Divider */
.divider-year {
  margin: var(--s-3xl) auto;
  width: 1px;
  height: var(--s-2xl);
  background: linear-gradient(180deg, transparent 0%, var(--border) 50%, transparent 100%);
}

.year-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-xl);
}

.year-label {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.update-count {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

/* ===================================
   PAGINAS GENERALES
   =================================== */

.page-wrapper {
  min-height: calc(100vh - var(--header-h));
  padding: var(--s-3xl) 0;
}

.page-container {
  max-width: 960px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: var(--s-2xl);
}

.page-title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--s-sm);
}

.page-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
  box-shadow: var(--shadow-sm);
}

.mb-4 { margin-bottom: var(--s-xl); }
.mt-3 { margin-top: var(--s-lg); }

/* Formularios */
.form-group { margin-bottom: var(--s-lg); }
.form-actions { margin-top: var(--s-xl); }

label.col-label {
  display: block;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--s-2xs);
}

input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-sm) var(--s-md);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--t-base);
}

input[type="text"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-1, #F4C430);
}

/* Utilidades */
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.flex { display: flex; }
.gap-4 { gap: var(--s-lg); }
.align-items-center { align-items: center; }

/* Updates Grid */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-xl);
  margin-bottom: var(--s-3xl);
}

.update-card {
  text-decoration: none;
  color: inherit;
  transition: all var(--t-base);
}

.update-thumbnail {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: var(--s-md);
  background: var(--bg-surface);
}

.update-thumbnail img,
.update-thumbnail .placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.update-card:hover .update-thumbnail img {
  transform: scale(1.05);
}

.img-count {
  position: absolute;
  top: var(--s-sm);
  right: var(--s-sm);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: var(--s-2xs) var(--s-sm);
  border-radius: var(--r-md);
  font-size: 0.75rem;
  font-weight: 600;
}

.update-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.update-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.meta-group {
  display: flex;
  gap: var(--s-md);
  margin-top: var(--s-xl);
  padding-left: calc(100% - 9px);
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.update-meta-item {
  padding-left: 9px;
  position: relative;
}

.update-meta-item:not(:last-child)::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* Area Year Section */
.area-year-section {
  margin-bottom: var(--s-3xl);
}

.year-header-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-lg);
}

.year-label-area {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.update-count-area {
  font-family: var(--f-display);
  font-weight: 700;
}

.divider-area {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 33%, rgba(255, 255, 255, 0.1) 66%, transparent 100%);
  margin: 0 var(--s-xl);
}

/* ===================================
   SUB NAVIGATION
   =================================== */

.sub-nav {
  display: flex;
  gap: var(--s-lg);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--s-2xs);
  margin-bottom: var(--s-xl);
  overflow-x: auto;
}

.sub-nav-item {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: var(--s-sm) 0;
  position: relative;
  transition: color var(--t-base);
}

.sub-nav-item:hover,
.sub-nav-item.active {
  color: var(--section-color, var(--c-vip));
}

.sub-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: calc(-1px);
  left: 0;
  right: 0;
  height: 2px;
  background: var(--section-color, var(--c-vip));
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

.suggestions-badge {
  position: relative;
}

/* ===================================
   PAGE CONTENT / AREA CONTENT
   =================================== */

.page-content {
  padding-top: var(--s-xl);
  padding-bottom: var(--s-3xl);
}

.area-page .page-content {
  min-height: calc(100vh - 400px); /* Ajuste dinámico para scroll */
}

.section-heading {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--s-lg);
}

.empty-state {
  text-align: center;
  padding: var(--s-2xl) var(--s-lg);
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

.empty-state h3 {
  font-size: 1.25rem;
  margin-bottom: var(--s-sm);
  color: var(--text);
}

.empty-state p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===================================
   PLACEHOLDER IMAGES
   =================================== */

.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-surface) 25%, var(--bg-elevated) 25%, var(--bg-elevated) 50%, var(--bg-surface) 50%, var(--bg-surface) 75%, var(--bg-elevated) 75%, var(--bg-elevated) 100%);
  background-size: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.placeholder-image.vip { --theme-color: #F4C430; }
.placeholder-image.yurihaven { --theme-color: #FF6B9D; }
.placeholder-image.slavetoon { --theme-color: #A855F7; }
.placeholder-image.comic-corner { --theme-color: #3B82F6; }
.placeholder-image.ai-curator { --theme-color: #10B981; }
.placeholder-image.futarama { --theme-color: #EF4444; }

.ratio-3-4 {
  padding-bottom: 133.33%;
}

/* ===================================
   UTILITIES
   =================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===================================
   DASHBOARD / MEMBERS PAGE
   =================================== */

.page-content {
  padding-top: var(--s-3xl);
}

.dashboard-welcome {
  text-align: center;
  margin-bottom: var(--s-2xl);
}

.dashboard-welcome h1 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--s-sm);
}

.dashboard-welcome p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* People's Choice Banner */
.choice-banner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(168, 85, 247, 0.1));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  margin-bottom: var(--s-2xl);
}

.choice-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-xl);
  align-items: center;
}

.choice-banner h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--s-sm);
}

.choice-banner h3 span {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.choice-status {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--s-md);
}

/* Progress Bar */
.choice-progress-wrap {
  width: 300px;
}

.choice-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: var(--s-sm);
}

.progress {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #60A5FA 0%, #A78BFA 100%);
  border-radius: var(--r-full);
  transition: width 0.3s ease;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--s-xl);
  align-items: start;
}

/* Sections Grid (Dashboard) */
.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s-lg);
}

/* Feed Items */
.feed-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--s-md);
  padding: var(--s-md);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t-base);
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.feed-item-thumb {
  width: 180px;
  height: 120px;
  border-radius: var(--r-md);
  overflow: hidden;
}

.feedback-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--s-sm);
  line-height: 1.4;
}

.feed-item-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--s-md);
}

.card-meta {
  display: flex;
  gap: var(--s-sm);
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge--vip { background: var(--c-vip); color: var(--bg-base); }
.badge--yuri { background: var(--c-yuri); color: var(--bg-base); }
.badge--comic { background: var(--c-comic); color: var(--bg-base); }
.badge--ai { background: var(--c-ai); color: var(--bg-base); }

/* Sidebar Cards */
.dashboard-sidebar {
  position: sticky;
  top: calc(var(--s-lg) + 80px); /* Header height + spacing */
}

.announcement-card,
.quick-links-card,
.account-stats-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  margin-bottom: var(--s-lg);
}

.announcement-icon {
  display: block;
  font-size: 2rem;
  color: var(--c-vip);
  margin-bottom: var(--s-sm);
}

.quick-links-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.quick-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--t-base);
  padding: var(--s-sm) 0;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-md);
}

.stat-item {
  text-align: center;
  padding: var(--s-md);
  background: rgba(255, 204, 0, 0.05);
  border-radius: var(--r-md);
}

.stat-value {
  display: block;
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--s-2xs);
}

.stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-muted {
  color: var(--text-muted);
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-sidebar {
    position: static;
  }
  
  .choice-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .choice-progress-wrap {
    max-width: 300px;
    margin: var(--s-lg) auto 0;
  }
}

@media (max-width: 768px) {
  .feed-item {
    grid-template-columns: 120px 1fr;
  }

  .feed-item-thumb {
    width: 120px;
    height: 90px;
  }
}

/* ── Stats section background ────────────────────────────── */
.stats-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.25);
  transform: scale(1.05);
  z-index: 0;
}

.stats-section-wrap {
  position: relative;
  z-index: 1;
}

/* ── Filmstrip ───────────────────────────────────────────── */
.filmstrip {
  overflow: hidden;
  height: 110px;
  background: var(--bg-base);
}

.filmstrip-track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: filmstrip-scroll 35s linear infinite;
}

.filmstrip-track:hover {
  animation-play-state: paused;
}

.filmstrip-img {
  width: 175px;
  height: 110px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  opacity: 0.75;
  transition: opacity 0.3s;
}

.filmstrip-img:hover {
  opacity: 1;
}

@keyframes filmstrip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Feature items with background ──────────────────────── */
.feature-item {
  position: relative;
  overflow: hidden;
  background-image: var(--feature-bg, none);
  background-size: cover;
  background-position: center;
}

.feature-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 15, 0.82);
  border-radius: inherit;
  z-index: 0;
}

.feature-item > * {
  position: relative;
  z-index: 1;
}

/* ── Community stats grid ────────────────────────────────── */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
}

.community-stat {
  text-align: center;
  padding: var(--s-2xl) var(--s-lg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, var(--r-lg));
  background: var(--bg-elevated);
  transition: border-color 0.2s, transform 0.2s;
}

.community-stat:hover {
  border-color: var(--border-default, var(--border));
  transform: translateY(-2px);
}

.community-value {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(90deg,
    #A06010 0%,  #C87B00 5%,  #F5C842 18%, #FFF0A0 23%,
    #ffffff 25%, #FFF0A0 27%, #F5C842 33%, #C87B00 45%,  #A06010 50%,
    #C87B00 55%, #F5C842 68%, #FFF0A0 73%,
    #ffffff 75%, #FFF0A0 77%, #F5C842 83%, #C87B00 95%,  #A06010 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--s-sm);
  animation: gold-shimmer 16s linear infinite;
}

.community-label {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--s-xs);
}

.community-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .community-value {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .community-stat {
    padding: var(--s-lg) var(--s-md);
  }
}

/* ── Community filmstrip rows ────────────────────────────── */
.community-section {
  background: transparent;
  padding-top: var(--s-4xl);
  padding-bottom: var(--s-4xl);
}

.community-row-wrap {
  position: relative;
  overflow: hidden;
  padding: var(--s-lg) 0;
  margin: 3px 0;        /* casi se tocan, sin tocarse */
}

.community-filmstrip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;  /* centrar filmstrip verticalmente */
}

.community-row-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 15, 0.50);
  z-index: 1;
}

.community-grid-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
}

/* community filmstrip fills its row height */
.community-filmstrip .filmstrip-track {
  height: 100%;
  align-items: stretch;
}

.community-filmstrip .filmstrip-img {
  height: 100%;
  min-height: 180px;
  width: 220px;
}

/* filmstrip reverse direction */
.filmstrip-track--reverse {
  animation-name: filmstrip-scroll-reverse;
}

@keyframes filmstrip-scroll-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* sombra detrás del texto — value usa gradient clip, necesita filter */
.community-row-wrap .community-value {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,1)) drop-shadow(0 1px 3px rgba(0,0,0,1));
}

.community-row-wrap .community-label,
.community-row-wrap .community-sub {
  text-shadow: 0 1px 5px rgba(0,0,0,1), 0 2px 10px rgba(0,0,0,0.9);
}

/* remove card border/bg since filmstrip is the background */
.community-row-wrap .community-stat {
  background: transparent;
  border-color: rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .community-section {
    padding-top: var(--s-2xl);
    padding-bottom: var(--s-2xl);
  }
  .community-grid-row {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-md);
  }
  .community-row-wrap {
    padding: var(--s-md) 0;
  }
  .community-filmstrip .filmstrip-img {
    min-height: 130px;
    width: 160px;
  }
}

/* ── Gold shimmer seamless (patrón doble, loop sin salto) ── */
/*    Duración 16s. Gradiente 0-50% idéntico a 50-100%       */
/*    → animar 0% a 100% = avanza exactamente 1 período       */
@keyframes gold-shimmer {
  from { background-position: 0% center; }
  to   { background-position: 100% center; }
}
