body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    width: 100%;
    height: 100vh;
    max-width: 100%;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-image: url('img/background.png');
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    overflow-x: hidden;
  }
  

html {
    max-width: 100%;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.945);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    display: flex;
    
}

.popup {
    background-color: brown;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    padding: 30px;
    text-align: center;
    position: relative;
    z-index: 20;
}

.popup-logo {
    box-shadow: 0px 10px 20px green;
    width: 120px;
    margin-bottom: 20px;
    border-radius: 50%;
}

.text-verify {
    color: #fff;
    font-size: 30px;
    margin-bottom: 15px;
}

.text-small-verify {
    color: #fff;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 6px 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-confirm {
    background-color: #FFF;
    border: 1px solid  #2e7d32;
    color:  #2e7d32;
}

.btn-deny {
    background-color: #FFF;
    border: #d32f2f 1px solid;
    color: #d32f2f;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.lotto-balls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.ball {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
}

@media (max-width: 480px) {
    .popup {
        padding: 20px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .buttons {
        flex-direction: column;
        gap: 10px;
    }
}

.jackpot {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    padding: 50px;
    background-color: #ffffffd7;
    border-radius: 50px;
}

.jackpot h2 {
    text-transform: uppercase;
    color: #ff0000;
    font-size: 40px;
}

.amount { 
    display: inline-block;
    position: relative;
    color: red;
    font-weight: 900;
    margin-bottom: 30px;
    font-size: 50px;
    background: linear-gradient(90deg, red 0%, #fff 50%, red 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
  }
  
  @keyframes shine {
    0% {
      background-position: -100% 0;
    }
    100% {
      background-position: 100% 0;
    }
  }
  
  .date {
    text-transform: uppercase;
    color: red;
    font-size: 30px;
    font-weight: 900;
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .timer {
    display: flex;
    margin-bottom: 50px;
    margin-top: 50px;
    text-transform: uppercase;
    color: red;
    font-size: 30px;
    font-weight: 900;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
  }

  .timer span {
    color: #FFF;
    background-color: red;
    z-index: 1000;
    padding: 5px 10px;
    border-radius: 10px;
  }

.header {
    display: flex;
    justify-content: space-around; 
    align-items: center;
    padding: 1rem 2rem; 
    background-color: #fff;
    height: 100px;
    z-index: 1000;
    width: 100%;
}

.header img {
    width: 50px;
    height: auto;
    border-radius: 50%;

}

.reg-button {
    text-decoration: none;
    background-color: brown;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    border-radius: 10px;
    transition: all 0.5s ease;
    text-shadow: 0px 1px 1px black;
    border: 1px solid brown;
}

.jackpot-buttons {
    display: flex;
    gap: 50px;
}

.reg-button:hover {
    transform: scale(1.1);
}

.login-button {
    text-decoration: none;
    background-color: brown;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    border-radius: 10px;
    transition: all 0.5s ease;
    text-shadow: 0px 1px 1px black;
    border: 1px solid brown;
}

.get-app {
    text-decoration: none;
    background-color: #FFF;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: brown;
    border: 1px solid brown;
    border-radius: 10px;
    transition: all 0.5s ease;
    text-shadow: 0px 1px 1px black;
}

.get-app:hover {
    transform: scale(1.1);
    color: white;
    background-color: brown;
}

.login-button:hover {
    transform: scale(1.1);
}

.header-container {
    display: flex;
    gap: 20px;
}

.nav {
    width: 30%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    
}

.nav a {
    color: brown;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.5s ease;
    text-shadow: 0px 1px 1px black;
}

.nav a:hover {
    font-size: 25px;
}

.cookies {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    z-index: 2000;
}

.cookies-button {
    display: flex;
    border: none;
    border-radius: 8px;
    color: white;
    padding: 6px !important;
    cursor: pointer;
    font-size: 14px !important;
    background-color: brown;
    transition: all 0.5s ease;
}

.cookies-button:hover {
    transform: scale(1.1);
}

.selected {
    transform: scale(1.2);
}

.cookies a {
    color: brown;
    text-decoration: none;
    transition: transform 0.5s ease;
}

.cookies a:hover {
    transform: scale(1.1);
}


.body {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.body-title {
    margin-top: 100px;
    font-weight: 900;
    font-size: 40px;
    width: 70%;
    color: red;
    text-shadow: 0px 1px 1px black;
    text-transform: uppercase;
    text-align: center;
}

.body-subtitle {
    color: white;
    font-size: 25px;
    width: 80%;
    text-align: center;
    text-shadow: 0px 1px 1px black;
}

.body-container {
    background-color: #FFF;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}   

.body-container-wrapper {
    width: 90%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.body-container-wrapper-row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-around;
    gap: 50px;
}

.row-upper{
    text-transform: uppercase;
    font-size: 30px;
    display: flex;
    text-align: left;
    width: 100%;   
}

.row-small{
    font-size: 20px;
    width: 100%;
    text-align: right;
}

.row-wrapp {
    margin-top: 20px;
    background-color: brown;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0px 20px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.438);
}

.row-wrapp h2 {
    text-transform: uppercase;
    color: #FFF;
}

.row-wrapp p {
    color: #FFF;
}

.why-us {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    padding-bottom: 50px;
}

.why-us h1 {
    text-transform: uppercase;
    font-size: 40px;
}

.why-us-wrapper {
    width: 70%;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.why-us-wrapper-el {
    border: 2px solid brown;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.507);
}

.why-us-wrapper-el {
    padding: 1rem;
    border-radius: 8px;
  }

  .why-us-wrapper-el h2 {
    font-weight: 900;
    text-transform: uppercase;
  }
  
  .why-us-wrapper-el:nth-child(odd) {
    background-color: brown;
    color: #FFF;
  }
  
  .why-us-wrapper-el:nth-child(even) {
    background-color: #fff;
  }

  footer {
    width: 100%;
    background-color: #000;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 50px;
}

  .play-responsibly {
    align-items: start;
    justify-content: space-between;
    width: 90%;
    display: flex;
  }

  .play-responsibly h1 {
    margin: 0;
    font-size: 40px;
    text-transform: uppercase;
  }

  .responsibly-wrapp {
    width: 50%;
  }

  .responsibly-wrapp-text a{
    color: #FFF;
  }

  .footer-links {
    margin-top: 50px;
    margin-left: -50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    align-self: flex-end;
    width: 50%;
  }

  .responsibly-wrapp-text {
    font-size: 15px;
    margin: 0;
  }

  .footer-href {
    color: #FFF;
  }

  .footer-bottom {
    display: flex;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 2px solid #FFF;
    width: 100%;
    justify-content: space-around;
    align-items: center;

  }

  .footer-peggi {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    color: #000;
  }

  .footer-list {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
    gap: 50px;
    width: 50%;
  }

  .footer-list li {
    transition: all 0.5s ease;
  }

  .footer-list li:hover {
    transform: scale(1.1);
  }

  .footer {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 100px;
    margin-bottom: 50px;
    width: 100%;
    height: 100%;
  }

  .body-container-wrapper-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
  }

  .body-container-wrapper-col h1 {
    font-size: 40px;
    width: 100%;
    text-transform: uppercase;
  }

  .body-block {
    width: 80%;
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
    height: 100%;
  }

  .big-block {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 50%;
    justify-content: space-between;
    background-color: brown;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.493);
  }

  .mark {
    background-color: #FFF;
    padding: 5px;
    border-radius: 5px;
    text-transform: uppercase;
  }

  .block-text {
    color: #FFF;
    text-shadow: 0px 1px 1px black;
  }

  .small-blocks {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 50px;
    height: 100%;
  }

  .small-block {
    background-color: brown;
    width: 100%;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.493);
  }

  star-display {
    display: inline-block;
    font-size: 0;
  }
  
  .button-wrapp {
    display: flex;
    gap: 50px;
  }
  .stars-outer {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23ccc" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><polygon points="12,2 15,8.5 22,9.3 17,14 18.5,21 12,17.5 5.5,21 7,14 2,9.3 9,8.5"/></svg>') repeat-x;
    background-size: 24px;
  }
  
  .stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg fill="%23FFD700" stroke="%23FFD700" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><polygon points="12,2 15,8.5 22,9.3 17,14 18.5,21 12,17.5 5.5,21 7,14 2,9.3 9,8.5"/></svg>') repeat-x;
    background-size: 24px;
    width: 0%;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none;
  }

  .winners {
    margin-top: 50px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 25px;
  }

  .winner-el {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(165, 42, 42, 0.856);
    padding: 1rem;
    height: 100%;
    text-align: center;
    border-radius: 20px;
    width: 100%;
    color: #FFF;
  }

  .form-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .contact-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  }

  .contact-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .contact-grid {
    display: flex;
    width: 90%;
    gap: 2rem;
    margin-top: 2rem;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
  }

  .contact-form textarea {
    resize: vertical;
    min-height: 150px;
  }

  .contact-form button {
    padding: 0.75rem 1rem;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .contact-form button:hover {
    background-color: #0056b3;
  }


  .logiins-form {
    width: 80%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }
  
  .logiins-form__label {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    color: #333;
    gap: 0.5rem;
  }
  
  .logiins-form__input {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .logiins-form__input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    outline: none;
  }
  
  .mb-10 { margin-bottom: 0.625rem; }
  .mb-32 { margin-bottom: 2rem; }
  .m-auto { margin-left: auto; margin-right: auto; }
  
  .tx-main {
    font-weight: 500;
  }
  
  .tx-14 {
    font-size: 0.875rem;
  }
  
  .tx-20 {
    font-size: 1.25rem;
  }
  
  .uppercase {
    text-transform: uppercase;
  }
  
  .fw-600 {
    font-weight: 600;
  }
  
  .text-center {
    text-align: center;
  }
  
  .logiins-form__labels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .logiins-form__eye {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 24px;
    height: 24px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
  }
  
  .logiins-form__label input[type="password"] {
    padding-right: 40px;
    position: relative;
  }
  
  .wrapper-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .wrapper-checkbox__checkbox {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #007bff;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
  }
  
  .wrapper-checkbox__checkbox:checked::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 10px;
    border: solid #007bff;
    border-width: 0 2px 2px 0;
    top: 2px;
    left: 6px;
    transform: rotate(45deg);
  }
  
  .wrapper-checkbox__icon {
    display: none;
  }
  
  .logiins-form__button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .logiins-form__button_toxic {
    background-color: #00c851;
    color: #fff;
    border: none;
  }
  
  .logiins-form__button_toxic:hover {
    background-color: #007e33;
  }
  
  .but_white {
    background-color: #fff;
    color: #007bff;
    border: 2px solid #007bff;
  }
  
  .but_white:hover {
    background-color: #007bff;
    color: #fff;
  }

  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }
  
  .hidden {
    display: none;
  }

  .close {
    background-color: brown;
    border: none;
    color: #FFF;
    padding: 1rem;
    border-radius: 10px;
  }

  main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
  }

  main section {
    width: 80%;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .logiins-form__labels {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .contact-grid {
      grid-template-columns: 1fr;
    }
  }

  
@media (max-width: 1000px) {
    h1 {
        font-size: 20px !important;
    }

    h2 {
        font-size: 15px !important;
    }

    p {
        font-size: 10px !important;
    }
    
    li {
        font-size: 10px !important;
    }
    .nav a {
        font-size: 10px !important;
        width: 100% !important;
    }

    .get-app {
        padding: 5px 7px !important;
        font-size: 10px !important;
    }
    .reg-button {
        padding: 5px 7px !important;
        font-size: 10px !important;
    }
    .login-button {
        padding: 5px 7px !important;
        font-size: 10px !important;
    }

    .jackpot h2 {
        font-size: 15px !important;
    }
    
    .amount {
        font-size: 30px !important;
    }

    .date {
        font-size: 15px !important;
    }

    .timer {
        font-size: 15px !important;
    }

    .why-us {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .licensing {
      background-color: brown;
      padding-top: 50px;
      padding-bottom: 50px;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
  
    .licensing h1 {
      text-align: center;
      font-size: 40px;
      color: #FFF;
      text-transform: uppercase;
    }
  
    .licensing p {
      width: 80%;
      color: #FFF;
    }
    
    .footer-list {
        width: 100% !important;
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: end;
    }

    .body-container-wrapper-row {
        flex-direction: column;
    }

    .row-small {
        text-align: start !important;
    }

    .body-block {
        flex-direction: column;
    }

    .big-block {
        width: 100%;
    }

    .winners {
        flex-direction: column;
    }

    .winner-el {
        width: 90%;
    }
}