/* Podcast page specific styles */

/* Main layout */
.podcast-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    flex-grow: 1;
    max-width: 300px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 8px 15px;
    padding-right: 40px;
    border-radius: 8px;
    border: 1px solid #2c3e50;
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.search-box button {
    position: absolute;
    right: 5px;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 16px;
    padding: 5px 10px;
    cursor: pointer;
}

.podcast-filter, .podcast-sort {
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid #2c3e50;
    border-radius: 8px;
    color: var(--light-text);
    cursor: pointer;
}

/* Mini Player */
.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-bg);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 990; /* Below modals, above content */
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mini-player.active {
    transform: translateY(0);
}

.mini-player-artwork {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    overflow: hidden;
}

.mini-player-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-player-info {
    flex-grow: 1;
    min-width: 0; /* Allow text truncation */
}

.mini-player-title {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-player-show {
    font-size: 0.8rem;
    color: var(--medium-text);
}

.mini-player-progress {
    flex-grow: 2;
    max-width: 400px;
}

.progress-bar {
    height: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    margin-bottom: 5px;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    width: 0;
    background-color: var(--accent-blue);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
}

.progress-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--medium-text);
}

.mini-player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-btn {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 16px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

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

.player-btn.play-btn {
    background-color: var(--accent-blue);
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

.player-btn.play-btn:hover {
    background-color: #2980b9;
    color: white;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.volume-slider {
    width: 70px;
    height: 5px;
    -webkit-appearance: none;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    cursor: pointer;
}

/* Featured Podcast */
.featured-podcast {
    display: flex;
    background: linear-gradient(135deg, var(--secondary-bg), rgba(27, 38, 63, 0.8));
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.featured-artwork {
    width: 300px;
    position: relative;
}

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

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-blue);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
}

.featured-content {
    flex: 1;
    padding: 25px;
}

.featured-content h2 {
    margin-bottom: 10px;
    color: var(--accent-blue);
}

.podcast-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.podcast-host, .podcast-date, .podcast-duration {
    font-size: 0.9rem;
    color: var(--medium-text);
}

.podcast-host i, .podcast-date i, .podcast-duration i {
    margin-right: 5px;
}

.podcast-category {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.anime-category {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.jpop-category {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.interview-category {
    background-color: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
}

.special-category {
    background-color: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
}

.featured-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.featured-buttons {
    display: flex;
    gap: 10px;
}

.btn-play-episode, .btn-episode-details, .btn-download-episode {
    padding: 8px 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

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

.btn-play-episode:hover {
    background-color: #2980b9;
}

.btn-episode-details, .btn-download-episode {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.btn-episode-details:hover, .btn-download-episode:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Podcast Grid */
.podcast-section {
    margin-bottom: 40px;
}

.podcast-section h2 {
    margin-bottom: 20px;
    color: var(--accent-blue);
    position: relative;
    padding-bottom: 10px;
}

.podcast-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-blue);
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.podcast-card {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.podcast-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.podcast-info {
    padding: 15px;
}

.podcast-info h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podcast-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.podcast-date {
    font-size: 0.85rem;
    color: var(--medium-text);
}

.podcast-summary {
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.podcast-controls {
    display: flex;
    gap: 10px;
}

.btn-play, .btn-details, .btn-download {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-play:hover {
    background-color: #2980b9;
}

.btn-details:hover, .btn-download:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Pagination */
.podcast-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.pagination-prev, .pagination-next {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-prev:hover, .pagination-next:hover {
    background-color: var(--accent-blue);
    color: white;
}

.pagination-prev:disabled, .pagination-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.pagination-number {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--light-text);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-number.active {
    background-color: var(--accent-blue);
    color: white;
}

.pagination-number:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.1);
}

.pagination-ellipsis {
    color: var(--medium-text);
    margin: 0 5px;
}

/* Categories Section */
.podcast-categories {
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--light-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.anime-card:hover .category-icon {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.jpop-card:hover .category-icon {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.interview-card:hover .category-icon {
    background-color: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
}

.special-card:hover .category-icon {
    background-color: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
}

.category-card h3 {
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.anime-card:hover h3 {
    color: #3498db;
}

.jpop-card:hover h3 {
    color: #2ecc71;
}

.interview-card:hover h3 {
    color: #9b59b6;
}

.special-card:hover h3 {
    color: #f1c40f;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--medium-text);
}

/* Subscription Section */
.podcast-subscribe {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(155, 89, 182, 0.2));
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.podcast-subscribe h2 {
    margin-bottom: 15px;
    color: var(--light-text);
}

.podcast-subscribe p {
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subscription-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.subscription-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.subscription-btn.apple {
    background-color: #8E44AD;
    color: white;
}

.subscription-btn.spotify {
    background-color: #1DB954;
    color: white;
}

.subscription-btn.google {
    background-color: #EA4335;
    color: white;
}

.subscription-btn.rss {
    background-color: #F39C12;
    color: white;
}

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

/* Right Sidebar Styles */
.top-podcasts {
    background-color: var(--secondary-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.top-podcasts h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-podcast-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.top-podcast-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-podcast-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.top-podcast-rank {
    width: 25px;
    height: 25px;
    background-color: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.top-podcast-info {
    flex: 1;
}

.top-podcast-title {
    font-weight: bold;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-podcast-meta {
    font-size: 0.8rem;
    color: var(--medium-text);
}

.top-podcast-plays i {
    margin-right: 3px;
}

.podcast-hosts {
    background-color: var(--secondary-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.podcast-hosts h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.host-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.host-item {
    text-align: center;
}

.host-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.host-name {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.host-specialty {
    font-size: 0.8rem;
    color: var(--medium-text);
}

/* Modal Styles */
.episode-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1002; /* Higher than mobile navigation */
    align-items: center;
    justify-content: center;
}

.episode-modal .modal-content {
    background-color: var(--secondary-bg);
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.episode-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
}

.episode-modal .close-modal:hover {
    background: rgba(231, 76, 60, 0.8);
}

.modal-episode-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.modal-episode-artwork {
    margin-bottom: 20px;
}

.modal-episode-artwork img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-episode-player {
    margin-bottom: 20px;
}

.modal-episode-player audio {
    width: 100%;
}

.modal-episode-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-episode-tracklist {
    margin-bottom: 20px;
}

.modal-episode-tracklist h3 {
    margin-bottom: 10px;
    color: var(--accent-blue);
}

.modal-episode-tracklist ol {
    padding-left: 20px;
}

.modal-episode-tracklist ol li {
    margin-bottom: 10px;
}

.modal-episode-transcript-toggle {
    margin-bottom: 20px;
}

.modal-episode-transcript-toggle button {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    transition: all 0.3s ease;
}

.modal-episode-transcript-toggle button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-episode-transcript {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.modal-episode-notes {
    margin-bottom: 20px;
}

.modal-episode-notes h3 {
    margin-bottom: 10px;
    color: var(--accent-blue);
}

.modal-episode-notes ul {
    padding-left: 20px;
}

.modal-episode-notes ul li {
    margin-bottom: 5px;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.modal-episode-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.twitter {
    background-color: #1DA1F2;
}

.share-btn.facebook {
    background-color: #4267B2;
}

.share-btn.email {
    background-color: #34495E;
}

.share-btn.link {
    background-color: #7F8C8D;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.modal-episode-actions {
    display: flex;
    gap: 10px;
}

.btn-play-modal, .btn-download-modal {
    padding: 8px 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

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

.btn-play-modal:hover {
    background-color: #2980b9;
}

.btn-download-modal {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.btn-download-modal:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Full Player Modal */
.fullplayer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 14, 26, 0.95);
    z-index: 1003; /* Highest */
    align-items: center;
    justify-content: center;
}

.fullplayer-modal .modal-content {
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.fullplayer-modal .close-modal {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.fullplayer-modal .close-modal:hover {
    background: rgba(231, 76, 60, 0.8);
}

.fullplayer-artwork {
    margin-bottom: 30px;
}

.fullplayer-artwork img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fullplayer-info {
    margin-bottom: 30px;
}

.fullplayer-info h2 {
    margin-bottom: 10px;
}

.fullplayer-show {
    color: var(--accent-blue);
    margin-bottom: 5px;
}

.fullplayer-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: var(--medium-text);
    font-size: 0.9rem;
}

.fullplayer-progress {
    margin-bottom: 30px;
}

.fullplayer-timestamps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--medium-text);
}

.fullplayer-progress-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.fullplayer-progress-fill {
    height: 100%;
    width: 0;
    background-color: var(--accent-blue);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
}

.fullplayer-progress-handle {
    width: 14px;
    height: 14px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.fullplayer-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.fullplayer-btn {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.fullplayer-btn.play {
    width: 60px;
    height: 60px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.fullplayer-btn.play:hover {
    background-color: #2980b9;
}

.fullplayer-btn.repeat, .fullplayer-btn.shuffle {
    font-size: 16px;
}

.fullplayer-btn.repeat.active, .fullplayer-btn.shuffle.active {
    color: var(--accent-blue);
}

.fullplayer-btn.prev, .fullplayer-btn.next {
    font-size: 20px;
}

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

.fullplayer-volume {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.fullplayer-volume-slider {
    width: 150px;
}

.fullplayer-volume-slider input {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

.fullplayer-volume-slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    cursor: pointer;
}

.fullplayer-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.fullplayer-action-btn {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
}

.fullplayer-action-btn:hover {
    color: var(--accent-blue);
}

.fullplayer-action-btn.active {
    color: var(--accent-blue);
}

.fullplayer-playlist {
    margin-top: 30px;
    max-height: 300px;
    overflow-y: auto;
}

.fullplayer-playlist h3 {
    margin-bottom: 15px;
    text-align: left;
}

.fullplayer-playlist-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.playlist-item.active {
    background-color: rgba(52, 152, 219, 0.2);
}

.playlist-item:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.2);
}

.playlist-item-number {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.playlist-item-info {
    flex: 1;
    min-width: 0; /* Enable text-overflow */
}

.playlist-item-title {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item-show {
    font-size: 0.8rem;
    color: var(--medium-text);
}

.playlist-item-duration {
    font-size: 0.9rem;
    color: var(--medium-text);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .main-content {
        padding-top: 60px; /* Space for mobile navigation */
    }

    .featured-podcast {
        flex-direction: column;
    }

    .featured-artwork {
        width: 100%;
        height: 250px;
    }

    .podcast-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .podcast-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }

    .mini-player {
        flex-wrap: wrap;
        gap: 10px;
    }

    .mini-player-info {
        flex-basis: calc(100% - 65px);
    }

    .mini-player-progress {
        flex-basis: 100%;
        order: 2;
    }

    .mini-player-controls {
        flex-basis: 100%;
        order: 3;
        justify-content: space-between;
    }

    .subscription-links {
        flex-direction: column;
    }

    .modal-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-episode-share, .modal-episode-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .podcast-section h2 {
        font-size: 1.5rem;
    }

    .featured-content {
        padding: 15px;
    }

    .featured-content h2 {
        font-size: 1.4rem;
    }

    .podcast-meta {
        gap: 10px;
    }

    .featured-buttons {
        flex-wrap: wrap;
    }

    .btn-play-episode, .btn-episode-details, .btn-download-episode {
        flex-basis: 100%;
        justify-content: center;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .fullplayer-controls {
        gap: 15px;
    }

    .fullplayer-btn.play {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .fullplayer-actions {
        gap: 15px;
    }
}