:root {
    --primary-green: #1a5d1a;
    --secondary-orange: #e67e22;
    --accent-blue: #3498db;
    --dark-blue: #2c3e50;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --podcast-purple: #9b59b6;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-gray);
    line-height: 1.6;
}

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

/* Loader Styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-blue) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
}

.loader-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loader-icon {
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.loader-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.loader-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-top: 1.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background: var(--secondary-orange);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Header Styles */
.top-bar {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--secondary-orange);
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary-green) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 10px;
    color: var(--secondary-orange);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-orange);
    transition: width 0.3s;
}

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

.nav-link.active {
    color: var(--primary-green) !important;
}

.nav-link.active::after {
    width: 100%;
}

/* Breadcrumb */
.breadcrumb-container {
    background-color: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--medium-gray);
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
}

/* Podcast Player Section */
.podcast-player-section {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.podcast-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.podcast-cover {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

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

.podcast-info {
    flex: 1;
    min-width: 300px;
}

.podcast-category {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, var(--podcast-purple) 0%, var(--accent-blue) 100%);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.podcast-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.podcast-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.podcast-meta i {
    color: var(--podcast-purple);
    margin-right: 5px;
}

.podcast-host {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.host-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--podcast-purple) 0%, var(--accent-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.5rem;
}

.host-info h4 {
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
}

.host-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Audio Player */
.audio-player-container {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--podcast-purple) 100%);
    border-radius: 15px;
    padding: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.player-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.player-time {
    font-family: 'Montserrat', monospace;
    font-size: 1.1rem;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--secondary-orange);
    border-radius: 4px;
    transition: width 0.1s linear;
}

.progress-bar-container:hover .progress-bar {
    background-color: var(--accent-blue);
}

.progress-bar-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.progress-bar-container:hover .progress-bar-handle {
    opacity: 1;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.play-btn {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-orange);
    font-size: 1.8rem;
}

.play-btn:hover {
    background-color: var(--accent-blue);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volume-slider {
    width: 100px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
}

.volume-level {
    height: 100%;
    width: 80%;
    background-color: var(--white);
    border-radius: 3px;
}

/* Episode Description */
.episode-description {
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.episode-description h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* Episode Chapters */
.chapters-section {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.chapter-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--medium-gray);
    cursor: pointer;
    transition: all 0.3s;
}

.chapter-item:hover {
    background-color: var(--light-gray);
    padding-left: 1.5rem;
}

.chapter-item.active {
    background-color: rgba(155, 89, 182, 0.1);
    border-left: 4px solid var(--podcast-purple);
}

.chapter-time {
    font-family: 'Montserrat', monospace;
    font-weight: 600;
    color: var(--podcast-purple);
    width: 70px;
    flex-shrink: 0;
}

.chapter-title {
    flex: 1;
    font-weight: 500;
}

.chapter-duration {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Podcast Actions */
.podcast-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--podcast-purple) 0%, var(--accent-blue) 100%);
    color: var(--white);
}

.action-btn.secondary {
    background-color: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--medium-gray);
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Download Options */
.download-section {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.download-option {
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.download-option:hover {
    background-color: var(--podcast-purple);
    color: var(--white);
}

.download-option i {
    font-size: 1.5rem;
}

/* Related Podcasts */
.related-section {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-orange);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-podcast-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.related-podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-podcast-thumbnail {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.related-podcast-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-podcast-card:hover .related-podcast-thumbnail img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(155, 89, 182, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.related-podcast-content {
    padding: 1.2rem;
}

.related-podcast-title {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.related-podcast-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Social Media Fixed Buttons */
.social-fixed {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--secondary-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .podcast-header {
        flex-direction: column;
    }
    
    .podcast-cover {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .podcast-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .podcast-meta {
        justify-content: center;
    }
    
    .podcast-host {
        flex-direction: column;
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .audio-player-container {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .social-fixed {
        right: 10px;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .player-controls {
        gap: 1rem;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
    }
}