/* Podcasts Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Comic+Neue:wght@400;700&display=swap');

:root {
    --primary: #4361ee;
    --secondary: #f72585;
    --accent: #4cc9f0;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #38b000;
    --warning: #ff9e00;
    --purple: #7209b7;
    --podcast-blue: #4361ee;
    --podcast-teal: #4cc9f0;
}

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navbar spacing */
.navbar {
    margin-bottom: 0;
}

/* Tabs Container */
.tabs-container {
    background: linear-gradient(90deg, var(--podcast-blue), var(--podcast-teal));
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Activity Tabs */
.activity-tabs {
    margin: 0 auto;
    max-width: 1200px;
}

.activity-tabs ul {
    border: none;
    justify-content: center;
    flex-wrap: wrap;
}

.activity-tabs li {
    margin: 0 0.5rem;
}

.activity-tabs li a {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: white !important;
    border-radius: 30px;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.activity-tabs li.is-active a {
    background-color: white;
    color: var(--podcast-blue) !important;
    border-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.activity-tabs li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Main Title */
.main-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5rem;
    color: var(--podcast-blue);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, var(--podcast-blue), var(--podcast-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--podcast-teal), transparent);
    border-radius: 10px;
}

/* Subtitle */
.subtitle-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.podcasts-description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: center;
    font-weight: 500;
}

.podcasts-description::before, .podcasts-description::after {
    content: "";
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    color: var(--podcast-blue);
    position: absolute;
    opacity: 0.3;
}

.podcasts-description::before {
    top: -20px;
    left: 20px;
}

.podcasts-description::after {
    content: "";
    bottom: -40px;
    right: 20px;
    transform: rotate(180deg);
}

/* Featured Podcasts */
.featured-podcasts {
    margin: 4rem 0;
}

.category-title {
    font-family: 'Fredoka One', cursive;
    text-align: center;
    font-size: 2.5rem;
    color: var(--podcast-blue);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.category-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--podcast-teal), transparent);
    border-radius: 10px;
}

.podcast-player {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

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

.podcast-art {
    position: relative;
    width: 120px;
    height: 120px;
    margin-right: 1.5rem;
}

.podcast-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.audio-waves {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    height: 20px;
    gap: 3px;
}

.wave {
    width: 4px;
    background: var(--podcast-blue);
    border-radius: 2px;
    height: 5px;
    animation: wave 1.2s infinite ease-in-out;
}

.wave:nth-child(2) {
    animation-delay: 0.3s;
    height: 10px;
}

.wave:nth-child(3) {
    animation-delay: 0.6s;
    height: 15px;
}

.playing .wave {
    animation: wave 1.2s infinite ease-in-out;
}

@keyframes wave {
    0%, 100% { height: 5px; }
    50% { height: 15px; }
}

.podcast-info h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--podcast-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.podcast-info p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.episode-info {
    background: rgba(67, 97, 238, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

.episode-info span {
    color: var(--podcast-blue);
    font-weight: 500;
    font-size: 0.9rem;
}

.player-controls {
    margin-bottom: 1.5rem;
}

audio {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 10px;
}

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

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(45deg, var(--podcast-blue), var(--podcast-teal));
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

.play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.playback-speed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.playback-speed span {
    color: #666;
    font-weight: 500;
}

#speed-select {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.3rem;
    background: white;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-container span {
    font-size: 0.9rem;
    color: #666;
    min-width: 40px;
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--podcast-blue), var(--podcast-teal));
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* Podcasts Library */
.podcasts-library {
    margin: 5rem 0;
}

.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.podcast-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.podcast-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.podcast-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.podcast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.podcast-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 4rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.podcast-content {
    padding: 1.5rem;
    position: relative;
}

.podcast-badge {
    position: absolute;
    top: -15px;
    right: 15px;
    background: linear-gradient(45deg, var(--podcast-blue), var(--podcast-teal));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.podcast-content h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--podcast-blue);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.series {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.episode {
    color: var(--podcast-blue);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.podcast-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #777;
}

.podcast-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Categories Section */
.categories-section {
    margin: 5rem 0;
}

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

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--podcast-blue), var(--podcast-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.category-card h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--podcast-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.category-card p {
    color: #666;
    line-height: 1.5;
}

/* Subscribe Section */
.subscribe-section {
    margin: 5rem 0;
}

.subscribe-card {
    background: linear-gradient(45deg, var(--podcast-blue), var(--podcast-teal));
    border-radius: 25px;
    padding: 3rem;
    display: flex;
    align-items: center;
    color: white;
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.2);
}

.subscribe-content {
    flex: 2;
}

.subscribe-content h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.subscribe-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.subscribe-form .field {
    max-width: 400px;
}

.subscribe-form .input {
    border-radius: 25px 0 0 25px;
    border: none;
    height: 50px;
}

.subscribe-form .button {
    border-radius: 0 25px 25px 0;
    height: 50px;
    background: var(--secondary);
    border: none;
    font-weight: bold;
}

.subscribe-form .button:hover {
    background: #e51274;
}

.subscribe-image {
    flex: 1;
    text-align: center;
    font-size: 8rem;
    opacity: 0.8;
}

/* Floating elements */
.floating-shape {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.1);
    animation: floatPodcast 25s infinite ease-in-out;
}

@keyframes floatPodcast {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .main-title {
        font-size: 3rem;
    }
    
    .activity-tabs li a {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .podcasts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .activity-tabs ul {
        flex-wrap: wrap;
    }
    
    .activity-tabs li {
        margin-bottom: 0.8rem;
    }
    
    .podcasts-description {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
    
    .player-header {
        flex-direction: column;
        text-align: center;
    }
    
    .podcast-art {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .podcasts-grid {
        grid-template-columns: 1fr;
    }
    
    .subscribe-card {
        flex-direction: column;
        text-align: center;
    }
    
    .subscribe-image {
        margin-top: 2rem;
        font-size: 5rem;
    }
    
    .subscribe-form .field {
        flex-direction: column;
    }
    
    .subscribe-form .input {
        border-radius: 25px;
        margin-bottom: 0.5rem;
    }
    
    .subscribe-form .button {
        border-radius: 25px;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .activity-tabs li a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-controls {
        gap: 1rem;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .podcast-player {
        padding: 1.5rem;
    }
}

body {
    padding-top: 75px; /* Adjust this value based on your navbar height */
}

/* Alternatively, you can add it to the container */
.section-container {
    padding-top: 75px;
}

.hero.is-fullheight {
    padding-top: 75px;
}