body {
    background: #ececec;
    font-family: Arial, sans-serif;
}


.custom-header {
    background: #f3f3f3;
    padding: 20px 0;
}

.site-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.navbar {
    padding: 0;
}

.navbar-nav {
    flex-wrap: nowrap;
}

.navbar-nav .nav-link {
    color: #000 !important;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 12px !important;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

/* Mobile */
@media (max-width: 991px) {
    .site-title {
        text-align: left;
        margin-bottom: 10px;
    }

    .navbar-nav {
        flex-wrap: wrap;
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 15px;
        padding: 15px;
        border-radius: 5px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid #eee;
    }
}

/* Small mobile */
@media (max-width: 576px) {
    .site-title {
        font-size: 16px;
    }

    .custom-header {
        padding: 15px 0;
    }
}

.custom-header {
    background: #f3f3f3;
    padding: 35px 0;
}

.site-title {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.navbar-nav .nav-link {
    color: #000 !important;
    font-size: 16px;
    font-weight: 500;
    padding: 0 12px !important;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

.navbar-toggler {
    border: none;
}

.ticket {
    max-width: 1400px;
    margin: 20px auto;
    border: 2px solid #ccc;
    background: #fff;
    overflow: hidden;
}

.top-section {
    display: flex;
    background: linear-gradient(90deg, #0b95df 0%, #82004d 40%, #1dae0ed1 100%);
}

.left-box {
    width: 30%;
    padding: 35px 25px;
    color: #fff;
    background: #fc0019;
    clip-path: polygon(0 0, 100% 0, 78% 80%, 0 100%);
}

.left-box h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.left-box .price {
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.left-box .small-text {
    font-size: 18px;
    margin-top: 15px;
    opacity: .95;
}

.right-box {
    width: 70%;
    padding: 20px;
    text-align: center;
    position: relative;
    color: #fff;
}

.logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: #ffffff00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #000;
    font-weight: bold;
}

.logo3 {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: #ffffff00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #000;
    font-weight: bold;
}

.heading {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 1px;
}

.kwil-box {
    display: inline-block;
    background: #ffe600;
    padding: 5px 35px;
    border-radius: 14px;
    margin: 15px 0;
}

.kwil-box h1 {
    margin: 0;
    font-size: 85px;
    font-weight: 900;
    color: #d62828;
    line-height: 1;
}

.kwil-box span {
    display: block;
    font-size: 34px;
    font-style: italic;
    color: #111;
    margin-top: -12px;
}

.date-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.date-label {
    background: #0b95df;
    color: #fff;
    padding: 8px 18px;
    font-size: 34px;
    font-weight: 700;
}

.date-value {
    background: #fff;
    margin-left: -13px;
    color: #153ea8;
    padding: 8px 30px;
    font-size: 34px;
    font-weight: 700;
    border-radius: 8px;
}

.ticket-number {
    display: inline-block;
    background: #fff;
    padding: 10px 30px;
    font-size: 78px;
    font-weight: 800;
    color: #000;
    border: 3px solid #d57a50;
    position: relative;
}

.ticket-number:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 20px solid #fff;
}

.series-box {
    display: inline-block;
    background: #fff;
    padding: 8px 30px;
    font-size: 56px;
    font-weight: 700;
    color: #000;
    margin-top: 25px;
    border-radius: 6px;
}

.mrp {
    position: absolute;
    right: 35px;
    top: 160px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #e30e0e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 20px;
    font-weight: 700;
    border: 3px solid #777;
}

.middle-strip {
    background: #b3003b;
    color: #fff;
    padding: 10px;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.bottom-section {
    display: flex;
    background: #fff;
    border: 1px solid #000;
    border-radius: 15px;
    margin: 16px;
}

.star-box {
    width: 28%;
    background: #d10088;
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
    padding: 25px;
    text-align: left;
}

.star-box .divider {
    width: 2px;
    height: 90px;
    background: #fff;
    margin: 0 15px;
}

.number-grid {
    width: 72%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px;
}

.number-grid input {
    width: 100%;
    height: 75px;
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    border: none;
    background: #fff;
}

@media(max-width:768px) {

    .top-section,
    .bottom-section {
        flex-direction: column;
    }

    .left-box,
    .right-box,
    .star-box,
    .number-grid {
        width: 100%;
    }

    .left-box {
        clip-path: none;
    }

    .left-box .price {
        font-size: 70px;
    }

    .kwil-box h1 {
        font-size: 50px;
    }

    .ticket-number {
        font-size: 42px;
    }

    .series-box {
        font-size: 36px;
    }

    .number-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mrp {
        position: static;
        margin: 20px auto;
    }
}

.main-prize {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.number-prize {
    background-color: #fff;
    color: #ab7d0b;
    padding: 15px;
    border-radius: 10px;
    font-weight: 900;
    text-align: center;
    display: flex;
    align-items: center;
    font-size: 45px;
    flex: 1 1 auto;
}

#second .number-prize {
    color: #e31b1f;
}

.winner {
    font-size: 26px;
}

.seller {
    font-size: 26px;
}

.prize-num {
    flex: 1 1 auto;
}

.number-grid input {
    border: 1px solid #cfcccc;
    border-radius: 10px;
}

#second {
    background-color: #e31b1f;
}

#third {
    background-color: #004338;
}

#fifth {
    background-color: #1b1f3c;
}

#sixth {
    background-color: #f07e17;
}

#third .number-prize {
    color: #004338;
}

#fifth .number-prize {
    color: #1b1f3c;
}

#sixth .number-prize {
    color: #f07e17;
}

.banner-section {
    width: 100%;
    background: #fff;
}

.banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Optional: shadow + border for premium look */
.banner-wrapper {
    border: 2px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.prize-amount {
    background-color: #5e235b;
    padding: 17px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    align-items: center;
    height: 60px;
}

.prize-amount h4 {
    margin-bottom: 0px;
}

.number-grid {

    overflow: hidden;
}

.number-col {
    border-right: 2px solid #999;
    padding: 15px 10px;
}

.number-col:last-child {
    border-right: none;
}

.number-input {
    width: 100%;
    border: none;
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 15px;
    outline: none;
    background: transparent;
}

.number-input:focus {
    box-shadow: none;
}

@media (max-width:768px) {
    .number-input {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .number-col {
        padding: 10px 5px;
    }
}

/*footer*/
lottery-header {
    background: #5a1f58;
    padding: 10px 20px;
    color: #fff;
}

.time-box {
    text-align: center;
    line-height: 1;
}

.time-box .title {
    font-size: 42px;
    font-weight: 900;
}

.time-box .time {
    font-size: 32px;
    font-weight: 800;
}

.time-box .am {
    font-size: 28px;
    font-weight: 800;
}

.center-content {
    text-align: center;
    line-height: 1;
}

.center-content .top-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.center-content .main-title {
    font-size: 90px;
    font-weight: 900;
    letter-spacing: 8px;
}

.center-content .sub-title {
    font-size: 28px;
    font-weight: 700;
}

.date-box {
    text-align: center;
}

.date-box .title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
}

.date-input {
    width: 100%;
    max-width: 180px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    padding: 8px;
    border: 3px solid #ddd;
    background: #fff;
}

@media(max-width:768px) {
    .center-content .main-title {
        font-size: 45px;
    }

    .center-content .top-title {
        font-size: 14px;
    }

    .center-content .sub-title {
        font-size: 16px;
    }

    .time-box .title,
    .date-box .title {
        font-size: 22px;
    }

    .time-box .time {
        font-size: 18px;
    }

    .time-box .am {
        font-size: 16px;
    }

    .date-input {
        font-size: 16px;
    }
}

.container-fluid.lottery-footer {
    background-color: #1fb13b;
    color: #fff;
    padding: 20px 0;
}

.number-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0;
    border: 1px solid #ddd;
}

.number-col {
    border-right: 2px solid #999;
    padding: 15px 10px;
}

.number-col:last-child {
    border-right: none;
}

.number-input {
    width: 100%;
    border: none;
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 15px;
    outline: none;
    background: transparent;
}

/*responsive*/
@media (max-width: 991px) {

    .top-section,
    .bottom-section {
        flex-direction: column;
    }

    .left-box,
    .right-box,
    .star-box,
    .number-grid {
        width: 100%;
    }

    .left-box {
        clip-path: none;
        text-align: center;
    }

    .number-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-prize {
        flex-direction: column;
    }

    .mrp {
        position: static;
        margin: 20px auto;
    }

    .logo-row {

        justify-content: center;
        gap: 15px;
    }

    .heading {
        font-size: 28px;
    }

    .kwil-box h1 {
        font-size: 55px;
    }

    .ticket-number {
        font-size: 48px;
    }

    .center-content .main-title {
        font-size: 55px;
    }

    .number-grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .logo-row {
        flex-direction: row;
    }

    .date-row {
        flex-direction: row;
        gap: 10px;
    }

    .date-value {
        margin-left: 0;
    }

    .number-grid {
        grid-template-columns: 1fr 1fr;
    }

    .middle-strip {
        flex-direction: column;
        font-size: 16px;
        gap: 10px;
    }

    .prize-amount {
        flex-direction: column;
        height: auto;
        text-align: center;
        gap: 10px;
    }

    .lottery-footer .row {
        flex-direction: column;
    }

    .col-2,
    .col-8 {
        width: 100%;
        max-width: 100%;
        flex: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .heading {
        font-size: 22px;
    }

    .kwil-box h1 {
        font-size: 42px;
    }

    .ticket-number {
        font-size: 34px;
    }

    .number-grid input {
        font-size: 24px;
        height: 55px;
    }

    .number-input {
        font-size: 18px;
    }

    .center-content .main-title {
        font-size: 40px;
    }

    .heading {
        font-size: 25px;
    }

    .left-box .small-text {
        text-align: center;
    }

    .logo3 {
        display: none;
    }

    .date-label {
        font-size: 20px;
    }

    .date-value {
        font-size: 20px;
    }

    .ticket-number {
        font-size: 30px;
    }

    .middle-strip {
        flex-wrap: wrap;
    }

    .main-prize {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .number-prize {
        font-size: 42px;
        flex: none;
    }

    .number-grid input {
        font-size: 26px;
    }

    .number-grid-wrapper {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .number-col {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}


@media(max-width: 767px) {}


.lottery-section {
    padding-top: 25px;
    padding-bottom: 20px;
}

.title {
    text-align: center;
    font-size: 38px;
    font-weight: 400;
    color: #000;
    margin-bottom: 20px;
}

.result-wrapper {
    width: 270px;
    margin: 0 auto;
}

.result-btn {
    width: 270px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    display: block;
    text-decoration: none;
    border: 2px solid #3d49ff;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.red {
    background: #d71920;
    color: #fff;
}

.yellow {
    background: #d7d300;
    color: #000;
}

.orange {
    background: #c7821f;
    color: #fff;
}

.result-btn:hover {
    text-decoration: none;
    color: inherit;
}

.playstore {
    width: 270px;
    margin-top: 10px;
}

.playstore img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

/* Mobile Responsive */
@media(max-width:576px) {
    .title {
        font-size: 28px;
    }

    .result-wrapper {
        width: 90%;
    }

    .result-btn {
        width: 100%;
        height: 50px;
        line-height: 50px;
        font-size: 17px;
    }

    .playstore {
        width: 100%;
    }

    .main-box {
        padding: 0px;
    }
}

.date-box {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
}

.date-text {
    color: #2e7d32;
    font-size: 42px;
    font-weight: 700;
}

.time-text {
    color: #2e7d32;
    font-size: 36px;
    font-weight: 700;
    margin-top: 10px;
}

.main-box {
    background: #fff;
    padding: 30px;
    margin: 20px auto;
}

h1 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

.draw-title {
    font-size: 32px;
    margin: 30px 0 20px;
}

.table {
    background: #fff;
}

.table th {
    background: #dcdcdc;
    font-weight: 600;
}

.table td,
.table th {
    border: 1px solid #999;
}

.highlight {
    font-weight: bold;
}

.state-title {
    font-size: 32px;
    font-weight: 700;
    margin: 30px 0 10px;
}

.state-title span {
    font-weight: 500;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin: 30px 0 10px;
}

.result-links {
    margin-left: 20px;
}

.result-links li {
    margin-bottom: 5px;
}

.result-links a {
    color: #007bff;
    text-decoration: underline;
}