@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #050014;
    font-family: 'Share Tech Mono', monospace;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #050014 0%, #0a0026 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: 72px;
    color: rgba(0, 255, 255, 0.15);
    z-index: 10;
    letter-spacing: 4px;
}

.panel {
    text-align: center;
    background: rgba(5, 0, 20, 0.85);
    padding: 40px 50px;
    border-radius: 8px;
    border: 1px solid #00ffff;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
    cursor: pointer;
}

.panel h1 {
    font-size: 50px;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1;
    letter-spacing: 6px;
}

.highlight {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.panel h2 {
    font-size: 38px;
    color: #ff0055;
    margin: 0 0 15px 0;
    text-shadow: 0 0 15px #ff0055;
    letter-spacing: 2px;
}

.panel p {
    font-size: 18px;
    color: #8888aa;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.cyan-text {
    color: #00ffff;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.pulse-text {
    font-size: 20px;
    color: #00ffff;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 1; text-shadow: 0 0 10px #00ffff; }
    100% { opacity: 0.3; text-shadow: 0 0 2px #00ffff; }
}

.hidden {
    display: none !important;
}