/* Renkli Sınıf — çocuk dostu, şeker renkli arayüz */
:root {
  --gok1: #8EE3FF; --gok2: #C9F2FF; --gok3: #FFF6D8;
  --murekkep: #2B2D5B; --silik: #6B6E9A;
  --kart: #FFFFFF; --cizgi: #E6E8FF;
  --sari: #FFC93C; --sari-k: #E0A100;
  --pembe: #FF6B9A; --mavi: #3A86FF; --yesil: #06D6A0; --mor: #9B5DE5; --turuncu: #FB8500; --kirmizi: #EF476F;
  --golge: 0 10px 0 rgba(43, 45, 91, .08), 0 18px 40px rgba(43, 45, 91, .12);
  --r: 26px;
  --baslik: 'Fredoka', 'Baloo 2', 'Comic Sans MS', system-ui, sans-serif;
  --govde: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--murekkep); font-family: var(--govde); font-weight: 700; font-size: 16px;
  background: linear-gradient(180deg, var(--gok1) 0%, var(--gok2) 45%, var(--gok3) 100%) fixed;
  display: flex; flex-direction: column; overflow-x: hidden;
}
body::after { /* tepeler */
  content: ''; position: fixed; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 140px at 20% 160px, #9BE27A 60%, transparent 61%),
    radial-gradient(120% 160px at 85% 175px, #7ED957 60%, transparent 61%);
}
h1, h2, h3, h4 { font-family: var(--baslik); font-weight: 600; margin: 0 0 .4em; letter-spacing: .2px; }
h1 { font-size: clamp(28px, 4.5vw, 44px); }
h2 { font-size: 22px; }
a { color: var(--mavi); }
.silik { color: var(--silik); font-weight: 600; }
code { background: #F1F2FF; padding: 2px 8px; border-radius: 8px; font-size: 14px; }

/* Arka plan süsleri */
.gokyuzu { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bulut { position: absolute; width: 180px; height: 56px; background: #fff; border-radius: 60px; opacity: .85; animation: suzul 60s linear infinite; }
.bulut::before, .bulut::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.bulut::before { width: 80px; height: 80px; top: -40px; left: 25px; }
.bulut::after { width: 100px; height: 100px; top: -55px; right: 22px; }
.b1 { top: 12%; left: -200px; }
.b2 { top: 38%; left: -200px; transform: scale(.7); animation-duration: 85s; animation-delay: -30s; }
.b3 { top: 64%; left: -200px; transform: scale(.55); animation-duration: 110s; animation-delay: -70s; opacity: .7; }
@keyframes suzul { to { left: calc(100% + 220px); } }
.yildiz { position: absolute; font-size: 26px; animation: parla 3s ease-in-out infinite; }
.y1 { top: 18%; right: 8%; } .y2 { top: 52%; left: 5%; animation-delay: -1s; } .y3 { top: 78%; right: 18%; animation-delay: -2s; }
@keyframes parla { 50% { transform: scale(1.35) rotate(20deg); opacity: .6; } }

/* Üst bar */
.ust-bar {
  position: sticky; top: 12px; z-index: 50; margin: 12px auto 0; width: min(1200px, calc(100% - 24px));
  display: flex; align-items: center; gap: 16px; padding: 10px 14px 10px 18px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-radius: 999px; box-shadow: var(--golge);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-ikon { font-size: 30px; display: inline-block; animation: salla 4s ease-in-out infinite; }
@keyframes salla { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-14deg); } 20% { transform: rotate(12deg); } 30% { transform: rotate(0); } }
.logo-yazi, .giris-baslik { font-family: var(--baslik); font-weight: 700; font-size: 24px; white-space: nowrap; }
.logo-yazi span, .giris-baslik span { display: inline-block; white-space: pre; }
.logo-yazi span:nth-child(6n+1), .giris-baslik span:nth-child(6n+1) { color: #FF5D73; }
.logo-yazi span:nth-child(6n+2), .giris-baslik span:nth-child(6n+2) { color: #FF9F1C; }
.logo-yazi span:nth-child(6n+3), .giris-baslik span:nth-child(6n+3) { color: #F7C400; }
.logo-yazi span:nth-child(6n+4), .giris-baslik span:nth-child(6n+4) { color: #2EC4B6; }
.logo-yazi span:nth-child(6n+5), .giris-baslik span:nth-child(6n+5) { color: #3A86FF; }
.logo-yazi span:nth-child(6n), .giris-baslik span:nth-child(6n) { color: #9B5DE5; }
.logo:hover .logo-yazi span { animation: zipla .5s ease calc(var(--i) * 40ms); }
@keyframes zipla { 40% { transform: translateY(-8px); } }
.ana-menu { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.ana-menu a {
  display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; text-decoration: none;
  color: var(--murekkep); font-weight: 800; transition: .2s;
}
.ana-menu a:hover { background: #F1F2FF; transform: translateY(-2px); }
.ana-menu a.aktif { background: var(--sari); box-shadow: 0 4px 0 var(--sari-k); }
.ana-menu a.cikis:hover { background: #FFE3EA; }
.menu-ac { display: none; margin-left: auto; font-size: 24px; border: 0; background: #F1F2FF; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; }

.sayfa { width: min(1200px, calc(100% - 32px)); margin: 28px auto 40px; flex: 1; }
.alt-bilgi { text-align: center; padding: 20px 16px 28px; color: #2E6B2E; font-weight: 800; }

/* Butonlar — basılabilir şeker butonlar */
.btn {
  --renk: var(--mavi);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; text-decoration: none;
  font: 800 15px var(--govde); padding: 11px 18px; border-radius: 16px; color: #fff; background: var(--renk);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--renk) 70%, #000); transition: transform .1s, box-shadow .1s, filter .2s;
  white-space: nowrap; user-select: none; -webkit-tap-highlight-color: transparent;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 7px 0 color-mix(in srgb, var(--renk) 70%, #000); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 color-mix(in srgb, var(--renk) 70%, #000); }
.btn-sari { --renk: var(--sari); color: var(--murekkep); }
.btn-hafif { --renk: #fff; color: var(--murekkep); box-shadow: 0 4px 0 #D9DCF5; border: 2px solid #E6E8FF; }
.btn-hafif:hover { box-shadow: 0 6px 0 #D9DCF5; }
.btn-buyuk { font-size: 18px; padding: 15px 26px; border-radius: 20px; }
.btn-kucuk { padding: 6px 10px; font-size: 14px; border-radius: 12px; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 4px solid color-mix(in srgb, var(--mavi) 45%, transparent); outline-offset: 2px; }

/* Bildirimler */
.bildirim { padding: 14px 18px; border-radius: 18px; margin-bottom: 18px; font-weight: 800; background: #DFFBEF; color: #0A7C57; border: 3px solid #A6EFD0; }
.bildirim.hata { background: #FFE6EC; color: #C0274A; border-color: #FFC2D0; }
.sallan { animation: sallan .5s; }
@keyframes sallan { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* Kartlar & formlar */
.kart { background: var(--kart); border-radius: var(--r); padding: 24px; box-shadow: var(--golge); }
.alan { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.alan > span:first-child { font-weight: 800; font-size: 14px; color: var(--silik); padding-left: 4px; }
input:not([type=checkbox]):not([type=radio]):not([type=color]), select, textarea {
  width: 100%; font: 700 16px var(--govde); color: var(--murekkep); padding: 13px 16px; border-radius: 16px;
  border: 3px solid var(--cizgi); background: #FAFBFF; transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--mavi); background: #fff; outline: none; }
input[type=color] { width: 100%; height: 50px; border-radius: 16px; border: 3px solid var(--cizgi); padding: 4px; background: #fff; }
textarea { resize: vertical; line-height: 1.6; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 15px; }
.sifre-kutu { position: relative; display: block; }
.sifre-kutu input { padding-right: 56px; }
.goster { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 22px; cursor: pointer; padding: 6px; }
.alan-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-items: end; }
.alan-uclu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.onay { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 14px; cursor: pointer; }
.onay input { width: 22px; height: 22px; accent-color: var(--yesil); }
.form-butonlar { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.rozet { display: inline-block; font-size: 12px; font-weight: 900; padding: 3px 10px; border-radius: 999px; background: #EEF0FF; color: var(--mor); }
.rozet.kirmizi { background: #FFE6EC; color: #C0274A; } .rozet.yesil { background: #DFFBEF; color: #0A7C57; }

/* ---------- GİRİŞ ---------- */
.giris-sayfasi .sayfa { display: flex; align-items: center; min-height: calc(100vh - 120px); }
.giris-sahne { width: 100%; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.giris-sol { text-align: center; }
.giris-baslik { font-size: clamp(44px, 7vw, 80px); line-height: 1; margin: 10px 0 12px; text-shadow: 0 5px 0 rgba(255, 255, 255, .9); }
.giris-baslik span { animation: zipla 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms); }
.giris-slogan { font-size: 20px; color: #31407A; max-width: 460px; margin: 0 auto 20px; }
.giris-rozetler { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.giris-rozetler span { background: #fff; padding: 8px 14px; border-radius: 999px; box-shadow: 0 4px 0 rgba(43, 45, 91, .1); font-size: 14px; animation: suz 4s ease-in-out infinite; }
.giris-rozetler span:nth-child(2n) { animation-delay: -2s; }
@keyframes suz { 50% { transform: translateY(-6px); } }
.giris-kart { background: #fff; border-radius: 34px; padding: 34px; box-shadow: var(--golge); position: relative; border: 4px solid #fff; outline: 4px dashed #FFD45C; outline-offset: 8px; }
.giris-kart h2 { font-size: 30px; }
.giris-kart .btn { width: 100%; margin-top: 8px; }

/* Maskot: sevimli canavar */
.maskot { position: relative; width: 170px; height: 170px; margin: 0 auto; animation: zipla2 2.2s ease-in-out infinite; }
@keyframes zipla2 { 50% { transform: translateY(-14px) rotate(-3deg); } }
.maskot-govde { position: absolute; inset: 20px 10px 0; background: radial-gradient(circle at 35% 30%, #A98BFF, #7B5CFA 70%); border-radius: 50% 50% 46% 46%; box-shadow: inset -12px -14px 0 rgba(0, 0, 0, .12), 0 14px 0 rgba(43, 45, 91, .12); z-index: 2; }
.maskot-kulak { position: absolute; top: 8px; width: 46px; height: 60px; background: #7B5CFA; border-radius: 50% 50% 20% 20%; z-index: 1; }
.maskot-kulak.sol { left: 26px; transform: rotate(-22deg); } .maskot-kulak.sag { right: 26px; transform: rotate(22deg); }
.goz { position: absolute; top: 38px; width: 40px; height: 44px; background: #fff; border-radius: 50%; animation: kirp 5s infinite; }
.goz.sol { left: 30px; } .goz.sag { right: 30px; }
.goz i { position: absolute; width: 18px; height: 20px; background: var(--murekkep); border-radius: 50%; left: 12px; top: 14px; }
.goz i::after { content: ''; position: absolute; width: 6px; height: 6px; background: #fff; border-radius: 50%; top: 3px; left: 3px; }
@keyframes kirp { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.yanak { position: absolute; top: 86px; width: 22px; height: 12px; background: #FF8FB8; border-radius: 50%; opacity: .8; }
.yanak.sol { left: 18px; } .yanak.sag { right: 18px; }
.agiz { position: absolute; left: 50%; top: 92px; width: 46px; height: 24px; transform: translateX(-50%); background: #3A1C5C; border-radius: 0 0 30px 30px; overflow: hidden; }
.agiz::after { content: ''; position: absolute; bottom: -6px; left: 12px; width: 22px; height: 14px; background: #FF6B9A; border-radius: 50%; }

/* ---------- ANA SAYFA ---------- */
.hosgeldin {
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(120deg, #FFF 0%, #FFF8E1 100%); border-radius: 34px; padding: 28px 32px; box-shadow: var(--golge);
  position: relative; overflow: hidden; margin-bottom: 24px;
}
.hosgeldin::before { content: '🎈'; position: absolute; font-size: 90px; right: 30%; top: -24px; opacity: .15; transform: rotate(-15deg); }
.hosgeldin .selam { margin: 0 0 4px; color: var(--turuncu); font-weight: 900; }
.hosgeldin h1 { margin-bottom: 6px; }
.hosgeldin .isim { background: linear-gradient(90deg, #FF5D73, #9B5DE5, #3A86FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hosgeldin .el { display: inline-block; transform-origin: 70% 80%; animation: elsalla 2s ease-in-out infinite; }
@keyframes elsalla { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } }
.hosgeldin.yeni { animation: belir .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes belir { from { transform: scale(.85); opacity: 0; } }
.hosgeldin-istatistik { display: flex; gap: 12px; }
.hosgeldin-istatistik div { background: #fff; border-radius: 20px; padding: 12px 18px; text-align: center; min-width: 92px; box-shadow: 0 5px 0 #F0E6C8; }
.hosgeldin-istatistik b { display: block; font: 700 30px var(--baslik); color: var(--mor); }
.hosgeldin-istatistik span { font-size: 13px; color: var(--silik); }

.filtreler { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.filtre { border: 0; cursor: pointer; font: 800 15px var(--govde); padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .8); color: var(--murekkep); transition: .2s; }
.filtre:hover { background: #fff; transform: translateY(-2px); }
.filtre.aktif { background: var(--murekkep); color: #fff; }
.ara { margin-left: auto; max-width: 260px; border-radius: 999px !important; }

.oyun-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.oyun-kart {
  background: #fff; border-radius: 30px; overflow: hidden; box-shadow: var(--golge); display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); animation: kartGel .6s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i) * 50ms);
}
@keyframes kartGel { from { opacity: 0; transform: translateY(30px) scale(.9); } }
.oyun-kart:hover { transform: translateY(-8px) rotate(-1deg); }
.oyun-kart:nth-child(even):hover { transform: translateY(-8px) rotate(1deg); }
.oyun-kart-ust {
  position: relative; height: 150px; display: grid; place-items: center; text-decoration: none;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .35) 0 18%, transparent 19%), radial-gradient(circle at 85% 75%, rgba(255, 255, 255, .25) 0 14%, transparent 15%), var(--renk);
}
.oyun-ikon { font-size: 72px; filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .15)); transition: transform .3s; }
.oyun-kart:hover .oyun-ikon { transform: scale(1.18) rotate(-8deg); }
.oyun-kategori { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .9); color: var(--murekkep); font-size: 12px; font-weight: 900; padding: 4px 10px; border-radius: 999px; }
.oyun-kart-govde { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.oyun-kart-govde h3 { font-size: 22px; margin-bottom: 4px; }
.oyun-kart-govde p { margin: 0 0 16px; color: var(--silik); font-weight: 600; font-size: 15px; line-height: 1.45; flex: 1; }
.oyun-kart-alt { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn-renk { background: var(--renk); }
.bos-sonuc { text-align: center; font-size: 20px; padding: 30px; }

/* Sayfa başlığı */
.sayfa-baslik { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; background: rgba(255, 255, 255, .75); padding: 22px 26px; border-radius: 30px; }
.sayfa-baslik h1 { margin: 0; }
.sayfa-baslik p { margin: 4px 0 0; }

/* Etkinlikler */
.etkinlik-liste { display: flex; flex-direction: column; gap: 14px; }
.etkinlik-satir { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 24px; padding: 14px 16px; box-shadow: var(--golge); border-left: 10px solid var(--renk); }
.etk-ikon { font-size: 36px; width: 64px; height: 64px; display: grid; place-items: center; background: color-mix(in srgb, var(--renk) 18%, #fff); border-radius: 20px; flex-shrink: 0; }
.etk-bilgi { flex: 1; min-width: 0; }
.etk-bilgi h3 { margin: 0 0 2px; font-size: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.etk-bilgi p { margin: 0; color: var(--silik); font-size: 14px; }
.etk-islem { display: flex; gap: 8px; align-items: center; }
.etk-islem form { margin: 0; }
.bos-kutu { text-align: center; background: #fff; border-radius: 34px; padding: 50px 24px; box-shadow: var(--golge); }
.bos-emoji { font-size: 80px; animation: zipla2 2.5s ease-in-out infinite; }

.oyun-secici { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.oyun-secici label { cursor: pointer; }
.oyun-secici input { position: absolute; opacity: 0; pointer-events: none; }
.oyun-secici span { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 14px 8px; border-radius: 20px; background: #fff; border: 4px solid transparent; box-shadow: 0 5px 0 rgba(43, 45, 91, .08); transition: .2s; font-size: 14px; }
.oyun-secici span b { font-size: 34px; }
.oyun-secici label:hover span { transform: translateY(-3px); }
.oyun-secici input:checked + span { border-color: var(--renk); background: color-mix(in srgb, var(--renk) 14%, #fff); transform: scale(1.04); }
.oyun-secici input:focus-visible + span { outline: 4px solid color-mix(in srgb, var(--mavi) 45%, transparent); }
.ipucu { background: #FFF8E1; border: 3px dashed #FFD45C; border-radius: 16px; padding: 12px 14px; white-space: pre-line; font-size: 14px; color: #7A5A00; }
.icerik-alt { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }

/* Profil */
.iki-kolon { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.profil-kart { text-align: center; }
.avatar { width: 96px; height: 96px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font: 700 44px var(--baslik); color: #fff; background: linear-gradient(135deg, #FF6B9A, #9B5DE5); box-shadow: 0 6px 0 #7B3FC4; }
.profil-kart dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; text-align: left; margin: 20px 0 0; }
.profil-kart dt { color: var(--silik); } .profil-kart dd { margin: 0; }

/* ---------- ADMIN ---------- */
.admin-menu { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-menu a { padding: 11px 18px; border-radius: 16px; background: rgba(255, 255, 255, .8); text-decoration: none; color: var(--murekkep); font-weight: 800; }
.admin-menu a.aktif { background: var(--murekkep); color: #fff; }
.istatistik-kartlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 22px; }
.ist { background: #fff; border-radius: 24px; padding: 18px; box-shadow: var(--golge); border-bottom: 8px solid var(--renk); }
.ist span { font-size: 30px; } .ist b { display: block; font: 700 38px var(--baslik); color: var(--renk); line-height: 1.1; } .ist em { font-style: normal; color: var(--silik); font-size: 14px; }
.gun-grafik { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 20px; }
.gun { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.gun i { width: 100%; background: linear-gradient(180deg, #8BB8FF, var(--mavi)); border-radius: 8px 8px 4px 4px; min-height: 3px; }
.gun small { font-size: 11px; color: var(--silik); margin-top: 4px; }
.gun b { position: absolute; top: 0; font-size: 11px; color: var(--mavi); }
.cubuk-liste { display: flex; flex-direction: column; gap: 10px; }
.cubuk { display: grid; grid-template-columns: 160px 1fr 36px; gap: 10px; align-items: center; font-size: 14px; }
.cubuk div { background: #F1F2FF; border-radius: 999px; height: 14px; overflow: hidden; }
.cubuk i { display: block; height: 100%; border-radius: 999px; min-width: 4px; }
.cubuk b { text-align: right; }
.basit-liste { list-style: none; padding: 0; margin: 0; }
.basit-liste li { display: flex; gap: 8px; align-items: baseline; padding: 10px 0; border-bottom: 2px dashed var(--cizgi); }
.basit-liste time { margin-left: auto; color: var(--silik); font-size: 13px; white-space: nowrap; }
.admin-duzen { display: grid; grid-template-columns: 380px 1fr; gap: 22px; align-items: start; }
.liste-ust { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.liste-ust h2 { margin: 0; } .liste-ust input { max-width: 280px; }
.tablo-kap { overflow-x: auto; }
.tablo { width: 100%; border-collapse: collapse; font-size: 15px; }
.tablo th { text-align: left; font-size: 13px; color: var(--silik); padding: 10px; border-bottom: 3px solid var(--cizgi); white-space: nowrap; }
.tablo td { padding: 12px 10px; border-bottom: 2px dashed var(--cizgi); vertical-align: middle; }
.tablo tr.pasif td { opacity: .55; }
.tablo .islemler { display: flex; gap: 6px; justify-content: flex-end; }
.tablo .islemler form { margin: 0; }
.tablo-ikon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-size: 20px; vertical-align: middle; margin-right: 6px; }
.onizleme { margin: -8px 0 14px 4px; font-size: 14px; }

/* ---------- OYUN SAYFASI ---------- */
.oyun-ust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; background: rgba(255, 255, 255, .85); border-radius: 26px; padding: 12px 14px; }
.oyun-ust h1 { margin: 0; font-size: 28px; }
.oyun-ust-sag { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.etkinlik-sec { display: flex; align-items: center; gap: 8px; }
.etkinlik-sec select { padding: 9px 12px; max-width: 260px; }
.oyun-cerceve {
  position: relative; border-radius: 34px; padding: 14px; min-height: 560px; display: flex;
  background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--renk) 85%, #fff) 0 22px, var(--renk) 22px 44px); box-shadow: var(--golge);
}
.sahne { flex: 1; background: #fff; border-radius: 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 530px; }
.tam-cik { display: none; position: absolute; top: 22px; right: 22px; z-index: 20; }
.oyun-cerceve:fullscreen { border-radius: 0; padding: 18px; }
.oyun-cerceve:fullscreen .tam-cik { display: inline-flex; }
.oyun-cerceve:fullscreen .sahne { font-size: 1.15em; }

/* Mobil */
@media (max-width: 900px) {
  .giris-sahne, .iki-kolon, .admin-duzen { grid-template-columns: 1fr; }
  .giris-sol .giris-rozetler { display: none; }
  .menu-ac { display: block; }
  .ana-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; left: 0; flex-direction: column; background: #fff; border-radius: 26px; padding: 10px; box-shadow: var(--golge); }
  .menu-acik .ana-menu { display: flex; }
  .ust-bar { border-radius: 26px; }
  .ara { margin-left: 0; max-width: none; }
  .cubuk { grid-template-columns: 110px 1fr 30px; }
}
@media (max-width: 600px) {
  .sayfa { width: calc(100% - 32px); margin-top: 18px; }
  .hosgeldin { padding: 22px; }
  .hosgeldin-istatistik { width: 100%; } .hosgeldin-istatistik div { flex: 1; min-width: 0; padding: 10px; }
  .alan-ikili, .alan-uclu { grid-template-columns: 1fr; }
  .etkinlik-satir { flex-wrap: wrap; } .etk-islem { width: 100%; }
  .giris-kart { padding: 24px; outline-offset: 4px; }
  .logo-yazi { font-size: 20px; }
  .oyun-cerceve { padding: 8px; border-radius: 24px; min-height: 480px; }
  .sahne { min-height: 460px; }
  .etkinlik-sec span { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ============ OYUN ÇEKİRDEĞİ ORTAK ============ */
.giris-ekrani { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 20px; gap: 12px;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--renk) 18%, #fff), #fff 70%); }
.giris-ekrani .buyuk-ikon { font-size: 110px; animation: zipla2 2s ease-in-out infinite; }
.giris-ekrani h2 { font-size: clamp(30px, 5vw, 48px); margin: 0; }
.giris-ekrani p { color: var(--silik); max-width: 520px; margin: 0; font-size: 18px; }
.giris-ekrani .etk-adi { background: #F1F2FF; padding: 6px 14px; border-radius: 999px; font-size: 15px; }
.ayarlar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 8px 0; }
.ayar { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--silik); }
.ayar select { width: auto; min-width: 150px; }
.secenek-grup { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.secenek-grup button { border: 3px solid var(--cizgi); background: #fff; border-radius: 14px; padding: 8px 14px; font: 800 16px var(--govde); cursor: pointer; color: var(--murekkep); }
.secenek-grup button.secili { border-color: var(--renk); background: color-mix(in srgb, var(--renk) 18%, #fff); }
.oyun-bilgi-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; flex-wrap: wrap; border-bottom: 3px dashed var(--cizgi); }
.oyun-bilgi-bar .cip { background: #F1F2FF; padding: 6px 14px; border-radius: 999px; font-weight: 900; font-size: 16px; }
.oyun-alan { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; gap: 18px; position: relative; }
.afis { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; background: rgba(255, 255, 255, .8); backdrop-filter: blur(4px); animation: afisGel .25s; }
.afis-kutu { text-align: center; background: #fff; padding: 30px 40px; border-radius: 30px; box-shadow: var(--golge); max-width: 90%; animation: belir .5s cubic-bezier(.3, 1.6, .5, 1); }
.afis-kutu .afis-emoji { font-size: 80px; }
.afis-kutu h2 { font-size: clamp(26px, 4vw, 40px); }
.afis-kutu .afis-btn { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
@keyframes afisGel { from { opacity: 0; } }
.konfeti { position: absolute; inset: 0; pointer-events: none; z-index: 40; }
.zamanlayici { height: 12px; background: #F1F2FF; border-radius: 999px; overflow: hidden; width: 100%; }
.zamanlayici i { display: block; height: 100%; background: linear-gradient(90deg, var(--yesil), var(--sari), var(--kirmizi)); background-size: 300% 100%; border-radius: 999px; transition: width .2s linear; }
.takim-skorlar { display: flex; gap: 8px; flex-wrap: wrap; }
.takim-skor { padding: 6px 14px; border-radius: 999px; background: #F1F2FF; font-weight: 900; border: 3px solid transparent; transition: .2s; }
.takim-skor.sira { border-color: var(--renk); background: color-mix(in srgb, var(--renk) 20%, #fff); transform: scale(1.08); }
.bos-icerik { text-align: center; padding: 40px; }

/* ============ SINIF / DERS / İÇERİK ============ */
.bolum-baslik { margin: 30px 0 14px; font-size: clamp(22px, 3vw, 30px); }
.bolum-baslik.ortali { text-align: center; }
.bolum-baslik small { font-size: 15px; font-family: var(--govde); }
.sinif-sec-kutu { background: #fff; border-radius: 34px; padding: 18px; box-shadow: var(--golge); }
.ss-baslik { margin: 0 0 14px; text-align: center; padding: 12px; border-radius: 20px; background: linear-gradient(90deg, #FFF1C9, #FFE0EC, #DDF3FF, #E3FFD9); }
.sinif-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.sinif-kart {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 12px 18px; border-radius: 26px; text-decoration: none; color: var(--murekkep);
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.55) 0 22%, transparent 23%), color-mix(in srgb, var(--renk) 55%, #fff);
  box-shadow: 0 7px 0 color-mix(in srgb, var(--renk) 75%, #000); transition: transform .2s cubic-bezier(.3,1.6,.5,1); animation: kartGel .6s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--i) * 70ms);
}
.sinif-kart:hover { transform: translateY(-6px) rotate(-2deg); }
.sinif-kart:nth-child(even):hover { transform: translateY(-6px) rotate(2deg); }
.sinif-kart:active { transform: translateY(4px); box-shadow: 0 2px 0 color-mix(in srgb, var(--renk) 75%, #000); }
.sk-ikon { font-size: 46px; filter: drop-shadow(0 4px 0 rgba(0,0,0,.12)); }
.sinif-kart b { font: 700 26px var(--baslik); }
.sinif-kart small { font-weight: 800; opacity: .7; }
.bolum-kartlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; }
.bolum-kart { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 22px; border-radius: 28px; text-decoration: none; color: var(--murekkep);
  background: linear-gradient(160deg, #fff 30%, color-mix(in srgb, var(--renk) 22%, #fff)); box-shadow: var(--golge); border: 4px solid color-mix(in srgb, var(--renk) 30%, #fff); transition: transform .2s; }
.bolum-kart:hover { transform: translateY(-5px); }
.bolum-kart span { font-size: 44px; width: 78px; height: 78px; display: grid; place-items: center; background: #fff; border-radius: 24px; box-shadow: 0 5px 0 color-mix(in srgb, var(--renk) 35%, #fff); }
.bolum-kart b { font: 700 22px var(--baslik); }
.bolum-kart small { color: var(--silik); font-weight: 700; }

.sinif-serit { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.sinif-cip { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.85); text-decoration: none; color: var(--murekkep); font-weight: 900; transition: .2s; }
.sinif-cip:hover { transform: translateY(-2px); }
.sinif-cip.aktif { background: var(--renk); box-shadow: 0 4px 0 color-mix(in srgb, var(--renk) 70%, #000); }
.sinif-baslik { display: flex; gap: 18px; align-items: center; padding: 22px 28px; border-radius: 34px; box-shadow: var(--golge);
  background: radial-gradient(circle at 92% 20%, rgba(255,255,255,.5) 0 12%, transparent 13%), radial-gradient(circle at 80% 90%, rgba(255,255,255,.35) 0 9%, transparent 10%), color-mix(in srgb, var(--renk) 60%, #fff); }
.sinif-baslik h1 { margin: 0; }
.sinif-baslik p { margin: 2px 0 0; font-size: 17px; }
.sb-ikon { font-size: 64px; width: 96px; height: 96px; display: grid; place-items: center; background: #fff; border-radius: 30px; animation: zipla2 2.5s ease-in-out infinite; flex-shrink: 0; }
.ders-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ders-kart { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border-radius: 22px; text-decoration: none; color: var(--murekkep); background: #fff; font-weight: 900;
  border: 4px solid transparent; box-shadow: 0 5px 0 rgba(43,45,91,.08); transition: .2s; }
.ders-kart span { font-size: 34px; }
.ders-kart:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--renk) 40%, #fff); }
.ders-kart.aktif { border-color: var(--renk); background: color-mix(in srgb, var(--renk) 15%, #fff); transform: scale(1.04); }
.sekme-kap { margin-top: 24px; background: rgba(255,255,255,.7); border-radius: 34px; padding: 18px; }
.sekmeler { display: flex; gap: 8px; flex-wrap: wrap; }
.sekme { padding: 12px 20px; border-radius: 18px; background: #fff; text-decoration: none; color: var(--murekkep); font: 800 16px var(--govde); box-shadow: 0 4px 0 #E6E8FF; }
.sekme i { font-style: normal; font-size: 12px; background: #F1F2FF; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.sekme.aktif { background: var(--murekkep); color: #fff; box-shadow: 0 4px 0 #000; }
.sekme.aktif i { background: rgba(255,255,255,.2); }
.yol { color: var(--silik); margin: 14px 4px; font-weight: 800; }
.grup-baslik { margin: 18px 4px 10px; font-size: 20px; }
.icerik-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.icerik-izgara.genis { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.icerik-kart { display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden; text-decoration: none; color: var(--murekkep); box-shadow: var(--golge); transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
.icerik-kart:hover { transform: translateY(-6px); }
.ik-gorsel { position: relative; height: 120px; display: grid; place-items: center; background: radial-gradient(circle at 20% 25%, rgba(255,255,255,.35) 0 16%, transparent 17%), var(--renk); }
.genis .ik-gorsel { height: 160px; }
.ik-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.ik-ikon { font-size: 56px; filter: drop-shadow(0 6px 0 rgba(0,0,0,.15)); transition: transform .3s; }
.icerik-kart:hover .ik-ikon { transform: scale(1.15) rotate(-8deg); }
.oynat { position: absolute; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 26px; color: #EF476F; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.ik-govde { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.ik-govde small { color: var(--silik); font-weight: 800; font-size: 12px; }
.ik-govde b { font: 600 19px/1.2 var(--baslik); }
.ik-govde em { font-style: normal; color: var(--silik); font-weight: 600; font-size: 14px; flex: 1; }
.ik-btn { align-self: flex-start; margin-top: 8px; padding: 8px 14px; border-radius: 14px; background: var(--renk); color: #fff; font-weight: 900; font-size: 14px; box-shadow: 0 4px 0 color-mix(in srgb, var(--renk) 70%, #000); }
.bos-kutu.kucuk { padding: 30px 20px; box-shadow: none; }
.video-pencere { position: fixed; inset: 0; z-index: 100; background: rgba(20, 22, 60, .8); display: grid; place-items: center; padding: 16px; }
.video-pencere[hidden] { display: none; }
.vp-kutu { position: relative; width: min(1000px, 100%); background: #000; border-radius: 24px; overflow: hidden; border: 6px solid #fff; }
.vp-oran { aspect-ratio: 16/9; } .vp-oran iframe { width: 100%; height: 100%; border: 0; }
.vp-kapat { position: absolute; top: 10px; right: 10px; z-index: 2; }

/* Admin ekleri */
.tur-sec { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tur-sec input { position: absolute; opacity: 0; }
.tur-sec span { display: block; padding: 12px 18px; border-radius: 16px; border: 3px solid var(--cizgi); cursor: pointer; font-weight: 900; }
.tur-sec input:checked + span { border-color: var(--mavi); background: #EAF2FF; }
.tur-sec input:focus-visible + span { outline: 4px solid color-mix(in srgb, var(--mavi) 45%, transparent); }
[data-tur][hidden] { display: none !important; }
.filtre-form { display: flex; gap: 8px; flex-wrap: wrap; }
.filtre-form select, .filtre-form input { width: auto; padding: 9px 12px; }
.sd-satir { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 0; border-bottom: 2px dashed var(--cizgi); }
.sd-satir input[name=ad] { flex: 1; min-width: 120px; }
.sd-satir .sd-ikon { width: 64px; text-align: center; } .sd-satir .sd-sira { width: 74px; }
.sd-satir input[type=color] { width: 54px; height: 46px; }
.sd-satir .onay { margin: 0; padding: 0 4px; }
.matris th, .matris td { text-align: center; } .matris td:first-child { text-align: left; white-space: nowrap; }
.matris input { width: 22px; height: 22px; accent-color: var(--yesil); }

/* Dijital tahta */
.tahta-cerceve { flex-direction: column; gap: 10px; }
.tahta-arac { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; background: #fff; border-radius: 20px; padding: 10px; }
.ta-grup { display: flex; gap: 4px; flex-wrap: wrap; padding-right: 10px; border-right: 2px dashed var(--cizgi); }
.ta-grup:last-of-type { border: 0; }
.ta-grup button { border: 3px solid var(--cizgi); background: #fff; border-radius: 12px; padding: 7px 11px; font: 800 14px var(--govde); cursor: pointer; color: var(--murekkep); }
.ta-grup button.secili { border-color: var(--murekkep); background: #F1F2FF; }
.ta-grup .renk { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--cizgi); }
.ta-grup .renk.secili { box-shadow: 0 0 0 3px var(--murekkep); transform: scale(1.12); }
.tahta-sahne { position: relative; min-height: 70vh; }
.tahta-sahne canvas { position: absolute; inset: 0; touch-action: none; }
#tuval { cursor: crosshair; }
.tahta-cerceve:fullscreen .tahta-sahne { min-height: 0; }
.tahta-cerceve:fullscreen .tam-cik { position: static; margin-left: auto; }
@media (max-width: 600px) { .sinif-baslik { padding: 18px; } .sb-ikon { width: 70px; height: 70px; font-size: 44px; } .ta-grup { border: 0; } }
