body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #000080; /* Navy Blue */
}

html:not(.auth-ready) body {
    visibility: hidden;
}

html.auth-ready body {
    visibility: visible;
}

#zero-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.bottom-actions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    max-width: calc(100vw - 24px);
    padding: 0 12px;
    box-sizing: border-box;
    z-index: 100;
}

.bottom-actions a,
.bottom-actions button {
    padding: 10px 20px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    white-space: nowrap;
}

#blog-toggle {
    background: white;
    color: #228B22;
    border: none;
}

#tetris-link {
    background: #ffffff;
    color: #000080;
    text-decoration: none;
    border: none;
}

#tetris-link:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

#logout-link {
    background: #ffffff;
    color: #000080;
    border: none;
}

#logout-link:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

#blog-toggle:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

#blog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

#blog-overlay.hidden {
    display: none;
}

#blog-content {
    background: #111;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    position: relative;
    font-family: 'Courier New', Courier, monospace;
    border: 2px solid white;
}

#close-blog {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.article {
    margin-bottom: 40px;
}

.article h2 {
    color: #228B22;
}

.article p {
    line-height: 1.6;
}

.article-date {
    font-size: 0.8em;
    opacity: 0.7;
}

.zero {
    position: absolute;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    user-select: none;
    pointer-events: none;
}
