:root {
    --stage-width: 544px;
    --stage-height: 430px;
    --bg-color: #000000;
    /* 01 text is white on black, unlike 02 which is black on white? Let's check Game.js. 
                           Game.js: "el.style.color = 'white';" & "container background... #000?". 
                           index.html had "background-color: #000". 
                           02 style.css has --bg-color: #ffffff. 
                           So 01 should be black background. */
}

body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    font-family: 'Helvetica', sans-serif;
    color: #FFFFFF;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 25px;
    overflow: auto;
    /* Allow scrolling if window is small */
}

/* Full Window Mode */
body.full-window {
    overflow: hidden;
    align-items: center;
    padding-top: 0;
    
}



body.full-window #layout-container {
    gap: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
}



a {
    color: #FF0000;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

#layout-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.header-bar {
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 10;
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    transform: translateY(-3px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0px;
}

.footer-bar {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    font-family: 'Times New Roman', serif;
    /* Matching click prompt font? or 02 footer? */
    z-index: 10;
    position: relative;
}

#stage-container {
    position: relative;
    width: var(--stage-width);
    height: var(--stage-height);
    background-color: var(--bg-color);
    
    
    overflow: hidden;
    cursor: default;
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#click-prompt {
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    font-family: 'Times New Roman', serif;
    font-size: 12px;
    color: #969696;
    pointer-events: auto;
    cursor: pointer;
    text-align: center;
    line-height: 20px;
    padding-bottom: 5px;
}

.hidden {
    display: none !important;
}
/* Particle Styles */
.word-particle {
    position: absolute;
    white-space: nowrap;
    user-select: none;
    transform-origin: center center;
}

body.full-window .header-bar {
    position: absolute !important;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 20;
}

body.full-window .footer-bar {
    position: absolute !important;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 20;
}


.title-img {
    transform: translateY(-2px);
}
