/* 
 * STRAINVERSE 2.0: THE BINGE EDITION
 * "Google x Netflix x TikTok"
 */

:root {
    /* Palette 2888 */
    --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; /* Space for 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: THE 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%; height: 100%;
    background-position: center;
    background-size: cover;
    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(--sv-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: clamp(3rem, 10vw, 6rem);
    line-height: 0.9;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0,0,0,0.8);
    background: linear-gradient(to bottom, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* Standard property added */
}

.hero-desc {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn:active { transform: scale(0.95); }

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

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

/* --- QUICK STATS: THE "TINDER" CARDS --- */
.quick-stats-scroller {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 2rem;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.quick-stats-scroller::-webkit-scrollbar { display: none; }

/* Desktop: Center the cards */
@media (min-width: 900px) {
    .quick-stats-scroller {
        justify-content: center;
    }
}

.stat-card-v2 {
    min-width: 160px;
    background: var(--sv-card);
    border: 1px solid var(--sv-glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.stat-val { font-size: 1.5rem; font-weight: 800; font-family: 'Orbitron'; color: #fff; }
.stat-lbl { font-size: 0.7rem; text-transform: uppercase; color: var(--sv-text-muted); letter-spacing: 1px; }

/* --- VIBE CHECK: THE HUD --- */
.section-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.hud-panel {
    background: var(--sv-card);
    border: 1px solid var(--sv-glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hud-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--sv-neon-green);
    box-shadow: 0 0 15px var(--sv-neon-green);
}

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

.vibe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.vibe-slider-group { display: flex; flex-direction: column; gap: 1.5rem; }

.vibe-row { display: flex; align-items: center; gap: 1rem; }
.vibe-name { width: 60px; font-size: 0.8rem; font-weight: 600; color: #fff; }
.vibe-bar-bg { flex: 1; height: 8px; background: #333; border-radius: 4px; overflow: hidden; }
.vibe-bar-fill { height: 100%; background: linear-gradient(90deg, var(--sv-neon-green), var(--sv-neon-blue)); border-radius: 4px; }

.terp-radar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.terp-tag {
    display: flex;
    justify-content: space-between;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #fff;
}
.terp-tag span:last-child { color: var(--sv-neon-green); font-weight: 700; }

/* --- THE EPISODES (STORY) --- */
.episodes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}
.episodes-title { font-size: 2rem; color: #fff; }
.season-tag { color: var(--sv-text-muted); font-size: 0.9rem; }

.episode-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
    background: var(--sv-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: background 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.episode-card:hover {
    background: var(--sv-card-hover);
    border-color: var(--sv-glass-border);
}

.episode-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    position: relative;
}

.play-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #fff;
    opacity: 0.8;
}

.episode-content {
    padding: 1.5rem;
}

.episode-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: var(--sv-neon-blue);
    font-weight: 600;
    text-transform: uppercase;
}

.episode-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.episode-desc {
    font-size: 0.9rem;
    color: var(--sv-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property added */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Expanded Episode View (Hidden by default, toggled via JS ideally, but here we show full text for SEO/Reading) */
.episode-full-text {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

.chat-bubble {
    background: rgba(255,255,255,0.05);
    padding: 10px 15px;
    border-radius: 12px;
    margin: 10px 0;
    border-left: 3px solid;
    font-size: 0.9rem;
}
.chat-bubble.thorn { border-color: var(--sv-neon-green); }
.chat-bubble.juno { border-color: var(--sv-neon-pink); }
.chat-bubble.aris { border-color: var(--sv-neon-blue); }
.chat-bubble strong { display: block; font-size: 0.75rem; margin-bottom: 4px; opacity: 0.7; }

/* --- GROW HACK TERMINAL --- */
.terminal-box {
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    padding: 1.5rem;
    color: var(--sv-neon-green);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.terminal-header {
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.cmd-line { margin-bottom: 1rem; }
.cmd-line::before { content: '> '; color: #fff; }

.grow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}
.grow-stat { border: 1px dashed #333; padding: 10px; text-align: center; }
.grow-stat label { display: block; font-size: 0.7rem; color: #666; margin-bottom: 5px; }
.grow-stat span { font-size: 1.1rem; font-weight: bold; }

/* --- REVIEWS: SOCIAL PROOF --- */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

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

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}
.pc-col h4 { font-size: 0.8rem; margin-bottom: 0.5rem; text-transform: uppercase; }
.pc-col.pros h4 { color: var(--sv-neon-green); }
.pc-col.cons h4 { color: var(--sv-warning); }
.pc-col ul li { font-size: 0.85rem; color: #ccc; margin-bottom: 4px; display: flex; gap: 6px; }
.pc-col ul li::before { content: '•'; }

/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero-title { font-size: 3.5rem; }
}

/* --- ADSENSE PROTECTION (The "Trick") --- */
/* 
   Prevents Google Auto Ads from injecting INSIDE these complex components 
   and breaking the grid/flex layout. Forces ads to appear outside.
*/
.hero-section, .hud-panel, .terminal-box, .stat-card-v2, .episode-card, .review-card {
    overflow: hidden; 
    position: relative;
    z-index: 5; /* Slight elevation to discourage overlay injection */
}

/* Provides a "juicy" empty paragraph for Auto Ads to latch onto safely between sections */
.ad-safe-zone {
    width: 100%;
    min-height: 10px;
    margin: 2rem 0;
    display: block;
}
