:root {
    --bg-color: #030303;
    --text-color: #e5e5e5;
    --gold-primary: #D4AF37;
    --gold-light: #FFDF73;
    --gold-dark: #8B7322;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Playfair Display', serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
}

::selection {
    background: var(--gold-dark);
    color: #fff;
}

/* Subtle cinematic noise overlay */
.overlay-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-weight: 600;
    letter-spacing: 2px;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.4) 0%, rgba(3, 3, 3, 1) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-color), transparent);
    pointer-events: none;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpIn 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.2s;
    max-width: 800px;
    padding: 20px;
    z-index: 10;
}

.main-logo {
    max-width: 100%;
    max-height: clamp(150px, 40vh, 400px);
    object-fit: contain;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.15));
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #bbb;
    font-style: italic;
    margin-bottom: 3.5rem;
    line-height: 1.8;
}

.tagline em {
    color: var(--gold-primary);
    font-weight: 600;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.5s;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Buttons */
.btn-gold {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
    transition: left 0.7s ease;
}

.btn-gold:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--gold-primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn-gold:hover::before {
    left: 100%;
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 25px auto 0;
}

/* Episode Section */
.episode-section {
    background: linear-gradient(to bottom, var(--bg-color), #0a0a0a, var(--bg-color));
}

.episode-meta {
    text-align: center;
    font-style: italic;
    color: #888;
    margin-bottom: 4rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.05);
    position: relative;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    outline: none;
}

/* Force video controls to look elegant if possible, mostly native */

.episode-description {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
    font-size: 1.3rem;
    color: #ccc;
    font-style: italic;
    line-height: 1.8;
}

/* Lore Section (Cards) */
.lore-section {
    background-color: var(--bg-color);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.character-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.character-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 transparent;
    transition: box-shadow 0.5s ease;
    opacity: 0.5;
}

.character-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--gold-primary);
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(15, 15, 15, 0.9));
}

.character-card:hover::before {
    box-shadow: inset 0 20px 40px rgba(212, 175, 55, 0.05);
}

.character-card h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.character-card .role {
    font-family: var(--font-heading);
    color: var(--gold-dark);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 600;
}

.character-card .desc {
    color: #a0a0a0;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to bottom, var(--bg-color), #0f0c05, var(--bg-color));
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.02);
}

.cta-text {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    max-width: 700px;
    margin: 2.5rem auto 3.5rem;
    color: #bbb;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.subscribe-form input {
    flex: 1;
    padding: 18px 25px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 2px;
    color: white;
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.subscribe-form input::placeholder {
    color: #666;
    font-style: italic;
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
    background: rgba(0, 0, 0, 0.8);
}

.subscribe-form button {
    padding: 0 40px;
}

.coming-soon {
    margin-top: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.coming-soon p {
    color: #888;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coming-soon strong {
    color: var(--gold-light);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 20px;
    background: #000;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

footer p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-note {
    font-family: var(--font-heading);
    letter-spacing: 4px;
    color: var(--gold-dark);
    text-transform: uppercase;
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input, 
    .subscribe-form button {
        width: 100%;
    }
    
    .subscribe-form button {
        padding: 18px 0;
    }
    
    .coming-soon p {
        flex-direction: column;
        gap: 5px;
    }
    
    .hero-content {
        padding: 15px;
    }
}
