@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
    color: #00ff00;
    background-color: #000;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical centering */
    align-items: center;     /* horizontal centering */
}
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#main-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in;
}
#main-content.show {
    display: flex;
    opacity: 1;
}
#logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
}
.logo-text {
    font-size: 8vw;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px #00ff00;
    margin-top: 10px;
}
.spaceship {
    width: 15vw;
    height: 15vw;
}
.glow {
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.8));
}
.zoom-in {
    animation: zoom-in-and-out 3.5s forwards;
}
@keyframes zoom-in-and-out {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
#skip-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 4;
    background-color: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}
#skip-btn:hover {
    background-color: #00ff00;
    color: #000;
}
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
input {
    background-color: #222;
    border: 1px solid #00ff00;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    width: 250px;
}
button {
    background-color: #00ff00;
    color: #000;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}
#message-box {
    margin-top: 10px;
    font-weight: bold;
}
#loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 40px;
    border-radius: 10px;
    z-index: 1000;
}
#info-panel {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    max-width: 300px;
    pointer-events: none;
}
#top_bar {
    width: 1400px;
    height: 100px;
    background-color: #1a1a1a;
    box-sizing: border-box;
}
#main-content-row {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    width: 1400px;
    height: 630px;
}
#side_bar {
    width: 250px;
    height: 630px;
    background-color: #1a1a1a;
    box-sizing: border-box;
    overflow-y: auto;
}
#canvas {
    width: 1149px;
    height: 630px;
    background-color: #000;
    box-sizing: border-box;
    position: relative;
}
#canvas canvas {
    width: 99%;
    height: 99%;
    display: block;
}
#bottom_bar {
    width: 1400px;
    height: 40px;
    background-color: #1a1a1a;
    box-sizing: border-box;
}
.views-box {
    text-align: center;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    background-color: #101010;
    padding: 6px 6px;
}
.view-button {
    display: block;
    background-color: #2b2b2b;
    color: #fff;
    margin: 10px auto;
    padding: 12px 24px;
    width: 90%;
    text-decoration: none;
    border: 2px solid #4db8ff;
    border-radius: 10px;
    transition: 0.3s;
    text-align: center;
    box-sizing: border-box;
}
.view-button:hover {
    background-color: #4db8ff;
    color: #000;
}
.view-button.active {
    background-color: #333;
    border-color: #555;
    color: #888;
    cursor: default;
}
.view-button.active:hover {
    background-color: #333;
    color: #888;
}
