/* HEREDEROS DEL SILENCIO - Estilos Principales */
:root {
    --crimson: #8B0000;
    --blood: #C41E3A;
    --gold: #D4AF37;
    --noir: #0a0a0a;
    --charcoal: #1a1a1a;
    --smoke: #2d2d2d;
    --silver: #c0c0c0;
    --ivory: #f5f5f0;
    --white: #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Crimson Pro', Georgia, serif;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-dramatic: 0 10px 40px rgba(139,0,0,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 18px; line-height: 1.8; color: var(--ivory); background: var(--noir); overflow-x: hidden; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 2rem; background: linear-gradient(180deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 100%); transition: all 0.3s ease; }
.header.scrolled { background: rgba(10,10,10,0.98); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.header-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--white); }
.logo-icon { font-size: 1.5rem; color: var(--blood); }
.logo-text { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 1px; }
.logo-text em { color: var(--gold); font-style: italic; }
.nav { display: flex; gap: 2rem; }
.nav-link { color: var(--silver); text-decoration: none; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s; position: relative; }
.nav-link:hover { color: var(--gold); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; padding: 6rem 2rem 2rem; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 80%, rgba(139,0,0,0.15) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(196,30,58,0.1) 0%, transparent 50%), linear-gradient(180deg, var(--noir) 0%, var(--charcoal) 50%, var(--crimson) 150%); z-index: -1; }
.hero-content { max-width: 800px; animation: fadeUp 1.2s ease; }
.hero-pre { font-size: 0.85rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 10vw, 6rem); font-weight: 400; line-height: 1.1; margin-bottom: 1rem; color: var(--white); }
.title-accent { display: block; font-style: italic; color: var(--blood); text-shadow: 0 0 60px rgba(196,30,58,0.5); }
.hero-tagline { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--gold); margin-bottom: 1.5rem; }
.hero-description { font-size: 1.1rem; color: var(--silver); max-width: 600px; margin: 0 auto 2rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 3rem; justify-content: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.stat { text-align: center; }
.stat-number { display: block; font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--silver); }
.hero-scroll { position: absolute; bottom: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--silver); font-size: 0.8rem; animation: bounce 2s infinite; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border: none; border-radius: 0; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { background: var(--blood); color: var(--white); box-shadow: var(--shadow-dramatic); }
.btn-primary:hover { background: var(--crimson); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--noir); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #b8860b); color: var(--noir); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.8rem; }

/* Sections */
.section { padding: 6rem 2rem; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-family: var(--font-display); font-size: 3rem; font-weight: 400; color: var(--white); margin-bottom: 0.5rem; }
.section-subtitle { font-size: 1.1rem; color: var(--silver); font-style: italic; }
.divider { width: 60px; height: 2px; background: var(--gold); margin: 1rem auto; }

/* Sinopsis */
.section-sinopsis { background: var(--charcoal); }
.sinopsis-content { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: center; }
.sinopsis-text p { margin-bottom: 1.5rem; color: var(--silver); }
.sinopsis-text p strong { color: var(--gold); }
.sinopsis-quote { background: rgba(139,0,0,0.1); border-left: 3px solid var(--blood); padding: 1.5rem; margin-top: 2rem; }
.sinopsis-quote i { color: var(--blood); font-size: 1.5rem; margin-bottom: 0.5rem; }
.sinopsis-quote p { font-style: italic; color: var(--ivory); margin: 0; }
.sinopsis-visual { display: flex; flex-direction: column; gap: 1rem; }
.visual-card { background: linear-gradient(135deg, var(--smoke), var(--charcoal)); border: 1px solid rgba(255,255,255,0.1); padding: 2rem; text-align: center; transition: all 0.3s ease; }
.visual-card:hover { transform: translateX(10px); border-color: var(--gold); }
.card-icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.card-text { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); }

/* Chapters Grid */
.section-capitulos { background: linear-gradient(180deg, var(--noir) 0%, var(--charcoal) 100%); }
.chapters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; }
.chapter-card { background: var(--smoke); border: 1px solid rgba(255,255,255,0.05); overflow: hidden; transition: all 0.4s ease; position: relative; }
.chapter-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blood), var(--gold)); transform: scaleX(0); transition: transform 0.4s ease; }
.chapter-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-dramatic); }
.chapter-card:hover::before { transform: scaleX(1); }
.chapter-image { height: 180px; background: linear-gradient(135deg, var(--crimson) 0%, var(--blood) 50%, var(--charcoal) 100%); position: relative; display: flex; align-items: center; justify-content: center; }
.chapter-number { position: absolute; top: 1rem; left: 1rem; background: rgba(0,0,0,0.7); color: var(--gold); padding: 0.4rem 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.chapter-badges { position: absolute; top: 1rem; right: 1rem; display: flex; gap: 0.5rem; }
.badge { padding: 0.3rem 0.6rem; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.badge-audio { background: var(--gold); color: var(--noir); }
.badge-video { background: #e74c3c; color: var(--white); }
.badge-new { background: #27ae60; color: var(--white); }
.chapter-content { padding: 1.5rem; }
.chapter-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: var(--white); margin-bottom: 0.25rem; }
.chapter-subtitle { font-style: italic; color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.chapter-synopsis { color: var(--silver); font-size: 0.95rem; margin-bottom: 1.5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chapter-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
.chapter-duration { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.chapter-actions { display: flex; gap: 0.5rem; }

/* Personajes */
.section-personajes { background: var(--charcoal); }
.personajes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.personaje-card { background: var(--smoke); padding: 2rem; text-align: center; border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease; position: relative; overflow: hidden; }
.personaje-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
.personaje-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.personaje-avatar { width: 80px; height: 80px; background: var(--accent); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 2rem; margin: 0 auto 1rem; }
.personaje-card h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: 0.25rem; }
.personaje-rol { color: var(--accent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; }
.personaje-desc { color: var(--silver); font-size: 0.95rem; }

/* CTA */
.section-cta { background: linear-gradient(135deg, var(--crimson) 0%, var(--noir) 100%); text-align: center; }
.cta-icon { font-size: 4rem; color: var(--gold); margin-bottom: 1.5rem; }
.cta-content h2 { font-family: var(--font-display); font-size: 2.5rem; color: var(--white); margin-bottom: 1rem; }
.cta-content p { color: var(--silver); max-width: 600px; margin: 0 auto 2rem; }

/* Footer */
.footer { background: var(--noir); padding: 4rem 2rem 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-text { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-brand p { color: var(--silver); }
.footer-links h4, .footer-social h4 { font-family: var(--font-display); color: var(--gold); margin-bottom: 1rem; }
.footer-links a { display: block; color: var(--silver); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--blood); }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { width: 40px; height: 40px; background: var(--smoke); color: var(--silver); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s; }
.social-icons a:hover { background: var(--blood); color: var(--white); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: var(--silver); font-size: 0.9rem; }

/* Loading */
.loading { text-align: center; padding: 4rem; grid-column: 1 / -1; }
.spinner { width: 50px; height: 50px; border: 3px solid var(--smoke); border-top-color: var(--gold); border-radius: 50%; margin: 0 auto 1rem; animation: spin 1s linear infinite; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* Responsive */
@media (max-width: 968px) { .sinopsis-content { grid-template-columns: 1fr; } .footer-content { grid-template-columns: 1fr; text-align: center; } .social-icons { justify-content: center; } }
@media (max-width: 768px) { .nav { display: none; } .mobile-menu-btn { display: block; } .hero-title { font-size: 2.5rem; } .chapters-grid { grid-template-columns: 1fr; } .section { padding: 4rem 1rem; } }
