/* General Styling */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(90deg, #ff9a9e, #fad0c4);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.game-container {
    text-align: center;
    max-width: 400px;
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 20px;
}

/* Header */
header {
    margin-bottom: 10px;
}

h1 {
    font-size: 24px;
    color: #ff5e57;
    margin: 0;
}

.score-board {
    font-size: 18px;
    margin-top: 5px;
}

/* Game Area */
.game-area {
    position: relative;
    width: 100%;
    height: 400px;
    background: #f3f4f7;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

/* Player */
.player {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #ff5e57;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: bounce 0.5s infinite alternate;
}

@keyframes bounce {
    to {
        transform: translate(-50%, -10px);
    }
}

/* Target */
.target {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #57d4ff;
    border-radius: 50%;
    animation: moveTarget 3s infinite linear;
}

@keyframes moveTarget {
    0% {
        left: 0;
        top: 0;
    }
    100% {
        left: calc(100% - 30px);
        top: calc(100% - 30px);
    }
}

/* Start Button */
#start-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background: #57d4ff;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

#start-button:hover {
    background: #48b0d6;
}