.elementor-4008 .elementor-element.elementor-element-ff97eb8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4008 .elementor-element.elementor-element-59ec571{--spacer-size:10px;}.elementor-4008 .elementor-element.elementor-element-6ac5a94{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-88161b3 */<style>
/* =======================================
   1. GENEL SAYFA VE ANA DÜZEN
   ======================================= */
body, html {
    margin: 0;
    padding: 0;
    /* Profesyonel Giriş Ekranı Arkaplanı */
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); 
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
}

.quiz-main-content {
    display: flex; 
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center; 
    justify-content: center; 
    min-height: 100vh;
    padding: 0;
}

/* Oyun başladığında dikey ortalamayı kaldır ve padding ekle */
.quiz-started .quiz-main-content {
    align-items: flex-start; 
    min-height: auto;
    padding: 20px;
}

/* Mobil Uyumluluk */
@media (max-width: 767px) {
    .quiz-main-content {
        flex-direction: column !important;
    }
}

/* Tablet ve Masaüstü */
@media (min-width: 768px) {
    .quiz-main-content {
        flex-direction: row !important;
        align-items: flex-start;
    }
    .game-box { 
        order: 1; 
        width: 65%; 
        min-width: 400px;
        display: flex; 
        flex-direction: column;
    }
    .info-panel { 
        order: 2; 
        width: 35%; 
        min-width: 280px;
    }
}

/* =======================================
   2. GİRİŞ KUTUSU (JOIN BOX) STİLLERİ
   ======================================= */
.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.join-box { 
    text-align: center;
    max-width: 450px; 
    width: 90%; 
    background: #ffffff;
    border-radius: 20px; 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    padding: 40px; 
}
.join-box h2 {
    color: #391e6c; 
    font-size: 2em;
    margin-bottom: 25px;
    font-weight: 900;
}
.join-box input { 
    width: 100%; 
    padding: 15px 20px; 
    margin-bottom: 20px; 
    border: 2px solid #ddd; 
    border-radius: 10px; 
    box-sizing: border-box; 
    font-size: 1.1em;
    transition: border-color 0.3s;
}
.join-btn { 
    width: 100%; 
    padding: 18px; 
    background-color: #e41e3d; 
    color: white; 
    border: none; 
    border-radius: 10px; 
    font-size: 1.4em; 
    font-weight: bold; 
    cursor: pointer;
    box-shadow: 0 4px 0 #b31631; 
    transition: background-color 0.1s, transform 0.1s;
}
.error-msg { color: #e41e3d; margin-top: 15px; font-weight: bold; }

/* =======================================
   3. SORU ALANI VE ZAMANLAYICI
   ======================================= */
.question-view {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    position: relative; 
}

/* Soru Görseli CONTAINER ALANI */
#questionImageContainer {
    max-height: 250px; 
    overflow: hidden;
    margin: -25px -25px 15px -25px; 
    border-radius: 12px 12px 0 0;
    text-align: center;
}

/* Soru Görseli (IMG) */
#questionImage {
    width: 100%;
    height: auto; 
    max-height: 250px; 
    object-fit: contain; 
    display: none; 
    margin: 0 auto; 
}


#timerContainer {
    position: absolute; 
    top: -15px; 
    left: -15px; 
    z-index: 10;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: #ffc107;
    color: #343a40;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 4px solid #fff;
}

#questionText {
    font-size: 1.5em;
    font-weight: bold;
    color: #495057;
    margin: 15px 0 15px 60px;
    text-align: left;
    min-height: 40px;
}
.message-text {
    font-style: italic;
    color: #007bff;
    min-height: 20px;
    margin-top: 10px;
}

.options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

/* TEMAYI EZMEK İÇİN !important ve Hover Eklentisi */
.options-container .btn {
    padding: 20px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    color: white !important;
    cursor: pointer !important;
    transition: background-color 0.1s, transform 0.1s !important;
    text-align: center !important;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1) !important;
    
    display: flex !important; 
    align-items: center !important;
    justify-content: center !important;
}

.options-container .btn:hover {
    transform: translateY(-2px) !important;
    opacity: 0.9;
}

.options-container .btn span.icon {
    font-size: 1.5em; 
    margin-right: 10px;
    font-weight: 900;
}

/* ŞIK RENKLERİ (TEMA ÖNCELİĞİ İÇİN !important eklendi) */
.options-container .a { background-color: #e41e3d !important; } 
.options-container .b { background-color: #1368ce !important; } 
.options-container .c { background-color: #d89e00 !important; } 
.options-container .d { background-color: #279e00 !important; } 

/* HOVER RENKLERİ - Hafif Koyu Ton */
.options-container .a:hover { background-color: #c41834 !important; } 
.options-container .b:hover { background-color: #1059b0 !important; } 
.options-container .c:hover { background-color: #bfa500 !important; } 
.options-container .d:hover { background-color: #208600 !important; } 


.btn.selected { border: 4px solid #fff !important; opacity: 0.8 !important; pointer-events: none !important; }
.btn.correct { background-color: #27ae60 !important; box-shadow: 0 0 10px #27ae60 !important; }
.btn.incorrect { background-color: #c0392b !important; opacity: 0.6 !important; pointer-events: none !important; }

/* =======================================
   4. LİDERLİK TABLOSU
   ======================================= */
.info-panel {
    background: #391e6c; 
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

.leader-title-container {
    background-color: #31185c; 
    padding: 30px 20px 10px;
    text-align: center;
}
.leader-title {
    color: white;
    margin: 0;
    font-size: 1.6em;
    font-weight: 900;
}

.top-three-grid {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 40px 10px 20px;
    background: #391e6c;
}

.player-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: bold;
    padding: 0 5px;
}
.rank-text {
    font-size: 1.1em;
    font-weight: 900;
    margin-bottom: 5px;
}
.player-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #5c3e98;
    border: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    position: relative;
    /* Avatar SVG'si */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24" fill="%23d0c0e5"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
    background-repeat: no-repeat;
    background-position: center 60%; 
    background-size: 70%;
}
.player-rank.rank-1 { transform: translateY(-20px); padding-bottom: 20px; }
.player-rank.rank-1 .player-avatar { width: 100px; height: 100px; border-color: gold; background-size: 60%; }
.player-rank.rank-2 .player-avatar { border-color: silver; }
.player-rank.rank-3 .player-avatar { border-color: #cd7f32; }


/* Genel Liderlik Listesi */
.leaderboard-list {
    background: #2b1357; 
    border-top: 1px solid #4a2886;
    padding: 10px 15px;
    border-radius: 0 0 12px 12px;
    max-height: 300px; 
    overflow-y: auto; 
    flex-grow: 1; 
}
.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #391e6c; 
    border-radius: 8px;
    font-size: 1.1em;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.leaderboard-item .rank-number { font-weight: bold; width: 30px; }
.leaderboard-item .player-name { flex-grow: 1; font-weight: normal; }
.leaderboard-item .score-value { font-weight: bold; color: #ffd700; }
.highlight-player {
    background: #4a2886 !important; 
    border: 1px solid #ffc107;
}
</style>/* End custom CSS */