/* piçiz biz. — mutfak kreması, mürekkep çerçeve, sarı vurgu, kırmızı forma */
:root {
  --zemin: #fff7e6;
  --zemin-2: #fbeccb;
  --kart: #ffffff;
  --murekkep: #20150b;
  --soluk: #6b5845;
  --cizgi: #20150b;
  --golge: #20150b;
  --sari: #ffcc1f;
  --sari-koyu: #f0b400;
  --kirmizi: #e3262f;
  --kahve: #6b3a17;
  --yesil: #1f9d55;
  --balon: #ffffff;
  --balon-sag: #ffd84d;
  --sahne: #8a7560;
  --r0: #d9480f; --r1: #1971c2; --r2: #2b8a3e; --r3: #9c36b5; --r4: #c2255c; --r5: #0c8599;
  --font-bas: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --yaricap: 20px;
  --ust-yukseklik: 64px;
  --alt-menu: 0px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --zemin: #15100a;
    --zemin-2: #1e1710;
    --kart: #221910;
    --murekkep: #f7ecd9;
    --soluk: #c2ad93;
    --cizgi: #e9d9bd;
    --golge: #000000;
    --balon: #30251a;
    --balon-sag: #ffcc1f;
    --sahne: #a8927a;
    --r0: #ff9a5c; --r1: #74c0fc; --r2: #69db7c; --r3: #da77f2; --r4: #f783ac; --r5: #66d9e8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --zemin: #15100a; --zemin-2: #1e1710; --kart: #221910; --murekkep: #f7ecd9; --soluk: #c2ad93;
  --cizgi: #e9d9bd; --golge: #000000; --balon: #30251a; --balon-sag: #ffcc1f; --sahne: #a8927a;
  --r0: #ff9a5c; --r1: #74c0fc; --r2: #69db7c; --r3: #da77f2; --r4: #f783ac; --r5: #66d9e8;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--zemin);
  color: var(--murekkep);
  font: 400 16px/1.55 var(--font);
  padding-bottom: calc(var(--alt-menu) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-bas); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .4em; }
h2 { font-size: clamp(22px, 3vw, 28px); }
p { margin: 0 0 .8em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--kirmizi); outline-offset: 3px; border-radius: 6px; }

.atla { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--sari); color: #20150b; padding: 8px 14px; border-radius: 999px; }
.atla:focus { left: 12px; }
.kucuk { font-size: 14px; color: var(--soluk); }

/* ---------- üst çubuk ---------- */
.ust {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--ust-yukseklik);
  padding: 0 max(16px, calc((100vw - 1160px) / 2));
  background: color-mix(in srgb, var(--zemin) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2.5px solid var(--cizgi);
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 800 24px/1 var(--font-bas); letter-spacing: -0.03em; white-space: nowrap; }
.logo svg { width: 44px; height: 44px; }
.logo b { color: var(--kirmizi); }
.menu { display: flex; gap: 6px; }
.menu a {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px;
  border: 2px solid transparent;
}
.menu a:hover { border-color: var(--cizgi); }
.menu a.aktif { background: var(--sari); color: #20150b; border-color: var(--cizgi); }
.rozet {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--yesil); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.menu-kisa { display: none; }
.menu-yeni {
  display: inline-block; margin-left: 2px; padding: 1px 5px; border-radius: 999px;
  background: var(--kirmizi); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .02em; line-height: 1.3;
}
.menu a { white-space: nowrap; }
@media (max-width: 1360px) {
  .menu { gap: 2px; }
  .menu a { padding: 8px 10px; font-size: 14px; }
  .menu-emoji { display: none; }
}
@media (max-width: 1100px) {
  .menu-ad { display: none; }
  .menu-kisa { display: inline; }
}

@media (max-width: 760px) {
  :root { --ust-yukseklik: 56px; --alt-menu: 68px; }
  /* backdrop-filter, içindeki position:fixed menüyü üst çubuğa hapseder; mobilde kapat. */
  .ust { backdrop-filter: none; background: var(--zemin); }
  .logo { font-size: 21px; }
  .logo svg { width: 38px; height: 38px; }
  .menu {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    justify-content: space-around; gap: 0;
    height: calc(var(--alt-menu) + env(safe-area-inset-bottom));
    padding: 6px 4px env(safe-area-inset-bottom);
    background: var(--kart); border-top: 2.5px solid var(--cizgi);
  }
  .menu a { flex: 1; min-width: 0; flex-direction: column; gap: 0; padding: 4px 1px; font-size: 11px; border-radius: 14px; border-width: 0; }
  .menu a.aktif { background: var(--sari); }
  .menu-emoji { display: block; font-size: 21px; line-height: 1.2; }
  .menu-ad { display: none; }
  .menu-kisa { display: block; white-space: nowrap; font-size: 10.5px; }
  .menu-yeni { position: absolute; top: -2px; left: 50%; margin: 0 0 0 4px; font-size: 7.5px; padding: 0 4px; }
  .rozet { position: absolute; top: 0; right: calc(50% - 26px); min-width: 18px; height: 18px; font-size: 11px; }
}

main { width: min(1160px, 100% - 32px); margin: 0 auto; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; min-height: 44px;
  background: var(--sari); color: #20150b;
  border: 2.5px solid var(--cizgi); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--golge);
  font: 700 16px/1.1 var(--font-bas); text-decoration: none; cursor: pointer;
  transition: transform .08s, box-shadow .08s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--golge); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--golge); }
.btn.ikincil { background: var(--kart); color: var(--murekkep); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: 2px 2px 0 var(--golge); }
.btn.buyuk { padding: 14px 24px; font-size: 19px; min-height: 54px; }
.btn.kucuk { padding: 6px 14px; font-size: 14px; min-height: 36px; box-shadow: 2px 2px 0 var(--golge); }
.btn.basari { background: var(--yesil); color: #fff; }
.btn.tehlike { background: var(--kirmizi); color: #fff; }
.metin-btn { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; cursor: pointer; color: inherit; }
.ikon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 2px solid var(--cizgi); border-radius: 999px; background: var(--kart);
  text-decoration: none; cursor: pointer; font-size: 17px;
}
.ikon-btn:hover { background: var(--zemin-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- kart ---------- */
.kart {
  background: var(--kart);
  border: 2.5px solid var(--cizgi);
  border-radius: var(--yaricap);
  box-shadow: 5px 5px 0 var(--golge);
  padding: 18px;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "ust sahne" "alt sahne";
  align-items: center;
  column-gap: 32px;
  padding: 40px 0 24px;
}
.hero-ust { grid-area: ust; align-self: end; }
.hero-alt { grid-area: alt; align-self: start; }
.hero-sahne { grid-area: sahne; position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-sahne::before {
  content: ""; position: absolute; z-index: -1;
  width: min(420px, 90%); aspect-ratio: 1; top: 90px;
  background: radial-gradient(circle, var(--sari) 0 58%, transparent 59%);
  opacity: .55; border-radius: 50%;
}
.ust-etiket {
  display: inline-block; margin-bottom: 14px; padding: 6px 12px;
  background: var(--kart); border: 2px solid var(--cizgi); border-radius: 999px;
  font-weight: 700; font-size: 14px; transform: rotate(-1.5deg);
}
.dev-baslik {
  font-size: clamp(76px, 13vw, 158px); font-weight: 800; line-height: .84; letter-spacing: -0.05em;
  margin: 0 0 18px;
}
.dev-baslik span { display: block; }
.dev-baslik span + span { color: var(--kirmizi); text-shadow: 5px 5px 0 var(--sari); transform: rotate(-2deg); transform-origin: left; }
.alt-baslik { font-size: clamp(18px, 2.2vw, 22px); font-weight: 500; margin-bottom: 22px; }
.alt-baslik em { font-style: normal; background: var(--sari); color: #20150b; padding: 0 6px; border-radius: 6px; }

.soz-balonu {
  position: relative; z-index: 2;
  width: min(380px, 100%); min-height: 96px;
  display: grid; place-items: center;
  padding: 16px 20px; margin-bottom: 14px;
  background: var(--kart); border: 2.5px solid var(--cizgi); border-radius: 24px;
  box-shadow: 5px 5px 0 var(--golge);
  font: 700 20px/1.25 var(--font-bas); text-align: center;
}
.soz-balonu::after {
  content: ""; position: absolute; bottom: -15px; left: 50%;
  width: 26px; height: 26px; background: var(--kart);
  border-right: 2.5px solid var(--cizgi); border-bottom: 2.5px solid var(--cizgi);
  transform: translateX(-50%) rotate(45deg);
}
.soz-balonu p { margin: 0; }
.soz-balonu.pat { animation: pat .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pat { from { transform: scale(.85); } to { transform: scale(1); } }

.maskot-btn { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.maskot-btn svg { display: block; width: min(300px, 70vw); height: auto; filter: drop-shadow(6px 8px 0 rgba(0, 0, 0, .12)); }
.soz-araclar { display: flex; gap: 10px; margin-top: 8px; }

/* maskot animasyonları */
.bocek .kiyafet { display: none; }
.bocek[data-kiyafet="forma"] .kiyafet-forma, .bocek[data-kiyafet="takim"] .kiyafet-takim { display: inline; }
.bocek .yuz { display: none; }
.bocek[data-yuz="sirit"] .yuz-sirit, .bocek[data-yuz="gul"] .yuz-gul,
.bocek[data-yuz="sinsi"] .yuz-sinsi, .bocek[data-yuz="sok"] .yuz-sok { display: inline; }
.maskot .kafa { transform-origin: 100px 112px; animation: kafa 2.6s ease-in-out infinite; }
.maskot .anten-s { transform-origin: 88px 42px; animation: anten 1.1s ease-in-out infinite alternate; }
.maskot .anten-d { transform-origin: 112px 42px; animation: anten 1.3s ease-in-out infinite alternate-reverse; }
.maskot .kol-s { transform-origin: 53px 142px; animation: kol .9s ease-in-out infinite alternate; }
.maskot .kol-d { transform-origin: 147px 142px; animation: kol .9s ease-in-out infinite alternate-reverse; }
.maskot .govde { transform-origin: 100px 240px; }
.maskot[data-yuz="gul"] .govde { animation: zipla .3s ease-in-out 4; }
.maskot[data-yuz="gul"] .kol-s, .maskot[data-yuz="gul"] .kol-d { animation-duration: .25s; }
.maskot[data-yuz="sok"] .govde { animation: titre .08s linear 6; }
@keyframes kafa { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes anten { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes kol { from { transform: rotate(-10deg); } to { transform: rotate(14deg); } }
@keyframes zipla { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-14px) scaleY(1.03); } }
@keyframes titre { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }

/* ---------- ana sayfa duyuru şeridi ---------- */
.duyuru {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px;
  margin: 14px 0 0; padding: 10px 16px; border-radius: 999px; text-decoration: none; text-align: center;
  background: #2c3a6b; color: #fff7e6; border: 2.5px solid var(--cizgi); box-shadow: 3px 3px 0 var(--golge);
  font-weight: 600; font-size: 15px; transition: transform .1s;
}
.duyuru:hover { transform: translate(-1px, -1px); }
.duyuru b { color: #ffcc1f; }
.duyuru-rozet { padding: 2px 8px; border-radius: 999px; background: var(--kirmizi); color: #fff; font: 800 11px var(--font-bas); letter-spacing: .04em; }
.duyuru-ok { font-weight: 800; color: #ffcc1f; white-space: nowrap; }

/* ---------- Böcek Blast vitrini ---------- */
.blast-vitrin { margin: 8px 0 0; }
.vitrin-kart {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center;
  padding: 26px 30px; text-decoration: none; color: #fff7e6;
  background: radial-gradient(120% 140% at 0% 0%, #3b4c8f 0%, #2c3a6b 45%, #1d2750 100%);
  border: 2.5px solid var(--cizgi); border-radius: 26px; box-shadow: 6px 6px 0 var(--golge);
  transition: transform .12s, box-shadow .12s; overflow: hidden;
}
.vitrin-kart:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--golge); }
.vitrin-rozet {
  display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--kirmizi); color: #fff;
  font: 800 13px var(--font-bas); letter-spacing: .04em; transform: rotate(-2deg); animation: vitrin-nabiz 1.8s ease-in-out infinite;
}
@keyframes vitrin-nabiz { 50% { transform: rotate(-2deg) scale(1.07); } }
.vitrin-yazi h2 { font-size: clamp(34px, 5vw, 54px); margin: 12px 0 8px; color: #fff; text-shadow: 3px 3px 0 #141b3a; }
.vitrin-yazi p { font-size: 17px; color: #dfe5ff; }
.vitrin-yazi b { color: #ffcc1f; }
.vitrin-rekor { font-size: 15px !important; }
.vitrin-yazi .btn { margin-top: 6px; }
.vitrin-gorsel svg { display: block; width: 100%; max-width: 300px; margin-left: auto; transform: rotate(3deg); filter: drop-shadow(6px 8px 0 rgba(0, 0, 0, .35)); }
@media (max-width: 760px) {
  .vitrin-kart { grid-template-columns: 1fr; padding: 20px; gap: 14px; text-align: center; }
  .vitrin-gorsel { order: -1; }
  .vitrin-gorsel svg { margin: 0 auto; max-width: 230px; }
  .vitrin-yazi p { font-size: 15px; }
}

/* ---------- özellik kartları ---------- */
.dortlu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 24px 0 48px; }
.ozellik {
  position: relative; display: flex; flex-direction: column;
  padding: 22px; border: 2.5px solid var(--cizgi); border-radius: var(--yaricap);
  box-shadow: 5px 5px 0 var(--golge); text-decoration: none;
  transition: transform .12s, box-shadow .12s;
}
.ozellik:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 8px 8px 0 var(--golge); }
.ozellik h2 { font-size: 26px; margin-bottom: 6px; }
.ozellik p { margin-bottom: 8px; }
.ozellik-emoji { font-size: 46px; line-height: 1; margin-bottom: 10px; }
.ozellik-veri { font-size: 14px; margin-top: auto; padding-top: 6px; overflow-wrap: anywhere; }
.ozellik .ok { font: 800 18px var(--font-bas); margin-top: 6px; }
.o-video { background: #1b2a6b; color: #fff; }
.o-oyun { background: var(--kirmizi); color: #fff; }
.o-diyalog { background: var(--sari); color: #20150b; }
.o-kaynatma { background: var(--kahve); color: #fff7e6; }
.canli-nokta {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: #37d67a; box-shadow: 0 0 0 0 rgba(55, 214, 122, .7); animation: nabiz 1.6s infinite;
  vertical-align: middle;
}
@keyframes nabiz { 70% { box-shadow: 0 0 0 9px rgba(55, 214, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(55, 214, 122, 0); } }

/* ---------- bloklar ---------- */
.blok { margin: 0 0 48px; }
.blok-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.blok-ust h2 { margin: 0; }
.iki-kolon { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; align-items: start; }
.davet { display: flex; gap: 18px; align-items: center; background: var(--zemin-2); }
.davet svg { width: 130px; flex: none; }

.izgara { columns: 2 340px; column-gap: 22px; }
.izgara > .kart { break-inside: avoid; margin: 0 0 22px; display: block; }

/* ---------- diyalog kartı ---------- */
.kart-ust { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--zemin-2); border: 2px solid var(--cizgi); }
.kart-kim { display: flex; flex-direction: column; min-width: 0; }
.kart-kim b { font-size: 15px; }
.meta { font-size: 13px; color: var(--soluk); }
.cip {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px;
  border: 2px solid var(--cizgi); border-radius: 999px; background: var(--kart);
  font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--murekkep);
}
.meta .cip { padding: 0 8px; border-width: 1.5px; font-size: 12px; }
.cip.secili, .cip:hover { background: var(--sari); color: #20150b; }
.kart-baslik { font-size: 21px; margin: 2px 0 12px; }
.kart-baslik a { text-decoration: none; }
.kart-baslik a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--sari); }

.sohbet { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 16px; background: var(--zemin-2); }
.sohbet.kesik { mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.balon {
  max-width: 84%; padding: 7px 12px 8px; border: 2px solid var(--cizgi);
  background: var(--balon); color: var(--murekkep);
  border-radius: 18px 18px 18px 6px; align-self: flex-start;
}
.balon.sag { align-self: flex-end; background: var(--balon-sag); color: #20150b; border-radius: 18px 18px 6px 18px; }
.balon.devam { margin-top: -2px; }
.balon p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.balon.eylem p { font-style: italic; opacity: .85; }
.kim { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .01em; }
.r0 .kim { color: var(--r0); } .r1 .kim { color: var(--r1); } .r2 .kim { color: var(--r2); }
.r3 .kim { color: var(--r3); } .r4 .kim { color: var(--r4); } .r5 .kim { color: var(--r5); }
.balon.sag .kim { color: #5b3a00; }
.sahne { align-self: center; margin: 4px 0; font-size: 13.5px; font-style: italic; color: var(--sahne); text-align: center; }
.sahne::before, .sahne::after { content: " — "; opacity: .6; }
.devami { display: inline-block; margin-top: 10px; font-weight: 800; text-decoration: none; }
.devami:hover { text-decoration: underline; }

.kart-alt { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.oy { display: flex; gap: 8px; margin-right: auto; }
.oy-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px;
  border: 2px solid var(--cizgi); border-radius: 999px; background: var(--kart);
  cursor: pointer; font-size: 14px; font-weight: 700; transition: transform .1s;
}
.oy-btn:hover { background: var(--zemin-2); }
.oy-btn:active { transform: scale(.94); }
.oy-btn.koptum.secili { background: var(--sari); color: #20150b; }
.oy-btn.ezik.secili { background: var(--kirmizi); color: #fff; }
.oy-btn.zipla { animation: pat .35s cubic-bezier(.3, 1.6, .5, 1); }

/* ---------- liste sayfası ---------- */
.sayfa-ust { padding: 32px 0 20px; }
.sayfa-ust h1 { font-size: clamp(34px, 6vw, 56px); }
.araclar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; }
.sekmeler { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--kart); border: 2.5px solid var(--cizgi); border-radius: 999px; }
.sekmeler a, .sekmeler button {
  padding: 7px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap;
}
.sekmeler .secili { background: var(--sari); color: #20150b; }
.cipler { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) {
  .cipler { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .cipler::-webkit-scrollbar { display: none; }
}
.sayfalama { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.bos-durum { text-align: center; }
.bos-durum svg { width: 140px; }

/* ---------- tekil sayfalar ---------- */
.sayfa-dar { width: min(720px, 100%); margin: 0 auto; padding: 28px 0 40px; }
.ortali { text-align: center; }
.geri { display: inline-block; margin-bottom: 14px; font-weight: 700; text-decoration: none; }
.kart.diyalog h1.kart-baslik { font-size: clamp(26px, 4vw, 34px); }
.diyalog-araclar { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.sikayet { margin-top: 12px; color: var(--soluk); }
.sikayet summary { cursor: pointer; font-size: 14px; font-weight: 700; }
.sikayet-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-top: 12px; }
.sikayet-form label { flex: 1 1 240px; }
.uyari, .basari-kutu, .hata {
  padding: 10px 14px; border-radius: 14px; border: 2px solid var(--cizgi); font-weight: 600;
}
.uyari { background: #fff1c2; color: #20150b; }
.basari-kutu { background: #d6f5e3; color: #0f3d24; }
.hata { background: #ffd9d9; color: #5c0b0b; }
.tesekkur { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px; }
.tesekkur svg { width: 150px; }
.tesekkur .cta { justify-content: center; margin-top: 10px; }

.metin-sayfa h2 { margin-top: 32px; }
.kurallar li, .metin-sayfa ul li { margin-bottom: 10px; }

/* ---------- form ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.form small { font-weight: 400; color: var(--soluk); }
input, select, textarea {
  width: 100%; padding: 11px 14px;
  font: 400 16px/1.45 var(--font); color: var(--murekkep);
  background: var(--zemin); border: 2px solid var(--cizgi); border-radius: 14px;
}
textarea { resize: vertical; min-height: 220px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--sari); outline-offset: 0; }
.form .onay { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 15px; }
.form .onay input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--kirmizi); }
.bal-kupu { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sayac { align-self: flex-end; }
.gonder-izgara { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; margin-bottom: 48px; }
.onizleme { position: sticky; top: calc(var(--ust-yukseklik) + 16px); }
.onizleme h2 { font-size: 20px; }
.giris-form { max-width: 380px; margin: 40px auto; text-align: left; }

/* ---------- kaynatma ---------- */
.kaynatma { padding: 20px 0 24px; }
.oda-ust { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.oda-ust h1 { font-size: clamp(28px, 5vw, 42px); margin: 0; }
.oda-online { margin: 0; font-weight: 700; }
.oda {
  display: flex; flex-direction: column; padding: 0; overflow: hidden;
  height: calc(100dvh - var(--ust-yukseklik) - var(--alt-menu) - env(safe-area-inset-bottom) - 110px);
  min-height: 380px;
}
.mesajlar { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.mesajlar li { display: flex; gap: 10px; align-items: flex-start; }
.mesajlar li.sistem {
  align-self: center; display: block; max-width: 520px; text-align: center;
  padding: 8px 14px; background: var(--zemin-2); border-radius: 14px; font-size: 14px; color: var(--soluk);
}
.mesajlar li.benim .mesaj-govde { background: var(--balon-sag); color: #20150b; }
.mesajlar li.yeni { animation: pat .3s cubic-bezier(.3, 1.6, .5, 1); }
.mesaj-govde { min-width: 0; padding: 6px 12px 8px; background: var(--zemin-2); border-radius: 4px 16px 16px 16px; }
.mesaj-ust { display: flex; align-items: baseline; gap: 8px; }
.mesaj-ust b { font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.mesaj-ust time { font-size: 12px; color: var(--soluk); flex: none; }
.mesajlar li.benim time { color: #6b5100; }
.mesaj-govde p { margin: 0; overflow-wrap: anywhere; }
.baglanti { margin: 0 10px 10px; font-size: 14px; }
.yaz { display: flex; gap: 8px; padding: 10px; border-top: 2.5px solid var(--cizgi); background: var(--kart); }
.yaz input { min-width: 0; flex: 1; }
.takma-btn {
  display: flex; align-items: center; gap: 6px; max-width: 150px; flex: none;
  padding: 4px 10px 4px 4px; border: 2px solid var(--cizgi); border-radius: 999px;
  background: var(--zemin-2); cursor: pointer; font-weight: 700; font-size: 13px;
}
.takma-btn .avatar { width: 30px; height: 30px; }
.takma-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) {
  .takma-btn span { display: none; }
  .takma-btn { padding: 4px; }
}

/* ---------- oyun ---------- */
.oyun-sayfa { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 28px; align-items: start; padding: 24px 0 48px; justify-content: center; }
.oyun-sahne { width: 100%; }
.oyun-kutu { position: relative; width: 100%; }
#oyun {
  display: block; width: 100%; aspect-ratio: 3 / 4; height: auto;
  background: #f3e6cc; border: 3px solid var(--cizgi); border-radius: 22px;
  box-shadow: 6px 6px 0 var(--golge); touch-action: none; user-select: none; -webkit-user-select: none;
}
#blast {
  display: block; width: 100%; aspect-ratio: 360 / 560; height: auto;
  background: #2c3a6b; border: 3px solid var(--cizgi); border-radius: 22px;
  box-shadow: 6px 6px 0 var(--golge); touch-action: none; user-select: none; -webkit-user-select: none;
}
/* Böcek Blast katmanları oyunun lacivert zeminine uysun */
#blast-kutu .katman { background: color-mix(in srgb, #1d2750 90%, transparent); color: #fff7e6; }
#blast-kutu .katman .kucuk { color: #c9d3f5; }
#blast-kutu .son-puan b { color: #ffcc1f; }
#blast-kutu .metin-btn { color: #ffcc1f; }
.oyun-sekme { display: flex; width: max-content; max-width: 100%; margin: 20px auto 0; }
.yeni-rozet { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--kirmizi); color: #fff; font-size: 10px; font-weight: 800; vertical-align: 2px; }
.katman {
  position: absolute; inset: 3px; border-radius: 19px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 20px; text-align: center;
  background: color-mix(in srgb, #fff7e6 90%, transparent); color: #20150b;
  backdrop-filter: blur(3px);
}
.katman.gizli { display: none; }
.katman h1, .katman h2 { font-size: clamp(28px, 7vw, 40px); margin: 4px 0; }
.katman p { max-width: 320px; }
.katman .kucuk { color: #6b5845; }
.katman-bocek { width: 110px; }
.son-puan { font: 800 22px var(--font-bas); margin: 0; }
.son-puan b { font-size: 48px; color: var(--kirmizi); }
.son-soz { font-style: italic; }
.katman .cta { justify-content: center; }
.oyun-alt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.tablo h2 { font-size: 24px; }
.kucuk-sekme { margin-bottom: 12px; }
.kucuk-sekme button { font-size: 14px; padding: 6px 12px; }
.skor-liste { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.skor-liste li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; }
.skor-liste li:nth-child(odd) { background: var(--zemin-2); }
.skor-liste li.bos { justify-content: center; color: var(--soluk); background: none; }
.skor-liste .avatar { width: 28px; height: 28px; }
.sira { width: 28px; text-align: center; font-weight: 800; }
.skor-ad { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skor-liste b { font-family: var(--font-bas); font-size: 18px; }
body.sayfa-oyun .alt { display: none; }

/* ---------- videolar ---------- */
.video-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.video-kart { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.video-kart .video-kutu { border-radius: 0; border-width: 0 0 2.5px; }
.video-bilgi { padding: 12px 14px 14px; }
.video-bilgi h3 { font-size: 17px; margin: 0 0 4px; line-height: 1.25; }
.video-bilgi h3 a { text-decoration: none; }
.video-bilgi h3 a:hover { text-decoration: underline; text-decoration-color: var(--sari); text-decoration-thickness: 3px; }
.video-bilgi .meta a { color: inherit; }
.video-kutu {
  position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden;
  border: 2.5px solid var(--cizgi); border-radius: 16px;
}
.video-kutu.dikey { aspect-ratio: 9 / 16; max-height: 78vh; margin-inline: auto; }
.video-oynat { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.video-oynat img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s, opacity .25s; }
.video-oynat:hover img { transform: scale(1.04); opacity: .85; }
.oynat-ikon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 64px; height: 64px; padding-left: 5px;
  background: var(--sari); color: #20150b; border: 3px solid #20150b; border-radius: 50%;
  box-shadow: 3px 3px 0 #20150b; font-size: 26px;
  transition: transform .15s;
}
.video-oynat:hover .oynat-ikon { transform: translate(-50%, -50%) scale(1.1); }
.video-kutu iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-tekil h1 { font-size: clamp(22px, 4vw, 30px); margin: 16px 0 6px; }
.video-tekil .cta { margin-top: 14px; }
.ara-baslik { margin: 36px 0 16px; }
.satir-girdi { display: flex; gap: 8px; }
.satir-girdi input { flex: 1; min-width: 0; }

/* ---------- sahne modu ---------- */
.sahne-ac { width: 100%; margin-bottom: 18px; }
.sahne-kutu { margin-bottom: 22px; }
.sahne-alan {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 3px solid var(--cizgi); border-radius: 20px; box-shadow: 6px 6px 0 var(--golge);
  background: #f3e3c3; container-type: inline-size;
}
.sahne-arka, .sahne-arka svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sahne-akan { animation: akan 9s linear infinite; }
@keyframes akan { to { transform: translateX(-640px); } }
.oyuncu {
  position: absolute; bottom: 3%; height: 60%; width: max-content; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  transition: transform .6s cubic-bezier(.5, -0.4, .6, 1), opacity .6s;
}
.oyuncu svg { height: 100%; width: auto; max-width: none; overflow: visible; filter: drop-shadow(3px 5px 0 rgba(0, 0, 0, .18)); }
.oyuncu-ad {
  position: absolute; bottom: -2px; white-space: nowrap;
  padding: 1px 8px; background: rgba(32, 21, 11, .82); color: #fff7e6;
  border-radius: 999px; font-size: clamp(10px, 1.9cqi, 13px); font-weight: 700;
}
.oyuncu.konusuyor svg { animation: konus .28s ease-in-out infinite alternate; }
@keyframes konus { from { transform: translateY(0); } to { transform: translateY(-4%); } }
.sahne-bocek .kol-s, .sahne-bocek .kol-d { animation-duration: 1.8s; }
.oyuncu.konusuyor .kol-s, .oyuncu.konusuyor .kol-d { animation-duration: .35s; }
.oyuncu.kacti { transform: translateX(-50%) translateY(140%) rotate(-25deg); opacity: 0; }
.sahne-balon {
  position: absolute; top: 5%; left: 0; max-width: min(62%, 360px);
  padding: .5em .85em; background: #fff; color: #20150b;
  border: 2.5px solid #20150b; border-radius: 18px; box-shadow: 3px 3px 0 #20150b;
  font: 700 clamp(12px, 2.6cqi, 19px)/1.3 var(--font-bas);
  opacity: 0; transform: scale(.9); transition: opacity .15s, transform .15s; pointer-events: none;
}
.sahne-balon.gorunur { opacity: 1; transform: scale(1); }
.sahne-balon.eylem { font-style: italic; font-weight: 600; background: #fff7e6; }
.sahne-balon p { margin: 0; white-space: pre-line; }
.sahne-kim { display: block; font-size: .78em; color: #6b3a17; }
.sahne-kuyruk {
  position: absolute; bottom: -11px; width: 18px; height: 18px; margin-left: -9px;
  background: inherit; border-right: 2.5px solid #20150b; border-bottom: 2.5px solid #20150b;
  transform: rotate(45deg);
}
.sahne-tabela {
  position: absolute; left: 50%; bottom: 7%; transform: translate(-50%, 10px);
  padding: .35em .9em; background: #20150b; color: #ffcc1f; border-radius: 10px;
  font: 700 clamp(11px, 2.3cqi, 16px) var(--font); opacity: 0; transition: opacity .2s, transform .2s; white-space: nowrap; max-width: 90%;
  overflow: hidden; text-overflow: ellipsis; z-index: 3;
}
.sahne-tabela.gorunur { opacity: 1; transform: translate(-50%, 0); }
.sahne-terlik { position: absolute; top: -20%; font-size: clamp(28px, 7cqi, 54px); animation: terlik-dus .9s cubic-bezier(.55, 0, 1, .45) forwards; z-index: 4; }
@keyframes terlik-dus { 70% { top: 70%; transform: rotate(200deg); } 100% { top: 72%; transform: rotate(180deg) scale(1.1, .8); } }
.sahne-alan.sars { animation: titre .07s linear 6; }
.sahne-son {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px;
  background: rgba(20, 13, 6, .55); opacity: 0; pointer-events: none; transition: opacity .3s;
}
.sahne-son p { width: 100%; text-align: center; margin: 0 0 4px; color: #fff; font: 800 clamp(18px, 4cqi, 30px) var(--font-bas); }
.sahne-son.gorunur { opacity: 1; pointer-events: auto; }
.sahne-kutu.duraklatildi .maskot * { animation-play-state: paused; }
.sahne-kontrol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.sahne-secim { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.sahne-secim .cip { cursor: pointer; }
@media (max-width: 560px) {
  .sahne-alan { aspect-ratio: 4 / 3; }
  .sahne-balon { max-width: 76%; }
  .sahne-secim { margin-left: 0; }
}

/* ---------- söz sayfası ---------- */
.soz-sayfa { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 0 48px; }
.buyuk-balon { width: min(560px, 100%); font-size: clamp(22px, 4vw, 30px); padding: 24px 28px; }
.soz-sayfa .maskot { width: min(260px, 64vw); }
.soz-no { font-weight: 800; color: var(--soluk); }
.soz-sayfa .cta { justify-content: center; margin-bottom: 18px; }

/* ---------- yönetim ---------- */
.yonetim { padding: 24px 0 48px; }
.yon-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.yon-ust-sag { display: flex; gap: 8px; }
.yon-sekme { margin: 16px 0 20px; border-radius: 22px; }
.yon-btn { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; align-items: center; }
.satir-form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.satir-form select { width: auto; padding: 6px 10px; font-size: 14px; }
.yon-tablo { width: 100%; border-collapse: collapse; background: var(--kart); border: 2.5px solid var(--cizgi); border-radius: 16px; overflow: hidden; font-size: 14px; }
.yon-tablo th, .yon-tablo td { padding: 8px 10px; border-bottom: 1px solid color-mix(in srgb, var(--cizgi) 25%, transparent); text-align: left; vertical-align: top; }
.yon-tablo td:nth-child(3) { overflow-wrap: anywhere; }
.yon-tablo tr.silik { opacity: .45; }
.yon-liste { padding-left: 18px; }
.tehlike-yazi { color: var(--kirmizi); }

/* ---------- alt bilgi ---------- */
.alt { text-align: center; padding: 32px 16px 40px; border-top: 2.5px solid var(--cizgi); margin-top: 24px; }
.alt-logo { font: 800 26px var(--font-bas); margin-bottom: 8px; }
.alt-logo b { color: var(--kirmizi); }
.alt nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 12px; font-weight: 700; }

/* ---------- bildirim ---------- */
.bildirim {
  position: fixed; left: 50%; bottom: calc(var(--alt-menu) + env(safe-area-inset-bottom) + 18px); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 10px 18px; background: var(--murekkep); color: var(--zemin);
  border-radius: 999px; font-weight: 700; box-shadow: 3px 3px 0 var(--sari);
  transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center;
}
.bildirim.goster { opacity: 1; transform: translate(-50%, 0); }

/* ---------- mobil düzen ---------- */
@media (max-width: 900px) {
  .dortlu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .iki-kolon, .gonder-izgara { grid-template-columns: 1fr; }
  .onizleme { position: static; }
  .oyun-sayfa { grid-template-columns: 1fr; }
  .oyun-sahne { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "ust" "sahne" "alt"; padding: 22px 0 8px; text-align: center; }
  .hero-ust { align-self: auto; }
  .dev-baslik { margin-bottom: 10px; }
  .dev-baslik span + span { transform-origin: center; }
  .hero-sahne::before { top: 70px; }
  .soz-balonu { font-size: 18px; min-height: 84px; }
  .maskot-btn svg { width: min(230px, 62vw); }
  .hero-alt .cta { justify-content: center; }
  .hero-alt { margin-top: 18px; }
  .ozellik { padding: 14px; }
  .ozellik h2 { font-size: 20px; }
  .ozellik-aciklama { display: none; }
  .ozellik-emoji { font-size: 32px; margin-bottom: 6px; }
  .ozellik .ok { font-size: 15px; }
  .video-izgara { grid-template-columns: 1fr; }
  .davet { flex-direction: column; text-align: center; }
  .kart { padding: 14px; box-shadow: 4px 4px 0 var(--golge); }
  .oy-ad { display: none; }
  .oyun-sayfa { padding-top: 12px; gap: 20px; }
  .oda { height: calc(100dvh - var(--ust-yukseklik) - var(--alt-menu) - env(safe-area-inset-bottom) - 84px); min-height: 320px; }
  .kaynatma { padding-top: 12px; }
  .oda-ust h1 { font-size: 26px; }
  body.sayfa-kaynatma .alt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
