/* Lineup page specific styles */

/* View Tabs */
.view-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.view-tab {
    padding: 8px 16px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-tab.active, .view-tab:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

/* Day Filter */
.day-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.day-btn {
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.day-btn.active, .day-btn:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

/* Weekly Lineup */
.weekly-lineup {
    margin-bottom: 30px;
}

.day-panel {
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.day-header {
    background-color: rgba(52, 152, 219, 0.2);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--accent-blue);
}

.collapse-btn {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.collapse-btn.collapsed {
    transform: rotate(-90deg);
}

.day-shows {
    padding: 0 20px;
}

.show-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
}

.show-item:last-child {
    border-bottom: none;
}

.show-time {
    width: 140px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-text);
    font-size: 0.9rem;
}

.show-info {
    flex: 1;
    min-width: 0; /* Enable text-overflow in children */
}

.show-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.show-title {
    font-weight: bold;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.show-host {
    font-size: 0.9rem;
    color: var(--accent-yellow);
    margin-bottom: 8px;
}

.show-description {
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.show-category {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.show-buttons {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

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

.show-btn:hover {
    background-color: rgba(52, 152, 219, 0.3);
}

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

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

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

.retro-category {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

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

/* Featured Shows */
.featured-shows {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

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

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

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

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

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

.featured-image .show-category {
    position: absolute;
    top: 10px;
    right: 10px;
}

.featured-content {
    padding: 15px;
}

.featured-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.featured-host {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-host img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.featured-host-name {
    font-size: 0.9rem;
    color: var(--accent-yellow);
}

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

.featured-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-buttons {
    display: flex;
    justify-content: space-between;
}

.featured-btn {
    padding: 6px 12px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-btn:hover {
    background-color: rgba(52, 152, 219, 0.3);
}

/* Category Filter */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 8px;
    color: var(--light-text);
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    transform: translateY(-2px);
}

.category-btn.active {
    background-color: rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.4);
}

.category-icon {
    width: 20px;
    text-align: center;
}

/* DJ Profiles Section */
.dj-section {
    margin-bottom: 40px;
}

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

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

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

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

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

.dj-avatar {
    height: 150px;
    overflow: hidden;
}

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

.dj-card:hover .dj-avatar img {
    transform: scale(1.05);
}

.dj-info {
    padding: 15px;
}

.dj-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.dj-specialty {
    color: var(--accent-yellow);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

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

.dj-social {
    display: flex;
    gap: 10px;
}

.dj-social-link {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dj-social-link:hover {
    transform: translateY(-2px);
    background-color: rgba(52, 152, 219, 0.3);
}

/* Tune In Banner */
.tune-in-banner {
    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: 30px;
}

.tune-in-banner h2 {
    margin-bottom: 10px;
    color: var(--light-text);
}

.tune-in-banner p {
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tune-in-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tune-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tune-btn:hover {
    background-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

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

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

.next-shows-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.next-show-item {
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.next-show-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.next-show-time {
    width: 80px;
    color: var(--medium-text);
    font-size: 0.85rem;
    padding-right: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.next-show-info {
    flex: 1;
}

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

.next-show-host {
    font-size: 0.85rem;
    color: var(--accent-yellow);
}

.loading-indicator {
    text-align: center;
    padding: 20px;
    color: var(--medium-text);
}

.loading-indicator i {
    margin-right: 10px;
}

.request-show {
    background-color: var(--secondary-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.request-show h3 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.request-show p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.request-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--accent-blue);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Show Modal */
.show-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;
}

.show-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);
}

.show-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;
}

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

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

.modal-show-image {
    margin-bottom: 20px;
}

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

.modal-show-host {
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
}

.modal-show-host h3 {
    margin-bottom: 15px;
    color: var(--accent-blue);
}

.host-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.host-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.host-details {
    flex: 1;
}

.host-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.host-specialty {
    color: var(--accent-yellow);
    font-size: 0.9rem;
}

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

.modal-similar-shows {
    margin-bottom: 20px;
}

.modal-similar-shows h3 {
    margin-bottom: 15px;
    color: var(--accent-blue);
}

.similar-shows-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.similar-show-item {
    text-align: center;
}

.similar-show-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 10px;
}

.similar-show-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-show-title {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.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-show-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:hover {
    transform: translateY(-3px);
}

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

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

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

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

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

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

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

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

    .show-item {
        flex-direction: column;
        gap: 10px;
    }

    .show-time {
        width: 100%;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .day-filter {
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .day-btn {
        white-space: nowrap;
    }

    .tune-in-buttons {
        flex-direction: column;
    }

    .tune-btn {
        width: 100%;
        justify-content: center;
    }

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

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

@media (max-width: 576px) {
    .view-tabs {
        justify-content: center;
    }

    .featured-shows {
        grid-template-columns: 1fr;
    }

    .dj-profiles {
        grid-template-columns: 1fr;
    }

    .host-info {
        flex-direction: column;
        text-align: center;
    }

    .host-info img {
        margin-bottom: 10px;
    }

    .similar-shows-list {
        grid-template-columns: repeat(2, 1fr);
    }
}