@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,700;0,900;1,900&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #121212;
    font-family: 'Montserrat', sans-serif;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

#ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#scoreDisplay {
    position: absolute;
    top: 5%;
    font-size: 100px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    z-index: 10;
    font-style: italic;
    letter-spacing: -2px;
}

.panel {
    text-align: center;
    background: rgba(30, 30, 30, 0.9);
    padding: 40px 50px;
    border-radius: 12px;
    border: 4px solid #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    pointer-events: auto;
    cursor: pointer;
}

.panel h1 {
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-style: italic;
}

.panel h2 {
    font-size: 40px;
    font-weight: 900;
    color: #ff3333;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.panel p {
    font-size: 20px;
    font-weight: 700;
    color: #aaaaaa;
    margin: 0 0 35px 0;
    line-height: 1.5;
}

.white-text {
    color: #ffffff;
    background: #555;
    padding: 2px 6px;
    border-radius: 4px;
}

.black-text {
    color: #000000;
    background: #aaaaaa;
    padding: 2px 6px;
    border-radius: 4px;
}

.pulse-text {
    font-size: 24px;
    color: #ffffff;
    font-weight: 900;
    text-transform: uppercase;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.05); opacity: 0.5; }
}

.hidden {
    display: none !important;
}