/* Live Draw Section Styles */
:root {
    --live-yellow-bg: #ffcc33;
    --live-black: #000000;
    --live-red: #ff0000;
    --live-white: #ffffff;
}

.live-draw-section {
    padding: 0 0 60px 0;
    background-color: transparent;
    margin-top: -24px;
    position: relative;
    z-index: 10;
}

.live-draw-section .container {
    max-width: 1800px;
}

.live-draw-bar {
    background-color: var(--live-yellow-bg);
    border-radius: 30px;
    padding: 30px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--live-black);
    box-shadow: 0 10px 30px rgba(255, 204, 51, 0.3);
    font-family: 'Poppins', sans-serif;
}

/* Left Content */
.live-draw-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.youtube-icon-wrap {
    width: 70px;
    height: 70px;
    background-color: var(--live-red);
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--live-white);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.live-draw-text h6 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: none;
    color: rgba(0, 0, 0, 0.8);
}

.live-draw-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: 1px;
    color: var(--live-black);
}

/* Center Content */
.live-draw-center {
    text-align: center;
}

.live-draw-day {
    color: var(--live-red);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.live-draw-time {
    font-size: 32px;
    font-weight: 700;
    color: var(--live-black);
}

.live-draw-time span {
    font-weight: 500;
    opacity: 0.8;
}

/* Right Content - Countdown */
.live-draw-right {
    text-align: center;
}

.next-draw-label {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0px;
    display: block;
    letter-spacing: 1px;
    color: var(--live-black);
}

.live-countdown-wrap {
    transform: scale(0.85);
    transform-origin: center right;
    text-align: center;
}

.live-countdown-wrap .running,
.live-countdown-wrap timer {
    display: flex !important;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.live-countdown-item {

    display: flex;
    flex-direction: column;
    align-items: center;
}

.live-countdown-circle {
    align-items: center;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 100%;
    display: flex;
    flex-flow: column;
    height: 86px;
    justify-content: center;
    width: 86px;
    margin-bottom: 0;
    color: var(--live-black);
    line-height: 1.1;
}

.live-countdown-circle [class*="day"],
.live-countdown-circle [class*="hour"],
.live-countdown-circle [class*="minute"],
.live-countdown-circle [class*="second"] {
    font-size: 28px;
    font-weight: 800;
}

.live-countdown-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.7);
    margin-top: -2px;
}

@media (max-width: 991px) {
    .live-countdown-wrap {
        transform: scale(0.85);
        transform-origin: center;
    }
}

/* Hide mobile pill by default */
.live-draw-date-pill {
    display: none;
}

/* Responsiveness */
@media (max-width: 1199px) {
    .live-draw-bar {
        padding: 25px 30px;
    }

    .live-draw-text h2 {
        font-size: 28px;
    }

    .live-draw-time {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .live-draw-section {
        background-color: var(--live-yellow-bg);
        /* Light green-grey bg from image */
        padding: 40px 0;
        margin-top: 0;
        /* Clear overlap for mobile simplicity */
    }

    .live-draw-date-pill {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    .pill-label {
        background: #ffffff;
        color: #008c44;
        padding: 10px 25px;
        border-radius: 30px 0 0 30px;
        font-weight: 800;
        font-size: 14px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .pill-date {
        background: #ffcc00;
        color: #003d6b;
        padding: 10px 25px;
        border-radius: 0 30px 30px 0;
        font-weight: 800;
        font-size: 14px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .live-draw-bar {
        background-color: transparent;
        box-shadow: none;
        display: flex;
        flex-direction: row !important;
        flex-wrap: wrap;
        padding: 0;
        gap: 25px;
        /* Added more gap for center look */
        align-items: center;
        justify-content: center;
        /* Center everything */
        max-width: 450px;
        /* Keep it compact */
        margin: 0 auto;
        font-family: 'Poppins', sans-serif;
    }

    /* Target the countdown card specifically */
    .countdown-card-wrapper {
        width: 100%;
        border: 2px solid #008c44;
        border-radius: 25px;
        padding: 25px 15px;
        background: transparent;
        order: 1;
        /* Place at top */
    }

    .next-draw-label {
        display: none;
        /* Already in top pill */
    }

    .live-countdown-wrap {
        transform: scale(1);
        justify-content: center !important;
        transform-origin: center;
    }

    .live-countdown-wrap .running,
    .live-countdown-wrap timer {
        gap: 12px;
        justify-content: center !important;
    }

    .live-countdown-circle {

        border: 2px solid black;
        color: black !important;
        height: 70px;
        width: 70px;
        box-shadow: 0 4px 15px rgba(0, 140, 68, 0.3);
    }

    .live-countdown-label {
        color: #000000;
        margin-top: 5px;
        font-weight: 700;
    }

    /* Bottom Section - Centered Group */
    .live-draw-left {
        order: 2;
        flex: initial;
        /* Don't stretch */
        width: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: left;
    }

    .youtube-icon-wrap {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .live-draw-text h6 {
        font-size: 13px;
        color: #000;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .live-draw-text h2 {
        font-size: 20px;
        color: #003d6b;
        margin-bottom: 0;
        line-height: 1.1;
        font-weight: 900;
    }

    .live-draw-center {
        order: 3;
        flex: initial;
        /* Don't stretch */
        width: auto;
        text-align: left;
        /* Text within is left, but block is centered via parent */
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
    }

    .live-draw-day {
        color: var(--live-red);
        font-size: 14px;
        font-weight: 800;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .live-draw-time {
        font-size: 16px;
        color: #003d6b;
        margin-bottom: 0;
        line-height: 1.1;
        font-weight: 800;
    }
}