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

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

.header-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.animated-button1 {
    margin-bottom: 10px !important;
    display: inline-block;
    position: relative;
    width: 90%;
    padding: 20px 0;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .5s, box-shadow .5s;
    background: linear-gradient(90deg, #ff0000, #ff9a00);
    border: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5), 0 0 40px rgba(255, 154, 0, 0.5);
    will-change: transform, box-shadow;
}

.animated-button1:hover {
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.8), 0 0 60px rgba(255, 154, 0, 0.8);
    transform: scale(1.05);
}

.loading {
    pointer-events: none;
    opacity: 0.6;
}

.countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #fff;
    display: none;
    font-weight: bold;
}

.spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.spinner div {
    width: 100%;
    height: 100%;
    position: absolute;
    border: 8px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
}

.pulse-ring {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: rgba(255, 0, 0, 0.5);
    border-radius: 50%;
}

.button-text-container {
    position: relative;
}

.countdown {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.marquee-text, .marquee-text div {
    display: block;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
}

.marquee-text {
    position: relative;
    background-color: #0000007e;
}

.marquee-text:after, .marquee-text:before {
    content: "";
    position: absolute;
    height: 100%;
    background-color: var(--subbg-color);
    top: 0;
    z-index: 2;
}

.marquee-text:before {
    left: 0;
}

.marquee-text:after {
    right: 0;
}

.marquee-text div {
    width: 200%;
    position: absolute;
    font-size: 16px;
    color: #ffffff; 
    z-index: 1;
}

.marquee-text span {
    float: left;
    width: 50%;
}

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

.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    z-index: -1;
}

.bubbles li {
    position: absolute;
    list-style: none;
    width: 20px;
    height: 20px;
    border-radius: 30%;
    bottom: -150px;
    background: rgba(117, 0, 0, 0.856);
}

.bubbles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
}

.bubbles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
}

.bubbles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
}

.bubbles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
}

.bubbles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
}

.bubbles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
}

.bubbles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
}

.bubbles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
}

.bubbles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
}

.bubbles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
}

footer {
    padding: 20px 10px 30px;
    border-radius: 8px 8px 0 0;
}

.footdesc {
    opacity: 0.5;
    border-bottom: 1px solid var(--border-color);
    margin: 10px 0;
}

.copyright {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 8px;
    opacity: 0.5;
}

.footer_menu {
    background: linear-gradient(to bottom, #292929 0, #111 100%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 2px solid var(--border-color);
}

.footer_menu a {
    display: block;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
}

.footer_menu a span {
    display: block;
    margin-top: 5px;
}

.home-button {
    margin: 20px 0;
}

.banner img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 8px 4px #e91c238f;
    transform: scale(1);
}

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

.list_game {
    position: relative;
    overflow: hidden;
    padding: 2px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 0 8px 4px #e91c238f;
    transform: scale(1);
}

@media (max-width: 768px) {
    .header-button {
        flex-direction: column;
        align-items: center;
    }
    .animated-button1 {
        width: 100%;
        font-size: 20px;
    }
    .game {
        grid-template-columns: repeat(2, 1fr);
    }
}

.default-table tbody td {
    text-align: left;
}

.footdesc {
    border-top: 1px solid var(--border-color);
}

.footer_menu {
    z-index: 999;
}

.animated-button1,
.content h1,
.footer_menu,
footer {
    text-align: center;
}

.main_content h1,
.main_content h2,
.main_content h3,
.main_content table th {
    color: #e91c24;
    text-align: center;
}

:root {
    --bg-color: #060606;
    --subbg-color: #222222;
    --border-color: #474747;
    --marquee-color: #dd3333;
    --ta-bg: linear-gradient(to bottom, #292929 0%, #111111 100%);
    --shadow: 3px 3px 3px #000000, -3px -3px 3px rgba(255, 255, 255, 0.09);
    --footer-bg: #222222;
    --footer-border: #474747;
}

body {
    font-family: "Roboto Condensed", sans-serif;
    background-image: url(../images/about/petir_merah.gif);
    background-color: var(--bg-color);
    background-size: contain;
    background-position: top center;
    color: #fff;
}

.mt55 {
    margin-top: 70px;
}

.mb10,
.poweredlog {
    margin-bottom: 10px;
}

.marquee-text,
.marquee-text div {
    display: block;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
}

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

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

.quote {
    text-align: center;
    font-size: 1.5em;
    font-style: italic;
    font-family: 'Roboto Condensed', sans-serif;
    color: #ffcc00;
    margin-bottom: 30px;
    padding: 10px 20px;
    display: inline-block;
    position: relative;
}

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

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

.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;
}
