:root {
    --primary-color: #ff0055;
    --secondary-color: #00d4ff;
    --background-color: #1a2744;
    /* Dark blue to match game sky */
    --text-color: #ffffff;
}

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

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#ui-overlay {
    position: relative;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through to canvas if needed, but buttons need pointer-events: auto */
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.game-title {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 20px;
}

/* Back Button */
.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(74, 42, 138, 0.9);
    border: 2px solid #a28aff;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.back-btn:hover {
    background: #5a3aba;
    box-shadow: 0 0 20px #a28aff;
    transform: translateY(-2px);
}