/* baykus.css — Bilge Baykuş ve mini oyun şablonu (js/baykus.js, js/sablon.js) */

.baykus-kose {
    position: fixed; left: 18px; bottom: 18px; z-index: 900;
    width: 112px; height: 112px; border: 0; border-radius: 50%;
    background: #fff6ea; box-shadow: 0 8px 24px rgba(120, 60, 100, .25), inset 0 0 0 5px #ffc7e3;
    display: grid; place-items: center; cursor: pointer; padding: 0;
    transform: translateY(160px); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1);
    -webkit-tap-highlight-color: transparent;
}
.baykus-kose.gor { transform: translateY(0); animation: baykus-sallan 3.2s ease-in-out 1s infinite; }
.baykus-kose:active { transform: scale(.94); }
.baykus-yuz { font-size: 70px; line-height: 1; display: block; }
.baykus-yuz img { width: 100%; height: 100%; object-fit: contain; display: block; }
.baykus-kose .baykus-yuz { width: 92px; height: 92px; display: grid; place-items: center; }
.baykus-balon {
    position: absolute; top: -10px; right: -8px; font-size: 30px;
    background: #fff; border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15); animation: baykus-zipla 1.4s ease-in-out infinite;
}
.konus .baykus-yuz { animation: baykus-konus .28s ease-in-out infinite alternate; }

@keyframes baykus-sallan { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }
@keyframes baykus-zipla { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes baykus-konus { from { transform: scale(1) rotate(-3deg); } to { transform: scale(1.08) rotate(3deg); } }

/* Tekrar turu perdesi */
.baykus-perde {
    position: fixed; inset: 0; z-index: 1000;
    background: radial-gradient(circle at 50% 30%, #fff8ef 0%, #ffe3f1 60%, #f6d6ff 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 16px 16px 16px 150px; animation: baykus-gir .35s ease-out;
}
@keyframes baykus-gir { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.baykus-kapat {
    position: absolute; top: 18px; right: 18px; width: 76px; height: 76px; border-radius: 50%;
    border: 0; background: #fff; color: #a0407a; font-size: 34px; box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}
.baykus-ogretmen {
    position: absolute; left: 22px; bottom: 22px; width: 140px; height: 140px;
    display: grid; place-items: center; background: #fff6ea; border-radius: 50%;
    box-shadow: inset 0 0 0 6px #ffc7e3, 0 8px 24px rgba(120, 60, 100, .2);
}
.baykus-ogretmen .baykus-yuz { font-size: 92px; width: 118px; height: 118px; display: grid; place-items: center; }
.baykus-sahne { width: min(1000px, 100%); display: flex; flex-direction: column; align-items: center; gap: 28px; }

/* Şablon */
.st-gorsel { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.st-yildiz { width: 74px; height: 74px; animation: st-cik .4s backwards cubic-bezier(.3, 1.6, .5, 1); }
.st-yildiz svg { width: 100%; height: 100%; fill: #ffc93c; stroke: #e89a1a; stroke-width: 4; stroke-linejoin: round; }
.st-secenekler { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.st-secenek {
    width: clamp(120px, 15vw, 170px); height: clamp(120px, 15vw, 170px);
    border: 0; border-radius: 36px; background: #fff; cursor: pointer;
    box-shadow: 0 10px 0 #f3c6dc, 0 14px 26px rgba(150, 60, 110, .18);
    display: grid; place-items: center; padding: 14px;
    animation: st-cik .45s backwards cubic-bezier(.3, 1.6, .5, 1);
    -webkit-tap-highlight-color: transparent; transition: transform .12s;
}
.st-secenek:active { transform: translateY(6px); box-shadow: 0 4px 0 #f3c6dc; }
.st-secenek img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.st-renk-top { width: 82%; height: 82%; border-radius: 50%; box-shadow: inset -8px -10px 0 rgba(0, 0, 0, .12); }
.st-sayi { font: 800 clamp(64px, 9vw, 96px)/1 'Baloo 2', 'Nunito', system-ui, sans-serif; color: #8a3b9e; }
.st-sekil-svg { width: 86%; height: 86%; fill: #ff8cc6; stroke: #d0559a; stroke-width: 4; }
.st-secenek.salla { animation: st-salla .45s; }
.st-secenek.parla { animation: st-parla 1s ease-in-out infinite; }
.st-secenek.dogru { box-shadow: 0 10px 0 #9fe3b8, 0 0 0 8px #7dd99c, 0 14px 30px rgba(60, 160, 100, .35); }

@keyframes st-cik { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes st-salla { 0%, 100% { transform: none; } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
@keyframes st-parla {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 0 #f3c6dc, 0 0 0 0 rgba(255, 200, 60, .9); }
    50% { transform: scale(1.08); box-shadow: 0 10px 0 #f3c6dc, 0 0 0 16px rgba(255, 200, 60, .35); }
}

@media (max-width: 700px) {
    .baykus-perde { padding: 100px 16px 170px; }
    .baykus-ogretmen { width: 110px; height: 110px; left: 50%; transform: translateX(-50%); }
    .baykus-ogretmen .baykus-yuz { font-size: 70px; }
    .baykus-kose { width: 92px; height: 92px; }
    .st-secenekler { gap: 14px; }
}
