﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Pacifico&display=swap');

:root {
    --primary: #A71E34;
    --accent: #C71F37;
    --bg-dark: #0f0f0f;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
}

/* === Reset / Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* === Page Layout === */
.live-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

/* === Header === */
.live-header {
    width: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: nowrap; /* Prevent wrapping */
    gap: 0.8rem;
    white-space: nowrap;
}

.live-logo {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

    .live-logo:hover {
        background: #fff;
        color: var(--primary);
    }

.live-header h1 {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    flex-grow: 1;
    text-align: right;
}

/* === Main Content === */
.live-main {
    width: 100%;
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 3rem;
}

/* Wrapper for video + info */
.live-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* === Video === */
.live-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    margin-bottom: 2rem;
}

    .live-video-wrapper iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

/* === Info === */
.live-info {
    max-width: 800px;
    text-align: center;
    color: var(--text-muted);
}

    .live-info h2 {
        color: var(--text-main);
        margin-bottom: 0.6rem;
        font-weight: 600;
    }

    .live-info p {
        font-size: 1rem;
        line-height: 1.7;
    }

/* === Tablet Adjustments === */
@media (max-width: 992px) {
    .live-header h1 {
        font-size: 1.5rem;
    }

    .live-main {
        padding: 1.5rem 1rem 2rem;
    }

    .live-info p {
        font-size: 0.95rem;
    }
}

/* === Mobile (Inline Navbar + Centered Content) === */
@media (max-width: 600px) {
    /* Keep header inline */
    .live-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1rem;
        white-space: nowrap;
    }

    .live-logo {
        font-size: 0.8rem;
        padding: 0.35rem 0.8rem;
    }

    .live-header h1 {
        font-size: 1.2rem;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 1;
    }

    /* Vertically center main content */
    .live-main {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem;
        width: 100%;
        min-height: calc(100vh - 80px); /* subtracts header height */
    }

    .live-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .live-video-wrapper {
        border-radius: 8px;
        width: 95%;
        margin: 0 auto 1.5rem;
    }

    .live-info h2 {
        font-size: 1.2rem;
    }

    .live-info p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
}