* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0px;
    text-align: center;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    margin: 0 5px;
}

button:hover {
    background-color: #45a049;
}

.restart-button {
    padding: 15px 30px;
    font-size: 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.restart-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.home-button {
    display: block;
    width: fit-content;
    margin: 30px auto;
    padding: 15px 30px;
    font-size: 18px;
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-button:hover {
    background-color: #357abd;
    transform: scale(1.05);
}

h1 {
    text-align: center;
	font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

#score {
    text-align: right;
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #666;
}

#celebName {
    font-size: 1.5em;
    margin-bottom: 8px;
    color: #333;
}

.game-area {
    text-align: center;
}

.celebrity-image img {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.celebrity-profession {
    font-size: 1.2em;
    color: #666;
    margin-top: 5px;
    margin-bottom: 20px;
    font-style: italic;
}

.result {
    margin: 20px 0;
    font-size: 18px;
    font-weight: bold;
}

.guess-area {
    margin: 15px 0;
}

input[type="number"] {
    padding: 10px;
    font-size: 16px;
    width: 150px;
}


/* Animasyonlar için keyframes */
@keyframes correctAnswer {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes wrongAnswer {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}


/* Ekran animasyonları için overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.3);
}

.overlay-correct {
    animation: fadeInOut 1s ease;
    color: #4CAF50;
    font-size: 250px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.overlay-wrong {
    animation: fadeInOut 1s ease;
    color: #ff0000;
    font-size: 250px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(1); }
}

.overlay.game-over {
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events: auto;
}

.game-over-box {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    animation: popIn 0.5s ease;
}

.game-over-box h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
}

.game-over-box p {
    color: #666;
    font-size: 20px;
    margin-bottom: 25px;
}

.game-over-box .restart-button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-over-box .restart-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.year-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 20px auto;
}

.year-option {
    padding: 20px;
    font-size: 24px;
    background-color: #FF4B6E;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-option:hover {
    background-color: #FF4B6E;
    transform: scale(1.05);
}

.year-option.wrong {
    background-color: #ff0000;
    animation: wrongAnswer 0.5s ease;
}

.year-option.correct {
    background-color: #4CAF50;
    animation: correctAnswer 0.5s ease;
}

.city-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 20px auto;
}

.city-option {
    padding: 20px;
    font-size: 16px;
    background-color: #FF4B6E;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-option:hover {
    background-color: #FF4B6E;
    transform: scale(1.05);
}

.city-option.wrong {
    background-color: #ff0000;
    animation: wrongAnswer 0.5s ease;
}

.city-option.correct {
    background-color: #4CAF50;
    animation: correctAnswer 0.5s ease;
}

.zodiac-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 20px auto;
}

.zodiac-option {
    padding: 20px;
    font-size: 20px;
    background-color: #FF4B6E;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zodiac-option:hover {
    background-color: #FF4B6E;
    transform: scale(1.05);
}

.zodiac-option.wrong {
    background-color: #ff0000;
    animation: wrongAnswer 0.5s ease;
}

.zodiac-option.correct {
    background-color: #4CAF50;
    animation: correctAnswer 0.5s ease;
}

.age-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 20px auto;
}

.age-option {
    padding: 20px;
    font-size: 20px;
    background-color: #FF4B6E;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-option:hover {
    background-color: #FF4B6E;
    transform: scale(1.05);
}

.age-option.wrong {
    background-color: #ff0000;
    animation: wrongAnswer 0.5s ease;
}

.age-option.correct {
    background-color: #4CAF50;
    animation: correctAnswer 0.5s ease;
}

.death-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 20px auto;
}

.death-option {
    padding: 20px;
    font-size: 20px;
    background-color: #FF4B6E;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.death-option:hover {
    background-color: #FF4B6E;
    transform: scale(1.05);
}

.death-option.wrong {
    background-color: #ff0000;
    animation: wrongAnswer 0.5s ease;
}

.death-option.correct {
    background-color: #4CAF50;
    animation: correctAnswer 0.5s ease;
} 