:root {
    --bg-color: #161512;
    --text-color: #f0f0f0;
    --light-sq: #ebecd0;
    --dark-sq: #739552;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

#app {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hidden {
    display: none !important;
}

/* MENU STYLES */
#menu {
    text-align: center;
}

.title {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.5rem;
    color: #aaaaaa;
    margin-bottom: 3rem;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 300px;
}

.btn {
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    color: #111;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.btn-green { background-color: #739552; color: #fff; }
.btn-green:hover { background-color: #83a562; }

.btn-gold { background-color: #c5a453; color: #fff; }
.btn-gold:hover { background-color: #d5b463; }

.btn-gray { background-color: #555; color: #fff; }
.btn-gray:hover { background-color: #666; }

.info {
    margin-top: 3rem;
    color: #777;
}

/* GAME UI */
#top-bar {
    width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 20px;
    background-color: rgba(40, 40, 45, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.status-box, .timer-box {
    font-size: 1.5rem;
    font-weight: bold;
}

.canvas-container {
    position: relative;
    width: 800px;
    height: 800px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

canvas {
    border-radius: 5px;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    backdrop-filter: blur(3px);
}

#go-text {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}