* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
}

body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    touch-action: none;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

#ui-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    background-color: transparent;
    z-index: 10;
}

#game-arena {
    position: relative;
    flex-grow: 1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(18, 18, 18, 0.8);
    transform: translate(-50%, -50%);
}

.circle * {
    pointer-events: none;
}

.circle svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle span {
    position: relative;
    z-index: 2;
}

.circle circle.bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 4;
}

.circle circle.progress {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
}

#game-over-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 18, 18, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    text-align: center;
    cursor: pointer;
}

#game-over-screen.hidden {
    display: none;
}

#game-over-screen h1 {
    font-size: 3rem;
    color: #ff0055;
    text-shadow: 0 0 20px rgba(255, 0, 85, 0.8);
    margin-bottom: 20px;
}

#game-over-screen p {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #fff;
}

.hidden {
    display: none !important;
}
