body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #74ebd5, #1c3ed1);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.game-container {
    display: flex;
    width: 900px;
    max-width: 95%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.game-panel {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    background: #fdfdfd;
}

.game-panel h1 {
    text-align: center;
    font-size: 36px;
    margin: 0;
    color: #333;
}

.score-display {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    background: #4a90e2;
    padding: 12px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.input-section {
    display: flex;
    justify-content: center;
}

#guessInput {
    padding: 15px;
    font-size: 18px;
    width: 70%;
    border-radius: 12px;
    border: 2px solid #ddd;
    text-align: center;
    transition: 0.3s;
}

#guessInput:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

button {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

#checkButton {
    background-color: #77a8f1;
    color: white;
}

#checkButton:hover {
    background-color: #267ff3;
}

#retryButton {
    background-color: #77a8f1;
    color: white;
}

#retryButton:hover {
    background-color: #267ff3;
}

.feedback {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    min-height: 28px;
    transition: all 0.3s;
}

.image-panel {
    flex: 1;
    background: url('./Images/img.png') no-repeat center center;
    background-size: cover;
}

@media(max-width: 768px) {
    .game-container {
        flex-direction: column;
    }

    .image-panel {
        height: 220px;
    }
}