@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@font-face {
    font-family: "Stapel Bold";
    src: url("../static/fonts/stapel-expanded-bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Stapel Medium";
    src: url("../static/fonts/stapel-semi-expanded-medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Stapel light";
    src: url("../static/fonts/stapel-semi-expanded-light.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


:root {
    color-scheme: light;
    font-family: "Stapel light", sans-serif;
    background-color: #f4f6fb;
    color: #111827;
}

body {
    font-family: "Stapel light", sans-serif;
}

.light-font {
    font-family: "Stapel light", "Open Sans", sans-serif;
    font-weight: 500;
}

.auth-font {
    font-family: "Stapel Medium", "Open Sans", sans-serif;
    font-weight: 500;
}

.stapel-title {
    font-family: "Stapel Bold", "Open Sans", sans-serif;
    font-weight: 700;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(62, 65, 255, 0.15), transparent 40%),
                radial-gradient(circle at bottom right, rgba(62, 65, 255, 0.15), transparent 28%),
                #f8fafc;
    color: #111827;
    overflow-x: hidden;
}

.clean-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.hero-phone-wrapper {
    position: relative;
    overflow: visible;
}

.hero-phone {
    position: relative;
    z-index: 10;
    transform: translate(1rem, -1rem);
}

.phone-animation {
    position: relative;
    overflow: visible;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.clean-card {
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.clean-card:hover {
    border-color: #e0e7ff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.option-btn {
    @apply w-full text-left p-4 rounded-2xl border-2 border-slate-100 transition-all font-medium flex items-center justify-between;
}
.option-btn.correct {
    @apply border-emerald-500 bg-emerald-50 text-emerald-700;
}
.option-btn.wrong {
    @apply border-red-500 bg-red-50 text-red-700;
}

@media (max-width: 640px) {
    html {
        font-size: 14px;
    }
    body {
        font-size: 14px;
    }
    * {
        font-size: inherit;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
}