/* ================================
   PAROLA – OYUN İÇİ CSS
   Pasaparola tarzı kelime oyunu
================================ */

.parola-game { --gap: 12px; --radius: 12px; }
.parola-game * { box-sizing: border-box; }

/* ===== ROSCO ÇEMBERİ ===== */
.parola-game .rosco-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    margin: 10px auto 20px;
}

.parola-game .letter-circle {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #e5e7eb;
    color: #374151;
}

.parola-game .letter-circle.active {
    background: #6366f1;
    color: white;
    transform: scale(1.3);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.5);
}

.parola-game .letter-circle.correct {
    background: #22c55e;
    color: white;
}

.parola-game .letter-circle.wrong {
    background: #ef4444;
    color: white;
}

.parola-game .letter-circle.passed {
    background: #9ca3af;
    color: white;
}

/* Ortadaki Soru Alanı */
.parola-game .rosco-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Soru Kutusu - Çemberin içinde */
.parola-game .rosco-center .question-box {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
    padding: 24px 20px;
    border-radius: 16px;
    width: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.parola-game .rosco-center .question-text {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
}

/* ===== CEVAP PANELİ ===== */
.parola-game .question-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 520px;
    margin: 0 auto;
}

/* Cevap Seçenekleri - Yan yana */
.parola-game .answers-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.parola-game .answer-btn {
    width: 100%;
    padding: 16px 12px;
    background: #e8e8e8;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parola-game .answer-btn:hover:not(:disabled) {
    background: #a3a3ee;
}

.parola-game .answer-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.parola-game .answer-btn.selected-correct {
    background: #22c55e;
    color: white;
    border-color: #22c55e;
}

.parola-game .answer-btn.selected-wrong {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.parola-game .answer-btn.show-correct {
    border-color: #22c55e;
    border-width: 3px;
}

/* Pas Butonu - Yasak kelime tarzı */
.parola-game .pass-btn {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #000;
    border: 0;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(255, 193, 7, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.parola-game .pass-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 193, 7, 0.4);
}

.parola-game .pass-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== LOADING OVERLAY (Oyun içinde) ===== */
.parola-game .parola-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 14px;
}

.parola-game .parola-loading-overlay.active {
    display: flex;
}

.parola-game .parola-loading-overlay .loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: parolaSpin 0.8s linear infinite;
}

.parola-game .parola-loading-overlay .loading-text {
    margin-top: 15px;
    color: #6b7280;
    font-size: 15px;
}

/* Oyun alanı relative olmalı */
.parola-game #gameDiv {
    position: relative;
    min-height: 400px;
}

@keyframes parolaSpin {
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 768px) {
    .parola-game .rosco-container {
        max-width: 400px;
    }

    .parola-game .letter-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .parola-game .rosco-center {
        width: 58%;
    }

    .parola-game .rosco-center .question-box {
        padding: 16px 12px;
        min-height: 90px;
    }

    .parola-game .rosco-center .question-text {
        font-size: 15px;
    }

    .parola-game .question-panel {
        max-width: 400px;
    }

    .parola-game .answer-btn {
        padding: 14px 10px;
        font-size: 15px;
        min-height: 50px;
    }
}

/* ===== RESPONSIVE - 700px ===== */
@media (max-width: 700px) {
    .parola-game .rosco-container {
        max-width: 360px;
    }

    .parola-game .letter-circle {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .parola-game .rosco-center {
        width: 55%;
    }

    .parola-game .rosco-center .question-box {
        padding: 14px 10px;
        min-height: 85px;
    }

    .parola-game .rosco-center .question-text {
        font-size: 14px;
    }

    .parola-game .question-panel {
        max-width: 360px;
    }
}

/* ===== RESPONSIVE - MOBİL ===== */
@media (max-width: 600px) {
    .parola-game .rosco-container {
        max-width: 300px;
    }

    .parola-game .letter-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .parola-game .rosco-center {
        width: 52%;
    }

    .parola-game .rosco-center .question-box {
        padding: 12px 8px;
        min-height: 75px;
    }

    .parola-game .rosco-center .question-text {
        font-size: 13px;
    }

    .parola-game .question-panel {
        max-width: 300px;
    }

    .parola-game .answers-container {
        gap: 8px;
    }

    .parola-game .answer-btn {
        padding: 12px 8px;
        font-size: 14px;
        min-height: 46px;
    }

    .parola-game .pass-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ===== RESPONSIVE - KÜÇÜK MOBİL (Dikey düzen) ===== */
@media (max-width: 400px) {
    /* Çemberi üste al, soruyu dışarı çıkar */
    .parola-game .game-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .parola-game .rosco-container {
        max-width: 260px;
        margin: 0 auto 10px;
    }

    .parola-game .letter-circle {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    /* Soru çemberin dışına çık */
    .parola-game .rosco-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 10px;
    }

    .parola-game .rosco-center .question-box {
        padding: 14px 12px;
        min-height: 65px;
        border-radius: 12px;
    }

    .parola-game .rosco-center .question-text {
        font-size: 13px;
    }

    .parola-game .question-panel {
        max-width: 100%;
        padding: 0 10px;
    }

    .parola-game .answers-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .parola-game .answer-btn {
        padding: 10px 6px;
        font-size: 12px;
        min-height: 42px;
    }

    .parola-game .pass-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ===== ACTION BUTTONS (Pas + İhbar) ===== */
.parola-game .action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

/* İhbar Butonu */
.parola-game .report-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fef3c7;
    color: #d97706;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.parola-game .report-btn:hover {
    background: #fde68a;
    transform: scale(1.1);
}

.parola-game .report-btn:active {
    transform: scale(0.95);
}

/* ===== İHBAR MODAL ===== */
.report-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.report-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.report-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.report-modal-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #d97706;
}

.report-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.report-modal-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 20px;
}

.report-modal-buttons {
    display: flex;
    gap: 10px;
}

.report-modal-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.report-modal-btn.cancel {
    background: #f3f4f6;
    color: #6b7280;
}

.report-modal-btn.cancel:hover {
    background: #e5e7eb;
}

.report-modal-btn.confirm {
    background: #ef4444;
    color: white;
}

.report-modal-btn.confirm:hover {
    background: #dc2626;
}

.report-modal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 480px) {
    .parola-game .pass-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

