body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
   /* height: 100vh; */
    margin: 0;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.feedback-area {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.btn {
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s, opacity 0.3s;
    touch-action: manipulation;
}

.btn-start {
    background-color: #4CAF50;
    color: white;
}

.btn-start:hover {
    background-color: #45a049;
}

.btn-game {
    background-color: #2196F3;
    color: white;
    margin: 0 10px;
    min-width: 120px;
    user-select: none;
    touch-action: none;
}

.btn-game:disabled {
    background-color: #555;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-game:active:not(:disabled),
.btn-game.active:not(:disabled) {
    transform: scale(0.95);
}

.circle-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto 30px;
}

#game-circle {
    transform: rotate(-90deg); /* Чтобы 12 часов были сверху */
}

.sector {
    stroke: #333;
    stroke-width: 2;
    transition: fill 0.1s;
}

.sector.active {
    fill: #fff !important;
    filter: brightness(1.5);
}

.countdown {
    position: absolute;
    display: none;;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: bold;
    pointer-events: none;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 12px;
}

.game-message {
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.message-error {
    color: #ff4444;
}

.message-success {
    color: #00C851;
}

.progress-wrapper {
    width: 300px;
    height: 10px;
    background-color: #333;
    margin: 0 auto 20px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
}

.progress-bar {
    width: 100%;
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.05s linear;
}

.game-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.results {
    background-color: #333;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

#accuracy {
    font-size: 32px;
    color: #4CAF50;
}
