body {
    background: #77c9f8 !important;
    margin: 0;
    text-align: center;
}

.ast-primary-header-bar {
    background: #91bd35 !important;
    box-shadow: none !important;
}

.ast-primary-header-bar,
#content.site-content {
    border: none !important;
    box-shadow: none !important;
}

#primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.ast-article-single {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

.site-header::after,
.ast-primary-header-bar::after {
    display: none !important;
    content: none !important;
}

.entry-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.entry-content br:first-child {
    display: none;
}

.entry-content h1 {
    margin-bottom: 0px;
}

.entry-content p {
    margin-bottom: 0px;
}

.entry-content a {
    display: inline-block;
    margin-bottom: 0px;
}

.menu-container-game a {
    background: none !important;
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.menu-container-game a:hover,
.menu-container-game a:focus,
.menu-container-game a:focus-visible,
.menu-container-game a:active {
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
}

h1 {
    margin-bottom: 0 !important;
    color: white !important;
    -webkit-text-stroke: 2px #1175ad;
}

.header-study-today {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2vh;
}

.date-icon-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-icon {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.day-label {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 0.9; /* Increased from 0.8 */
    gap: 2px; /* Added small gap */
    color: white;
    font-family: "Arial Black", sans-serif;
    -webkit-text-stroke: 1.5px #1175ad;
    pointer-events: none;
}

.day-text {
    font-size: 12px;
    text-transform: uppercase;
    color: black;
    -webkit-text-stroke: 0;
}

.day-number {
    font-size: 18px;
    color: black;
    -webkit-text-stroke: 0;
}

/* Responsiveness for Mobile */
@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem !important;
    }

    .header-study-today {
        gap: 10px;
    }

    .date-icon {
        height: 50px; /* Smaller icon on mobile */
    }

    .day-text {
        font-size: 10px;
    }

    .day-number {
        font-size: 16px;
    }
}

.menu-container-game {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    font-family: "Arial Black", sans-serif !important;
    font-weight: 900 !important;
    padding: 0 0;
    min-height: calc(100vh - 160px); /* Fill space between header and bottom nav */
}

.btn-previous-lessons {
    margin-top: auto !important; /* Push to the bottom of the flex container */
    padding-top: 4vh; /* Ensure extra gap even if content is short */
}

.tombol-kayu {
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 20px;
    color: #2a1a0a;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 70vw;
    max-width: 350px;
    aspect-ratio: 3 / 0.45;
    margin-top: 0;
    margin-bottom: 1vh;
    padding: 0;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent url("astra-assets/tombol-kayu.png") no-repeat
        center / cover !important;
    box-shadow: none !important;
    transition: all 0.1s ease;
}

.tombol-kayu:focus,
.tombol-kayu:focus-visible {
    outline: none;
    box-shadow: none !important;
}

.tombol-kayu:hover {
    transform: translateY(-5px);
    background: transparent url("astra-assets/tombol-kayu.png") no-repeat
        center / cover !important;
    box-shadow: none !important;
}

.tombol-kayu:active {
    transform: translateY(0px);
}

.tombol-batu {
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 20px;
    color: #2a2a2a;
    letter-spacing: 2px;
    width: 70vw;
    max-width: 350px;
    aspect-ratio: 3 / 0.7;
    margin-bottom: 0;
    padding: 0;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent url("astra-assets/tombol-batu.png") no-repeat
        center / cover !important;
    box-shadow: none !important;
    transition: all 0.1s ease;
}

.tombol-batu:focus,
.tombol-batu:focus-visible {
    outline: none;
    box-shadow: none !important;
}

.tombol-batu:hover {
    transform: translateY(-5px);
    background: transparent url("astra-assets/tombol-batu.png") no-repeat
        center / cover !important;
    box-shadow: none !important;
}

.tombol-batu:active {
    transform: translateY(0px);
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #91bd35; /* Same as header color */
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: white !important;
    font-family: "Arial Black", sans-serif;
    font-size: 11px;
    gap: 4px;
    background: transparent !important;
    border: 2px solid white; /* Solid white border */
    padding: 10px 5px;
    border-radius: 40px;
    min-width: 75px;
    height: 60px; /* Fixed height to ensure oval shape */
    transition: all 0.2s ease;
}

.nav-item span {
    display: block; /* Ensure text starts on a new line if flex fails */
    line-height: 1;
}

.nav-item:active {
    background: rgba(255, 255, 255, 0.2) !important;
}

.nav-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Adjust main container to not be hidden by nav */
.menu-container-game {
    padding-bottom: 80px;
}
