* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: #ffff;
    color: #333;
}
.footer-nav a:hover, .privacy-link:hover {
    color: red;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffff;
    padding: 10px 20px;
    flex-wrap: wrap; 
    margin-top: 105px; 
}
/* .logo {
    flex-shrink: 0; 
    
   justify-content: center;
    display: flex;
    text-align: center;
    margin: 0 auto; 
}  */

.logo {
    /* margin-left: 370px; */
    text-align: center;    
    margin: 0px 5px auto  auto;
} 

.home-icon  {
    width: 80px;
    height: auto;
    transition: transform 0.3s, opacity 0.3s;
    /* display: block; */
    /* margin: 0px 5px auto  auto; */
    /* display:flex;
    text-align: center;
    justify-content: center; */ 
    /* max-width: 300px; */
   
   

}

/* .home-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
} */
@media (hover: hover) {
    .home-icon:hover {
        transform: scale(1.1);
        opacity: 0.8;
    }
}


.title {
    text-align: center;
    margin-bottom: 20px;
    margin-right: 550px;
    margin-left: 120px;
}

.title h1 {
    font-size: 36px;
    color: #3557ff;
    margin: 0;
}

.title p {
    font-size: 18px;
    color: #3557ff;
    margin: 5px 0 0;
}

.home-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.navbar {
    display: flex;
    justify-content: center; 
    align-items: center;
    background-color: #00157c; 
    padding: 0.5rem 1rem;
    height: 95px;
    position: fixed;
    top: 0;
    width: 100%;    
    z-index: 1000;
    font-size: large;
    font-weight: bold;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links > li {
    position: relative;
    margin: 0 1rem;
    list-style: none;
}

.nav-links > li > a {
    color: #fff;
    padding: 0.5rem 1rem;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    background-color: #ffffff; 
    color: #050066c9; 
    border-radius: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #050066;
    min-width: 200px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    color: #fff;
    padding: 0.8rem 1rem;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none; 
}

.dropdown-menu li a:hover {
    background-color: #ffffff; 
    color: #050066c9; 
    border-radius: 5px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-links > .dropdown > a {
    position: relative;
    padding-right: 1.5rem; 
}

.nav-links > .dropdown > a::after {
    content: "▼"; 
    font-size: 12px;
    position: absolute;
    right: 0.5rem; 
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    transition: transform 0.3s ease; 
}

.dropdown:hover > a::after {
    transform: translateY(-50%) rotate(180deg); 
}

.logo-image{
    width: 100px;
    height: auto;
    
    max-width: 100%;
}
.container {
    width: 100%;
    max-width: 1117px;
    margin: 0 auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 8px;
    margin-top: 0px;
    margin-left: 168px;
    
}


.container1 ul{
    padding: 5px 5px 5px 10px;
}

.card {
    display: flex;
    align-items: flex-start;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    gap: 20px;
    width: 100%;
    width: 1117px;
    margin: 0 auto;
    height: 200px;
}

.card1{
    border: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    gap: 20px;
    background-color: #ffffff;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    width: 1117px;
    gap: 20px;
    font-size: 16px;
    width: 104%;
    /* margin: 0 auto; */
    margin-top: 20px;

}

.card:hover {
    transform: scale(1.01);
}

.container ul li{
 margin-left: 20px;
}

.image-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 180px;
    background-color: #f9f9ff;
    /* border: 2px solid #050066; */
    border-radius: 8px;
    padding: 15px;
    height: 173px;
}

.card-header {
    background-color: #050066;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 8px;
    width: 100%;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 10px;
    
}

.lucky-image {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.lucky-text {
    font-size: 16px;
    font-weight: bold;
    color: #050066;
}

.card-description {
    flex: 1;
    /* background-color: #f9f9ff; */
    /* border: 2px solid #050066; */
    border-radius: 8px;
    padding: 15px;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    
}

.highlight-text {
    font-weight: bold;
    color: #2a3b8d;
}

.playstore-logo {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-left: 0px;
}

.playstore-logo img {
    width: 0px;
    
}

.info-item label {
    color: #fff;
    font-size: 14px;
}

.info-item input {
    border: 1px solid #333;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
    width: 60%;
}

button {
    background-color: #050066;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    width: 48%;
}

button:hover {
    background-color: #061a99;
}

footer {
    background-color: #00157c;
    color: white;
    padding: 20px 0;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
.center-footer p {
    margin: 0;
    font-size: 14px;
    text-align: center;
    color: white;
    margin-top: 10px;
}
.center-footer a {
    color: #ffffff;
    text-decoration: none; 
}
.center-footer a:hover {
    color: red; 
}
.center-footer a{
    color: #ffffff;
}
.bottom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 10px; */
}
.left-footer, .right-footer {
    font-size: 14px;
}
.left-footer{
    margin-left: 50px;
}
.right-footer{
    margin-right: 50px;
}
.privacy-link {
    color: white;
    text-decoration: none;
    margin-right: 10px;
}

.social-icon {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    
}

.title {
    text-align: center;
    font-size: clamp(20px, 5vw, 24px);
    margin-bottom: 20px;
}

.info-card, .chart-card {
    border: 2px solid navy;
    
    /* border: 0px 4px 8px rgba(0, 0, 0, 0.1); */
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(15px, 3vw, 20px);
    margin-bottom: 20px;
    width: 100%;
   
}

h1 {
    color: #000;
    margin-bottom: clamp(20px, 4vw, 30px);
    font-size: clamp(1.5em, 5vw, 2em);
}

.ornament {
    margin: clamp(15px, 3vw, 20px) 0;
    display: flex;
    justify-content: center;
}



button {
    background-color: navy;
    color: white;
    border: none;
    padding: clamp(10px, 2.5vw, 12px) clamp(20px, 4vw, 25px);
    font-size: clamp(1em, 3vw, 1.1em);
    border-radius: 5px;
    cursor: pointer;
    margin-top: clamp(15px, 3vw, 20px);
    transition: all 0.3s ease;
    width: clamp(200px, 80%, 300px);
}

button:hover {
    background-color: #000080;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.ornament svg {
    width: min(90%, 200px);
    height: auto;
}


.custom-alert {
    position: fixed;
    top: 0;
    left: 0;    
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 9999;
  }
  .alert-container {
    font-family: 'Georgia', serif;
    width: 90%;       
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);   
  }

  .ornament {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #333;
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
 
  .message {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #444;
    margin: 1rem 0;
    line-height: 1.6;
    padding: 0 0.5rem;
  }

  .letters {
    font-weight: bold;
    color: #2c3e50;
    display: inline-block;
    margin-top: 0.5rem;
  }

  @media screen and (max-width: 480px) {
    .alert-container {
      padding: 1rem;
      width: 95%;
    }
  }

  @media screen and (min-width: 481px) and (max-width: 768px) {
    .alert-container {
      padding: 1.25rem;
      width: 85%;
    }
  }

  @media (hover: hover) {
    .alert-container:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .alert-container {
      transition: none;
    }
  }


.alertbtn{
    margin-top: 20px;
    padding: 8px 16px;
    background-color: #4409b2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}  

.alertbtn:hover{
    background-color: #3f07ad;
}

#alert-container,#alert-container1,#luckylucky1,#luckyluckycolor1,#luckyluckysign1,#alert-container2,#alert-container3,#infomenu,#luckyzoadicbtn {
    display: none;
  }

#alert-container4{
    display: none;
}  

#luckyluckysingledigit,#luckyluckydoubledigit{
    font-family: "Courier New", Courier, monospace;
    font-size: 25px;
}

footer .copyright a {
    color: #fff; 
    text-decoration: none;
    transition: color 0.3s ease; 
}

footer .copyright a:hover {
    color: red; 
}

.card-signbtn, .card-numberbtn, .card-letterbtn, .card-colorbtn,.card-quotebtn{
    margin-left: 150px;
}

.playstore-logo {
    display: flex;
    justify-content: center; 
    margin: 20px auto; 
    width: 100%; 
    text-align: center; 
}

#googleplay {
    max-width: 200px; 
    height: auto; 
}

@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 0.5rem;
        height: auto;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-links > li {
        width: 100%;
        margin: 0.5rem 0;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .header-content {
        flex-direction: column;
        margin-top: 280px;
        text-align: center;
        align-items: center;
        justify-content: center;
        width: 100%;
        
    }


    
    .title {
        margin: 0 auto 20px;
        text-align: center;
    }

    .container {
        width: 95%;
        margin: 0 auto;
        padding: 10px;
    }

    .card, .card1 {
        flex-direction: column;
        width: 95%;
        margin: 10px auto;
        height: auto;
    }

    .image-box, .card-description {
        width: 100%;
        margin-bottom: 15px;
    }

    .playstore-logo {
        justify-content: center;
        margin: 20px 0;
    }

    .footer-content {
        text-align: center;
    }

    .bottom-footer {
        flex-direction: column;
        text-align: center;
    }

    .left-footer, .right-footer {
        margin: 10px 0;
        text-align: center;
    }

    .social-icon {
        margin: 0 10px;
    }
    .home-icon {
        width: 60px;  
       
        margin-right:310px;
    } 
}

@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .title h1 {
        font-size: 28px;
    }

    .title p {
        font-size: 16px;
    }

    button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 5px; 
        margin-top: 290px;        
    }
    .title h1 {
        font-size: 24px; 
    }
    .title p {
        font-size: 14px; 
    }
}
    @media (max-width: 480px) {
        .home-icon {
            width: 40px;             
            margin-right: 130px;
        } 

    .playstore-logo img {
        width: 100px;
    }

    .footer-nav a, .privacy-link, .right-footer p {
        font-size: 12px;
    }

    footer p {
        font-size: 10px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 900px; 
        padding: 15px; 
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 700px; 
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 8px; 
    }
    .card {
        padding: 8px; 
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    }
}

html {
    /* scroll-behavior: smooth; */
    scroll-padding-top: 200px;
}

.download-button {
    text-align: center; 
    margin: 20px auto; 
}

.download-button .button {
    display: inline-block;
    text-decoration: none; 
    background-color: #00157c; 
    color: white; 
    padding: 19px 24px; 
    border-radius: 5px; 
    font-size: 16px; 
    font-family: Arial, sans-serif; 
    font-weight: bold; 
    transition: background-color 0.3s ease, transform 0.2s ease;  
} 

.download-button .button:hover {
    background-color: #050066; 
} 

.card2{
    text-align: center;
    margin-top: 40px;
}

/* .download-button .button:active {
    transform: scale(0.98); 
}

@media (max-width: 768px) {
    .download-button .button {
        font-size: 14px;
        padding: 10px 20px; 
    }
} */
