body {
    margin: 0;
    overflow: hidden;
    font-family: 'Exo 2', sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    user-select: none;
}

.game-screen {
    display: none;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.game-screen.active {
    display: flex;
}

.game-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 150px rgba(0,0,0,0.8);
    pointer-events: none;
    z-index: 99999;
}

#title-screen {
    justify-content: flex-start; 
    align-items: center; /* Centered horizontally */
    padding: 5vh 5vw; 
}

.title-container {
    width: 100%;
    text-align: center;
    margin-bottom: 10vh;
}

#title-screen h1 {
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}

.menu-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centered */
    gap: 15px;
}

#top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 15, 15, 0.85);
    border-bottom: 1px solid #00FFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    padding: 10px 20px;
    box-sizing: border-box;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

#stats-container {
    display: flex;
    gap: 30px;
}

.top-bar-section {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00FFFF;
    font-size: 1.1em;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.7);
}

.top-bar-label {
    color: #888;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
}

.news-ticker-container {
    flex-grow: 1;
    text-align: right;
    height: 25px;
    line-height: 25px;
    overflow: hidden;
    position: relative;
    margin-left: 30px;
}

#news-ticker-text {
    position: absolute;
    height: 100%;
    color: rgba(0, 255, 255, 0.7);
    font-size: 0.9em;
    white-space: nowrap;
    will-change: transform;
    transform: translateX(100vw);
}

@keyframes scroll-left {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(calc(-100% - 100vw));
    }
}

#solar-system-canvas {
    background-color: #000;
    display: block;
    cursor: default;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}
