* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.oyun-kutusu {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.aciklama {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Ekran Geçişleri */
.ekran {
    display: none;
}

.ekran.aktif {
    display: block;
}

/* Giriş Alanları */
input[type="text"] {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    font-size: 1.1rem;
    font-family: inherit;
    border: 2px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s;
    text-align: center;
    margin-bottom: 20px;
}

input[type="text"]:focus {
    border-color: #667eea;
}

/* MOD BUTONLARI */
.mod-butonlari {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mod-buton {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 20px 25px;
    font-family: inherit;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mod-buton:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mod-buton:active {
    transform: translateY(0);
}

.mod-buton.bilgisayar {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
}

.mod-buton.arkadas {
    background: linear-gradient(135deg, #00b894 0%, #55efc4 100%);
    color: white;
}

.mod-buton.rastgele {
    background: linear-gradient(135deg, #e17055 0%, #fab1a0 100%);
    color: white;
}

.mod-emoji {
    font-size: 2.5rem;
}

.mod-baslik {
    font-size: 1.3rem;
    font-weight: bold;
    display: block;
}

.mod-aciklama {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-top: 2px;
}

/* Ana Butonlar */
.ana-buton {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: inherit;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.olustur {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.olustur:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.katil {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.katil:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.ayirici {
    color: #999;
    margin: 20px 0;
    font-size: 0.9rem;
}

.katil-grup {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
}

.katil-grup input {
    flex: 1;
    text-transform: uppercase;
    margin-bottom: 0;
}

.katil-grup .ana-buton {
    margin: 0;
    width: auto;
    padding: 15px 20px;
    white-space: nowrap;
}

/* Geri Butonu */
.geri-buton {
    display: block;
    margin: 20px auto 0;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: bold;
    font-family: inherit;
    background: #f0f0f0;
    color: #555;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.geri-buton:hover {
    background: #ddd;
    transform: scale(1.05);
}

/* Lobi Ekranı */
.lobi-kart {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0 30px;
}

.lobi-kart p {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.oda-kod-buyuk {
    font-size: 3rem !important;
    color: #667eea !important;
    letter-spacing: 10px;
    background: white;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.lobi-bekleme {
    color: #666 !important;
    font-size: 1rem !important;
    font-weight: normal !important;
    animation: yanipSonme 1.5s infinite;
}

.basarili {
    color: #28a745 !important;
}

@keyframes yanipSonme {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Oyun Alanı */
.oyun-alani {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.secim-alani {
    flex: 1;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.secim-alani h3 {
    color: #555;
    margin-bottom: 15px;
    font-size: 1rem;
}

.secim-alani h3 span {
    color: #667eea;
    font-weight: bold;
}

.secim-emoji {
    font-size: 4rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secim-alani.kazandi {
    border-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.secim-alani.kaybetti {
    border-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #f1c0c0 100%);
}

.secim-alani.berabere {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

/* Skor Tablosu */
.skor-tablosu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 10px;
}

.skor {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skor-etiket {
    font-weight: bold;
    color: #555;
    font-size: 1.1rem;
}

.skor span:last-child {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
}

.skor-ayirici {
    font-size: 2rem;
    font-weight: bold;
    color: #999;
}

/* Sonuç Mesajı */
.sonuc {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.sonuc.kazandi {
    background: #d4edda;
    color: #155724;
}

.sonuc.kaybetti {
    background: #f8d7da;
    color: #721c24;
}

.sonuc.berabere {
    background: #fff3cd;
    color: #856404;
}

/* Seçim Butonları */
.butonlar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.secim-butonu {
    font-size: 1.3rem;
    font-weight: bold;
    font-family: inherit;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 20px;
    width: 120px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.secim-butonu:hover:not(:disabled) {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.secim-butonu:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.secim-butonu:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tekrar Oyna Butonu */
.tekrar-buton {
    font-size: 1.1rem;
    font-weight: bold;
    font-family: inherit;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.tekrar-buton:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

/* Animasyonlar */
@keyframes sallanma {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.animasyon {
    animation: sallanma 0.5s ease;
}

/* Responsive Tasarım */
@media (max-width: 480px) {
    .oyun-kutusu {
        padding: 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .butonlar {
        flex-direction: column;
        align-items: center;
    }

    .secim-butonu {
        width: 100%;
        max-width: 200px;
        padding: 15px;
    }

    .oyun-alani {
        flex-direction: column;
        gap: 15px;
    }

    .secim-emoji {
        font-size: 3.5rem;
    }

    .katil-grup {
        flex-direction: column;
        align-items: center;
    }

    .katil-grup .ana-buton {
        width: 100%;
    }

    .mod-buton {
        padding: 15px;
    }

    .mod-emoji {
        font-size: 2rem;
    }

    .mod-baslik {
        font-size: 1.1rem;
    }
}