/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #4A5568 0%, #2D3748 50%, #1A202C 100%); /* Smoother gradient matching header */
    min-height: 100vh;
}

/* === HEADER === */
.header {
    background: #2C3E50;
    padding: 1rem 0;
    color: white;
    border-bottom: 1px solid #34495E;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 0 1rem;
    gap: 2rem;
}

.header-left, .header-center, .header-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    height: 150px;
    width: auto;
}

.header-center-image {
    max-height: 80px;
    width: auto;
}

/* .main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
} */
.icon-nav {
    display: flex;
    gap: 2rem;
}

.icon-nav a {
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.icon-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem; /* Better mobile padding */
}

/* === SHARED SECTION STYLES === */
.announcement,
.countdown,
.stream-section {
    background: rgba(255, 255, 255, 0.98); /* Slightly more opaque */
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Softer shadow */
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
}

.announcement h1,
.countdown h2,
.stream-section h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.stream-section h2 {
    margin-bottom: 0.5rem;
}

.stream-section p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* === ANNOUNCEMENT === */
.announcement h1 {
    color: #e74c3c;
    font-size: 1.8rem;
}

.temp-link {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.temp-link:hover {
    background: #2980b9;
}

/* === COUNTDOWN TIMERS === */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.time-unit {
    background: #34495e;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    min-width: 80px;
}

.time-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.time-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* === STREAM EMBEDS === */
.stream-embed {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* === YOUTUBE EMBED === */
.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* === LIVE STREAM COUNTDOWN === */
#live-stream-countdown {
    background: #0d2a55;
    color: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
    margin: 0 auto;
    max-width: 600px;
}

#live-stream-countdown h2 {
    margin: 0 0 8px 0;
    font-size: 1.6rem;
    color: white;
}

#live-stream-countdown p {
    margin: 0 0 16px 0;
    opacity: .85;
}

#time-rows {
    font-family: system-ui, sans-serif;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

#time-rows > div {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    min-width: 70px;
}

#time-rows .time-display {
    font-size: 2.4rem;
    font-weight: 700;
    display: block;
}

#time-rows .time-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

#watchNowBtn {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    background: #fff;
    color: #0d2a55;
    font-weight: bold;
    transition: all 0.3s ease;
}

#watchNowBtn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.live-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 8px;
}

#player-wrap {
    display: none;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-top: 16px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
}

#yt-live {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* === FACEBOOK SECTION === */
.facebook-section .stream-embed {
    max-width: 950px; /* Key change - wider for Facebook */
}

.facebook-container {
    width: 100%;
    min-height: 600px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.fb-page {
    width: 100%;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .countdown-timer {
        gap: 0.5rem;
    }

    .time-unit {
        min-width: 60px;
        padding: 0.8rem;
    }

    .time-number {
        font-size: 1.5rem;
    }

    #time-rows {
        gap: 8px;
    }

    #time-rows > div {
        min-width: 60px;
        padding: 8px;
    }

    #time-rows .time-display {
        font-size: 1.8rem;
    }

    .facebook-section .stream-embed {
        max-width: 100%; /* Full width on mobile */
    }

    .header-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        }
    }
}

/* === FOOTER === */
.footer {
    background: #0000ff;
    color: white;
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid #34495E;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

.footer {
    background: rgba(255, 255, 255, 0.98);
    color: #333;
    padding: 1rem 0;
    margin: 2rem auto 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
}
.footer a {
    color: #3498db;
    text-decoration: none;
}

.footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}
