/* Genel Ayarlar ve Fontlar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f3f0; /* Açık krem arka plan */
    color: #444;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
}

/* Ana İçerik Kapsayıcısı */
.container {
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 3rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* Daha belirgin bir gölge */
    text-align: center;
    border: 2px solid #e0c2a5; /* Çerçeve ekleyelim */
}

h1 {
    color: #3b3a50; /* Koyu lacivert başlık */
    margin-bottom: 1rem;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

/* Puan Alanı */
.score-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.score-container p {
    margin: 0;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background-color: #f7f0e9; /* Arka plan rengi */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#correct-count {
    color: #2e7d32; /* Daha koyu yeşil */
}

#incorrect-count {
    color: #c62828; /* Daha koyu kırmızı */
}

#question-counter {
    color: #ff9800; /* Turuncu */
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Soru Alanı */
#question-area {
    margin-bottom: 2rem;
}

#question-text {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

/* Geribildirim Alanı */
#feedback-area {
    font-size: 1.4rem;
    font-weight: 700;
    min-height: 30px;
    margin-bottom: 2rem;
    transition: all 0.3s ease-in-out;
}

.correct {
    color: #2e7d32;
    transform: scale(1.1);
}

.incorrect {
    color: #c62828;
    transform: scale(1.1);
}

/* Ana Oyun Alanı */
.game-area {
    width: 350px;
    height: 350px;
    position: relative;
    margin: 2rem auto;
}

.center-note {
    width: 120px;
    height: 120px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-circle {
    width: 100%;
    height: 100%;
    background-color: #ff9800; /* Turuncu daire */
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
}

.center-line {
    background-color: #ff9800; /* Burayı da turuncu yaptık */
    position: absolute;
    border-radius: 5px;
}

.center-line.horizontal {
    width: 250px;
    height: 12px;
}

.center-line.vertical {
    width: 12px;
    height: 250px;
}

/* Notaları konumlandırma */
.note-option {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
    opacity: 1;
}

.note-option:hover {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.note-option img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* Notların konumlandırması */
.note-option.up-note {
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.note-option.down-note {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.note-option.left-note {
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
}

.note-option.right-note {
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
}

.note-option.active {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
    animation: pulse 0.5s ease-in-out;
}

/* Animasyon */
@keyframes pulse {
    0% { transform: scale(1.1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.2); }
}

/* Oyun Sonu Butonu */
.container button {
    background-color: #ff9800 !important; /* Turuncu buton */
    transition: background-color 0.3s ease;
}

.container button:hover {
    background-color: #f57c00 !important; /* Daha koyu turuncu */
}

/* Sayfa Alt Bilgisi */
footer {
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #e0c2a5;
    width: 100%;
}

footer a {
    color: #3b3a50;
    text-decoration: none;
    font-weight: 700;
}

footer a:hover {
    text-decoration: underline;
}