* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.game-container {
    width: 100%;
    max-width: 800px;
    position: relative;
}

.scoreboard {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 24px;
}

#score {
    display: inline-block;
    min-width: 40px;
    margin-right: 15px;
}

#reset-btn {
    background-color: #e53935;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#reset-btn:hover {
    background-color: #b71c1c;
}

.basketball-court {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(to bottom, #1e1e1e, #121212);
    border-radius: 12px;
    overflow: hidden;
}

#basketball {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(#ff9800, #e65100);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
    cursor: grab;
    z-index: 10;
}

#basketball::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 3px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 1.5px;
}

#basketball::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 20%);
    border-radius: 50%;
}

.hoop {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border: 6px solid #fff;
    border-top: none;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.hoop::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 40px;
    background-color: #fff;
}
