body {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #040325;
    font-family: 'Roboto Condensed', sans-serif;
    overflow-x: hidden;
}

.wrapper {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
}

.container {
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

.header-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.animated-button1 {
    margin-bottom: 0px !important;
    margin-top: 0px;
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    color: #ebc310;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .5s, box-shadow .5s;
	background: linear-gradient(90deg, #252f42, #1e6ee77e, #252f42);
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.animated-button1::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transition: 0.5s;
    animation: shine 2.5s infinite linear;
}

.animated-button2 {
    margin-bottom: 0px !important;
    margin-top: 0px;
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    color: #ebc310;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .5s, box-shadow .5s;
	background: linear-gradient(90deg, #252f42, #1e6ee77e, #252f42);
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    border-radius: 12px;
    text-align: center;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.animated-button1, .animated-button2 {
    flex: 1;
    max-width: 48%;
    text-align: center;
}

.header-logo img {
    width: 200px;
}

.marquee-text {
    position: relative;
    background: linear-gradient(90deg, #0c035a, #11597adc);
    border-radius: 8px;
    font-weight: bold;
}

.marquee-text div {
    font-size: 16px;
    color: #eeff00;
    margin-bottom: 10px;
}

.banner img {
    width: 100%;
    border-radius: 20px;
}

.quote {
    text-align: center;
    font-size: 1.5em;
    font-style: normal;
    color: #fbff00;
    margin-bottom: 10px;
    padding: 0px 0px;
}

.judul_game {
    text-align: center;
    color: #ebc310;
    margin-top: 20px;
}

.nama_judul_game {
    margin-top: 9px;
    font-weight: 700;
    font-size: 20px;
}

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

.list_game {
    padding: 2px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 0 8px 4px #11597adc;
}

footer {
    padding: 20px 10px 30px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    color: #ebc310;
}

.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #141414;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.transition-overlay.active {
    display: block;
    opacity: 1;
}

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

#popup-box {
    position: relative;
    background: #e6a00afa;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

#close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.popup-button {
    display: inline-block;
    padding: 10px 20px;
    background: #636675cc;
    color: rgb(0, 0, 0);
    text-decoration: none;
    border-radius: 5px;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


@keyframes shining {
    0% { box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.8); }
    50% { box-shadow: 0 0 40px 0 rgba(255, 0, 0, 0.8); }
    100% { box-shadow: 0 0 40px 0 rgba(0, 68, 255, 0.8); }
}

@media (min-width: 768px) {
    button {
        max-width: 500px;
    }
}

@media (min-width: 1200px) {
    button {
        max-width: 700px;
    }
}
