:root {
    --primary: #2563eb;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-light);
    font-family: 'Outfit', sans-serif;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

canvas {
    display: block;
    background-color: var(--white);
}

#ui-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    color: var(--text-dark);
}

.header {
    text-align: center;
    padding: 2rem;
    pointer-events: auto;
}

.header h1 {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 1px;
}

.header p {
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.score-board {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 50vh;
    font-size: 3rem;
    font-weight: 900;
    margin-top: 5vh;
    opacity: 0.1;
    /* Sublet score markers in game area */
}

#start-screen {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    z-index: 100;
}

#contact-info {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    z-index: 200;
    transition: opacity 0.5s ease;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

.contact-box {
    background: var(--white);
    color: var(--text-dark);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.contact-box h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.contact-box p {
    font-size: 1.25rem;
    margin: 1rem 0;
}

button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s;
}

button:hover {
    transform: scale(1.05);
}

.hint {
    margin-top: 2rem;
    color: var(--text-muted);
}