/* ===== Global Styles ===== */
:root {
    --deep-navy: #0A0E17;
    --soft-pink: #E31C79;
    --wine-red: #8B0000;
    --muted-gold: #D4AF37;
    --dark-bg: #121212;
    --cream: #F8F4E9;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 14px;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--soft-pink);
    color: white;
    border-color: var(--soft-pink);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--soft-pink);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--dark-bg);
}

.section-title {
    font-size: 36px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--soft-pink);
}

/* ===== Header & Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
}

header.scrolled {
    background-color: var(--deep-navy);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--soft-pink);
    margin-left: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--soft-pink);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 40px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* ===== Hero Sections ===== */
.hero, .episodes-header, .community-hero, .blog-hero, .character-hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.hero::before, .episodes-header::before, 
.community-hero::before, .blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.146), rgba(10, 14, 23, 0.206));
    z-index: 1;
}

.character-hero::before {
    background: linear-gradient(to top, var(--deep-navy), transparent 70%);
}

.hero-video, .hero-image, .character-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content, .character-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero h1, .character-name {
    font-size: 72px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 span, .character-name span {
    color: var(--soft-pink);
}

.hero p, .character-actor {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.character-actor {
    font-size: 24px;
}

.character-quote {
    font-size: 20px;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    padding-left: 30px;
}

.character-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 60px;
    opacity: 0.3;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ===== Featured Sections ===== */
.featured {
    padding: 100px 0;
}

.watch-now, .countdown {
    background-color: var(--deep-navy);
    padding: 80px 0;
    margin: 60px 0;
    position: relative;
}

.countdown {
    background-color: var(--wine-red);
    text-align: center;
}

.watch-now::before, .countdown::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49%, var(--deep-navy) 50%), 
                linear-gradient(to top right, transparent 49%, var(--deep-navy) 50%);
    background-size: 100% 50%;
    background-repeat: no-repeat;
}

.countdown::before {
    background: linear-gradient(to bottom right, transparent 49%, var(--wine-red) 50%), 
                linear-gradient(to top right, transparent 49%, var(--wine-red) 50%);
}

.watch-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.watch-text, .countdown-content {
    flex: 1;
}

.watch-text h2, .countdown h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.watch-text p, .countdown p {
    margin-bottom: 30px;
    font-size: 18px;
}

.countdown p {
    max-width: 700px;
    margin: 0 auto 40px;
}

.watch-poster {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}

.watch-poster:hover {
    transform: scale(1.03);
}

.watch-poster img {
    width: 100%;
    height: auto;
    display: block;
}

.watch-poster::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 40%);
}

.watch-poster .btn {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.timer-item {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 30px;
    border-radius: 8px;
    min-width: 100px;
}

.timer-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
}

.timer-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.progress-bar {
    height: 10px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--muted-gold);
    width: 65%;
    border-radius: 5px;
}

/* ===== Character Carousel ===== */
.character-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 30px;
    scroll-snap-type: x mandatory;
}

.character-card {
    min-width: 300px;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    transition: var(--transition);
}

.character-card:hover {
    transform: translateY(-10px);
}

.character-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.character-card:hover .character-overlay {
    transform: translateY(0);
    opacity: 1;
}

.character-name {
    font-size: 24px;
    margin-bottom: 10px;
}

.character-actor {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.character-quote {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 16px;
}

/* ===== Episode Guide ===== */
.season-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
    flex-wrap: wrap;
}

.season-tab {
    padding: 12px 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.season-tab:hover, .season-tab.active {
    background: var(--soft-pink);
}

.episode-container {
    display: none;
    animation: fadeIn 0.5s ease;
}

.episode-container.active {
    display: block;
}

.episode-card {
    background: var(--deep-navy);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.episode-card:hover {
    transform: translateY(-5px);
}

.episode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.episode-number {
    font-size: 14px;
    opacity: 0.8;
}

.episode-airdate {
    font-size: 14px;
    color: var(--muted-gold);
}

.episode-content {
    padding: 25px;
    display: flex;
    gap: 30px;
}

.episode-poster {
    width: 200px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.episode-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.episode-card:hover .episode-poster img {
    transform: scale(1.05);
}

.episode-quote {
    font-style: italic;
    margin: 15px 0;
    padding: 15px;
    background: rgba(227,28,121,0.1);
    border-left: 3px solid var(--soft-pink);
}

.episode-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* ===== Community Page ===== */
.community-section {
    margin-bottom: 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-all {
    color: var(--soft-pink);
    font-weight: 600;
}

.fan-art-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.art-card, .blog-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 250px;
    transition: var(--transition);
}

.blog-card {
    height: auto;
}

.art-card:hover, .blog-card:hover {
    transform: translateY(-5px);
}

.art-card img, .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.art-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.art-author {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.8;
}

.discussion-card {
    background: var(--deep-navy);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.discussion-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.discussion-avatar, .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    background: var(--soft-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.author-avatar {
    background: var(--muted-gold);
    color: var(--deep-navy);
}

.discussion-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.discussion-meta, .blog-meta {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 15px;
}

.discussion-actions, .blog-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.upload-area {
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    cursor: pointer;
    transition: var(--transition);
}

.upload-area:hover {
    border-color: var(--soft-pink);
    background: rgba(227,28,121,0.05);
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--soft-pink);
}

/* ===== Blog Page ===== */
.blog-categories {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.blog-category {
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.blog-category:hover, .blog-category.active {
    background: var(--soft-pink);
}

.blog-content {
    padding: 25px;
}

.blog-category-tag {
    background: var(--soft-pink);
    color: white;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 12px;
    margin-right: 15px;
}

.blog-date {
    font-size: 13px;
}

.blog-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    margin-bottom: 20px;
    opacity: 0.9;
}

.blog-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.author-name {
    font-weight: 600;
    font-size: 14px;
}

.author-role {
    font-size: 12px;
    opacity: 0.7;
}

.load-more {
    text-align: center;
    margin-bottom: 80px;
}

/* ===== Character Pages ===== */
.character-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    margin-bottom: 80px;
}

.character-bio {
    margin-bottom: 40px;
}

.character-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.trait {
    background: rgba(227,28,121,0.2);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--soft-pink);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--soft-pink);
}

.timeline-date {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--muted-gold);
}

.character-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: var(--deep-navy);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.sidebar-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--soft-pink);
}

.episode-list, .trivia-list {
    list-style: none;
}

.episode-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.episode-list a {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.episode-list a:hover {
    color: var(--soft-pink);
    padding-left: 5px;
}

.episode-number {
    background: var(--muted-gold);
    color: var(--deep-navy);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.trivia-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.trivia-question {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--muted-gold);
}

/* ===== Footer ===== */
footer {
    background-color: var(--deep-navy);
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--soft-pink);
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--soft-pink);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--soft-pink);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--soft-pink);
    padding-left: 5px;
}

.newsletter h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--soft-pink);
}

.newsletter p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.newsletter-btn {
    padding: 0 20px;
    background-color: var(--soft-pink);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: #c91668;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 14px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .hero h1, .character-name {
        font-size: 60px;
    }
    
    .watch-content {
        flex-direction: column;
    }
    
    .watch-text, .watch-poster {
        flex: none;
        width: 100%;
    }
    
    .character-content {
        grid-template-columns: 1fr;
    }
    
    .character-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero h1, .character-name {
        font-size: 48px;
    }
    
    .hero p, .character-actor {
        font-size: 18px;
    }
    
    .hero-btns, .episode-actions, .discussion-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .episode-content {
        flex-direction: column;
    }
    
    .episode-poster {
        width: 100%;
        height: 180px;
    }
    
    .blog-grid, .fan-art-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .timer-item {
        min-width: 70px;
        padding: 15px;
    }
    
    .timer-number {
        font-size: 36px;
    }
    
    .hero, .episodes-header, .community-hero, .blog-hero, .character-hero {
        height: auto;
        min-height: 400px;
        padding: 100px 0;
    }
}