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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #C9A44D;
    text-decoration: none;
}

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

.nav-menu a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C9A44D;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #C9A44D;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #C9A44D 0%, #f4e4a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
    font-weight: 300;
}

.hero-quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 3rem;
    color: #C9A44D;
    border-left: 3px solid #C9A44D;
    padding-left: 1rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #C9A44D 0%, #b89535 100%);
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 164, 77, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 164, 77, 0.5);
}

/* Section Styles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #C9A44D;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.about-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: #C9A44D;
    border-left: 3px solid #C9A44D;
    padding-left: 1.5rem;
    text-align: left;
    margin: 0 auto;
    max-width: 600px;
}

/* Episodes Section */
.episodes {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.episode-card {
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 164, 77, 0.2);
    position: relative;
    overflow: hidden;
}

.episode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #C9A44D 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.episode-card:hover::before {
    transform: translateX(100%);
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 164, 77, 0.2);
    border-color: rgba(201, 164, 77, 0.4);
}

.episode-image {
    aspect-ratio: 1 / 1; /* <--- ESTA ES LA CORRECCIÓN */
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 10px;
    display: flex;
    /* align-items: center; (Ya no son necesarias) */
    /* justify-content: center; (Ya no son necesarias) */
    margin-bottom: 1.5rem;
    border: 1px solid rgba(201, 164, 77, 0.1);
    overflow: hidden;
}

.episode-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.episode-placeholder {
    color: #C9A44D;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    padding: 0 1rem;
}

.episode-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #f5f5f5;
}

.episode-quote {
    font-style: italic;
    color: #C9A44D;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.episode-description {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.episode-button {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: #C9A44D;
    border: 2px solid #C9A44D;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.episode-button:hover {
    background: #C9A44D;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* Creator Section */
.creator {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

.creator-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.creator-image {
    text-align: center;
}

.creator-photo {
    width: 250px;
    height: 250px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid #C9A44D;
    box-shadow: 0 10px 30px rgba(201, 164, 77, 0.3);
}

.creator-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.creator-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

/* Connect Section */
.connect {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    text-align: center;
}

.connect-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #C9A44D;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.connect-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.connect-button {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: #C9A44D;
    border: 2px solid #C9A44D;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 150px;
}

.connect-button:hover {
    background: #C9A44D;
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 164, 77, 0.4);
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(201, 164, 77, 0.2);
}

.footer p {
    color: #888;
    font-size: 0.9rem;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #0a0a0a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(201, 164, 77, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-quote {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .creator-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .creator-text .section-title {
        text-align: center;
    }
    
    .episodes-grid {
        grid-template-columns: 1fr;
    }
    
    .connect-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .connect-button {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-quote {
        font-size: 1rem;
        padding-left: 0.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .episode-card {
        padding: 1.5rem;
    }
    
    .creator-photo {
        width: 200px;
        height: 200px;
    }
}