body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffeaa7;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.hidden {
    display: none !important;
}

h1 { color: #d35400; }
h2 { color: #2c3e50; }

input {
    padding: 15px;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 10px;
    width: 70%;
    margin-bottom: 20px;
    text-align: center;
}

button {
    background-color: #0984e3;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
    width: 100%;
    margin-bottom: 10px;
}

button:hover {
    background-color: #74b9ff;
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}

/* Lobi */
.lobby-controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    background: #f1f2f6;
    padding: 15px;
    border-radius: 10px;
    min-width: 200px;
}

#player-list {
    list-style: none;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
}

#player-list li {
    background: white;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

#player-list li:hover {
    background: #dfe6e9;
}

.status-text {
    font-weight: bold;
    color: #e67e22;
    min-height: 24px;
}

/* Oyun Ekranı */
.scoreboard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #2d3436;
    color: white;
    padding: 15px;
    border-radius: 10px;
}

.score {
    font-size: 24px;
    font-weight: bold;
    color: #f1c40f;
    display: block;
}

.vs {
    font-style: italic;
    font-weight: bold;
    color: #ff7675;
}

#question-text {
    font-size: 32px;
    margin: 20px 0;
    color: #2d3436;
}

.options {
    display: grid;
    gap: 15px;
}

.option-btn {
    background-color: #fab1a0;
    color: #2d3436;
    font-weight: bold;
    font-size: 22px;
}

.option-btn:hover {
    background-color: #e17055;
}

.correct {
    background-color: #00b894 !important; 
    color: white;
}

.wrong {
    background-color: #d63031 !important;
    color: white;
    opacity: 0.6;
}

#feedback-msg {
    height: 30px;
    color: #0984e3;
    font-weight: bold;
}

/* Modal */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* Skor Tablosu */
#leaderboard-container {
    margin-top: 30px;
    background: #fdfefe;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #bdc3c7;
}

#leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.9em;
}

#leaderboard-table th {
    background-color: #f39c12;
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

#leaderboard-table td {
    border-bottom: 1px solid #ecf0f1;
    padding: 8px;
    color: #2c3e50;
}

#leaderboard-table tr:last-child td {
    border-bottom: none;
}
