
    *{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
a{
    text-decoration: none;
  color: white;
}
body{
    background:#f3f3f3;
    font-family:Arial,sans-serif;
}

.winner-gallery-section{
    padding:60px 20px;
}

.winner-gallery-title{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}
.winner-gallery-title1{
    text-align:center;
    font-size:40px;
    margin-bottom:30px;
}

.winner-gallery-wrapper{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
    max-width:1400px;
    margin:auto;
}

/* CARD */

.winner-gallery-card{
    position:relative;
    min-height:380px;
    padding:35px 15px 25px;
    text-align:center;
    overflow:hidden;
    border-radius:0 45px 45px 0;
}

/* Side Ticket Cut Effect */

.winner-gallery-card::before{
    content:"";
    position:absolute;
    left:-8px;
    top:25px;
    width:16px;
    height:16px;
    background:#fff;
    border-radius:50%;
    box-shadow:
        0 42px #fff,
        0 84px #fff,
        0 126px #fff,
        0 168px #fff,
        0 210px #fff,
        0 252px #fff,
        0 294px #fff;
}

.winner-gallery-card::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:24px;
    height:24px;
    background:#fff;
    border-radius:0 0 0 100%;
}

/* Colors */

.winner-orange{
    background:#f25829;
}

.winner-blue{
    background:#174da8;
}

.winner-green{
    background:#88b724;
}

.winner-maroon{
    background:#5d0b02;
}

.winner-purple{
    background:#6f42c1;
}

/* Prize */

.winner-prize{
    color:#ffff00;
    margin-bottom:35px;
}

.winner-prize span{
    font-size:18px;
    font-weight:600;
}

.winner-prize strong{
    font-size:56px;
    font-weight:700;
}

.winner-prize small{
    font-size:22px;
    font-weight:600;
}

/* Image */

.winner-profile{
    width:170px;
    height:170px;
    margin:auto;
    border-radius:50%;
    overflow:hidden;
    background:#fff;
}

.winner-profile img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Name */

.winner-name{
    color:#fff;
    font-size:22px;
    margin-top:20px;
    font-weight:600;
}

/* Tablet */

@media(max-width:1200px){

    .winner-gallery-wrapper{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .winner-gallery-wrapper{
        grid-template-columns:repeat(2,1fr);
    }

}

/* Mobile */

@media(max-width:576px){

    .winner-gallery-wrapper{
        grid-template-columns:1fr;
    }

    .winner-gallery-card{
        max-width:280px;
        margin:auto;
    }

    .winner-gallery-title{
        font-size:30px;
    }

}


   /* Zig Zag Divider */
.zigzag{
    height:28px;
    background:
        linear-gradient(-45deg,#24354d 10px,transparent 0),
        linear-gradient(45deg,#24354d 10px,transparent 0);
    background-size: 30px 45px;
    background-position:left bottom;
    background-repeat:repeat-x;
}

/* Footer */
.footer-section{
    background: #24354d;
  color: #fff;
  padding: 54px 34px;
  font-family: Arial,sans-serif;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:40px;
}

.footer-col h3{
    font-size:18px;
    margin-bottom:20px;
    font-weight:700;
}

.footer-col ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-col ul li{
    margin-bottom:12px;
}

.footer-col ul li a{
    color:#fff;
    text-decoration:none;
    opacity:.9;
}

.footer-col ul li a:hover{
    color:#f5f5f5;
}

.age-badge{
    margin-top:40px;
    background:#fff;
    color:#000;
    display:flex;
    align-items:center;
    gap:10px;
    border-radius:30px;
    width:170px;
    padding:6px 10px;
}

.age-badge span{
    width:30px;
    height:30px;
    border:2px solid red;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:red;
    font-weight:bold;
}

.age-badge p{
    font-size:8px;
    margin:0;
    line-height:1.2;
    font-weight:600;
}

.qr-box{
    /*background:#fff;*/
    padding:10px;
    width:150px;
}

.qr-box img{
    width:100%;
    display:block;
}

.copyright{
    text-align:center;
    margin-top:40px;
    font-size:15px;
    color:#ddd;
}

@media(max-width:991px){
    .footer-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:576px){
    .footer-grid{
        grid-template-columns:1fr;
    }
}

.monthly-lottery-wrapper{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
    padding:40px 15px;
}

.monthly-lottery-card{
    width:280px;
    position:relative;
    overflow:hidden;
}

/* TOP */

.lottery-top{
    color:#fff;
    text-align:center;
    padding:18px 15px 30px;
    border-radius:28px 28px 0 0;
    position:relative;
}

.lottery-top h3{
    font-size:18px;
    margin-bottom:10px;
    font-weight:700;
}

.lottery-divider{
    width:80%;
    height:1px;
    background:#ff4f7a;
    margin:10px auto;
}

.lottery-top h4{
    font-size:17px;
    margin-bottom:10px;
}

.lottery-prize{
    font-size:60px;
    line-height:1;
    font-weight:300;
}

.lottery-prize span{
    display:block;
    font-size:50px;
}

/* BOTTOM */

.lottery-bottom{
    text-align:center;
    padding:18px 10px 25px;
    position:relative;
    border-top:4px dashed #fff;
    border-radius:0 0 28px 28px;
}

/* Ticket Cut */

.lottery-bottom::before{
    content:"";
    width:22px;
    height:22px;
    background:#f5f5f5;
    border-radius:50%;
    position:absolute;
    left:-11px;
    top:-11px;
}

.lottery-bottom::after{
    content:"";
    width:22px;
    height:22px;
    background:#f5f5f5;
    border-radius:50%;
    position:absolute;
    right:-11px;
    top:-11px;
}

/* Button */

.buy-ticket-btn{
    border:2px solid #fff;
    background:#b01717;
    color:#fff;
    padding:10px 22px;
    border-radius:30px;
    font-weight:700;
    cursor:pointer;
    margin-bottom:15px;
}

.lottery-bottom p{
    margin:4px 0;
    font-size:14px;
}

/* Colors */

.lottery-purple{
    background:#6f42c1;
}

.lottery-gray{
    background:#78818a;
}

.lottery-dark{
    background:#343b44;
}

.lottery-blue{
    background:#1578f0;
}

.lottery-orange{
    background:#ff7a0a;
}

.lottery-red{
    background:#df3045;
}

.lottery-pink{
    background:#e03d93;
}

.lottery-yellow{
    background:#f8bf00;
}

/* Responsive */

@media(max-width:991px){

    .monthly-lottery-card{
        width:280px;
    }

}

@media(max-width:576px){

    .monthly-lottery-card{
        width:100%;
        max-width:320px;
    }

}





.lottery-announcement-section{
    width:100%;
    padding:20px 0;
}

.lottery-announcement-box{
    width:100%;
    background:#b30d0d;
    color:#fff;
    padding:88px 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-align:center;
    font-size:20px;
    font-weight:600;
}

.lottery-announcement-box i{
    font-size:28px;
    color:#ffd700;
}

/* Mobile Responsive */

@media (max-width:768px){

    .lottery-announcement-box{
        padding:14px 15px;
        font-size:16px;
        gap:8px;
        line-height:1.5;
        flex-wrap:wrap;
    }

    .lottery-announcement-box i{
        font-size:22px;
    }
}

@media (max-width:480px){

    .lottery-announcement-box{
        padding:12px 10px;
        font-size:14px;
        flex-direction:column;
        gap:6px;
    }

    .lottery-announcement-box i{
        font-size:20px;
    }
}


.lottery-video-section{
    width:100%;
    max-width:1400px;
    margin:auto;
    padding:50px 20px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.video-box{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.video-header{
    background:#b30d0d;
    color:#fff;
    padding:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.video-header i{
    font-size:24px;
    color:#ffd700;
}

.video-header h3{
    margin:0;
    font-size:20px;
    font-weight:600;
}

.video-wrapper{
    position:relative;
    width:100%;
    padding-bottom:56.25%; /* 16:9 */
}

.video-wrapper iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border:none;
}

/* Tablet */

@media (max-width:768px){

    .lottery-video-section{
        grid-template-columns:1fr;
        gap:20px;
    }

    .video-header h3{
        font-size:18px;
    }
}

/* Mobile */

@media (max-width:480px){

    .lottery-video-section{
        padding:30px 15px;
    }

    .video-header{
        padding:12px;
    }

    .video-header i{
        font-size:20px;
    }

    .video-header h3{
        font-size:16px;
    }
}


/* =================================================== */


.header{
    width:100%;
    background:#e2e8ce;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 5%;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:1000;
}

/* Logo */
.logo img{
    width:180px;
    max-width:100%;
}

/* Navbar */
.navbar{
    display:flex;
    align-items:center;
    gap:60px;
}

.navbar a{
    text-decoration:none;
    color:#111;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.navbar a i{
    font-size: 26px;
    color:#c01818;
    margin-right:5px;
}

.navbar a:hover{
    color:#c01818;
}

/* Right Side */
.header-right{
    display:flex;
    align-items:center;
    gap:20px;
}

.cart{
    position:relative;
    cursor:pointer;
    font-size:24px;
    color:#c01818;
}

.cart span{
    position:absolute;
    top:-8px;
    right:-10px;
    width:20px;
    height:20px;
    background:#003b95;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
}

/* Mobile Menu */
.menu-btn{
    display:none;
    font-size:26px;
    cursor:pointer;
}

/* Tablet */
@media(max-width:992px){

    .navbar{
        gap:18px;
    }

    .navbar a{
        font-size:14px;
    }

    .logo img{
        width:150px;
    }
}

/* Mobile */
@media(max-width:768px){

    .menu-btn{
        display:block;
    }

    .navbar{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#fff;
        flex-direction:column;
        align-items:flex-start;
        padding:20px;
        gap:18px;
        display:none;
        box-shadow:0 5px 15px rgba(0,0,0,.1);
    }

    .navbar.active{
        display:flex;
    }

    .logo img{
        width:130px;
    }

    .cart{
        font-size:22px;
    }
}

/* Small Mobile */
@media(max-width:480px){

    .header{
        padding:10px 15px;
    }

    .logo img{
        width:120px;
    }

    .navbar a{
        font-size:15px;
    }
}

.lottery-wrapper{
    max-width:800px;
    margin:auto;
}

.bunch-row{
    display:flex;
    gap:10px;
    margin-bottom:20px;
}

.bunch-btn{
    min-width:70px;
    height:30px;
    border:1px solid #444;
    border-radius:20px;
    background:#fff;
    cursor:pointer;
}

.bunch-btn.active{
    background:#1f2433;
    color:#fff;
}

.ticket-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px 15px;
    margin-top:15px;
}

.ticket-btn{
    height:28px;
    border:1px solid #666;
    border-radius:20px;
    background:#fff;
    cursor:pointer;
    font-size:13px;
}

.ticket-btn.active{
    background:#c62828;
    color:#fff;
    border-color:#c62828;
}


.cart-btn{
    width:180px;
    height:40px;
    border:none;
    border-radius:25px;
    background:#2d3748;
    color:#fff;
}

.buy-btn{
    width:180px;
    height:40px;
    border:none;
    border-radius:25px;
    background:#c62828;
    color:#fff;
}
  
  
  
/* .ticket-section {*/
/*    min-height: 500px;*/
/*    background: url('/assets/img/sliode3.png') center center/cover no-repeat;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    position: relative;*/
/*    padding: 20px;*/
/*}*/

/*.ticket-section::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    background: rgba(0, 0, 0, 0.4);*/
/*}*/

/*.buy-ticket-btn {*/
/*    position: relative;*/
/*    z-index: 1;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    background: #ff4d4d;*/
/*    color: #fff;*/
/*    text-decoration: none;*/
/*    padding: 15px 35px;*/
/*    border-radius: 50px;*/
/*    font-size: 22px;*/
/*    font-weight: 600;*/
/*    transition: 0.3s ease;*/
/*}*/

/*.buy-ticket-btn:hover {*/
/*    background: #e63939;*/
/*    transform: scale(1.05);*/
/*}*/

/* Tablet */
/*@media (max-width: 768px) {*/
/*    .ticket-section {*/
/*        min-height: 350px;*/
/*    }*/

/*    .buy-ticket-btn {*/
/*        padding: 13px 28px;*/
/*        font-size: 18px;*/
/*    }*/
/*}*/

/* Mobile */
/*@media (max-width: 480px) {*/
/*    .ticket-section {*/
/*        min-height: 280px;*/
/*        padding: 15px;*/
/*    }*/

/*    .buy-ticket-btn {*/
/*        padding: 12px 24px;*/
/*        font-size: 16px;*/
/*        gap: 8px;*/
/*    }*/

/*    .buy-ticket-btn i {*/
/*        font-size: 15px;*/
/*    }*/
/*} */
  
  
  
  
  
.ticket-section1 {
    min-height: 300px;
    background: url('../../assets/img/buyl.jpg') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ticket-section1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
  
.ticket-section {
    min-height: 300px;
    background: url('../../assets/img/sliode3.png') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ticket-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.ticket-text {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ticket-text i {
    font-size: 38px;
}

/* Tablet */
@media (max-width: 768px) {
    .ticket-section {
        min-height: 350px;
    }

    .ticket-text {
        font-size: 30px;
    }

    .ticket-text i {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .ticket-section {
        min-height: 280px;
    }

    .ticket-text {
        font-size: 22px;
        gap: 10px;
        text-align: center;
    }

    .ticket-text i {
        font-size: 20px;
    }
}  
  
  
  .winner-section {
    min-height: 300px;
    background: url('../../assets/img/wiin.jpg') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.winner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.winner-text {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.winner-text i {
    font-size: 38px;
    color: gold;
}

/* Tablet */
@media (max-width: 768px) {
    .winner-section {
        min-height: 350px;
    }

    .winner-text {
        font-size: 30px;
    }

    .winner-text i {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .winner-section {
        min-height: 280px;
    }

    .winner-text {
        font-size: 22px;
        gap: 10px;
    }

    .winner-text i {
        font-size: 20px;
    }
}
  
  
  
  /*---------------------------------------------------------------------------------------------------------------------------*/
  .lottery-wrapper{
    display:flex;
    gap:30px;
}

.left-panel{
    width:55%;
}

.right-panel{
    width:45%;
    border:1px solid #ddd;
    border-radius:15px;
    padding:20px;
    display:none;
}

.ticket-head{
    display:flex;
    align-items:center;
    gap:15px;
}

.lp-btn{
    background:#b31217;
    color:#fff;
    border:none;
    padding:10px 25px;
    border-radius:25px;
    cursor:pointer;
}

.ticket-list{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:20px;
}

.ticket{
    border:1px solid #999;
    border-radius:30px;
    background:#fff;
    padding:10px;
}

.lp-controls{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:20px;
}

.lp-controls button{
    width:40px;
    height:40px;
    border:none;
    background:#b31217;
    color:white;
    border-radius:5px;
}

table{
    width:100%;
}

.subtotal{
    margin-top:20px;
    text-align:right;
    font-weight:700;
}

.action-btns{
    margin-top: 20px;
      display: flex;
      gap: 20px;
      margin-left: 20%;
}

.action-btns button{
    padding:12px 40px;
    border:none;
    border-radius:30px;
    background: maroon;
  color: white;
}
  
  /* =========================
   TABLET
========================= */

@media (max-width: 991px){

    .lottery-wrapper{
        flex-direction:column;
    }

    .left-panel,
    .right-panel{
        width:100%;
    }

    .ticket-list{
        grid-template-columns:repeat(2,1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px){

    .lottery-wrapper{
        display:block;
    }

    .left-panel,
    .right-panel{
        width:100%;
    }

    .ticket-head{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .ticket-head h4{
        font-size:20px;
    }

    .lp-btn{
        width:100%;
        text-align:center;
    }

    .draw-info{
        display:flex;
        flex-direction:column;
        gap:8px;
    }

    .ticket-list{
        grid-template-columns:1fr;
        gap:10px;
    }

    .ticket{
        width:100%;
        font-size:15px;
    }

    .right-panel{
        margin-top:20px;
        padding:15px;
        overflow-x:auto;
    }

    .lp-controls{
        justify-content:center;
        gap:15px;
    }

    .lp-controls button{
        width:38px;
        height:38px;
    }

    table{
        min-width:500px;
    }

    .action-btns{
        flex-direction:column;
        gap:10px;
    }

    .action-btns button{
        width:100%;
    }

}


/* =========================
   EXTRA SMALL MOBILE
========================= */

@media (max-width: 480px){

    h3{
        font-size:22px;
    }

    .ticket-head h4{
        font-size:18px;
    }

    .lp-btn{
        padding:10px;
        font-size:14px;
    }

    .ticket{
        padding:12px;
        font-size:14px;
    }

    .subtotal{
        font-size:18px;
    }

    .action-btns button{
        height:50px;
        font-size:16px;
        font-weight:600;
    }

}
  
  .payment-box{
    display:none;
    margin-top:20px;
    padding:20px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 4px 20px rgba(0,0,0,.1);
}

.payment-header{
    text-align:center;
    margin-bottom:15px;
}

.payment-header h4{
    margin:0;
    font-size:20px;
}

.qr-box{
    text-align:center;
    margin-bottom:20px;
}

.qr-box img{
    width:220px;
    max-width:100%;
    border:1px solid #ddd;
    padding:10px;
    border-radius:10px;
}

.form-group{
    margin-bottom:15px;
}

.form-group label{
    display:block;
    margin-bottom:5px;
    font-weight:600;
}

.form-group input{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
}

.submit-btn{
    width:100%;
    padding:14px;
    border:none;
    background:#e60023;
    color:#fff;
    border-radius:8px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

.submit-btn:hover{
    opacity:.9;
}
  /* Mobile Responsive */

@media (max-width:768px){

    .lottery-wrapper{
        display:flex;
        flex-direction:column;
        gap:15px;
    }

    .left-panel,
    .right-panel{
        width:100%;
    }

    .ticket-head{
        flex-direction:column;
        gap:10px;
        align-items:stretch;
    }

    .lp-btn{
        width:100%;
    }

    .ticket-list{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:8px;
    }

    .ticket{
        width:100%;
        font-size:14px;
        padding:10px;
    }

    .draw-info{
        display:flex;
        flex-direction:column;
        gap:5px;
    }

    .action-btns{
        display:flex;
        gap:10px;
        position:sticky;
        bottom:0;
        left:0;
        right:0;
        background:#fff;
        padding:10px;
        z-index:99;
        box-shadow:0 -2px 10px rgba(0,0,0,.1);
    }

    .action-btns button{
        flex:1;
        height:50px;
        font-size:15px;
    }

    .payment-box{
        width:100%;
        right:-100%;
        padding:15px;
    }

    .payment-box.active{
        right:0;
    }

    .qr-box img{
        width:180px;
    }

    .form-group input{
        padding:12px;
        font-size:14px;
    }

    .submit-btn{
        height:50px;
        font-size:15px;
    }

    .lp-controls{
        justify-content:center;
        margin-bottom:15px;
    }

    .lp-controls button{
        width:40px;
        height:40px;
        font-size:20px;
    }

    .lp-controls span{
        min-width:50px;
        text-align:center;
        font-size:18px;
    }

    .right-panel table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

}

/* Small Mobile */

@media (max-width:480px){

    .left-panel h3{
        font-size:20px;
    }

    .left-panel p{
        font-size:15px;
    }

    .ticket-list{
        grid-template-columns:1fr;
    }

    .payment-box{
        padding:12px;
    }

    .qr-box img{
        width:150px;
    }

    .form-group label{
        font-size:13px;
    }

    .form-group input{
        height:45px;
        font-size:13px;
    }

    .submit-btn{
        height:48px;
        font-size:14px;
    }

}

/*.payment-box{*/
/*    position:fixed;*/
/*    top:0;*/
/*    right:-450px;*/
/*    width:420px;*/
/*    height:100vh;*/
/*    background:#fff;*/
/*    overflow-y:auto;*/
/*    transition:0.4s;*/
/*    z-index:9999;*/
/*    box-shadow:-5px 0 20px rgba(0,0,0,.2);*/
/*}*/

/*.payment-box.active{*/
/*    right:0;*/
/*}*/




/*--------------------------------------------------------------------*/
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    background:#f5f6fa;
}

/* =====================
   MAIN CONTAINER
===================== */

.lotto-container{
    display:flex;
    gap:20px;
    padding:20px;
    align-items:flex-start;
}

.lotto-left,
.lotto-right{
    flex:1;
    background:#fff;
    border-radius:12px;
    padding:20px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

/* =====================
   DRAW BOX
===================== */

.draw-box{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin:15px 0;
    padding:12px;
    background:#f8f9fa;
    border-radius:8px;
}

.ticket-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.lotto-btn{
    background:#800000;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:6px;
    cursor:pointer;
}

/* =====================
   TICKET GRID
===================== */

.ticket-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.ticket-item{
    border:none;
    background:#f3f4f6;
    padding:12px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.ticket-item:hover{
    background:#800000;
    color:#fff;
}

/* =====================
   QTY
===================== */

.qty-control{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.qty-control button{
    width:40px;
    height:40px;
    border:none;
    border-radius:6px;
    background:#800000;
    color:#fff;
    cursor:pointer;
    font-size:18px;
}

.qty-control span{
    font-size:18px;
    font-weight:600;
}

/* =====================
   TABLE
===================== */

.lotto-table{
    width:100%;
    border-collapse:collapse;
}

.lotto-table th,
.lotto-table td{
    border:1px solid #ddd;
    padding:12px;
    text-align:center;
}

.lotto-table th{
    background:#800000;
    color:#fff;
}

.subtotal-box{
    margin-top:20px;
    text-align:right;
    font-size:20px;
    font-weight:700;
}

/* =====================
   BUTTONS
===================== */

.bottom-actions{
    display:flex;
    gap:15px;
    padding:20px;
}

.cart-btn,
.buy-btn{
    border:none;
    padding:12px 30px;
    border-radius:8px;
    cursor:pointer;
    color:#fff;
    background:#800000;
    font-size:16px;
    font-weight:600;
}

/* =====================
   PAYMENT MODAL
===================== */

.payment-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:.3s;
    z-index:9999;
}

.payment-popup.active{
    opacity:1;
    visibility:visible;
}

.payment-card{
    width:90%;
    max-width:700px;
    max-height:100vh;
    background:#fff;
    border-radius:15px;
    overflow-y:auto;
    padding:25px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
}

/* HEADER */

.payment-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.payment-top h3{
    font-size:20px;
}

.payment-top button{
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:red;
    color:#fff;
    cursor:pointer;
    font-size:18px;
}

/* QR */

.qr-wrapper{
    text-align:center;
    margin-bottom:20px;
}

.qr-wrapper img{
    width:160px;
    height:160px;
    object-fit:contain;
}

/* =====================
   FORM
===================== */

.payment-card form{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.input-group{
    width:calc(50% - 8px);
}

.input-group label{
    display:block;
    margin-bottom:6px;
    font-size:14px;
    font-weight:600;
}

.input-group input{
    width:100%;
    height:48px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 12px;
    outline:none;
}

.input-group input:focus{
    border-color:#800000;
}

input[type="file"]{
    height:auto;
    padding:10px;
}

.submit-payment{
    width:100%;
    height:50px;
    border:none;
    border-radius:8px;
    background:#28a745;
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

.submit-payment:hover{
    background:#218838;
}

/* =====================
   TABLE SCROLL MOBILE
===================== */

.lotto-right{
    overflow-x:auto;
}

/* =====================
   TABLET
===================== */

@media(max-width:992px){

    .lotto-container{
        flex-direction:column;
    }

    .lotto-left,
    .lotto-right{
        width:100%;
    }

    .ticket-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

/* =====================
   MOBILE
===================== */

@media(max-width:768px){

    .lotto-container{
        padding:10px;
        gap:15px;
    }

    .draw-box{
        flex-direction:column;
    }

    .ticket-header{
        flex-direction:column;
        gap:10px;
        align-items:flex-start;
    }

    .ticket-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .input-group{
        width:100%;
    }

    .bottom-actions{
        flex-direction:column;
        padding:15px;
    }

    .cart-btn,
    .buy-btn{
        width:100%;
    }

    .payment-card{
        width:95%;
        padding:15px;
    }

    .qr-wrapper img{
        width:140px;
        height:140px;
    }

    .lotto-table{
        min-width:500px;
    }
}

/* =====================
   SMALL MOBILE
===================== */

@media(max-width:480px){

    .ticket-grid{
        grid-template-columns:1fr;
    }

    .qty-control{
        justify-content:center;
    }

    .payment-top h3{
        font-size:20px;
    }

    .subtotal-box{
        font-size:18px;
    }
}

.l247x-login-form{
    background:#fff;
    border-radius:15px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.l247x-login-head h3{
    font-size:30px;
    font-weight:700;
    margin-bottom:10px;
}

.l247x-login-head p{
    color:#777;
    margin-bottom:30px;
}

.l247x-field-group label{
    display:block;
    margin-bottom:8px;
    color:#666;
}

.l247x-input{
    width:100%;
    height:55px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 15px;
    outline:none;
}

.l247x-input:focus{
    border-color:#55c6be;
}

.l247x-forgot-link{
    color:#34b4ad;
    text-decoration:none;
}

.l247x-login-btn{
    width:100%;
    border:none;
    height:55px;
    border-radius:50px;
    color:#fff;
    font-weight:600;
    background:maroon;
    /*background:linear-gradient(90deg,#f8d48f,#f3a57f);*/
}

.l247x-register-text{
    text-align:center;
    margin-top:20px;
}

.l247x-register-text a{
    color:#34b4ad;
    font-weight:600;
}

.l247x-bonus-card{
    text-align:center;
    padding:30px;
    border-radius:15px;
    color:#fff;
    background:linear-gradient(135deg,#7dd5cb,#4bb8af);
    min-height:350px;
}

.l247x-brand{
    display:block;
    margin-bottom:20px;
}

.l247x-bonus-card h1{
    font-size:90px;
    font-weight:800;
}

.l247x-bonus-card h2{
    font-size:42px;
    color:#0a6e83;
    font-weight:800;
}

.l247x-bonus-card h3{
    font-size:55px;
    color:#0a6e83;
    font-weight:900;
}

.l247x-bonus-card button{
    border:none;
    padding:12px 25px;
    border-radius:40px;
    background:#ff9d2f;
    color:#fff;
    font-weight:700;
}
/* Mobile Responsive */
@media only screen and (max-width: 767px){

    .l247x-contact-area{
        padding-top:30px !important;
        padding-bottom:30px !important;
    }

    .l247x-login-form{
        padding:20px;
        border-radius:12px;
    }

    .l247x-login-box{
        padding:0 !important;
    }

    .l247x-login-head h3{
        font-size:24px;
    }

    .l247x-login-head p{
        font-size:14px;
        margin-bottom:20px;
    }

    .l247x-field-group{
        margin-bottom:15px;
    }

    .l247x-input{
        height:48px;
        font-size:14px;
    }

    .l247x-login-btn{
        height:50px;
        font-size:16px;
    }

    .l247x-forgot-wrap{
        text-align:center;
        margin-bottom:15px;
    }

    .l247x-register-text{
        font-size:14px;
        margin-top:15px;
    }

    /* Bonus Card Mobile */
    .l247x-bonus-card{
        margin-top:25px;
        min-height:auto;
        padding:25px 15px;
    }

    .l247x-brand{
        font-size:16px;
    }

    .l247x-bonus-card h1{
        font-size:60px;
        line-height:1;
    }

    .l247x-bonus-card h2{
        font-size:28px;
    }

    .l247x-bonus-card h3{
        font-size:38px;
    }

    .l247x-bonus-card p{
        font-size:11px;
    }

    .l247x-bonus-card button{
        width:100%;
        font-size:13px;
        padding:12px 10px;
    }
}

/* Tablet */
@media only screen and (min-width:768px) and (max-width:991px){

    .l247x-login-form{
        padding:25px;
    }

    .l247x-bonus-card{
        margin-top:20px;
    }

    .l247x-bonus-card h1{
        font-size:70px;
    }

    .l247x-bonus-card h2{
        font-size:34px;
    }

    .l247x-bonus-card h3{
        font-size:46px;
    }
}
.l247x-register-card{
    background:#fff;
    padding:30px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.l247x-register-head h3{
    font-size:32px;
    font-weight:700;
    color:#222;
    margin-bottom:10px;
}

.l247x-register-head p{
    color:#777;
    margin-bottom:30px;
}

.l247x-field-group{
    margin-bottom:15px;
}

.l247x-field-group label{
    display:block;
    margin-bottom:8px;
    color:#666;
    font-weight:500;
}

.l247x-input{
    width:100%;
    height:54px;
    border:1px solid #ddd;
    border-radius:10px;
    padding:0 15px;
    transition:.3s;
}

.l247x-input:focus{
    border-color:#800020;
    box-shadow:0 0 0 3px rgba(128,0,32,.12);
    outline:none;
}

.l247x-register-btn{
    width:100%;
    height:56px;
    border:none;
    border-radius:50px;
    background:#800020;
    color:#fff;
    font-size:17px;
    font-weight:600;
    margin-top:15px;
    transition:.3s;
}

.l247x-register-btn:hover{
    background:#660019;
}

.l247x-register-text{
    text-align:center;
    color:#666;
}

.l247x-register-text a{
    color:#800020;
    font-weight:600;
    text-decoration:none;
}
.l247x-register-layout{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.l247x-register-card{
    padding-right:20px;
}

.l247x-register-head h3{
    font-size:30px;
    font-weight:700;
    margin-bottom:10px;
}

.l247x-register-head p{
    color:#777;
    margin-bottom:25px;
}

.l247x-field-group{
    margin-bottom:15px;
}

.l247x-field-group label{
    display:block;
    margin-bottom:8px;
    color:#666;
}

.l247x-input{
    width:100%;
    height:52px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 15px;
}

.l247x-input:focus{
    border-color:#800020;
    outline:none;
    box-shadow:0 0 0 3px rgba(128,0,32,.12);
}
.l247x-register-btn{
    width:100%;
    height:55px;
    border:none;
    border-radius:50px;
    background:#800020;
    color:#fff;
    font-size:17px;
    font-weight:600;
    transition:.3s;
}

.l247x-register-btn:hover{
    background:#5f0018;
}.l247x-bonus-card{
    text-align:center;
    padding:30px;
    border-radius:15px;
    min-height:100%;
    color:#fff;
    background:linear-gradient(135deg,#8d1835,#800020,#5f0018);
}

.l247x-brand{
    display:block;
    margin-bottom:15px;
    font-size:18px;
    font-weight:600;
}

.l247x-bonus-card h1{
    font-size:90px;
    line-height:1;
    font-weight:800;
}

.l247x-bonus-card h2{
    font-size:42px;
    margin:0;
}

.l247x-bonus-card h3{
    font-size:55px;
    margin-bottom:15px;
    font-weight:900;
}

.l247x-bonus-card button{
    border:none;
    padding:12px 25px;
    border-radius:40px;
    background:#fff;
    color:#800020;
    font-weight:700;
}
@media(max-width:767px){

    .l247x-register-layout{
        padding:20px;
    }

    .l247x-register-card{
        /*padding-right:0;*/
        order:2;
    }

    .l247x-bonus-card{
        margin-bottom:20px;
        order:1;
    }

    .l247x-bonus-card h1{
        font-size:60px;
    }

    .l247x-bonus-card h2{
        font-size:28px;
    }

    .l247x-bonus-card h3{
        font-size:38px;
    }
}


/**{*/
/*  margin:0;*/
/*  padding:0;*/
/*  box-sizing:border-box;*/
/*}*/

/*body{*/
/*  background:#f5f5f5;*/
/*}*/

.gallery{
  width:min(1200px,90%);
  margin:auto;
  padding:11px 0;

  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
}

.card{
  display:flex;
  justify-content:center;
  background:none;
  border:none;
  
}

.card img{
  --s:6px; /* zig-zag size */

  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;

  padding:calc(2*var(--s));
  background:linear-gradient(135deg,#FFB608,#DC2121);

  --_m:#0000 0 calc(2*atan(.5)),#000 0 50%;

  mask:
    repeating-conic-gradient(
      from atan(2) at 50% var(--s),
      var(--_m)
    )
    calc(2*var(--s))
    calc(-1*var(--s))
    / calc(4*var(--s)) 100% intersect,

    repeating-conic-gradient(
      from atan(-.5) at var(--s),
      var(--_m)
    )
    calc(-1*var(--s))
    calc(2*var(--s))
    / 100% calc(4*var(--s));

  transition:.4s ease;
}

.card img:hover{
  transform:scale(1.05);
}

/* Tablet */
@media (max-width:992px){
  .gallery{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Mobile */
@media (max-width:576px){
  .gallery{
    grid-template-columns:1fr;
  }
}







.winner-card{
            background:#fff;
            border-radius:20px;
            position:relative;
            overflow:visible;
            transition:transform .4s ease,box-shadow .4s ease;
            box-shadow:0 4px 20px rgba(0,0,0,.06);
            border:1px solid rgba(0,0,0,.04);
        }

        .winner-card:hover{
            transform:translateY(-8px);
            box-shadow:0 20px 50px rgba(0,0,0,.12);
        }

        .card-top{
            height:110px;
            border-radius:20px 20px 0 0;
            position:relative;
            overflow:hidden;
        }

        .card-top::before{
            content:'';
            position:absolute;
            bottom:-30px;
            left:50%;
            transform:translateX(-50%);
            width:200%;
            height:60px;
            background:#fff;
            border-radius:50%;
        }

        .card-top .bg-pattern{
            position:absolute;
            top:0;left:0;
            width:100%;height:100%;
            opacity:.12;
            background-image:
                radial-gradient(circle at 20% 30%,#fff 1px,transparent 1px),
                radial-gradient(circle at 80% 70%,#fff 1px,transparent 1px),
                radial-gradient(circle at 50% 10%,#fff 1.5px,transparent 1.5px);
            background-size:30px 30px,40px 40px,50px 50px;
        }

        .top-gold{background:linear-gradient(135deg,#F59E0B,#D97706,#B45309)}
        .top-blue{background:linear-gradient(135deg,#3B82F6,#2563EB,#1D4ED8)}
        .top-green{background:linear-gradient(135deg,#10B981,#059669,#047857)}

        .rank-circle{
            width:64px;height:64px;
            border-radius:50%;
            position:absolute;
            bottom:36px;
            left:50%;
            transform:translateX(-50%);
            z-index:5;
            display:flex;
            align-items:center;
            justify-content:center;
            flex-direction:column;
            border:4px solid #fff;
            box-shadow:0 4px 15px rgba(0,0,0,.12);
        }

        .rank-circle .rank-num{
            font-weight:900;
            font-size:20px;
            line-height:1;
            color:#fff;
        }

        .rank-circle .rank-label{
            font-size:8px;
            font-weight:700;
            color:rgba(255,255,255,.85);
            text-transform:uppercase;
            letter-spacing:1px;
            margin-top:1px;
        }

        .rc-gold{background:linear-gradient(135deg,#F59E0B,#D97706)}
        .rc-blue{background:linear-gradient(135deg,#3B82F6,#2563EB)}
        .rc-green{background:linear-gradient(135deg,#10B981,#059669)}

        .star-deco{
            position:absolute;
            top:12px;right:16px;
            font-size:18px;
            color:rgba(255,255,255,.5);
            animation:starSpin 8s linear infinite;
        }

        @keyframes starSpin{
            0%{transform:rotate(0deg)}
            100%{transform:rotate(360deg)}
        }

        .card-body-inner{
            padding:0px 22px 24px;
            text-align:center;
        }

        /* Avatar with real image */
        .avatar-box{
            width:82px;height:82px;
            border-radius:50%;
            margin:0 auto 14px;
            position:relative;
        }

        .avatar-ring-outer{
            width:100%;height:100%;
            border-radius:50%;
            padding:3px;
            position:relative;
        }

        .aro-gold{
            background:linear-gradient(135deg,#F59E0B,#FBBF24,#F59E0B);
        }
        .aro-blue{
            background:linear-gradient(135deg,#3B82F6,#60A5FA,#3B82F6);
        }
        .aro-green{
            background:linear-gradient(135deg,#10B981,#34D399,#10B981);
        }

        .avatar-ring-inner{
            width:100%;height:100%;
            border-radius:50%;
            padding:3px;
            background:#fff;
        }

        .avatar-img-wrap{
            width:100%;height:100%;
            border-radius:50%;
            overflow:hidden;
            box-shadow:0 4px 12px rgba(0,0,0,.1);
        }

        .avatar-img-wrap img{
            width:100%;
            object-fit:cover;
            display:block;
        }

        /* Verified badge on avatar */
        .avatar-badge{
            position:absolute;
            bottom:2px;right:2px;
            width:22px;height:22px;
            border-radius:50%;
            display:flex;align-items:center;justify-content:center;
            border:2.5px solid #fff;
            z-index:3;
        }

        .ab-gold{background:linear-gradient(135deg,#F59E0B,#D97706)}
        .ab-blue{background:linear-gradient(135deg,#3B82F6,#2563EB)}
        .ab-green{background:linear-gradient(135deg,#10B981,#059669)}

        .avatar-badge i{
            font-size:9px;
            color:#fff;
        }

        .w-name{
            font-weight:800;
            font-size:18px;
            color:#1e293b;
            margin-bottom:6px;
            letter-spacing:.3px;
        }

        .w-ticket{
            display:inline-flex;
            align-items:center;
            gap:6px;
            background:#f8fafc;
            border:1px dashed #d1d5db;
            padding:4px 14px;
            border-radius:6px;
            font-size:11px;
            font-weight:600;
            color:#6b7280;
            font-family:'Courier New',monospace;
            letter-spacing:1.5px;
            margin-bottom:18px;
        }

        .w-ticket i{font-size:9px;color:#9ca3af}
        .ticket-hidden{visibility:hidden}

        .dot-sep{
            display:flex;
            align-items:center;
            gap:6px;
            margin-bottom:18px;
            padding:0 10px;
        }

        .dot-sep span{
            width:4px;height:4px;
            border-radius:50%;
            background:#d1d5db;
        }

        .dot-sep .line-d{
            flex:1;
            height:1px;
            background:linear-gradient(90deg,transparent,#e5e7eb,transparent);
        }

        .amount-area{
            position:relative;
            padding:16px;
            border-radius:14px;
            margin-bottom:4px;
        }

        .amt-gold{
            background:linear-gradient(135deg,#FFFBEB,#FEF3C7);
            border:1px solid rgba(245,158,11,.15);
        }
        .amt-blue{
            background:linear-gradient(135deg,#EFF6FF,#DBEAFE);
            border:1px solid rgba(59,130,246,.15);
        }
        .amt-green{
            background:linear-gradient(135deg,#ECFDF5,#D1FAE5);
            border:1px solid rgba(16,185,129,.15);
        }

        .won-label{
            font-size:9px;
            font-weight:700;
            text-transform:uppercase;
            letter-spacing:2.5px;
            margin-bottom:4px;
        }

        .wl-gold{color:#B45309}
        .wl-blue{color:#1D4ED8}
        .wl-green{color:#047857}

        .amt-value{
            font-weight:900;
            font-size:28px;
            line-height:1.15;
        }

        .av-gold{color:#92400E}
        .av-blue{color:#1E3A8A}
        .av-green{color:#064E3B}

        .amt-value .rs{
            font-size:18px;
            font-weight:700;
            vertical-align:top;
            margin-right:2px;
        }

        .amt-sub{
            font-size:10px;
            color:#9ca3af;
            font-weight:500;
            margin-top:2px;
        }

        .stamp-seal{
            position:absolute;
            top:-10px;
            right:-8px;
            width:48px;height:48px;
            border-radius:50%;
            display:flex;
            align-items:center;
            justify-content:center;
            transform:rotate(-15deg);
            z-index:6;
            opacity:.9;
        }

        .stamp-seal i{
            font-size:18px;
            color:#fff;
        }

        .ss-gold{background:linear-gradient(135deg,#F59E0B,#D97706);box-shadow:0 2px 10px rgba(245,158,11,.3)}
        .ss-blue{background:linear-gradient(135deg,#3B82F6,#2563EB);box-shadow:0 2px 10px rgba(59,130,246,.3)}
        .ss-green{background:linear-gradient(135deg,#10B981,#059669);box-shadow:0 2px 10px rgba(16,185,129,.3)}

        .notch-l,.notch-r{
            position:absolute;
            width:20px;height:20px;
            background:#f4f6fb;
            border-radius:50%;
            top:110px;
            z-index:4;
        }
        .notch-l{left:-10px}
        .notch-r{right:-10px}

        .bottom-dots{
            display:flex;
            justify-content:center;
            gap:5px;
            padding-bottom:16px;
        }

        .bottom-dots span{
            width:5px;height:5px;
            border-radius:50%;
            opacity:.3;
        }

        .bd-gold span{background:#F59E0B}
        .bd-blue span{background:#3B82F6}
        .bd-green span{background:#10B981}

        @media(max-width:767px){
            body{padding:20px 10px}
            .w-name{font-size:16px}
            .amt-value{font-size:24px}
            .card-body-inner{padding:42px 16px 20px}
            .avatar-box{width:72px;height:72px}
        }














