body {
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    --height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    background-image: url('data:image/svg+xml,%3Csvg width="64" height="64" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M8 16c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zm33.414-6l5.95-5.95L45.95.636 40 6.586 34.05.636 32.636 2.05 38.586 8l-5.95 5.95 1.414 1.414L40 9.414l5.95 5.95 1.414-1.414L41.414 8zM40 48c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zM9.414 40l5.95-5.95-1.414-1.414L8 38.586l-5.95-5.95L.636 34.05 6.586 40l-5.95 5.95 1.414 1.414L8 41.414l5.95 5.95 1.414-1.414L9.414 40z" fill="%239C92AC" fill-opacity="0.4" fill-rule="evenodd"/%3E%3C/svg%3E');
}

#game-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
	padding-top:10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 420px;
    width: 100%;
	background-image: url('bkg_02.jpg');
}

h1 {
    text-align: center;
    color: #333;
    margin-top: 0;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #f0f0f0;
	margin-bottom:10px;
}

#game-board {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.guess-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-style: inset;
    border-width: 2px;
    padding: 3px;
    border-radius: 10px;
	background-color: white;
}

.guess-slots {
    display: flex;
    gap: 10px;
}

.guess-slot {
    width: 30px;
    height: 30px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
    background-color: #f0f0f0;
}

.guess-slot:hover {
    transform: scale(1.1);
}

.guess-slot img {
    max-width: 90%;
    max-height: 90%;
    animation: fadeInFromBottom 0.5s ease;
}

@keyframes fadeInFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-indicators {
    display: flex;
    gap: 5px;
    margin-left: 10px;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.red { background-color: #ff6b6b; }
.green { background-color: #4ecdc4; }

#character-selection {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.character {
    width: 50px;
    height: 50px;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

.character:hover {
    transform: scale(1.1);
}

.character img {
    max-width: 90%;
    max-height: 90%;
	border-radius: 50%;
}

#submit-guess {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #f7b731;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#submit-guess:hover {
    background-color: #ffa502;
}

#feedback {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    color: #333;
}

#indicator-legend {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    font-size: 0.9em;
}

#indicator-legend div {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Add these styles to your existing CSS */

#correct-result {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#correct-result .guess-slot {
	width: 50px;
	height: 50px;
    cursor: default;
}

#correct-result .guess-slot:hover {
    transform: none;
}

#new-game {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#new-game:hover {
    background-color: #45a049;
}

.hidden {
    display: none !important;
}

.guess-status {
    margin-left: 10px;
    font-size: 24px;
}

.guess-status.correct::after {
    content: '✓';
    color: #4CAF50;
}

.guess-status.incorrect::after {
    content: '✗';
    color: #f44336;
}

