/* Mobile First & iOS / Android App-like Experience */

:root {
    --sat: env(safe-area-inset-top, 0px);
    --sab: env(safe-area-inset-bottom, 0px);
    --sal: env(safe-area-inset-left, 0px);
    --sar: env(safe-area-inset-right, 0px);
}

/* iOS Safari overscroll ve bounce hissini yumuşat */
html, body {
    overscroll-behavior-y: contain;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

input, textarea {
    user-select: text;
}

/* iOS Safe Areas Desteği (Çentik ve Home Bar) */
header {
    padding-top: var(--sat);
}

footer {
    padding-bottom: max(1rem, var(--sab));
}

/* Duolingo Buton Efekti (3D basma hissi) */
.btn-duo {
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 0 4px 0 #46a302;
}

.btn-duo:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #46a302;
}

.card-bounce {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

@media (hover: hover) {
    .card-bounce:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.06);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(88, 204, 2, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 18px rgba(88, 204, 2, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(88, 204, 2, 0);
    }
}

.mic-active {
    animation: pulse-ring 1.4s infinite;
    background-color: #ff4b4b !important;
}

/* Mobil Scrollbar Gizleme (Yatay seviye kaydırma çubuğu için) */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
