
body {
    color: #fff;
    font-family: 'Helvetica', 'Arial', sans-serif;
    padding-bottom: 100px; /* Add padding to prevent content from being hidden by the player */
}

#video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.audio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #333;
    position: relative;
    z-index: 1;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

#latest-release h2, .latest-episodes h2, .all-episodes h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 40px 20px 20px;
    color: #fff;
}

.latest-release-card {
    background: linear-gradient(145deg, rgba(44, 44, 44, 0.8), rgba(26, 26, 26, 0.8));
    border: 1px solid #d9b600;
    box-shadow: 0 0 30px rgba(217, 182, 0, 0.5);
    border-radius: 8px;
    margin: 0 20px;
    display: flex;
    overflow: hidden;
}

.latest-release-card img {
    width: 300px;
    height: auto;
    object-fit: cover;
}

.latest-release-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.latest-release-card-content .episode-date {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 15px;
}

.latest-release-card-content .episode-card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.latest-release-card-content .episode-description {
    font-size: 16px;
    color: #ccc;
    flex-grow: 1;
    margin-bottom: 20px;
}

.episode-grid, .all-episodes-grid {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.episode-card {
    background-color: transparent;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    border: none;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s ease;
    padding: 10px 0;
}

.episode-card:hover {
    background-color: rgba(44, 44, 44, 0.7);
}

.latest-episodes .episode-card {
   background: transparent;
   border: none;
   border-bottom: 1px solid #333;
   box-shadow: none;
}

.latest-episodes .episode-card:hover {
    background-color: rgba(44, 44, 44, 0.7);
}

.episode-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
}

.episode-card-content {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.episode-date {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 5px;
}

.episode-card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.play-button {
    display: inline-block;
    background-color: #d9b600;
    color: #000;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
    cursor: pointer;
    margin-top: auto;
    align-self: flex-start;
}

.play-button:hover {
    background-color: #b39100;
}

.search-container {
    padding: 0 20px;
    margin-bottom: 20px;
}

#episode-search {
    width: 100%;
    padding: 15px;
    background-color: rgba(26, 26, 26, 0.8);
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

#episode-search:focus {
    border-color: #d9b600;
    box-shadow: 0 0 10px rgba(217, 182, 0, 0.4);
}

#in-app-player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.9);
    border-top: 1px solid #333;
    padding: 10px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

#in-app-player-container.show {
    transform: translateY(0);
}

#in-app-player-container iframe {
    width: 100%;
    height: 80px;
    border: none;
}

@media (max-width: 768px) {
    .latest-release-card {
        flex-direction: column;
    }

    .latest-release-card img {
        width: 100%;
        height: 200px;
    }
}
