/* 
 * STRAINVERSE 2.0: EDICIÓN ANDOVOLAO
 * "Diseño de Alta Dopamina - Modo Oscuro"
 */

:root {
    /* Paleta Andovolao Dark */
    --sv-bg: #050505;
    --sv-card: #121212;
    --sv-card-hover: #1a1a1a;
    --sv-neon-green: #39FF14;
    --sv-neon-blue: #00FFFF;
    --sv-neon-pink: #FF00FF;
    --sv-warning: #FF0000;
    --sv-text: #ffffff;
    --sv-text-muted: #a0a0a0;
    
    /* UI */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 20px rgba(57, 255, 20, 0.15);
}

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

body {
    background-color: var(--sv-bg);
    color: var(--sv-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 80px; /* Espacio para el footer */
}

h1, h2, h3, .font-display {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- HERO: EL TRAILER --- */
.hero-section {
    height: 85vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; aspect-ratio: 3/4;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, var(--sv-bg) 10%, transparent 80%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--glass-border);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    color: var(--sv-neon-green);
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0,0,0,0.8);
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--sv-neon-green);
    color: #000;
    border: none;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
}

.btn-glass {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.2);
}

.btn-affiliate {
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 0, 204, 0.3);
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-affiliate:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 204, 0.5);
}

/* --- QUICK STATS SCROLLER --- */
.quick-stats-scroller {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: auto;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--sv-card);
    border-bottom: 1px solid var(--glass-border);
    scrollbar-width: none; /* Firefox */
}
.quick-stats-scroller::-webkit-scrollbar { display: none; }

@media (max-width: 600px) {
    .quick-stats-scroller {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
}

.stat-card-v2 {
    flex: 0 0 auto;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    min-width: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.stat-val { font-weight: 800; font-size: 1.1rem; color: #fff; }
.stat-lbl { font-size: 0.75rem; color: var(--sv-text-muted); text-transform: uppercase; }

/* --- SECTIONS --- */
.section-container {
    padding: 3rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --- HUD PANEL --- */
.hud-panel {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.hud-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--sv-neon-green), transparent);
}

.hud-title {
    font-size: 1rem;
    color: var(--sv-text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vibe-grid { display: flex; flex-direction: column; gap: 2rem; }

.vibe-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.vibe-name { width: 80px; font-size: 0.85rem; font-weight: 600; }

.vibe-bar-bg {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    overflow: hidden;
}

.vibe-bar-fill {
    height: 100%;
    background: var(--sv-neon-green);
    border-radius: 100px;
    box-shadow: 0 0 10px var(--sv-neon-green);
}

.terp-radar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.terp-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.terp-tag span:first-child { font-weight: 700; color: #fff; }
.terp-tag span:last-child { font-size: 0.7rem; color: var(--sv-text-muted); }

/* --- EPISODES --- */
.episodes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.episodes-title { font-size: 1.5rem; color: #fff; }
.season-tag { font-family: 'Orbitron'; color: var(--sv-neon-pink); font-size: 0.9rem; }

.episode-card {
    background: var(--sv-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: minmax(460px, 1.2fr) 1fr;
    align-items: stretch;
}

.episode-card:hover {
    border-color: var(--glass-border);
    transform: translateY(-5px);
}

.episode-thumb {
    width: 100%;
    height: 100%;
    min-height: clamp(320px, 38vw, 580px);
    position: relative;
    overflow: hidden;
    background: var(--sv-card);
}

.episode-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.episode-card:hover .episode-thumb img { transform: none; }

.episode-content { padding: clamp(1.5rem, 3vw, 2.5rem); }

.episode-meta {
    font-size: 0.75rem;
    color: var(--sv-neon-blue);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.episode-title { font-size: 1.25rem; margin-bottom: 0.5rem; color: #fff; }
.episode-desc { font-size: 0.95rem; color: #ccc; line-height: 1.5; margin-bottom: 1rem; }

.btn-expand {
    background: none;
    border: none;
    color: var(--sv-neon-green);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
}

.episode-full-text {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- CHAT BUBBLES --- */
.chat-bubble {
    background: rgba(255,255,255,0.03);
    border-left: 3px solid #555;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-name {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

/* Character Colors */
.chat-bubble.thorn { border-color: var(--sv-neon-green); }
.chat-bubble.thorn .chat-name { color: var(--sv-neon-green); }

.chat-bubble.juno { border-color: var(--sv-neon-blue); }
.chat-bubble.juno .chat-name { color: var(--sv-neon-blue); }

.chat-bubble.aris { border-color: var(--sv-neon-pink); }
.chat-bubble.aris .chat-name { color: var(--sv-neon-pink); }

.chat-bubble.reddington { border-color: var(--sv-warning); }
.chat-bubble.reddington .chat-name { color: var(--sv-warning); }

.chat-bubble.kira { border-color: #ffaa00; }
.chat-bubble.kira .chat-name { color: #ffaa00; }

/* --- TERMINAL --- */
.terminal-box {
    background: #000;
    border: 1px solid #333;
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    color: #ccc;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.terminal-header {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.term-title { margin-left: 10px; font-size: 0.8rem; color: #666; }

.cmd-line {
    color: var(--sv-neon-green);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #222;
    padding-bottom: 0.5rem;
}

.grow-grid {
    display: grid;
    grid-template-columns: minmax(400px, 1.2fr) 1fr;
    gap: 1rem;
}

.grow-stat label {
    display: block;
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 2px;
}

.grow-stat span {
    color: #fff;
    font-weight: 700;
}

/* --- REVIEWS --- */
.review-grid {
    display: grid;
    gap: 1.5rem;
}

.review-card {
    background: var(--sv-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stars { color: #ffd700; }
.reviewer { font-weight: 700; color: #fff; }
.review-text { font-style: italic; color: #ccc; }

.pros-cons-grid {
    display: grid;
    grid-template-columns: minmax(400px, 1.2fr) 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pc-col h4 { font-size: 0.9rem; margin-bottom: 0.5rem; }
.pc-col ul { font-size: 0.85rem; color: #aaa; padding-left: 1rem; list-style: disc; }

.text-green { color: var(--sv-neon-green); }
.text-red { color: var(--sv-warning); }
.text-blue { color: var(--sv-neon-blue); }

/* --- UTILS --- */
.ad-safe-zone { height: 40px; width: 100%; }

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .episode-card { grid-template-columns: 1fr; }
    .episode-thumb {
        min-height: 0;
        aspect-ratio: 3/4;
    }
    .episode-thumb img {
        width: 100%;
        height: 100%;
    }
    .grow-grid { grid-template-columns: 1fr; }
    .pros-cons-grid { grid-template-columns: 1fr; }
}
/* Cache buster: Fri Mar 20 16:50:48 CET 2026 */
