/**
 * Live Stream Page Styles
 * Styles for the YouTube live stream page
 */

/* ===========================
   Live Hero Section
   =========================== */
.live-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.live-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.live-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 0, 0, 0.6);
    }
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-white);
    animation: pulse-live 2s ease-in-out infinite;
}

.live-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 1rem;
    line-height: 1.1;
}

.live-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ===========================
   Video Player Section
   =========================== */
.video-player-section {
    padding: 4rem 0;
    background: var(--color-light-bg);
}

.video-container {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 2rem;
}

.video-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1rem;
}

.video-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    white-space: pre-wrap;
}

.video-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* No Video Container */
.no-video-container {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.no-video-icon {
    margin-bottom: 2rem;
}

.no-video-container h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1rem;
}

.no-video-container p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin: 0 0 2rem;
}

/* ===========================
   Schedule Section
   =========================== */
.schedule-section {
    padding: 4rem 0;
    background: var(--color-white);
}

.section-header.center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0 0 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin: 0;
}

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

.schedule-card {
    text-align: center;
    padding: 2rem;
    background: var(--color-light-bg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.schedule-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    color: var(--color-white);
}

.schedule-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.5rem;
}

.schedule-time {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 1rem;
}

.schedule-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===========================
   CTA Section
   =========================== */
.live-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.live-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.live-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.live-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 1rem;
}

.live-cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(74, 95, 157, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 95, 157, 0.4);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Live CTA section button overrides */
.live-cta-section .btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
}

.live-cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.live-cta-section .btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.live-cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .live-hero {
        padding: 6rem 0 3rem;
    }

    .live-title {
        font-size: 2.5rem;
    }

    .live-subtitle {
        font-size: 1.125rem;
    }

    .video-player-section {
        padding: 3rem 0;
    }

    .video-info {
        padding: 1.5rem;
    }

    .video-title {
        font-size: 1.5rem;
    }

    .video-actions {
        flex-direction: column;
    }

    .video-actions .btn {
        width: 100%;
    }

    .schedule-section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .live-cta-section {
        padding: 3rem 0;
    }

    .live-cta-content h2 {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .live-hero {
        padding: 5rem 0 2.5rem;
    }

    .live-title {
        font-size: 2rem;
    }

    .live-subtitle {
        font-size: 1rem;
    }

    .video-info {
        padding: 1.25rem;
    }

    .video-title {
        font-size: 1.25rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .live-cta-content h2 {
        font-size: 1.75rem;
    }

    .no-video-container {
        padding: 3rem 1.5rem;
    }

    .no-video-container h2 {
        font-size: 1.5rem;
    }
}
