/* Keşfet: oyun penceresi */
#kesfet .icerik { width: min(980px, 100%); transform: translateY(calc(var(--t) * 40px)); }
#kesfet .baslik { margin-bottom: 14px; }
.kesfet-pencere { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px; height: min(520px, calc(100svh - 220px)); min-height: 330px; border: 22px solid transparent; border-image: url("/assets/img/oyun-cerceve.svg") 36 fill / 22px / 0 stretch; }
.kesfet-sekmeler { display: flex; flex-direction: column; gap: 8px; padding-right: 12px; border-right: 1px solid rgba(214, 176, 106, .25); }
.kesfet-sekmeler button { padding: 12px 12px; border: 1px solid rgba(214, 176, 106, .22); border-left: 3px solid transparent; border-radius: 3px; background: rgba(6, 9, 18, .6); font: 1rem var(--baslik); text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.kesfet-sekmeler button:hover { border-color: var(--altin); }
.kesfet-sekmeler button[aria-selected="true"] { background: linear-gradient(90deg, #a9121d, rgba(124, 11, 19, .35)); border-color: #e7bd74; border-left-color: #ffe3a0; color: #fff3d6; }
.kesfet-panel { min-width: 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--altin) rgba(0, 0, 0, .3); }

/* ---------- Önsöz: parşömen ---------- */
.parsomen { min-height: 100%; padding: 26px clamp(18px, 5vw, 52px); border-block: 10px solid #6b4a24; border-radius: 6px; background: radial-gradient(ellipse at 50% 45%, #f2e2bd, #dcc08a 70%, #b99458); color: #3a2710; box-shadow: inset 0 0 34px rgba(90, 52, 12, .55); text-align: center; }
.parsomen h3 { margin-bottom: 12px; font-size: 1.7rem; color: #7c0b13; }
.parsomen p { margin-bottom: 12px; font: 1.05rem/1.7 var(--baslik); }
.parsomen .imza { margin: 16px 0 0; font-style: italic; text-align: right; color: #7c0b13; }

/* ---------- Mobil & PC ---------- */
.oynanis { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cihazlar { display: flex; align-items: flex-end; justify-content: center; gap: 22px; width: 100%; }
.cihaz figcaption { display: flex; flex-direction: column; margin-top: 12px; font-size: .86rem; color: var(--soluk); }
.cihaz figcaption strong { font: 600 1.1rem var(--baslik); color: var(--altin-acik); }
.cihaz .ekran { overflow: hidden; background: #000; }
.cihaz .ekran img { width: 100%; height: 100%; object-fit: cover; }
.cihaz.pc { flex: 1 1 0; max-width: 430px; }
.cihaz.pc .ekran { position: relative; aspect-ratio: 16 / 9; border: 8px solid #171a24; border-radius: 10px; outline: 1px solid rgba(214, 176, 106, .55); margin-bottom: 22px; overflow: visible; }
.cihaz.pc .ekran::before { content: ""; position: absolute; left: 50%; bottom: -26px; width: 60px; height: 18px; translate: -50% 0; background: linear-gradient(#222634, #11131b); }
.cihaz.pc .ekran::after { content: ""; position: absolute; left: 50%; bottom: -32px; width: 130px; height: 6px; translate: -50% 0; border-radius: 6px; background: #2b3040; }
.cihaz.mobil { flex: 0 0 132px; }
.cihaz.mobil .ekran { aspect-ratio: 9 / 18; border: 7px solid #171a24; border-radius: 22px; outline: 1px solid rgba(214, 176, 106, .55); }

/* ---------- Nesne Market ---------- */
.market { display: flex; flex-direction: column; height: 100%; min-height: 300px; border: 1px solid #4a3d31; background: #14100e; text-align: left; font-family: var(--govde); }
.market-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; background: linear-gradient(#332820, #1e1713); border-bottom: 1px solid #4a3d31; }
.market-ust strong { font: 700 .95rem var(--baslik); letter-spacing: .08em; text-transform: uppercase; color: #e9dcc3; white-space: nowrap; }
.market-ara { width: min(200px, 100%); padding: 6px 10px; border: 1px solid #3c332a; border-radius: 3px; background: #0b0908; font-size: .86rem; }
.market-kategoriler { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; border-bottom: 1px solid #2c241e; }
.market-kategoriler button { padding: 5px 11px; border: 1px solid #3c332a; border-radius: 3px; background: #1d1815; color: #a89a89; font-size: .82rem; cursor: pointer; }
.market-kategoriler button:hover { color: #fff; }
.market-kategoriler button[aria-pressed="true"] { background: linear-gradient(#4a392d, #2d231c); border-color: #8a6f4e; color: #f3e6cc; }
.esyalar { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 12px; list-style: none; scrollbar-width: thin; scrollbar-color: #6b5640 #14100e; }
.esyalar li + li { margin-top: 6px; }
.esya { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; width: 100%; padding: 7px 10px; border: 1px solid #28211c; background: #100d0b; text-align: left; cursor: pointer; }
.esya:hover, .esya[aria-expanded="true"] { border-color: #8a6f4e; background: #17120f; }
.esya-ikon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #3c332a; background: #060505; color: #7d6d5b; }
.esya-ad { display: flex; flex-direction: column; font-size: .92rem; }
.esya-ad small { color: #8d7f6d; font-size: .72rem; }
.esya-adet { color: #8d7f6d; font-size: .8rem; white-space: nowrap; }
.esya-fiyat { min-width: 66px; padding: 5px 10px; border: 1px solid #4a3f35; background: linear-gradient(#3a302a, #241d19); font-weight: 700; font-size: .84rem; text-align: center; color: #f3e6cc; white-space: nowrap; }
.esya-ayrinti { padding: 8px 12px; border: 1px solid #28211c; border-top: 0; background: #1b1512; color: #c9bba6; font-size: .84rem; }
.esyalar .bos { padding: 24px 8px; color: #8d7f6d; text-align: center; font-size: .9rem; }

/* ---------- Dil desteği: dönen küre ---------- */
.diller { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.kure { position: relative; flex: none; width: 170px; height: 170px; border: 2px solid #ffd77a; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #3d5f93, #16233f 62%, #090e1c); box-shadow: 0 0 36px rgba(90, 150, 255, .35), inset -18px -18px 34px rgba(0, 0, 0, .55); }
.kure i { position: absolute; border: 1px solid rgba(255, 227, 160, .38); border-radius: 50%; }
.meridyen { inset: 0; animation: donus 8s linear infinite; }
.m2 { animation-delay: -2s; }
.m3 { animation-delay: -4s; }
.m4 { animation-delay: -6s; }
@keyframes donus { 0% { transform: scaleX(1); } 50% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
.paralel { left: 0; right: 0; top: 50%; height: 52px; translate: 0 -50%; }
.p2 { left: 12px; right: 12px; top: 26%; height: 30px; }
.p3 { left: 12px; right: 12px; top: 74%; height: 30px; }
.kure strong { position: absolute; inset: 0; display: grid; place-items: center; font: 700 2.6rem var(--baslik); color: var(--altin-acik); text-shadow: 0 2px 10px #000, 0 0 20px #000; }
.dil-listesi { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.dil-listesi button { padding: 7px 18px; border: 1px solid var(--cizgi); border-radius: 20px; background: rgba(6, 9, 18, .6); cursor: pointer; }
.dil-listesi button[aria-pressed="true"] { background: linear-gradient(#c81d28, #6d0810); border-color: #e7bd74; color: #fff3d6; }
.selam { font: 600 1.25rem var(--baslik); color: var(--altin-acik); }

/* Sekiz durak: kısa ekranlarda sağ menü sıklaşır */
@media (min-width: 861px) and (max-height: 700px) { .harita { gap: 6px; } .harita .tas { width: 36px; height: 36px; margin: 6px; } .harita::before, .harita::after { right: 23px; } }
@media (max-width: 400px) { .harita .ad, .harita a.etkin .ad { font-size: .52rem; } .harita .tas { width: 25px; height: 25px; } }

@media (max-width: 700px) {
  #kesfet .baslik { margin-bottom: 8px; }
  .kesfet-pencere { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 8px; height: calc(100svh - 300px); min-height: 360px; border-width: 12px; border-image-width: 12px; }
  .kesfet-sekmeler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 0 0 8px; border-right: 0; border-bottom: 1px solid rgba(214, 176, 106, .25); }
  .kesfet-sekmeler button { padding: 7px 2px; border-left-width: 1px; font-size: .72rem; line-height: 1.2; text-align: center; }
  .parsomen { padding: 16px 14px; }
  .parsomen h3 { font-size: 1.35rem; }
  .parsomen p { font-size: .92rem; }
  .cihazlar { gap: 12px; align-items: flex-start; }
  .cihaz.mobil { flex-basis: 84px; }
  .cihaz.pc .ekran { border-width: 5px; }
  .cihaz figcaption { font-size: .74rem; }
  .market-ust strong { font-size: .76rem; }
  .market-kategoriler { flex-wrap: nowrap; overflow-x: auto; padding: 6px 8px; }
  .market-kategoriler button { flex: none; font-size: .76rem; }
  .esyalar { padding: 6px; }
  .esya { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 8px; padding: 6px; }
  .esya-adet { display: none; }
  .esya-ad { font-size: .82rem; }
  .kure { width: 130px; height: 130px; }
  .paralel { height: 40px; }
  .kure strong { font-size: 2rem; }
}

@media (min-width: 701px) and (max-height: 760px) { .cihaz.pc { max-width: 300px; } .cihaz.mobil { flex-basis: 100px; } .oynanis { gap: 8px; } .cihaz figcaption { margin-top: 8px; } }

/* Önsöz: ünvan ve ara başlıklar */
.parsomen .unvan { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid rgba(124, 11, 19, .35); font: 700 1.16rem/1.45 var(--baslik); color: #3a2710; }
.parsomen h4 { margin: 18px 0 8px; font: 700 1.08rem/1.35 var(--baslik); color: #7c0b13; }
.parsomen h4::before, .parsomen h4::after { content: " ◆ "; font-size: .6em; vertical-align: middle; opacity: .65; }
@media (max-width: 700px) { .parsomen .unvan { font-size: .98rem; } .parsomen h4 { font-size: .94rem; } }

/* Parşömende logo filigranı: yazı kayarken logo ortada sabit kalır */
.kesfet-panel:has(> .parsomen) { overflow: hidden; }
.parsomen { height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #8a6428 transparent; background: url("/assets/img/logo-filigran.png") center / min(82%, 560px) auto no-repeat, radial-gradient(ellipse at 50% 45%, #f2e2bd, #dcc08a 70%, #b99458); }
@media (max-width: 700px) { .parsomen { background-size: 90% auto, auto; } }

/* ---------- Mobil & PC: yatay telefon vitrini ---------- */
.kesfet-panel:has(.oynanis) { container-type: size; }
.oynanis { gap: 10px; min-height: 100%; justify-content: center; }
.oynanis-sekmeler { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--cizgi); border-radius: 22px; background: rgba(6, 9, 18, .7); }
.oynanis-sekmeler button { min-width: 108px; padding: 5px 16px; border: 0; border-radius: 18px; background: none; font: .95rem var(--baslik); cursor: pointer; }
.oynanis-sekmeler button[aria-pressed="true"] { background: linear-gradient(#c81d28, #6d0810); color: #fff3d6; }
.oynanis-alan { width: 100%; display: flex; justify-content: center; }
.mobil-sahne { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; perspective: 1100px; }
/* Yatay tutulan telefon */
.telefon { --rx: 0deg; --ry: 0deg; position: relative; width: min(100%, 560px, calc((100cqh - 170px) * 2.1)); min-width: min(100%, 260px); padding: 9px 12px 9px 22px; border-radius: 28px; background: linear-gradient(150deg, #4a4f5e, #14161e 22%, #0a0b10 70%, #3a3f4c); box-shadow: 0 0 0 1px #6b7284, inset 0 0 0 2px #000, 0 26px 40px -14px #000, 0 0 34px -6px rgba(255, 190, 90, .55); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .18s ease-out; }
.telefon::before, .telefon::after { content: ""; position: absolute; top: -4px; height: 4px; border-radius: 3px 3px 0 0; background: #596071; }
.telefon::before { right: 18%; width: 46px; }
.telefon::after { right: calc(18% + 56px); width: 28px; }
.telefon-centik { position: absolute; left: 7px; top: 50%; width: 9px; height: 34%; translate: 0 -50%; border-radius: 6px; background: #000; box-shadow: inset 0 0 0 1px #222632; }
.telefon-centik::after { content: ""; position: absolute; left: 2px; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle, #3d5f93, #070a12); }
.telefon-ekran { position: relative; aspect-ratio: 1440 / 665; overflow: hidden; border-radius: 16px; background: #000; }
.telefon-ekran img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.04; transition: opacity .8s, scale 4s ease-out; }
.telefon-ekran img.acik { opacity: 1; scale: 1; }
.telefon-ekran::after { content: ""; position: absolute; inset: 0; background: linear-gradient(112deg, rgba(255, 255, 255, .1), transparent 28%); pointer-events: none; }
.telefon-kucukler { display: flex; gap: 8px; }
.telefon-kucukler button { width: 76px; padding: 2px; border: 1px solid rgba(214, 176, 106, .35); border-radius: 7px; background: #05060b; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.telefon-kucukler button img { display: block; width: 100%; aspect-ratio: 1440 / 665; object-fit: cover; border-radius: 4px; }
.telefon-kucukler button[aria-pressed="true"] { opacity: 1; border-color: #ffe3a0; box-shadow: 0 0 12px rgba(255, 196, 90, .7); }
.oynanis-metin { color: var(--soluk); font-size: .86rem; }
.oynanis-metin:empty { display: none; }
.pc-sahne { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.pc-sahne .cihaz.pc { width: min(100%, 430px, calc((100cqh - 190px) * 1.78)); flex: none; }
@media (max-width: 700px) { .oynanis { gap: 8px; } .telefon { padding: 6px 8px 6px 16px; border-radius: 18px; } .telefon-centik { left: 5px; width: 7px; } .telefon-ekran { border-radius: 10px; } .telefon-kucukler button { width: 62px; } .oynanis-metin { font-size: .76rem; } }
.telefon-ekran img { filter: brightness(1.14) saturate(1.1); }
@media (min-width: 701px) and (max-height: 760px) { .oynanis { gap: 6px; } .oynanis-metin { display: none; } .telefon { width: min(100%, 560px, calc((100cqh - 138px) * 2.1)); } .telefon-kucukler button { width: 64px; } .oynanis .dugme.kucuk { padding-block: 4px; } .oynanis-sekmeler button { padding-block: 3px; } }

/* ---------- Bilgisayar: monitör vitrini ---------- */
.monitor { --rx: 0deg; --ry: 0deg; position: relative; width: min(100%, 600px, calc((100cqh - 190px) * 1.72)); min-width: min(100%, 260px); padding: 8px 8px 12px; margin-bottom: 18px; border-radius: 12px; background: linear-gradient(160deg, #454a59, #12141b 20%, #08090d 75%, #343947); box-shadow: 0 0 0 1px #6b7284, 0 26px 40px -14px #000, 0 0 34px -6px rgba(255, 190, 90, .55); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .18s ease-out; }
.monitor::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; translate: -50% 0; border-radius: 50%; background: #ffd77a; box-shadow: 0 0 8px #ffc453; }
.monitor .telefon-ekran { aspect-ratio: 16 / 9; border-radius: 5px; }
.monitor-ayak { position: absolute; left: 50%; top: 100%; width: 62px; height: 14px; translate: -50% 0; background: linear-gradient(90deg, #161922, #343947 50%, #161922); }
.monitor-ayak::after { content: ""; position: absolute; left: 50%; top: 100%; width: 150px; height: 6px; translate: -50% 0; border-radius: 8px 8px 3px 3px; background: linear-gradient(#4a5062, #1a1d27); }
.ekran-adi { position: absolute; left: 50%; top: 6px; z-index: 1; translate: -50% 0; padding: 1px 14px; border: 1px solid rgba(214, 176, 106, .7); border-radius: 12px; background: rgba(8, 9, 15, .8); color: var(--altin-acik); font: .78rem var(--baslik); white-space: nowrap; pointer-events: none; }
.mobil-sahne.pc .telefon-ekran img { filter: none; }
.mobil-sahne.pc .telefon-kucukler { flex-wrap: wrap; justify-content: center; gap: 6px; }
.mobil-sahne.pc .telefon-kucukler button { width: 62px; }
.mobil-sahne.pc .telefon-kucukler button img { aspect-ratio: 16 / 9; }
@media (min-width: 701px) and (max-height: 760px) { .monitor { width: min(100%, 600px, calc((100cqh - 158px) * 1.72)); margin-bottom: 14px; padding: 6px 6px 9px; } .monitor-ayak { height: 9px; } .mobil-sahne.pc .telefon-kucukler button { width: 54px; } .mobil-sahne.pc { gap: 8px; } }
@media (max-width: 700px) { .monitor { padding: 5px 5px 8px; margin-bottom: 14px; border-radius: 8px; } .monitor-ayak { height: 10px; width: 40px; } .monitor-ayak::after { width: 96px; height: 4px; } .mobil-sahne.pc .telefon-kucukler button { width: 44px; } .ekran-adi { font-size: .62rem; padding: 0 8px; top: 3px; } }
@media (min-width: 701px) and (max-height: 760px) { .monitor { width: min(100%, 600px, calc((100cqh - 140px) * 1.74)); } }
@media (max-width: 700px) and (max-height: 700px) { .oynanis:has(.mobil-sahne.pc) .oynanis-metin { display: none; } .mobil-sahne.pc { gap: 6px; } .oynanis-sekmeler button { padding-block: 3px; } .oynanis .dugme.kucuk { padding-block: 3px; } .monitor { width: min(100%, calc((100cqh - 140px) * 1.76)); } }
@media (min-width: 701px) and (min-height: 761px) { .monitor { width: min(100%, 600px, calc((100cqh - 202px) * 1.72)); } }

/* ---------- Dil desteği: üç boyutlu bayraklar ---------- */
.diller { gap: 10px; justify-content: center; min-height: 100%; }
.dil-sahne { --rx: 0deg; --ry: 0deg; display: flex; align-items: center; justify-content: center; gap: 34px; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .18s ease-out; }
.dil-sahne .kure { width: 112px; height: 112px; }
.dil-sahne .paralel { height: 34px; }
.dil-sahne .kure strong { font-size: 1.8rem; }
.direk-bayrak { display: flex; flex-direction: column; align-items: center; gap: 8px; }
/* Büyük bayrak dikey dilimlerden oluşur; dilimler sırayla yükselip gölgelenerek dalgalanır */
.dalga { --w: 160px; --h: 100px; position: relative; display: flex; width: var(--w); height: var(--h); margin: 6px 0 4px 8px; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .6)) drop-shadow(0 0 16px rgba(255, 196, 90, .35)); }
.dalga::before { content: ""; position: absolute; left: -8px; top: -9px; width: 6px; height: calc(var(--h) + 26px); border-radius: 4px; background: linear-gradient(90deg, #8a6428, #ffe3a0 45%, #6d4b16); }
.dalga::after { content: ""; position: absolute; left: -11px; top: -17px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3d0, #b98a35); }
.dalga i { flex: none; width: calc(var(--w) / 16 + .6px); margin-right: -.6px; height: 100%; background-repeat: no-repeat; background-size: var(--w) var(--h); background-position: calc(var(--w) / -16 * var(--k)) 0; animation: dalgalan 1.7s ease-in-out infinite; animation-delay: calc(var(--k) * -.11s); }
@keyframes dalgalan { 0%, 100% { translate: 0 calc(var(--k) * .38px); filter: brightness(1.18); } 50% { translate: 0 calc(var(--k) * -.38px); filter: brightness(.72); } }
.dil-adi { font: 700 1.05rem var(--baslik); color: var(--altin-acik); }
.diller .selam { min-height: 1.5em; font-size: 1.12rem; text-align: center; }
.diller .selam.belir { animation: selam-ac .45s ease-out; }
@keyframes selam-ac { from { opacity: 0; translate: 0 8px; } }
.bayraklar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 9px; max-width: 520px; padding: 4px 0; perspective: 600px; }
/* Kalınlığı olan, parlak yüzlü bayrak taşları */
.bayrak { position: relative; width: 48px; height: 36px; padding: 2px; border: 0; border-radius: 7px; background: linear-gradient(#f3d596, #8a6428); box-shadow: 0 1px 0 #7a5a24, 0 2px 0 #6a4c1c, 0 3px 0 #573d15, 0 4px 0 #45300f, 0 9px 10px rgba(0, 0, 0, .6); transform: rotateX(16deg); cursor: pointer; transition: transform .2s, box-shadow .2s; animation: bayrak-gel .5s ease-out backwards; animation-delay: calc(var(--n) * .03s); }
.bayrak img { display: block; width: 100%; height: 100%; object-fit: fill; border-radius: 5px; }
.bayrak::after { content: ""; position: absolute; inset: 2px; border-radius: 5px; background: linear-gradient(165deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .08) 45%, rgba(0, 0, 0, .28)); pointer-events: none; }
.bayrak:hover { transform: rotateX(0deg) translateY(-5px) scale(1.1); }
.bayrak[aria-pressed="true"] { transform: rotateX(0deg) translateY(-6px) scale(1.14); background: linear-gradient(#fff6d0, #ffc453); box-shadow: 0 2px 0 #a57a2c, 0 4px 0 #6a4c1c, 0 0 16px 4px rgba(255, 204, 100, .8), 0 12px 12px rgba(0, 0, 0, .6); }
@keyframes bayrak-gel { from { opacity: 0; transform: rotateX(-80deg) translateY(14px); } }
.dil-metni { font-size: .8rem; }
@media (min-width: 701px) and (max-height: 760px) { .diller { gap: 7px; } .dil-sahne .kure { width: 96px; height: 96px; } .dil-sahne .paralel { height: 28px; } .dalga { --w: 138px; --h: 82px; } .bayrak { width: 44px; height: 33px; } .bayraklar { max-width: 490px; gap: 9px 8px; } .dil-metni { display: none; } }
@media (max-width: 700px) { .diller { gap: 6px; } .dil-sahne { gap: 20px; } .dil-sahne .kure { width: 76px; height: 76px; } .dil-sahne .paralel { height: 22px; } .dil-sahne .kure strong { font-size: 1.35rem; } .dalga { --w: 112px; --h: 68px; margin-top: 8px; } .dil-adi { font-size: .86rem; } .diller .selam { font-size: .86rem; line-height: 1.35; } .bayraklar { gap: 8px 7px; max-width: 272px; } .bayrak { width: 38px; height: 29px; border-radius: 6px; } .dil-metni { display: none; } }
@media (prefers-reduced-motion: reduce) { .dalga i, .bayrak, .diller .selam.belir { animation: none; } }

/* Bayraklar büyütüldü: 8'li iki eşit sıra */
.bayraklar { display: grid; grid-template-columns: repeat(8, auto); gap: 14px 12px; max-width: none; }
.bayrak { width: 58px; height: 43px; border-radius: 8px; }
.bayrak img, .bayrak::after { border-radius: 6px; }
@media (min-width: 701px) and (max-height: 760px) { .bayraklar { max-width: none; gap: 11px 10px; } .bayrak { width: 54px; height: 40px; } }
@media (max-width: 700px) { .bayraklar { display: flex; max-width: 316px; gap: 10px 8px; } .bayrak { width: 45px; height: 34px; border-radius: 7px; } }
@media (max-width: 380px) { .bayraklar { max-width: 282px; gap: 9px 6px; } .bayrak { width: 41px; height: 31px; } }
@media (max-width: 340px) { .bayraklar { max-width: 246px; } .bayrak { width: 36px; height: 27px; } }

/* =================== Estetik düzen: mühürlü sekmeler, altın iç çerçeve, parşömen tomarı =================== */
#kesfet .baslik { justify-content: center; }
.kesfet-pencere { grid-template-columns: 214px minmax(0, 1fr); gap: 16px; }
.kesfet-sekmeler { position: relative; gap: 9px; padding-right: 14px; border-right: 0; min-height: 0; }
.kesfet-sekmeler::after { content: ""; position: absolute; top: 4px; bottom: 4px; right: 0; width: 1px; background: linear-gradient(transparent, #e7bd74 20%, #e7bd74 80%, transparent); }
.kesfet-sekmeler button { position: relative; display: flex; align-items: center; gap: 11px; flex: none; padding: 8px 10px; overflow: hidden; border: 1px solid rgba(214, 176, 106, .35); border-radius: 10px; background: linear-gradient(160deg, rgba(40, 50, 80, .85), rgba(8, 11, 20, .92)); box-shadow: 0 2px 0 #3a280d, 0 8px 14px -8px #000; color: #e9dfc8; font-size: .98rem; line-height: 1.25; transition: transform .2s, box-shadow .2s, border-color .2s; }
.kesfet-sekmeler button:hover { translate: 3px 0; border-color: #ffe3a0; }
.kesfet-sekmeler button[aria-selected="true"] { border-color: #ffe3a0; background: linear-gradient(120deg, #c81d28, #7c0b13 55%, #3d0a10); box-shadow: 0 3px 0 #6a4c1c, 0 0 18px -2px rgba(255, 196, 90, .75), inset 0 1px 0 rgba(255, 255, 255, .22); color: #fff3d6; translate: 3px 0; }
.kesfet-sekmeler button[aria-selected="true"]::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(105deg, transparent, rgba(255, 236, 180, .32), transparent); animation: k-isilti 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes k-isilti { 0%, 35% { left: -60%; } 75%, 100% { left: 130%; } }
.k-muhur { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 1px solid #b98a35; border-radius: 8px; background: radial-gradient(circle at 35% 28%, #34405f, #0b0f1c 75%); color: #f6dfa6; font: 700 1.1rem var(--baslik); font-style: normal; box-shadow: inset 0 0 8px rgba(0, 0, 0, .7), 0 3px 6px -2px #000; transition: rotate .25s; }
.kesfet-sekmeler button[aria-selected="true"] .k-muhur { rotate: -6deg; background: radial-gradient(circle at 35% 28%, #fff0c0, #e0a93d 55%, #8a5a12); border-color: #fff0c0; color: #5a1008; }
.k-imza { margin: auto auto 6px; width: 120px; height: auto; opacity: .75; filter: drop-shadow(0 0 10px rgba(255, 196, 90, .45)); }

/* İçerik alanı: ince altın çerçeve ve geçişte üç boyutlu açılış */
.kesfet-panel { border: 1px solid rgba(231, 189, 116, .45); border-radius: 10px; padding: 6px; background: radial-gradient(ellipse at 50% 0%, rgba(110, 130, 190, .2), transparent 65%), rgba(5, 8, 16, .5); box-shadow: inset 0 0 26px rgba(0, 0, 0, .55); }
.kesfet-panel.gecis > * { animation: k-ac .45s ease-out; }
@keyframes k-ac { from { opacity: 0; transform: perspective(900px) rotateY(9deg) translateX(14px); } }

/* Önsöz: üstte ve altta tomar çubukları, süslü ilk harf */
.parsomen { border-block: 0; border-radius: 8px; padding-block: 30px; box-shadow: inset 0 14px 0 -2px #6b4a24, inset 0 -14px 0 -2px #6b4a24, inset 0 18px 14px -6px rgba(60, 32, 6, .55), inset 0 -18px 14px -6px rgba(60, 32, 6, .55), inset 0 0 40px rgba(90, 52, 12, .5); }
.parsomen .unvan + p::first-letter { float: left; margin: 4px 8px 0 0; font: 700 2.7rem/.95 var(--baslik); color: #7c0b13; text-shadow: 0 1px 0 #f7e8c4; }
.parsomen .unvan + p { text-align: justify; hyphens: auto; }

/* Nesne Market: altın vurgulu satırlar */
.market { border-color: rgba(231, 189, 116, .5); border-radius: 8px; overflow: hidden; background: linear-gradient(#17121a, #0d0a0c); }
.market-ust { background: linear-gradient(120deg, #4a1016, #241418 55%, #17121a); border-bottom-color: rgba(231, 189, 116, .5); }
.market-ust strong { color: #ffe3a0; }
.market-kategoriler button { border-radius: 16px; }
.market-kategoriler button[aria-pressed="true"] { background: linear-gradient(#e6b553, #8a5a12); border-color: #ffe3a0; color: #221303; font-weight: 700; }
.esya { border-radius: 8px; transition: translate .18s, box-shadow .18s, border-color .18s; }
.esya:hover { translate: 0 -2px; border-color: #e7bd74; box-shadow: 0 8px 16px -8px #000, 0 0 14px -4px rgba(255, 196, 90, .7); }
.esya-ikon { border-radius: 8px; border-color: #6b5233; background: radial-gradient(circle, #2a2018, #060505 75%); }
.esya-fiyat { border-radius: 6px; border-color: #b98a35; color: #ffe3a0; }

/* ---------- MET3 Store ---------- */
.store { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 12px 10px 18px; text-align: center; perspective: 1200px; }
.store-vitrin { --rx: 0deg; --ry: 0deg; position: relative; width: min(100%, 640px); padding: 6px; border-radius: 14px; background: linear-gradient(150deg, #ffe9b0, #a8792a 28%, #5a3d12 55%, #e7bd74); box-shadow: 0 4px 0 #573d15, 0 7px 0 #3a280d, 0 24px 34px -14px #000, 0 0 30px -4px rgba(255, 196, 90, .65); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .18s ease-out; }
.store-vitrin img { display: block; width: 100%; height: auto; border-radius: 9px; }
.store-vitrin::after { content: ""; position: absolute; inset: 6px; border-radius: 9px; background: linear-gradient(112deg, rgba(255, 255, 255, .14), transparent 30%); pointer-events: none; }
.store-yazi { width: min(100%, 640px); padding: 18px clamp(14px, 3.4vw, 30px) 22px; border: 1px solid rgba(231, 189, 116, .55); border-radius: 12px; background: linear-gradient(165deg, rgba(44, 22, 30, .92), rgba(12, 14, 26, .94) 60%); box-shadow: inset 0 0 0 4px rgba(5, 7, 14, .65), inset 0 0 0 5px rgba(231, 189, 116, .22), 0 16px 26px -14px #000; }
.store-yazi h3 { font-size: 1.65rem; letter-spacing: .08em; text-transform: uppercase; color: #ffe3a0; text-shadow: 0 0 18px rgba(255, 196, 90, .55); }
.store-ayrac { display: block; position: relative; width: min(240px, 70%); height: 1px; margin: 12px auto 18px; background: linear-gradient(90deg, transparent, #e7bd74, transparent); }
.store-ayrac::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; translate: -50% -50%; rotate: 45deg; background: #c81d28; border: 1px solid #ffe3a0; box-shadow: 0 0 10px #e0242f; }
.store-yazi p { margin-bottom: 14px; color: #e6dccb; font: 1rem/1.75 var(--baslik); }
.store-yazi p:first-of-type { color: #fff3d6; font-size: 1.05rem; }
.store-yazi .store-son { margin: 18px 0 0; padding: 13px 16px; border: 1px solid #e7bd74; border-radius: 10px; background: linear-gradient(120deg, #a9121d, #5e060d); box-shadow: 0 3px 0 #45300f, 0 0 20px -6px rgba(255, 196, 90, .8); color: #fff3d6; font-weight: 700; }

@media (max-width: 700px) {
  .kesfet-pencere { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .kesfet-sekmeler { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 0 0 8px; }
  .kesfet-sekmeler::after { top: auto; bottom: 0; left: 4px; right: 4px; width: auto; height: 1px; background: linear-gradient(90deg, transparent, #e7bd74 20%, #e7bd74 80%, transparent); }
  .kesfet-sekmeler button { flex-direction: column; justify-content: flex-start; gap: 3px; min-width: 0; padding: 5px 1px; border-radius: 8px; font-size: .64rem; line-height: 1.15; text-align: center; }
  .kesfet-sekmeler button span { min-width: 0; max-width: 100%; overflow-wrap: break-word; hyphens: auto; }
  .kesfet-sekmeler button:hover, .kesfet-sekmeler button[aria-selected="true"] { translate: 0; }
  .k-muhur { width: 27px; height: 27px; border-radius: 6px; font-size: .86rem; }
  .k-imza { display: none; }
  .kesfet-panel { padding: 3px; }
  .store { gap: 12px; padding: 8px 4px 12px; }
  .store-vitrin { padding: 4px; border-radius: 10px; }
  .store-vitrin img { border-radius: 7px; }
  .store-vitrin::after { inset: 4px; }
  .store-yazi { padding: 14px 12px 16px; }
  .store-yazi h3 { font-size: 1.25rem; }
  .store-yazi p, .store-yazi p:first-of-type { font-size: .88rem; line-height: 1.65; }
  .parsomen { padding-block: 24px; }
  .parsomen .unvan + p { text-align: center; }
  .parsomen .unvan + p::first-letter { font-size: 2.1rem; }
}
@media (min-width: 701px) and (max-height: 700px) { .kesfet-sekmeler { gap: 6px; } .kesfet-sekmeler button { padding-block: 5px; font-size: .9rem; } .k-muhur { width: 30px; height: 30px; font-size: .95rem; } .k-imza { width: 84px; margin-bottom: 0; } }
@media (min-width: 701px) and (max-height: 560px) { .k-imza { display: none; } }
@media (prefers-reduced-motion: reduce) { .kesfet-panel.gecis > *, .kesfet-sekmeler button[aria-selected="true"]::after { animation: none; } }
/* Kısa telefonda market panele tam sığar; yalnızca eşya listesi kayar */
@media (max-width: 700px) { .market { min-height: 0; } }

/* Uzun dillerde sekme adı kelime ortasından bölünmez; uzun kelimeli sekme biraz daha geniş olur */
@media (max-width: 400px) {
  .kesfet-sekmeler { grid-template-columns: repeat(5, minmax(min-content, 1fr)); gap: 3px; }
  .kesfet-sekmeler button { font-size: .6rem; padding-inline: 0; }
  .kesfet-sekmeler button span { min-width: auto; overflow-wrap: normal; hyphens: manual; }
}
