/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Oswald:wght@400;700&display=swap');

:root {
    --color-bg: #050505;
    --color-surface: rgba(20, 20, 20, 0.7);
    --color-primary: #e62429;
    --color-secondary: #f3a953;
    --color-text-main: #ffffff;
    --color-text-muted: #a0a0a0;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Utilities */
.section-title {
    font-size: 3rem; text-align: center; margin-bottom: 3rem; color: var(--color-text-main);
    position: relative; padding-bottom: 1rem;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px; background-color: var(--color-primary); box-shadow: 0 0 10px var(--color-primary);
}
.text-accent { color: var(--color-primary); }

.btn {
    display: inline-block; padding: 1rem 2rem; font-family: var(--font-heading);
    font-size: 1.1rem; font-weight: 700; border: 2px solid transparent; cursor: pointer;
    text-align: center; position: relative; overflow: hidden; z-index: 1; border-radius: 4px;
}
.btn-primary { background-color: var(--color-primary); color: #fff; box-shadow: 0 0 15px rgba(230, 36, 41, 0.4); }
.btn-primary:hover { background-color: transparent; border-color: var(--color-primary); box-shadow: 0 0 25px rgba(230, 36, 41, 0.8); color: var(--color-primary); }
.btn-outline { background-color: transparent; border-color: var(--color-text-main); color: var(--color-text-main); }
.btn-outline:hover { background-color: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.btn-small { padding: 0.5rem 1.2rem; font-size: 0.9rem; }

.glass-panel {
    background: var(--color-surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 2rem;
}

/* Navbar */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 1.5rem 5%; display: flex;
    justify-content: space-between; align-items: center; z-index: 1000; transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95); backdrop-filter: blur(10px); padding: 1rem 5%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo { display: flex; flex-direction: column; align-items: center; }
.logo-main { font-family: var(--font-heading); font-weight: 700; font-size: 1.8rem; letter-spacing: 2px; color: var(--color-primary); text-shadow: 0 0 10px rgba(230, 36, 41, 0.5); line-height: 1; }
.logo-sub { font-size: 0.7rem; color: #fff; letter-spacing: 4px; font-weight: 600; }

.nav-links { display: flex; gap: 2rem; }
.nav-links li a { font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; position: relative; transition: color 0.3s; }
.nav-links li a:hover { color: var(--color-primary); }
.nav-links li a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background-color: var(--color-primary); transition: var(--transition);
}
.nav-links li a:hover::after { width: 100%; }

.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; z-index: 1001; }

/* Hero */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
    position: relative; background: url('../images/hero_bg.png') no-repeat center center/cover;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,5,5,0.6) 0%, rgba(5,5,5,1) 100%); }
.hero-content { position: relative; z-index: 10; max-width: 900px; padding: 0 20px; }
.hero-badge {
    display: inline-block; background-color: transparent; border: 1px solid var(--color-primary); color: var(--color-primary);
    padding: 0.3rem 1rem; font-size: 0.9rem; font-weight: bold; letter-spacing: 2px; border-radius: 4px; margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(230, 36, 41, 0.3);
}
.hero-title { font-size: 5.5rem; margin-bottom: 1rem; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.8); line-height: 1.1; }
.hero-quote { font-size: 1.5rem; font-weight: 300; color: #fff; margin-bottom: 1.5rem; font-style: italic; opacity: 0.9; }
.hero-desc { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; justify-content: center; gap: 1.5rem; }

.hero-preview-container {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}
.hero-preview-container.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    max-height: 500px;
    margin-top: 3rem;
}

/* Section Base */
.section { padding: 6rem 5%; }

/* Intro & Story */
.intro-story { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: flex-start; max-width: 1200px; margin: 0 auto; }
.intro-text p, .story-text p { font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--color-text-muted); }
.highlight-quote {
    font-size: 1.4rem; color: var(--color-text-main); border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem; margin: 2rem 0; font-weight: 600; font-style: italic;
}
.story-text ul { margin-bottom: 1.5rem; }
.story-text li { margin-bottom: 0.5rem; color: var(--color-text-muted); position: relative; padding-left: 1.5rem; }
.story-text li::before { content: '•'; color: var(--color-primary); position: absolute; left: 0; font-size: 1.2rem; }

/* Characters */
.characters { background: #080808; position: relative; }
.characters::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(230, 36, 41, 0.03) 0%, transparent 70%); }
.character-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.char-card { transition: var(--transition); border-top: 3px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; }
.char-card:hover { transform: translateY(-10px); border-top-color: var(--color-primary); box-shadow: 0 10px 30px rgba(230, 36, 41, 0.1); }
.char-img-placeholder { width: 100%; height: 200px; background: #111; border-radius: 8px; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.1); font-family: var(--font-heading); font-size: 2rem; }
.char-img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; margin-bottom: 1.5rem; display: block; border: 1px solid rgba(255,255,255,0.05); }
.char-role { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-primary); margin-bottom: 0.5rem; display: block; font-weight: 600; }
.char-name { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--color-text-main); }
.char-desc { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.5; }

/* Episodes */
.episodes { background: #050505; }
.episodes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.ep-card { background: #0a0a0a; border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.ep-card:hover { border-color: rgba(230, 36, 41, 0.3); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.ep-poster { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid rgba(255,255,255,0.05); background: #111; }
.ep-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.ep-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.ep-number { color: var(--color-primary); font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; }
.ep-status { font-size: 0.8rem; padding: 0.3rem 0.6rem; border-radius: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.ep-status.released { background: rgba(230, 36, 41, 0.1); color: var(--color-primary); border: 1px solid rgba(230, 36, 41, 0.3); }
.ep-status.upcoming { background: rgba(255,255,255,0.05); color: var(--color-text-muted); border: 1px solid rgba(255,255,255,0.1); }
.ep-title { font-size: 1.4rem; margin-bottom: 1rem; line-height: 1.3; }
.ep-desc { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; flex: 1; }

/* OST Section */
.ost-section { padding: 6rem 5%; background: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.02); }
.ost-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; text-align: center; }
.ost-content { }
.ost-title { font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.1; }
.ost-desc { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }
.ost-quote { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.5; color: #fff; margin: 2rem 0; padding-left: 1.5rem; border-left: 4px solid var(--color-primary); }
.ost-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }
.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); }
.video-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-placeholder { position: absolute; inset: 0; background: url('../images/mv_ost_thumb.png') center/cover; display: flex; align-items: center; justify-content: center; }
.video-placeholder::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.play-btn { width: 70px; height: 70px; background: rgba(230,36,41,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; transition: var(--transition); }
.play-btn::after { content: ''; width: 0; height: 0; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 20px solid #fff; margin-left: 5px; }
.video-placeholder:hover .play-btn { transform: scale(1.1); background: var(--color-primary); box-shadow: 0 0 20px rgba(230,36,41,0.5); }

/* BTS */
.bts-content { max-width: 800px; margin: 0 auto; text-align: center; }
.bts-img { width: 100%; border-radius: 12px; margin-bottom: 2rem; border: 1px solid rgba(255,255,255,0.05); }

/* CTA */
.cta-section { background: linear-gradient(135deg, rgba(20,20,20,1) 0%, rgba(5,5,5,1) 100%); padding: 6rem 5%; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 600px; height: 1px; background: linear-gradient(90deg, transparent, var(--color-primary), transparent); }
.cta-title { font-size: 3.5rem; margin-bottom: 1.5rem; }
.cta-desc { font-size: 1.2rem; color: var(--color-text-muted); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Footer */
.footer { background: #020202; padding: 4rem 5% 2rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 1.5rem; }
.footer-logo-main { font-family: var(--font-heading); font-size: 2.5rem; color: var(--color-primary); line-height: 1; }
.footer-logo-sub { font-size: 0.8rem; letter-spacing: 5px; color: #fff; }
.footer-desc { color: var(--color-text-muted); margin-bottom: 2.5rem; }
.social-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; }
.social-links a { color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.social-links a:hover { color: var(--color-primary); }
.copyright { color: rgba(255,255,255,0.3); font-size: 0.85rem; }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .intro-story, .ost-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 4rem; }
    .hero-quote { font-size: 1.2rem; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 250px; height: 100vh; background: #050505; flex-direction: column; padding: 6rem 2rem; transition: right 0.3s ease; border-left: 1px solid rgba(255,255,255,0.1); }
    .nav-links.active { right: 0; }
    .hero-title { font-size: 3rem; }
    .hero-actions, .cta-actions, .ost-actions { flex-direction: column; gap: 1rem; }
    .btn { width: 100%; }
    .section-title { font-size: 2.5rem; }
    .episodes-grid, .character-grid { grid-template-columns: 1fr; }
    .section { padding: 4rem 5%; }
}
