* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    background-color: black;
}

.canvas{
    width: 100%;
    height: 100%;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.sound{
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    user-select: none;
}

.sound button{
    width: 30px;
    padding: 5px;
    background: white;
    border-radius: 5px;
    border: none;
    outline: none;
    cursor: pointer;
}

.sound button img{
    width: 100%;
}

.sound .muted-btn{
    display: none;
}

.score{
    position: absolute;
    color: white;
    padding: 20px;
    user-select: none;
    z-index: 1;
}

.result{
    width: 90%;
    max-w: 480px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    z-index: 10;
}

.result .content{
    background: linear-gradient(135deg, #0d121d 0%, #151c2e 100%);
    border: 2px solid #232d42;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.15);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content h2{
    font-size: 64px;
    font-weight: 900;
    color: #10b981;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    line-height: 1;
}

.content p{
    color: #94a3b8;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 12px 0 28px 0;
}

.content .btn{
    width: 100%;
}

.content .btn button{
    display: inline-block;
    width: 100%;
    padding: 16px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #022c22;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    transition: all 0.2s ease;
}

.content .btn button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}