* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-image: url("https://yudha125.github.io/menu-widget/foreground/slider/BGTOTOTAROT_12.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.navbar-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(23, 23, 68) 50%, rgb(81, 105, 167) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    /* padding: 12px 24px; */
    z-index: 999;
    box-shadow: 0 2px 20px rgb(255, 252, 252);
}

.logo-navbar {
    margin-right: 40px;
}



.navbar-menu {
    display: flex;
    /* gap: 5px; */
    height: 100%;
    justify-content: center;
    align-items: center;
}

.navbar-menu-items {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    width: 100px;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:1.2vw;
}

.navbar-menu a:hover {
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(18, 18, 134) 50%, rgb(37, 63, 128) 100%);


}

/* Dropdown */
.dropdown-toggle {
    cursor: pointer;
    color: white;
    width: 150px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(43, 43, 117) 50%, rgb(81, 105, 167) 100%);
    border-left: 2px solid rgba(245, 245, 245, 0.247);
    border-right: 2px solid rgba(245, 245, 245, 0.247);
}

.dropdown-toggle:hover {
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(18, 18, 134) 50%, rgb(37, 63, 128) 100%);


}

.dropdown-menu-cont:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    min-width: 150px;
    border-radius: 8px;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: white;
}

.dropdown-menu li a:hover {
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(18, 18, 134) 50%, rgb(37, 63, 128) 100%);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-right: 15px;
    margin-left: auto;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .navbar-menu {
        position: absolute;
        top: 105%;
        right: 0;
        background: #0e0e0e;
        flex-direction: column;
        width: 150px;
        display: none;
        padding: 12px;
        border-radius: 0 0 8px 8px;
    }

    .navbar-menu-items .dropdown-menu-cont {
        position: relative;
    }

    .navbar-menu a {
        background: black;
    }

    .navbar-menu.show {
        display: flex;
    }

    .navbar-toggle {
        display: flex;
    }

    .dropdown-menu {
        position: absolute;
        top: 0;
        left: -100%;
        z-index: 100;

    }

    .logo-navbar {
        margin-left: 10px;
    }
}

/* NAVBAR END */
/* MAIN KONTEN */
.main-content {
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.63);
    display: flex;
    justify-content: center;
    margin-top:70px;

}

.container-content {
    width: 75%;
    background: black;
}

.col.atas {
    width: 100%;
    height: 400px;
    margin-top: 10px;
    padding: 15px;
    gap: 5px;
    display: flex;
    justify-content: flex-start;
}

.row {
    width: 60%;
    height: 100%;

}

.row.iklan {
    background: rgb(5, 1, 61);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.row img {
    width: 100%;

}

.carousel {
    height: 100%;
    width: 99%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}

.carousel-items {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-items img {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    transform: translateY(-50%);
    height: 100%;

}

.carousel-items .caption-items {
    color: antiquewhite;
    z-index: 3;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;


}

.carousel .prev {
    position: absolute;
    z-index: 4;
    left: 10px;
    bottom: -20px;
    font-size: 40px;
    text-decoration: none;
    opacity: 0.5;
    cursor: pointer;
}

.carousel .prev:hover,
.carousel .next:hover {
    opacity: 1;
}

.carousel .next {
    position: absolute;
    z-index: 4;
    bottom: -20px;
    right: 20px;
    font-size: 40px;
    text-decoration: none;
    opacity: 0.5;
    cursor: pointer;
}


.carousel-items.active {
    display: flex;
}

.carousel-items.deactive {
    display: none;
}

/* CAROUSEL END */

.row-3 {
    width: 40%;
    height: 100%;
    /* padding: 10px; */
    display: flex;
    flex-direction: column;
   
}

.container-button {
    width: 100%;
    height: 15%;
    background: rgb(10, 10, 58);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.module-btn {
    width:30%;
    position: relative;
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(23, 23, 68) 50%, rgb(81, 105, 167) 100%);
    padding: 3px;
    height: 2rem;

}

.container-button a {
    height: 100%;
    width: 100%;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(179deg, rgba(0, 255, 21, 1) 0%, rgba(28, 38, 94, 1) 58%, rgba(29, 29, 97, 1) 100%);
    border-radius: 2px;
    /* border: 4px solid rgb(12, 12, 78); */
    color: aliceblue;
    font-size:1vw;

}

.container-button a:hover {
    background: linear-gradient(179deg, rgb(72, 161, 79) 0%, rgba(28, 38, 94, 1) 58%, rgb(28, 28, 189) 100%);
}

.container-artikel {
    height: 85%;
    width: 100%;
    background: rgb(29, 29, 82);
    padding: 10px;
    position: relative;
    overflow-y: auto;
}
.container-artikel::-webkit-scrollbar {
  display: none;
}

h1 {
    font-size: 2vw;
    text-align: center;
    color: rgb(20, 195, 201);
}

h2 {
    font-size: 20px;
    text-align: center;
    color: rgb(20, 195, 201);
    margin-top: 3px;
}

p {
    margin-top: 10px;
    color: antiquewhite;
    text-align: justify;
    font-size: 1vw;
    line-height:1.5 ;

}

p a {
    color: rgb(68, 185, 0);
    text-decoration: none;
}

/* bagian Konten-1 END*/

.container-iklan-pasaran {
    height: 30px;
    width: 100%;
    /* background: rgb(6, 6, 71); */

    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    justify-content: flex-start;
}

.iklan-pasaran {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 255, 21, 1) 0%, rgba(28, 38, 94, 1) 58%, rgba(29, 29, 97, 1) 100%);
    display: flex;
    overflow: hidden;
    position: relative;

}

.iklan-pasaran .title {
    position: absolute;
    height: 100%;
    width: 90px;
    display: flex;
    justify-content: start;
    align-items: center;
    color: aliceblue;
    font-weight: 600;
    font-size:1.1vw;
    display: flex;
    z-index: 10;
    margin-left:10px;
}


.iklan-pasaran .text {
    white-space: nowrap;
    display: inline-block;
    animation: runText 80s linear infinite;
    padding-left: 100%;
    margin-top: auto;
    margin-bottom: auto;
    color: aliceblue;
    text-transform: uppercase;
}

@keyframes runText {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* IKLAN END */

.col.bawah {
    width: 100%;
    height: 45%;
    background: rgba(255, 255, 255, 0.329);
    margin-top: 10px;
    padding: 15px;
    gap: 5px;
    display: flex;
    justify-content: flex-start;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 10px;
}

.card {
    background: linear-gradient(180deg, rgba(11, 11, 46, 1) 21%, rgba(11, 97, 71, 1) 67%, rgba(13, 191, 188, 1) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    border: 1px solid #ddd;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.card h4 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #1ceb09;
    text-transform: uppercase;
}

.card h3 {
    font-size: 2rem;
    margin: 10px 0;
    color: #cec10d;
}

.card p {
    font-size: 0.9rem;
    color: #00ff00;
    text-align: center;
}

@media screen and (max-width: 600px) {
    .card {
        padding: 12px;
    }

    .card h3 {
        font-size: 1.6rem;
    }
}




/* MODAL */
.container-modal {
    display: none;
    /* atau sesuai kebutuhan: flex/grid/block */
    position: fixed;
    /* lebih baik daripada absolute untuk modal */
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100vh;
    /* gunakan tinggi viewport, bukan 200% */
    background-color: rgba(0, 0, 0, 0.5);
    /* semi transparan */
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    /* memastikan modal bisa tangkap klik */

}

.modal {
    position: fixed;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    width: 40%;
    height: 500px;
    background: linear-gradient(180deg, rgba(11, 11, 46, 1) 21%, rgba(11, 97, 71, 1) 67%, rgba(13, 191, 188, 1) 100%);

    display: flex;
    justify-content: center;
    padding: 15px;
    z-index: 1001;
    color: antiquewhite;

}



.modal-content {
    text-align: center;
    gap: 10px;
}

.modal-content h4,
.modal-content h5 {
    margin: 10px;
}

.text-warning {
    color: red;
}


@-webkit-keyframes blinker {
    from {
        opacity: 1.0;
    }

    to {
        opacity: 0.0;
    }
}

.klik-here {
    margin-top: 10px;
    color: #cec10d;
}

.klik-here .klik {
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
}

.klik-here.klik {
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
}

.splasher {
    position: fixed;
    left: 10px;
    bottom: 20px;
    z-index: 1000;
    width: 200px;
    height: 200px;

}

.footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    background-color: rgb(5, 3, 3);
    width: 100%;
    text-align: center;
    color: rgb(1, 248, 50);
    font-size: 12px;
    z-index: 100;
    justify-content: center;
    align-items: center;
    height: 30px;
}