@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700&display=swap');

body {
    font-family: 'Barlow Condensed', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #472914;
    color: #fff;
}

header {
    background: #472914;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 2px solid #f4f4f4;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    height: 50px;
    margin-right: 5%;
}

.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    display: none;
}

nav {
    display: flex;
   
    padding: 10px 20px;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    position: relative;
}

nav ul li {
    position: relative; /* Tambahkan agar dropdown mengacu ke parent */
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 10px;
    display: block;
}

/* Style untuk dropdown */
nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%; /* Dropdown muncul tepat di bawah menu */
    left: 50%; /* Pusatkan dropdown berdasarkan lebar parent */
    transform: translateX(-50%); /* Pusatkan dropdown */
    background: linear-gradient(0deg, #6f3e1d, #6f3e1d);
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 150px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    color: #0a1d69;
    z-index: 1000;
}

nav ul li .dropdown li {
    margin: 0;
}

nav ul li .dropdown li a {
    padding: 10px;
    display: block;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
}

/* Efek hover untuk menampilkan dropdown */
nav ul li:hover .dropdown {
    display: block;
    z-index: 1000;
}

/* Hover effect */
nav ul li .dropdown li a:hover {
    background: #555;
}


.play-button {
    background: #0066ff;
    padding: 10px 20px;
    border-radius: 30px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.hero {
    position: relative;
    text-align: left;
    color: white;
    height: 79vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background: #39200f;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 5em;
        text-shadow: 2px 2px 2px rgb(116 74 14);

}

p.hero-p {
    margin-top: -2rem;
    margin-bottom: 3rem;
}

span.highlight {
    color: #FFCC00;
    text-shadow: 2px 2px 2px rgb(234 83 5);
}

.hero-image {
    width: 50%;
    align-items: center;
    justify-content: center;
    display: flex;
}

.hero-image img.lotto-girl {
    width: 100%;
    height: auto;
    margin-bottom: -3.50em;
}

.hero-buttons {
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

.primary {
    background-color: #0066ff;
    color: white;
}

.primary:hover {
    background: #FFCC00;
    color: #DB001D;
}

.secondary {
    color: white;
    border: 1px solid #0066ff;
}

.secondary:hover {
    color: #FFCC00;
    border: 1px solid #FFCC00;
}

.results {
    background: url('') no-repeat center center;
    background-size: cover;
    text-align: center;
    padding: 5% 0;
}

.results h2 {
    font-size: 5em;
    margin-block-start: 0;
    margin-block-end: 0;
}

.results p {
    margin-block-start: 0;
    margin-block-end: 1em;
    font-size: 1.20em;
}

.result-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: .50em;
}

.result-group {
    background: #fff0a7;
    padding: 10px;
    border-radius: 30px;
    text-align: center;
    width: 400px;
    box-shadow: 2px 2px 1px 1px #9c6447;

}

.first-result {
    width: 400px;
}

.lower-results {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.result-group h3 {
    font-size: 1.7em;
    margin-bottom: 1em;
    color: #472914;
    background: url() no-repeat center center;
    margin-block-start: .50em;
    background-size: 100%;
}

.numbers {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.numbers img {
    width: 50px;
    height: 50px;
}

.view-results-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #FFCC00;
    color: #0A1D69;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.view-results-btn:hover {
    background: #FFC107;
    color: #DB001D;
}

.how-it-works {
    text-align: center;
    background: #512f18;
    color: white;
}

.how-it-works h3 {
    font-size: 1.8em;
    margin-bottom: 5px;
    color: #FFCC00;
}

.how-it-works h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.how-it-works-flex {
    position: relative;
    text-align: center;
    color: white;
    height: 50em;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-left: -10%;
}

.step {
    text-align: center;
    max-width: 200px;
}

.step img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.step p {
    font-size: 1.3em;
    margin-block-start: 0;
}

span.goodtime {
    color: #001f5b;
    background: #f4f4f4;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.image-container {
    margin-top: 5%;
    text-align: center;
    margin-left: -20%;
}

.promo-image {
    max-width: 85%;
    height: auto;
    border-radius: 10px;
}

.steps h3 {
    margin-block-start: 0;
    font-size: 1.5em;
}

footer {
    background: #3f2b1d47;
    color: white;
    text-align: center;
    padding: 10px;
}

.countdown-container {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    color: #f4f4f4;
    margin-bottom: 20px;
    border-radius: 10px;
    display: inline-block;
}

#countdown {
    font-size: 1.50em;
    display: flex;
    justify-content: center;
    gap: 15px;
}

#countdown span {
    display: inline-block;
    width: 45px;
    text-align: center;
    background: #fff0a7;
    color: #281600;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgb(114 73 45);
}

.countdown-container h3 {
    margin-block-start: .50em;
    margin-block-end: .30em;
    text-align: left;
}

@media (max-width: 1800px) {
    .hero-image img.lotto-girl {
        margin-bottom: -15%;
    }
}

@media (max-width: 1280px) {
    nav ul li {
        margin: 0 1em;
    }

    .hero {
        height: 49em;
    }

    .hero-image img.lotto-girl {
        margin-bottom: -15rem;
    }

    .results h2 {
        font-size: 5em;
    }

    .step {
        max-width: 180px;
    }

    .steps h3 {
        font-size: 1.2em;
    }

    .step p {
        font-size: 1em;
    }

    .results {
        padding: 1% 0;
    }

    .promo-image {
        max-width: 65%;
    }

    .image-container {
        margin-top: 10%;
        margin-left: -30%;
    }

    .steps {
        margin-left: -20%;
    }
}

@media (max-width: 1080px) {
    .hero-image img.lotto-girl {
        margin-bottom: -18rem;
    }
}

@media (max-width: 950px) {
    .hero-image img.lotto-girl {
        margin-bottom: -25rem;
    }

    .promo-image {
        max-width: 100%;
    }

    .image-container {
        margin-left: -25%;
    }

    nav ul li {
        font-size: 10px;
    }
}

@media (max-width: 800px) {
    header {
        padding: 15px 0;
    }

    .lower-results {
        flex-direction: column;
    }

    .hero-text {
        margin-left: 1rem;
    }

    .hero-text h1 {
        font-size: 2em;
    }

    .hero-image {
        width: 55%;
        z-index: -1;
    }

    .hero-image img.lotto-girl {
        margin-bottom: -42%;
        width: 20em;
        margin-right: 0;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #160900;
        text-align: center;
        padding: 10px 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav.active {
        display: block;
        display: block;
        margin-top: 1.50em;
        border-bottom: 2px solid #f4f4f4;
    }

    .image-container {
        margin-bottom: -32%;
        margin-left: -17%;
    }

    .countdown-container {
        font-size: 1.5em;
        margin-top: 1em;
    }

    #countdown {
        font-size: 1em;
    }

    #countdown span {
        width: 20px;
        padding: 5px;
    }

    .wrapper-logo {
        width: 50%;
        text-align: left;
        margin-left: 5%;
    }

    .wrapper-menus {
        width: 50%;
        float: right;
        text-align: right;
        margin-right: 5%;
    }

    p.hero-p {
        margin-bottom: 0rem;
        margin-top: 0rem;
        font-size: 15px;
    }

    .btn {
        font-size: 10px;
    }

    .countdown-container h3 {
        font-size: .80em;
    }

    .hero {
        height: 33em;
    }

}

@media (max-width: 600px) {
    .hero-image img.lotto-girl {
        margin-bottom: -75%;
        width: 20em;
        margin-right: 3em;
    }

    .results h2 {
        font-size: 3em;
    }

    .results p {
        font-size: 1em;
    }

    .first-result {
        width: 250px;
    }

    .result-group h3 {
        font-size: 1.2em;
        margin-block-start: 0;
    }

    .numbers img {
        width: 40px;
        height: 40px;
    }

    .result-group {
        width: 300px;
    }

    .view-results-btn {
        font-size: 1em;
    }

    .how-it-works h2 {
        font-size: 2em;
        margin-block-start: 0;
    }

    .image-container {
        margin-bottom: -100%;
        margin-left: -10%;
        z-index: 0;
    }

    .promo-image {
        max-width: 100%;
    }
}

@media (max-width: 400px) {
    .btn {
        padding: 10px 5px;
    }

    .hero-image img.lotto-girl {
        margin-bottom: -85%;
    }
}

@media (max-width: 350px) {
    .hero-image img.lotto-girl {
        margin-bottom: -90%;
    }

    .btn {
        padding: 10px 13px;
    }
}

/* ------- HOW IT WORKS - MOBILE ------- */
.how-it-works-mobile {
    display: none;
    /* Default: Sembunyikan untuk desktop */
    text-align: center;
    background: #512f18;
    color: white;
    padding: 30px 20px;
}

.how-it-works-mobile h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: bold;
}

.steps-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.step-mobile {
    text-align: center;
    max-width: 90%;
    background: #3d2210;
    padding: 15px;
    border-radius: 10px;
}

.step-mobile img {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.step-mobile h3 {
    font-size: 1.2em;
    color: #FFCC00;
    margin-bottom: 10px;
}

.step-mobile p {
    font-size: 1em;
    line-height: 1.4;
}

.image-container-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.promo-image-mobile {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}

/* ------- RESPONSIVE SETTINGS ------- */
@media (max-width: 768px) {
    .how-it-works {
        display: none;
        /* Sembunyikan versi desktop */
    }

    .how-it-works-mobile {
        display: block;
        /* Tampilkan versi mobile */
    }
}

@media (max-width: 480px) {
    .how-it-works-mobile h2 {
        font-size: 1.8em;
    }

    .step-mobile img {
        width: 50px;
    }

    .step-mobile h3 {
        font-size: 1em;
    }

    .step-mobile p {
        font-size: 0.9em;
    }

    .promo-image-mobile {
        max-width: 90%;
    }
    
}
.results-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #000000, #000000);
}

.results-table th, .results-table td {
    padding: 15px 20px;
    border: none;
    transition: all 0.3s ease;
}

.results-table th {
    background: linear-gradient(0deg, #a19463, #e5d196);
    color: #000000;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.results-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.results-table tbody tr:last-child {
    border-bottom: none;
}

.results-table tbody tr:hover {
    background: linear-gradient(135deg, #1f0c00, #1f0c00);
    cursor: pointer;
    transform: translateY(-5px);
}

.results-table td {
    font-size: 1em;
    color: #f0f0f0;
}

.results-container {
    margin: 30px 0;
    max-width: 500px;
    border-radius: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    margin-left: -10%;
}

.results-title {
    text-align: center;
    margin-bottom: 20px;
    color: #FFD700;
    font-size: 2em;
    text-transform: uppercase;
}
.view-btn {
    background: linear-gradient(0deg, #ff1100, #a50000);
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
    }

    .modal-content {
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        width: 350px;
        color: #000;
    }

    .close-btn {
        background-color: red;
        color: #fff;
        border: none;
        padding: 5px;
        cursor: pointer;
        border-radius: 5px;
        margin-top: 10px;
    }

    .details-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 10px;
    }

    .details-table th, .details-table td {
        border: 1px solid #333;
        padding: 5px 10px;
        text-align: left;
    }

    .details-table th {
        background-color: #f2f2f2;
    }
@media (max-width: 950px) {
    
.results-container {
    margin: 0;
    margin-left: 0;
    padding: 10px;
}
.results-table th,
.results-table td {
    font-size: .70em;
}

}

.cons{
	font-size: 25px;
	color: #472914;
	letter-spacing: 0.2rem;
}

/* Style for the modal */
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #fff0a7;
  margin: 15% auto;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 600px;
}

.modal-header {
  display: flex;
  background: linear-gradient(0deg, #472914, #75523a);
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-left: 25px;
  color: #fff;
  font-size: 20px;
}

.dark-ui .modal-content h4 {
  color: #000;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #fff;
}

/* Style for the table */
.modal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.modal-content table,
.modal-content th,
.modal-content td {
  border: 1px solid #ffffff;
}

.modal-content th,
.modal-content td {
  padding: 8px;
  text-align: center;
  width: 50%;
}

.modal-content th {
  background-color: #f2f2f2;
}

/* Hover effect */
.modal-content tr:hover {
  background-color: #f5f5f5;
}

.tbl-ldr td {
  width: 50%;
}

.tbl-ldr b {
  color: #bd0d10;
}
