/* Tam Sayılarla İşlemler Soru Yazarı - Özel Stiller */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* Animasyonlar */
@keyframes bounceSubtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.animate-bounce-subtle {
    animation: bounceSubtle 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.2); }
    50% { box-shadow: 0 0 25px rgba(99, 102, 241, 0.45); }
}

.glow-card {
    animation: pulseGlow 3s infinite ease-in-out;
}

/* Çizim Tuvali / Karalama Alanı */
#scratchpad-canvas {
    touch-action: none;
    cursor: crosshair;
}

/* Şık Butonları Efektleri */
.option-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -3px rgba(0, 0, 0, 0.08);
}

.option-btn:active:not(:disabled) {
    transform: translateY(0);
}

/* Şık Durumları */
.option-btn.correct-choice {
    background-color: #10b981 !important;
    border-color: #059669 !important;
    color: white !important;
}

.option-btn.correct-choice * {
    color: white !important;
}

.option-btn.wrong-choice {
    background-color: #ef4444 !important;
    border-color: #dc2626 !important;
    color: white !important;
}

.option-btn.wrong-choice * {
    color: white !important;
}

/* Kart Çıkartmaları ve Rozetler */
.badge-temel {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-orta {
    background-color: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.badge-zor {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Özel Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Yazdırma Modu (Print CSS) */
@media print {
    body * {
        visibility: hidden;
    }
    #worksheet-modal, #worksheet-modal * {
        visibility: visible;
    }
    #worksheet-modal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: white !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .no-print {
        display: none !important;
    }
    .print-page {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
