/*designing and css is back*/
:root{
    --bg:#121212;
    --primary:#ffd700;
    --dim:#8a7c00;
    --playercolor:#ff4500;
    --text: #ffffff;
    --panel:#1e1e1e;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    color: var(--text);
    background-color: var(--bg);
    font-family: 'Courier New', Courier, monospace;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.main-container{
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
header{
    width: 100%;
    margin-bottom: 20px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
h1{
    font-size: 2rem;
    letter-spacing: 1.95px;
    text-transform: uppercase;
}
/*im back */
.highlight{
    color: var(--primary);
}
.stat-bar{
    display: flex;
    gap: 20px;
}
.stat-box{
    color: var(--primary);
    border: 1px solid var(--dim);
    padding: 8px 15px;
    border-radius: 4px;
    min-width: 100px;
    text-align: center;
}
.label{
    color: var(--dim);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 4px;
}
#levelValue, #timeValue{
    font-size: 1.2rem;
    font-weight: bold;
}
/*gotta finish these css today*/
.game-wrapper{
    background-color: #000;
    position: relative;
    border: 2px solid var(--primary);
}
canvas{
    display: block;
}
#overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}
#overlay.visible{
    opacity: 1;
    pointer-events: all;
}
#overlayTitle{
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}
#overlaySubtitle{
    color: #ccc;
    margin-bottom: 30px;
    font-size: 1.2rem;
}
button{
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 15px 40px;
    font-size: 1.2rem;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}
button:hover{
    background: var(--primary);
    color: #000;
}
.controls-hint{
    margin-top: 20px;
    color: var(--dim);
    font-size: 0.9rem;
}
a{
    text-decoration: none;
    color: var(--primary);
}
.a{
    position: absolute;
    top: 20px;
    left: 20px;
}