/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffd700;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%), 
                url('./images/backgrounds/hero-sction-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
    line-height: 1.8;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #ffd700;
}

.btn-secondary:hover {
    background: #ffd700;
    color: #000;
}

.btn-outline {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
    margin-top: 1rem;
    display: inline-block;
}

.btn-outline:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.story-action {
    text-align: center;
    margin-top: 2rem;
}

/* Trailer Section */
.trailer-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.trailer-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Lite YouTube Embed - ensure it fills the container properly */
.video-container lite-youtube {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    border-radius: 15px !important;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: #fff;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a2e;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Story Section */
.story-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.story-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffed4e;
    margin-bottom: 2rem;
    font-style: italic;
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #ffd700;
    border-radius: 0 8px 8px 0;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 15px;
}

.story-image-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.story-image-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Characters Section */
.characters-section {
    padding: 5rem 0;
    background: #fff;
}

.characters-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a2e;
}

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

.character-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.character-image {
    margin-bottom: 1.5rem;
}

.character-portrait {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: left center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-portrait:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.character-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.character-card p {
    color: #666;
    line-height: 1.6;
}

/* Release Section */
.release-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.release-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a2e;
}

.release-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.release-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.release-item p {
    color: #666;
    font-weight: 500;
}

/* Mythology Page Styles */
.mythology-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%), 
                url('./images/backgrounds/hero-sction-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    margin-top: 80px;
}

.mythology-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mythology-hero .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
    font-weight: 500;
}

.mythology-hero .hero-description {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.overview-section {
    padding: 4rem 0;
    background: #fff;
}

.overview-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a2e;
}

.overview-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 2rem 0;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

.content-image-img {
    width: 100%;
    height: auto;
    max-width: 65%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.content-image-img:hover {
    transform: scale(1.02);
}

blockquote {
    background: #f8f9fa;
    border-left: 4px solid #ffd700;
    padding: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

.background-section,
.cultural-section,
.culture-section,
.comparisons-section {
    padding: 4rem 0;
}

.background-section,
.culture-section {
    background: #fff;
}

.cultural-section,
.comparisons-section {
    background: #f8f9fa;
}

.conclusion-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
}

.conclusion-section h2 {
    color: #ffd700;
    margin-bottom: 2rem;
}

.conclusion-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ccc;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.conclusion-action {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu .active {
    color: #ffd700;
    font-weight: 600;
}

/* Responsive Design for Mythology Page */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mythology-hero h1 {
        font-size: 2.5rem;
    }
    
    .conclusion-action {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid,
    .characters-grid,
    .release-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
}

/* Mythology Intro Image Styles */
.mythology-intro-image {
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.mythology-intro-image.visible {
    opacity: 1;
    transform: translateY(0);
}

.mythology-intro-img {
    width: 100%;
    max-width: 95%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mythology-intro-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments for mythology intro image */
@media (max-width: 768px) {
    .mythology-intro-img {
        max-width: 100%;
        border-radius: 15px;
    }
}
