body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Arial', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#target {
    position: absolute;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: transform 0.15s ease-out;
}

.target-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
}

.outer {
    background: #ff4757;
}

.middle {
    background: white;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

.inner {
    background: #ff4757;
    width: 30%;
    height: 30%;
    top: 35%;
    left: 35%;
}

.center {
    background: white;
    width: 15%;
    height: 15%;
    top: 42.5%;
    left: 42.5%;
}

#score {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    z-index: 10;
}

#instructions {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    z-index: 10;
    max-width: 90%;
    padding: 10px;
}

/* Better visibility on mobile devices */
@media (max-width: 768px) {
    #instructions {
        bottom: 130px;
        max-width: 95%;
        font-size: 16px;
    }
    
    #score {
        left: 20px;
        transform: none;
        top: 25px;
        font-size: 26px;
    }
    
    #language-selector {
        top: 15px;
        right: 20px;
    }
    
    #language-selector button {
        padding: 6px 12px;
        font-size: 12px;
        margin: 0 2px;
    }
}

/* Smartphones in portrait mode */
@media (max-width: 480px) {
    #instructions {
        font-size: 18px;
        width: 320px;
        max-width: 98%;
        bottom: 135px;
    }
    
    #score {
        font-size: 24px;
    }
}

@keyframes celebrate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.hit {
    animation: celebrate 0.3s ease;
}
