/* ================================================
   RADIO LYNGDAL - SHOW PAGE ENHANCED STYLES
   ================================================ */

:root {
    --primary: #7F00FF;
    --primary-dark: #6600cc;
    --secondary: #cc00ff;
    --accent: #00d4ff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #333333;
    --text-muted: #6c757d;
    --border: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #7F00FF 0%, #cc00ff 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 30px rgba(127, 0, 255, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ================================================
   PAGE HERO BANNER
   ================================================ */

.page-hero {
    background: var(--gradient-dark);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.15) 0%, transparent 50%);
    animation: hero-pulse 10s ease-in-out infinite;
}

@keyframes hero-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 0.8; }
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Week Info Badge */
.week-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    margin-top: 25px;
    color: var(--white);
}

.week-info-badge i {
    font-size: 18px;
    color: var(--accent);
}

.week-info-badge span {
    font-size: 14px;
    font-weight: 500;
}

/* ================================================
   DAY TABS NAVIGATION
   ================================================ */

.schedule-tabs-section {
    background: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.day-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
}

.day-tabs::-webkit-scrollbar {
    display: none;
}

.day-tab {
    flex: 1;
    min-width: 120px;
    padding: 20px 16px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.day-tab:hover {
    color: var(--primary);
    background: rgba(127, 0, 255, 0.05);
}

.day-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(127, 0, 255, 0.05);
}

.day-tab .day-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.day-tab .day-date {
    display: block;
    font-size: 12px;
    opacity: 0.7;
}

/* Mobile day tabs */
@media (max-width: 767px) {
    .day-tab {
        min-width: 100px;
        padding: 15px 12px;
    }

    .day-tab .day-name {
        font-size: 13px;
    }

    .day-tab .day-date {
        font-size: 11px;
    }
}

/* ================================================
   PROGRAM CARDS GRID
   ================================================ */

.programs-section {
    padding: 50px 0 80px;
    background: var(--light);
    min-height: 500px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1199px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Program Card */
.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.program-card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

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

.program-card:hover .program-card-image img {
    transform: scale(1.1);
}

.program-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, rgba(127, 0, 255, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover .program-card-overlay {
    opacity: 1;
}

.program-card-time-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.program-card-body {
    padding: 20px;
}

.program-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.4;
}

.program-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 13px;
}

.program-card-meta i {
    color: var(--primary);
}

/* Live indicator on program card */
.program-card.is-live {
    border: 2px solid var(--success);
}

.program-card.is-live .program-card-time-badge {
    background: var(--success);
    animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.live-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--success);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-xl);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.live-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: live-dot 1.5s ease-in-out infinite;
}

@keyframes live-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ================================================
   TAB CONTENT
   ================================================ */

.tab-content-wrapper {
    display: none;
}

.tab-content-wrapper.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h4 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 14px;
}

/* ================================================
   BACK TO TOP / NAVIGATION
   ================================================ */

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.back-to-home:hover {
    color: var(--white);
}

/* ================================================
   RESPONSIVE HERO
   ================================================ */

@media (max-width: 767px) {
    .page-hero {
        padding: 40px 0 60px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .page-hero-subtitle {
        font-size: 15px;
    }

    .page-hero-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .programs-section {
        padding: 30px 0 60px;
    }
}
