:root {
    --primary-color: #9932CC;
    --bg-color: #000;
    --text-color: #fff;
    --text-secondary: #ccc;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(0, 0, 0, 0.7);
    --overlay-bg: rgba(0, 0, 0, 0.55);
    --dark-section-bg: rgba(20, 0, 30, 0.5); 
    --parallax-overlay: rgba(0, 0, 0, 0.88);
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

nav {
    width: 100%; position: fixed; top: 0; left: 0;
    background: var(--nav-bg); backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); z-index: 1000;
}
.navbar-container { max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo { font-size: 1.6rem; font-weight: 700; color: var(--primary-color); text-shadow: 0 0 10px var(--primary-color); text-decoration: none; }
.menu { display: flex; gap: 30px; }
.menu a { color: var(--text-color); text-decoration: none; font-weight: 500; position: relative; transition: color 0.3s ease; }
.menu a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 2px; background-color: var(--primary-color); transition: 0.3s; }
.menu a:hover, .menu a.active { color: var(--primary-color); }
.menu a:hover::after, .menu a.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger div { width: 25px; height: 3px; background-color: var(--text-color); }

.hero {
    height: 100vh;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    text-align: center; position: relative; padding-top: 60px;
    background: var(--bg-color);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; 
    background: var(--overlay-bg);
    z-index: 5;
}

.hero-content { 
    position: relative; z-index: 10; max-width: 700px; padding: 20px;
}
.hero h1 { font-size: 3.5rem; text-shadow: 0 0 20px var(--primary-color); margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: #ddd; margin-bottom: 25px; }
.cta-button {
    background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color);
    padding: 10px 25px; border-radius: 25px; font-size: 1rem; cursor: pointer;
    transition: all 0.3s ease; text-decoration: none; font-weight: 500;
}
.cta-button:hover { 
    background: var(--primary-color); color: var(--text-color); 
    box-shadow: 0 0 20px var(--primary-color); 
}

.content-section {
    opacity: 1; transition: opacity 0.6s ease-out, transform 0.6s ease-out; 
    max-width: 1200px; margin: 60px auto; padding: 20px; text-align: center;
}
.content-section h2 { 
    font-size: 2.2rem; 
    color: var(--primary-color); 
    text-shadow: 0 0 10px var(--primary-color); 
    margin-bottom: 20px; 
}
.content-section p { color: var(--text-secondary); line-height: 1.6; font-size: 1rem; max-width: 800px; margin: 0 auto; }

.episode-list {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 25px; margin-top: 40px;
}
.episode {
    opacity: 1; transition: opacity 0.6s ease-out, transform 0.6s ease-out; 
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 15px; padding: 20px; width: 280px;
    text-align: center; backdrop-filter: blur(6px);
    box-shadow: 0 0 10px rgba(153, 50, 204, 0.2); 
}
.episode:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 0 25px rgba(153, 50, 204, 0.6); 
}
.episode h3 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.2rem; }
.episode p { color: #ddd; font-size: 0.95rem; margin: 0; }

#videos-section-container {
    background: url('../assets/background.png') no-repeat center fixed; 
    background-size: cover;
    position: relative;
    padding: 80px 0;
}
#videos-section-container::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--parallax-overlay); z-index: 1;
}
.video-section-content { position: relative; z-index: 2; max-width: 1200px; margin: auto; }
.video-episode-block {
    display: flex; align-items: center; gap: 3rem;
    margin: 3rem auto; padding: 3rem 4rem; max-width: 1100px;
    background: var(--dark-section-bg);
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(153, 50, 204, 0.4);
    transition: all 0.5s ease;
    opacity: 1;
}
.video-episode-block.reverse { flex-direction: row-reverse; }
.video-episode-block:hover { box-shadow: 0 0 40px var(--primary-color); }
.video-media { flex: 1.2; }
.video-media video {
    width: 100%; height: auto; border-radius: 12px;
    border: 4px solid var(--primary-color);
}
.video-text-content { text-align: left; flex: 1; }
.video-text-content h3 {
    font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(153, 50, 204, 0.8);
}
.video-text-content p { font-size: 1.1rem; line-height: 1.7; color: var(--text-color); }

footer {
    text-align: center; padding: 30px; color: #aaa;
    border-top: 1px solid var(--card-border); margin-top: 0;
}

.hidden { opacity: 0; filter: blur(3px); transform: translateY(50px); }
.show { opacity: 1; filter: blur(0); transform: translateY(0); }

@media (max-width: 992px) {
    .video-episode-block, .video-episode-block.reverse { flex-direction: column; padding: 2rem; text-align: center; margin: 3rem 1rem; }
    .video-text-content { text-align: center; }
    .video-text-content h3 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .navbar-container { padding: 10px 20px; }
    .menu { position: absolute; top: 56px; left: 0; width: 100%; flex-direction: column; background: rgba(0, 0, 0, 0.9); display: none; text-align: center; padding: 20px 0; gap: 20px; }
    .menu.active { display: flex; animation: fadeIn 0.3s ease forwards; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    .episode { width: 100%; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}