 * {
            font-family: 'Roboto';
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
            body {
            background-color: #703C78;
        }


        .navbar .nav-link {
            border-left: 1px solid #ccc6c6;
            border-right: 1px solid #ccc6c6;
            line-height: 70px;
            color: #ffffff !important;
            transition: all 0.3s ease;
            font-weight: bold;
            text-transform: uppercase;
        }


        .navbar .nav-link:hover,
        .navbar .nav-link.active {
            color: #a33ec5 !important;
            background-color: #faf1fd;
        }

        .navbar-brand img {
            object-fit: contain;
        }
        
        .navbar {
            background: linear-gradient(to right, #3e1f47, #4b1d5f);
            position: fixed;
            border-bottom: 0.1px solid #ccc6c6;
            width: 100%;
            z-index: 1000;
        }
        

        .bg-image {
            width: 100%;
            height: 1290px;
            background: url('/assets/images/homepage/bg.png') center/cover no-repeat;
            position: relative;
            top: 70px;
        }

        .container_index {
            position: relative;
            z-index: 10;
            transform: translateY(-90vh);
            text-align: center;
            color: white;
            padding-top: 200px;
        } 

    /* Mobile-first responsive adjustments */
/* Navbar Base Styles */
.navbar {
    background: linear-gradient(to right, #3e1f47, #4b1d5f);
    position: fixed;
    border-bottom: 0.1px solid #ccc6c6;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.nav-link {
    border-left: 1px solid #ccc6c6;
    border-right: 1px solid #ccc6c6;
    line-height: 70px;
    color: #ffffff !important;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 1.5rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: #a33ec5 !important;
    background-color: #faf1fd;
}

/* Countdown Styles */
.countdown-container {
    display: flex;
    gap: 0.5rem;
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-family: 'Gobold';
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #461E4CBF;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    min-width: 60px;
    min-height: 70px;
    border: 1px solid #E95EFF;
}

.countdown-label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}



/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .nav-link {
        padding: 0 1rem !important;
    }
}

@media (max-width: 991.98px) {
    
    .navbar {
        padding: 0.5rem;
    }
    
    .navbar-brand img {
        height: 50px;
    }
    
    .nav-link {
        line-height: 2.5;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        padding: 0.5rem 1rem !important;
    }
    
    .navbar-collapse {
        background: linear-gradient(to bottom, #3e1f47, #4b1d5f);
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    .countdown-value {
        min-width: 50px;
        min-height: 60px;
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    
    .navbar-brand img {
        max-height: 40px;
    }
    .container_index h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .countdown-container {
        justify-content: center;
    }
    
}

@media (max-width: 450px) {
    .navbar-toggler{
        margin-top: 13px !important;
        padding: 0.25rem 0.5rem;
        height: 40px !important;
    }
    .footer-container .description{
        font-size: 1rem !important;
    }
    .custom-container{
        padding: 10px !important;
    }
    .btnPagingNext ,.btnPagingBack, .number_page{
    background: white  !important;
    color: black !important;
    font-size: 15px !important;
    padding: 6px 10px !important;
    border: none;
    border-radius: 2px;
    margin-right: 0px !important;
    margin-left: 0px !important;
}
 .number_select{
padding: 2px 15px !important;
 }
 .btn-submit{
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
 }
    .btn-result{
        font-size: 1rem !important;
        padding: 0.5rem 1rem;
    }
    .text-draw{
        font-size: 1.5rem !important;
        margin-top: 20px !important;
        padding-left: 20px !important;
    }
   .prize-item {
        width: 100%; /* Full width of container */
        max-width: 350px; /* Maximum width */
        height: auto; /* Flexible height */
        min-height: 550px; /* Minimum height */
        background-size: 100% auto; /* Full width background */
        margin-bottom: 20px; /* Spacing between items */
        justify-content: center;
    }
    .pool-prize{
        font-size: 3rem !important;
        width: 50px !important;
        height: 60px !important;
        padding: 5px 10px !important;
    }
    .countdown-value{
        font-size: 1.5rem !important;
        padding: 0 !important;	
        min-width: 60px !important;
        min-height: 70px !important;
    }
    .container_index h1 {
        font-size: 2.5rem !important;
        position: relative;
        transform: translateY(-20vh);
    }
    .results-grid{
        flex-direction: column;
        align-items: center;
    }
     .nav-link {
        font-size: 0.7rem;
        padding: 0.2rem !important;
    }
    
    .navbar-brand {
        margin: 0 0.5rem;
    }
    .navbar-brand img {
        height: 40px;
    }
    
    .countdown-value {
        min-width: 40px;
        min-height: 50px;
        font-size: 1rem;
        padding: 0.25rem 0.5rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .next-drawing {
        font-size: 1rem;
        text-align: center !important;
    }
    
    .container_index h1 {
        font-size: 2rem;
    }
}
        .container_index h1 {
          position: relative;
          font-family: 'Paytone One';
            font-size: 115px;
            font-weight: 800;
            margin-top: -16vh;
            line-height: 100%;
            color: white;
        }

        .countdown-container {
            display: flex;
            justify-content: space-between;
            position: relative;
            /* transform: translateY(px); */
            margin-top: -20vh;
            
        }

        .countdown-box {
           font-family: 'Gobold';
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 15px;
        }

        .countdown-value {
            font-family: 'Gobold';
            font-size: 40px;
            font-weight: bold;
            display: flex;
            justify-content: center;
            align-items: center;	
            background: #461E4CBF;
            padding: 10px 20px;
            border-radius: 5px;
            min-width: 90px;
            min-height: 100px;
            font-weight: 400;
           border: 1px solid #E95EFF;
            text-align: center;
        }

        .countdown-label {
            font-size: 20px;
            margin-bottom: 10px;
        }

        .next-drawing {
           margin-top: 20px;
            font-family: Roboto;
             color: #FF4BF3;
            font-size: 35px;
            font-weight: 500;
        }
        .next-drawing{
            margin-left: 100px !important;
        }

        .recent-results {
            margin-top: 30px;
            font-size: 24px;
            font-weight: bold;
        }

        .custom-container {
            max-width: 1299px;
            margin: 0 auto;
            /* padding: 0 15px;  */
    
        }

        .lottery-results{
            position: relative;
            /* transform: translateY(-90vh); */
            margin-top: -90vh;
        }

        .imagePrize{
            width: 305px;
            height: 268px;
        }

        .text-draw{
            font-family: 'Roboto';
            font-size: 30px;
            font-weight: 400;
            line-height: 120%;
            margin-top: -20px;
            color: #FF4BF3;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .text-price{
            margin-top: 30px;
            font-size: 40px;
            font-weight: 500;
            color: white;
            z-index: 1000;
        }

        .pool-prize{
            font-family: 'Gobold';
            font-size: 60px;
            width: 75px;
            height: 84px;
            font-weight: 600;
            background-color: #360f3cbf;
            padding: 15px 25px;
            border-radius: 5px;
            color: white;
            margin:6px;
        }

.prize-item {
    padding: 80px 0;
    width: 413px; /* Keep your original width */
    height: 706px; /* Keep your original height */
    background: url('/assets/images/homepage/bg_prize.png') center/90% no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-size: 98% auto; /* This makes the width 90% while maintaining aspect ratio */
}


.section-title {
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 45px;
}

/* Day filter buttons */
.day-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.day-btn {
    position: relative;
    border: none;
    background: #f0f0f0;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
}

/* Result cards */
.results-grid {
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 20px;
    
}

.result-card {
    background-color: #703C78;
    padding: 30px 10px;
    max-width: 400px;
    height: 610px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.card-title {
    color: white;
    padding: 15px;
    font-weight: 500;
    font-size: 30px;
    text-align: center;
}

.card-title h3 {
    margin: 0;
    font-size: 28px;
}

.card-body {
    padding: 20px;
}



.prize-title {
    margin-top: 16px;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 23px;
}

.prize-numbers {
    display: flex;
    font-size: 1.5rem;
    letter-spacing: 5px;
    color: white;
    font-weight: bold;
}
 .prize-number {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 60px;
        height: 70px;
        margin: 3px 6px;
        background-color: rgba(70, 30, 76, 0.75);
        font-size: 28px;
        font-weight: bold;
        color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }

#current-page {
    font-size: 1.2rem;
    font-weight: bold;
}


.btn-result{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    color: white;
    font-size: 25px;
    background: #A33EC5;
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    margin-bottom: 70px;
    margin-top: 60px;
}

.result-container{
    display: flex;
    position: relative;
    /* transform: translateY(-90vh); */
    margin-top: -20px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.contain_btn{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}


/* Footer style */
.footer-container{
    background: #461E4CBF;
    padding: 30px 0;
}
.description{
    margin-top: 12px;
    font-family: 'Roboto';
    font-size: 17px;
    font-weight: 400;
    line-height: 135%;
    color: white;
}
.contain_btn a{
    text-decoration: none;
}
.contain_btn a button:hover{
    background: #000000;
}
.result-more{
    position: relative;
    transform: translateY(-30vh);
    margin-top: -200px;
}

/* Container styling */
div.pagination {
    position:relative;
    transform: translateY(10vh);
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    flex-wrap: wrap;
    font-family: Arial, sans-serif;
}

div.pagination button,
div.pagination input[type="text"] {
    
    padding: 6px 12px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    color: #333;
    cursor: pointer;
    border-radius: 7px;
    padding: 12px 25px !important;
    transition: all 0.2s ease-in-out;
    font-weight: 400;
    font-size: 16px;
}

.btnPagingNext ,.btnPagingBack, .number_page{
    background: white  !important;
    color: black !important;
    font-size: 25px;
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    margin-bottom: 70px;
    margin-top: 60px;
}
.number_select{
    background: #A33EC5  !important;
    color: white !important;
    font-size: 25px;
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    margin-bottom: 70px;
    margin-top: 60px;
}
.header-about{
    font-size: 45px;
    color: white;
    font-weight: 500;
}

.contact-us-box{
    width: 100%;
}

.description-about{
    margin-top: 10vh;
    font-family: 'Roboto';
    font-size: 18px;
    font-weight: 400;
    line-height: 135%;
    color: white !important;
}

.about-us-box{
    position: relative;
    transform: translateY(-46vh);
    margin-top: -19vh;
}


.contact-section h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 30px;
    font-weight: 600;
}

.text-label {
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
}
.form-control {
    border-radius: 10px;
    height: 65px;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

textarea.form-control {
    height: 170px;
    resize: none;
}

.btn-submit {
    margin-top: 20px;
    background-color: #A33EC5;
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 500;
    border: none;
    transition: all 0.3s;
    font-size: 25px;
}

.btn-submit:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.header-contact{
    font-size: 45px;
    color: white;
    font-weight: 500;
    margin-top: -16vh;
}

.contact-us{
    position: relative;
    transform: translateY(-46vh);
}
.description-contact-us{
    margin-top: 9vh;
    font-family: 'Roboto';
    font-size: 18px;
    font-weight: 400;
    line-height: 135%;
    color: white !important;
}

