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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0a1929;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
}

#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: default;
}

#titleScreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    background: linear-gradient(180deg, #0a1929 0%, #1a3a5c 50%, #0a1929 100%);
}

#titleScreen h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #5599dd;
    text-shadow: 0 0 20px rgba(85, 153, 221, 0.5);
    margin-bottom: 0.5rem;
    font-family: monospace;
}

#titleScreen p {
    font-size: 1.1rem;
    color: #8ab4d8;
    margin-bottom: 2rem;
}

#startBtn {
    padding: 14px 48px;
    font-size: 1.2rem;
    font-family: monospace;
    font-weight: bold;
    background: #2a5a8c;
    color: #e0f0ff;
    border: 2px solid #5599dd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

#startBtn:hover {
    background: #3a7abc;
    box-shadow: 0 0 20px rgba(85, 153, 221, 0.4);
}

.instructions {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #6090b0;
    line-height: 1.8;
}

.instructions p {
    font-size: 0.85rem;
    color: #6090b0;
    margin-bottom: 0;
}
