body {
    background: #e0e0e0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

#game-container {
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    width: 98vw;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

#ui-panel {
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 15px;
    border-radius: 15px 15px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 5px solid #bdc3c7;
}

#top-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
    color: #e67e22;
}

#bottom-row {
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: 1px dashed #ccc;
    padding-top: 10px;
}

#question-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    max-width: 90%;
    text-align: center;
}

canvas {
    background-color: #34495e;
    /* Asfalt rengi */
    border: 5px solid #ecf0f1;
    border-top: none;
    border-radius: 0 0 15px 15px;
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    aspect-ratio: 4 / 3;
}


/* Medya Sorguları - Küçük ekranlar ve Smartboard için */
@media screen and (max-width: 850px) {
    #question-text {
        font-size: 1rem;
        max-width: 65%;
    }
}

/* Bilgi Paneli (Pop-up) */
#tip-modal,
#level-modal {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: #333;
    padding: 25px;
    border-radius: 20px;
    width: 350px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.5);
}

button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
}