/* style/live.css */

/* Custom properties for colors from the brand guide */
:root {
    --nustar-primary: #F2C14E;
    --nustar-secondary: #FFD36B;
    --nustar-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --nustar-card-bg: #111111;
    --nustar-background: #0A0A0A;
    --nustar-text-main: #FFF6D6;
    --nustar-border: #3A2A12;
    --nustar-glow: #FFD36B;
}

/* Base styles for the page-live scope */
.page-live {
    background-color: var(--nustar-background); /* #0A0A0A */
    color: var(--nustar-text-main); /* #FFF6D6 */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

/* Sections */
.page-live__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: var(--nustar-background);
}

.page-live__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-live__hero-content {
    max-width: 900px;
    margin-top: 30px;
    padding: 0 20px;
}

.page-live__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 */
    color: var(--nustar-primary); /* #F2C14E */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-live__intro-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--nustar-text-main);
}

.page-live__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
}

.page-live__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-live__btn--primary {
    background: var(--nustar-button-gradient); /* linear-gradient */
    color: #0A0A0A; /* Dark text for contrast on bright button */
    border: none;
    box-shadow: 0 5px 15px rgba(255, 216, 106, 0.4);
}

.page-live__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 216, 106, 0.6);
}

.page-live__btn--secondary {
    background: var(--nustar-card-bg); /* #111111 */
    color: var(--nustar-primary); /* #F2C14E */
    border: 2px solid var(--nustar-primary);
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-live__btn--secondary:hover {
    background: var(--nustar-primary);
    color: var(--nustar-card-bg);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-live__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-live__dark-section {
    background-color: var(--nustar-background); /* #0A0A0A */
    color: var(--nustar-text-main); /* #FFF6D6 */
    padding: 60px 0;
}

.page-live__section-title {
    font-size: 2.5rem;
    color: var(--nustar-primary); /* #F2C14E */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-live__text-block {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--nustar-text-main);
}

/* Video Section */
.page-live__video-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--nustar-background);
}

.page-live__video-container {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Desktop width */
    margin: 40px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.page-live__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

/* Game & Sports Grids */
.page-live__game-grid,
.page-live__sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-live__card {
    background-color: var(--nustar-card-bg); /* #111111 */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--nustar-border); /* #3A2A12 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--nustar-text-main); /* #FFF6D6 */
    text-align: center;
    padding-bottom: 20px;
}

.page-live__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-live__game-image,
.page-live__sports-image,
.page-live__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-live__game-title,
.page-live__sports-title,
.page-live__promo-title {
    font-size: 1.5rem;
    color: var(--nustar-primary); /* #F2C14E */
    margin-bottom: 10px;
    padding: 0 15px;
}