.branch-info-badge {
    background: var(--brand-blue); color: white;
    padding: 8px 15px; border-radius: 50px;
    font-size: 0.8rem; font-weight: bold;
    display: inline-block; margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(16, 52, 166, 0.3);
}

.rules-content {
    background: var(--input-bg);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--input-border);
    max-height: 250px;
    overflow-y: auto;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.game-area { margin-top: 20px; text-align: center; }

/* SAYAÇLAR */
#timerArea { font-size: 1rem; }
.timer-bar-container { height: 10px; background: #ddd; width: 100%; border-radius: 5px; overflow: hidden; margin-bottom: 20px; }
.timer-bar { 
    height: 100%; 
    background-color: #27ae60;
    width: 100%; 
    transition: width 1s linear, background-color 1s linear; 
}
#nextQCountdown {
    text-align: center; color: var(--brand-blue); font-weight: bold;
    margin-top: 10px; display: none; font-size: 1.1rem;
}

/* CEVAP BUTONLARI */
.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.ans-btn {
    padding: 25px; border: none; border-radius: 12px;
    font-family: 'Oswald'; font-size: 1.5rem; font-weight: bold; color: white;
    cursor: pointer; transition: 0.2s; box-shadow: 0 4px 0 rgba(0,0,0,0.2);
    position: relative;
}
.ans-btn:active { transform: translateY(4px); box-shadow: none; }
.ans-btn.selected { border: 4px solid #fff; transform: scale(0.95); }

.btn-a { background: #e74c3c; } 
.btn-b { background: #3498db; }
.btn-c { background: #f1c40f; color: black; } 
.btn-d { background: #2ecc71; }

.ans-btn.correct-reveal { background: #27ae60 !important; border: 5px solid #fff; opacity: 1 !important; transform: scale(1.05); }
.ans-btn.wrong-reveal { background: #c0392b !important; opacity: 0.6 !important; border: 3px solid #fff; }
.ans-btn.other-wrong { opacity: 0.3 !important; }

/* PUAN ve HEADER */
.score-badge {
    background: var(--brand-blue); color: white;
    padding: 5px 12px; border-radius: 20px;
    font-family: 'Oswald'; font-size: 0.9rem;
}
.info-header {
    display: flex; justify-content: space-between; width: 100%;
    margin-bottom: 10px; font-size: 0.85rem; font-weight: bold;
    color: var(--text-sub); align-items: center;
}

/* GÖRSEL ALANI */
.q-image-container { text-align: center; margin-bottom: 15px; }
.q-image { 
    max-width: 100%; max-height: 300px; border-radius: 12px; 
    object-fit: contain; pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; 
}
.q-text-display { font-size: 1.1rem; font-weight: bold; text-align: center; margin-bottom: 20px; color: var(--text-main); line-height: 1.4; }

/* JOKERLER */
.joker-section-title {
    text-align: center; font-size: 0.7rem; color: var(--text-sub); 
    margin-bottom: 8px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: 0.8;
}
.joker-container {
    display: flex; justify-content: center; gap: 12px; margin-bottom: 20px;
    padding: 8px 15px; background: rgba(0,0,0,0.04); border-radius: 12px; 
    width: fit-content; margin: 0 auto 20px auto; border: 1px solid rgba(0,0,0,0.05);
}
.joker-wrapper { 
    display: flex; flex-direction: column; align-items: center; width: 65px; 
    cursor: pointer; transition: 0.2s; position: relative;
}
.joker-wrapper:active { transform: scale(0.95); }

.joker-btn {
    background: white; color: var(--text-main); border: 2px solid #ddd;
    border-radius: 12px; width: 100%; height: 45px; 
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; cursor: pointer; position: relative; transition: 0.2s;
    box-shadow: 0 3px 0 rgba(0,0,0,0.1); margin-bottom: 4px; padding: 0;
}
.joker-btn.multi-icon { gap: 6px; padding: 0 5px; }
.gemini-svg { width: 18px; height: 18px; }

.gemini-brand-text {
    font-family: 'Poppins', sans-serif; font-weight: 600;
    background: linear-gradient(45deg, #4285F4, #9B72CB, #D96570);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    display: inline-block;
}

#btnJokerGemini { border-color: #4285F4; color: #4285F4; }
#btnJokerCorrect { border-color: #34A853; color: #34A853; }
#btnJokerLetter { border-color: #FBBC05; color: #f39c12; }

.joker-btn:disabled { opacity: 0.4; cursor: not-allowed; filter: grayscale(100%); box-shadow: none; transform: translateY(3px); background: #eee; border-color: #ccc !important; color: #999 !important; }

.joker-badge {
    position: absolute; top: -6px; right: -6px;
    background: var(--brand-red); color: white;
    font-size: 0.65rem; font-weight: bold;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--card-bg); box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.joker-label {
    font-size: 0.65rem; font-weight: 700; color: var(--text-sub); 
    text-align: center; line-height: 1.1; margin-top: 2px;
    white-space: nowrap; 
}
.joker-cost-pill {
    font-size: 0.6rem; font-weight: bold; background: var(--input-bg);
    color: var(--text-sub);
    padding: 2px 6px; border-radius: 4px; margin-top: 3px; border: 1px solid #eee;
}

/* JOKER MODAL */
#jokerConfirmModal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 999999; 
    display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px);
}
.joker-modal-card {
    background: var(--card-bg); width: 90%; max-width: 320px;
    border-radius: 15px; padding: 25px; text-align: center;
    border: 1px solid var(--brand-blue); box-shadow: 0 0 30px rgba(16, 52, 166, 0.4);
    position: relative; animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.jm-icon { font-size: 3rem; margin-bottom: 15px; display: block; }
.jm-title { font-family: 'Oswald'; font-size: 1.3rem; margin-bottom: 10px; color: var(--text-main); }
.jm-desc { font-size: 0.9rem; color: var(--text-sub); margin-bottom: 20px; line-height: 1.5; }
.jm-info-box {
    background: rgba(16, 52, 166, 0.05); border-radius: 8px; padding: 10px;
    margin-bottom: 20px; font-size: 0.85rem; text-align: left;
}
.jm-row { display: flex; justify-content: space-between; margin-bottom: 5px; }
.jm-val { font-weight: bold; color: var(--brand-blue); }
.jm-buttons { display: flex; gap: 10px; }
.btn-cancel { background: #555; color: white; flex: 1; margin: 0; font-size: 0.9rem; }
.btn-confirm { background: var(--brand-red); color: white; flex: 1; margin: 0; font-size: 0.9rem; }