/* ===== Keshapolis ortak stil dosyası =====
   Renkler CSS değişkenleriyle tanımlı; admin panelinden değiştirilince
   ortak.js bu değişkenleri günceller. */

:root {
  --gece: #01040d;
  --koyu: #040b22;
  --mavi: #0a1c45;
  --acik: #4d8af0;
  --altin: #3f8cff;      /* ana vurgu: canlı mavi */
  --altin-acik: #7ab8ff;  /* açık vurgu */
  --altin-koyu: #1d4fa8;
  --buz: #dce8ff;
  --soluk: #9fb4e8;
  /* Türetilmiş rgb üçlüleri (saydam parlamalar için) */
  --gece-rgb: 1, 4, 13;
  --koyu-rgb: 4, 11, 34;
  --altin-rgb: 63, 140, 255;
  --altin-acik-rgb: 122, 184, 255;
  --acik-rgb: 77, 138, 240;
  --cam: rgba(var(--koyu-rgb), 0.55);
  --cam-cizgi: rgba(var(--altin-rgb), 0.32);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--gece);
  color: var(--buz);
  overflow-x: hidden;
}
h1, h2, h3, .btn-buyuk { font-family: 'Baloo 2', 'Titan One', cursive; font-weight: 400; }

/* ---------- Yükleme ekranı ---------- */
#yukleme {
  position: fixed; inset: 0; z-index: 999;
  background:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(var(--altin-acik-rgb), .5) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 75%, rgba(var(--altin-acik-rgb), .4) 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 60%, rgba(255,255,255,.35) 50%, transparent 51%),
    var(--gece);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  transition: opacity .7s ease, visibility .7s ease;
}
#yukleme.bitti { opacity: 0; visibility: hidden; pointer-events: none; }
#yukleme .tac { font-size: 3.2rem; animation: tac-zipla 1.1s ease-in-out infinite; }
@keyframes tac-zipla { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
#yukleme .yukleme-logo {
  font-family: 'Pacifico', cursive; font-size: 2rem;
  color: var(--buz);
  text-shadow: 0 0 20px rgba(var(--altin-rgb), .6);
}
#yukleme .noktalar { display: flex; gap: 8px; }
#yukleme .noktalar span {
  width: 9px; height: 9px; border-radius: 50%; background: var(--altin);
  animation: nokta-nabiz 1.2s infinite ease-in-out;
}
#yukleme .noktalar span:nth-child(2) { animation-delay: .18s; }
#yukleme .noktalar span:nth-child(3) { animation-delay: .36s; }
@keyframes nokta-nabiz { 0%,100% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1.1); opacity: 1; } }
#yukleme .yukleme-yazi { color: var(--soluk); font-weight: 800; font-size: .85rem; letter-spacing: 1px; }

/* ---------- Üst menü ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background:
    radial-gradient(1px 1px at 12% 30%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 35% 70%, rgba(var(--altin-acik-rgb), .5) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 25%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 82% 60%, rgba(var(--altin-acik-rgb), .4) 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 35%, rgba(255,255,255,.4) 50%, transparent 51%),
    rgba(var(--gece-rgb), 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 26px;
  border-bottom: 1px solid var(--cam-cizgi);
}
.logo {
  font-family: 'Pacifico', cursive;
  background: linear-gradient(90deg, var(--altin-acik), var(--altin), var(--altin-acik));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 1.6rem; text-decoration: none; letter-spacing: .5px;
  filter: drop-shadow(0 0 14px rgba(var(--altin-rgb), .45));
  transition: transform .25s ease;
}
.logo:hover { transform: scale(1.06) rotate(-2deg); }
nav ul { display: flex; gap: 2px; list-style: none; flex-wrap: wrap; }
nav a.link {
  color: var(--buz); text-decoration: none; font-weight: 800; font-size: .93rem;
  padding: 8px 14px; border-radius: 999px; transition: all .25s ease;
  border: 1px solid transparent;
}
nav a.link:hover, nav a.link.aktif {
  color: var(--altin-acik);
  border-color: var(--cam-cizgi);
  background: rgba(var(--altin-rgb), .08);
  text-shadow: 0 0 12px rgba(var(--altin-rgb), .6);
}
nav a.link:hover { transform: translateY(-2px); }
.nav-sag { display: flex; align-items: center; gap: 10px; }
.durum {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(var(--koyu-rgb), .7);
  border: 1px solid rgba(var(--acik-rgb), .35);
  color: var(--soluk); text-decoration: none;
  font-weight: 800; font-size: .85rem;
  padding: 9px 16px; border-radius: 999px;
  transition: all .25s ease;
}
.durum .nokta { width: 9px; height: 9px; border-radius: 50%; background: var(--soluk); }
.durum.canli {
  display: inline-flex; width: auto; height: auto;
  border-radius: 999px; margin-right: 0; animation: none;
  color: #ffdfdf; border-color: rgba(255, 77, 77, .55);
  background: rgba(80, 10, 20, .5);
}
.durum.canli .nokta { background: #ff4d4d; animation: nabiz 1.2s infinite; }
.durum:hover { transform: translateY(-2px); }
@keyframes nabiz { 0%,100% { box-shadow: 0 0 0 0 rgba(255,77,77,.6);} 50% { box-shadow: 0 0 0 9px rgba(255,77,77,0);} }
.kick-nav-btn {
  font-family: 'Baloo 2', 'Titan One', cursive; font-size: .9rem;
  background: linear-gradient(90deg, var(--altin-acik), var(--altin));
  color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 0 18px rgba(var(--altin-rgb), .3);
  transition: all .2s ease;
}
.kick-nav-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 0 28px rgba(var(--altin-rgb), .5); }
/* Masaüstünde menü sarmalayıcısı görünmez (linkler doğrudan bar içinde) */
.nav-menu { display: contents; }
.nav-hamburger { display: none; }

/* ---------- Mobil hamburger menü ---------- */
@media (max-width: 860px) {
  nav { flex-wrap: nowrap; position: sticky; }
  .nav-hamburger {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    width: 38px; height: 34px; flex-shrink: 0;
    background: rgba(var(--koyu-rgb), .7); border: 1px solid var(--cam-cizgi);
    border-radius: 9px; cursor: pointer; padding: 0;
    transition: border-color .2s ease;
  }
  .nav-hamburger:hover { border-color: rgba(var(--altin-rgb), .6); }
  .nav-hamburger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--buz); transition: transform .28s ease, opacity .2s ease; }
  nav.acik .nav-hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  nav.acik .nav-hamburger span:nth-child(2) { opacity: 0; }
  nav.acik .nav-hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav-menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(var(--gece-rgb), .98);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--cam-cizgi);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
    padding: 0 18px; max-height: 0; overflow: hidden;
    opacity: 0; pointer-events: none;
    transition: max-height .35s ease, opacity .3s ease, padding .35s ease;
  }
  nav.acik .nav-menu {
    max-height: 82vh; overflow-y: auto; opacity: 1; pointer-events: auto;
    padding: 14px 18px 20px;
  }
  .nav-menu ul { flex-direction: column; width: 100%; gap: 4px; flex-wrap: nowrap; }
  .nav-menu ul li { width: 100%; }
  .nav-menu ul a.link {
    display: block; width: 100%; padding: 13px 16px; border-radius: 12px;
    border: 1px solid transparent; font-size: 1rem;
  }
  .nav-menu .nav-sag {
    flex-direction: column; align-items: stretch; width: 100%; gap: 10px;
    margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--cam-cizgi);
  }
  .nav-menu .nav-sag .durum,
  .nav-menu .nav-sag .kick-nav-btn { justify-content: center; text-align: center; }
}

/* ---------- Mobil: daha derli toplu (minimal) yerleşim ---------- */
@media (max-width: 600px) {
  nav { padding: 8px 16px; }
  .logo { font-size: 1.35rem; }
  header.hero { padding: 54px 18px 64px; }
  .avatar, .avatar-yok { width: 116px; height: 116px; border-width: 4px; }
  .avatar-yok { font-size: 3rem; }
  .hero .selam { font-size: .82rem; letter-spacing: 1.4px; margin-top: 16px; }
  .hero h1 { margin-top: 8px; font-size: 1.62rem; line-height: 1.25; }
  .hero p.slogan { font-size: .95rem; margin-top: 12px; }
  /* İki buton arası boşluğu tek bir düzenli aralığa indir */
  .hero .butonlar { gap: 12px; margin-top: 18px; }
  .hero .butonlar .btn-buyuk, .hero .butonlar .btn-cam { margin-top: 0; }
  .btn-buyuk { font-size: 1rem; padding: 12px 26px; }
  .btn-cam { font-size: .95rem; padding: 12px 26px; }
  .bolum-ic { padding: 56px 18px; }
  .bolum-baslik { margin-bottom: 32px; }
  .stat-izgara { gap: 12px; }
  .stat-kart { padding: 20px 12px; }
  .canli-sarici { padding: 40px 16px 30px; }
  .canli-ust { gap: 10px; margin-bottom: 16px; }
  .kesfet-kart { padding: 32px 22px; }
}

/* ---------- Arka planlı bölümler ---------- */
.bg-bolum { position: relative; background-size: cover; background-position: center; }
.bg-bolum::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(var(--gece-rgb), .96) 0%,
    rgba(var(--koyu-rgb), .78) 50%,
    rgba(var(--gece-rgb), .96) 100%);
  pointer-events: none;
}
.bg-bolum > * { position: relative; }

/* ---------- Hero ---------- */
header.hero {
  background-image: url('/img/bg-hero.jpg');
  background-color: var(--koyu);
  text-align: center;
  padding: 110px 20px 130px;
}
header.hero::before {
  background: radial-gradient(ellipse at 50% 35%,
    rgba(var(--koyu-rgb), .4) 0%,
    rgba(var(--gece-rgb), .85) 72%, rgba(var(--gece-rgb), .97) 100%);
}
.avatar, .avatar-yok {
  width: 150px; height: 150px; border-radius: 50%;
  border: 5px solid var(--altin);
  object-fit: cover;
  background: var(--koyu);
  box-shadow: 0 0 0 4px rgba(var(--altin-rgb),.15), 0 0 45px rgba(var(--altin-rgb), .35), 0 12px 40px rgba(0,0,0,.6);
  transition: transform .35s ease, box-shadow .35s ease;
}
.avatar:hover { transform: scale(1.05) rotate(2deg); }
.avatar-yok { display: inline-flex; align-items: center; justify-content: center; font-size: 4rem; }
.hero .selam {
  color: var(--buz); font-weight: 800; font-size: .95rem;
  letter-spacing: 2px; margin-top: 20px;
  text-shadow: 0 0 14px rgba(var(--altin-rgb),.5);
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  margin-top: 10px;
  color: var(--buz);
  text-shadow: 0 4px 0 rgba(0,0,0,.55), 0 8px 24px rgba(0,0,0,.5);
  letter-spacing: 1px;
}
.hero h1 .vurgu {
  color: var(--altin);
  text-shadow: 0 0 30px rgba(var(--altin-rgb), .45), 0 4px 0 rgba(0,0,0,.55);
}
.hero p.slogan {
  font-size: 1.12rem; font-weight: 700; margin-top: 16px; color: var(--buz);
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero .butonlar { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-buyuk {
  display: inline-block; margin-top: 30px;
  background: linear-gradient(180deg, var(--altin-acik), var(--altin));
  color: #fff;
  font-size: 1.15rem; text-decoration: none;
  padding: 15px 38px; border-radius: 999px;
  box-shadow: 0 6px 0 var(--altin-koyu), 0 0 35px rgba(var(--altin-rgb),.35), 0 14px 30px rgba(0,0,0,.5);
  transition: all .2s ease;
}
.btn-buyuk:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 0 var(--altin-koyu), 0 0 55px rgba(var(--altin-rgb),.55), 0 18px 36px rgba(0,0,0,.55);
}
.btn-buyuk:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--altin-koyu); }
.btn-cam {
  display: inline-block; margin-top: 30px;
  background: var(--cam);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--buz);
  font-family: 'Baloo 2', 'Titan One', cursive; font-size: 1.05rem; text-decoration: none;
  padding: 15px 32px; border-radius: 999px;
  border: 1px solid rgba(var(--acik-rgb), .45);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: all .2s ease;
}
.btn-cam:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--altin); color: var(--altin-acik);
  box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 24px rgba(var(--altin-rgb),.25);
}
.canli { display:inline-block; width:12px; height:12px; border-radius:50%; background:#ff4d4d; margin-right:8px; animation: nabiz 1.2s infinite; }
.parilti {
  position: absolute; pointer-events: none; color: var(--altin-acik);
  animation: sal 6s ease-in-out infinite; opacity: .65;
  text-shadow: 0 0 12px rgba(var(--altin-rgb),.6);
}
@keyframes sal {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(12deg); }
}
/* Hareketli mini yıldızlar (açılış bölümü) */
.mini-yildiz {
  position: absolute; border-radius: 50%;
  background: #fff; pointer-events: none; opacity: 0;
  box-shadow: 0 0 8px rgba(var(--altin-acik-rgb), .9);
  animation: yildiz-parla ease-in-out infinite;
}
@keyframes yildiz-parla {
  0%, 100% { opacity: .06; transform: translateY(0) scale(.7); }
  50% { opacity: .95; transform: translateY(-8px) scale(1.2); }
}

/* ---------- Alt sayfa parıltıları: her sayfada farklı hareket ---------- */
.p-efekt { position: absolute; pointer-events: none; }
@keyframes p-yuksel { /* klipler: aşağıdan süzülüp kaybolur */
  0% { transform: translateY(28px) scale(.6) rotate(0); opacity: 0; }
  35%, 60% { opacity: .85; }
  100% { transform: translateY(-46px) scale(1.08) rotate(16deg); opacity: 0; }
}
@keyframes p-don { /* fanart: dönerek parlar */
  0%, 100% { transform: rotate(0) scale(.75); opacity: .3; }
  50% { transform: rotate(180deg) scale(1.2); opacity: .95; }
}
@keyframes p-sallan { /* merch: sarkaç gibi sallanır */
  0%, 100% { transform: rotate(-14deg) translateY(0); opacity: .5; }
  50% { transform: rotate(14deg) translateY(-11px); opacity: .95; }
}
@keyframes p-zipla { /* minecraft: minik zıplama */
  0%, 100% { transform: translateY(0) scale(1); opacity: .45; }
  50% { transform: translateY(-16px) scale(1.14); opacity: 1; }
}
@keyframes p-firca { /* işlerim: fırça darbesi gibi salınır */
  0%, 100% { transform: translateX(0) rotate(-9deg) scale(.9); opacity: .4; }
  50% { transform: translateX(13px) rotate(11deg) scale(1.08); opacity: .92; }
}
@keyframes p-kay { /* özel sayfalar: yana süzülür */
  0% { transform: translateX(-20px) scale(.7); opacity: 0; }
  40%, 70% { opacity: .85; }
  100% { transform: translateX(26px) scale(1.06); opacity: 0; }
}
.pe-klip   { color: #8fd0ff; text-shadow: 0 0 12px rgba(122,184,255,.7);  animation: p-yuksel 5.5s ease-in-out infinite; }
.pe-fanart { color: #ff9edb; text-shadow: 0 0 12px rgba(255,130,200,.65); animation: p-don 6s ease-in-out infinite; }
.pe-merch  { color: #ffd98a; text-shadow: 0 0 12px rgba(255,214,130,.6);  animation: p-sallan 4.5s ease-in-out infinite; }
.pe-mc     { color: #8fe08f; text-shadow: 0 0 10px rgba(120,220,120,.6);  animation: p-zipla 3.8s ease-in-out infinite; }
.pe-is     { color: #c9a6ff; text-shadow: 0 0 12px rgba(190,150,255,.65); animation: p-firca 5s ease-in-out infinite; }
.pe-ozel   { color: #9fd8ff; text-shadow: 0 0 12px rgba(150,210,255,.6);  animation: p-kay 6.5s ease-in-out infinite; }

.kaydir {
  position: absolute; bottom: 16px; left: 50%;
  color: var(--soluk); font-weight: 800; font-size: .8rem; letter-spacing: 1px;
  animation: kaydir-zipla 1.8s ease-in-out infinite;
  text-decoration: none;
}
@keyframes kaydir-zipla {
  0%, 100% { transform: translate(-50%, 0); opacity: .6; }
  50% { transform: translate(-50%, 9px); opacity: 1; }
}

/* ---------- Bölümler ---------- */
.bolum-ic { max-width: 1100px; margin: 0 auto; padding: 90px 20px; }
.bolum-baslik { text-align: center; margin-bottom: 46px; }
.bolum-baslik h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--buz);
  text-shadow: 0 0 25px rgba(var(--altin-rgb),.35), 0 3px 0 rgba(0,0,0,.5);
}
.bolum-baslik h2::before { content: "✧ "; color: rgba(var(--altin-acik-rgb),.6); font-size: .7em; vertical-align: middle; }
.bolum-baslik h2::after  { content: " ✧"; color: rgba(var(--altin-acik-rgb),.6); font-size: .7em; vertical-align: middle; }
.bolum-baslik .cizgi {
  width: 110px; height: 4px; border-radius: 2px; margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--altin), transparent);
  box-shadow: 0 0 14px rgba(var(--altin-rgb),.5);
}

/* Cam panel */
.cam-panel {
  background: var(--cam);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--cam-cizgi);
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cam-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--altin-rgb), .65);
  box-shadow: 0 16px 50px rgba(0,0,0,.55), 0 0 30px rgba(var(--altin-rgb),.18), inset 0 1px 0 rgba(255,255,255,.1);
}

/* ---------- Canlı yayın gömme ----------
   Bölüm z-index:3 ile yağmurun (z-index:2) ÜSTÜNDE durur; zemin şeffaf
   olduğu için yağmur damlaları yayının arkasından süzülür, opak oynatıcı
   ise onları örter (yağmur yayının önüne geçmez). */
#canli-yayin {
  display: none; position: relative; z-index: 3;
  background-color: transparent;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* Panelden görsel yüklenirse üstüne okunabilirlik için koyu perde biner */
#canli-yayin.ozel-arkaplan::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--gece-rgb), .74), rgba(var(--koyu-rgb), .5) 52%, rgba(var(--gece-rgb), .78));
}
#canli-yayin .canli-sarici { position: relative; z-index: 1; }
#canli-yayin.acik { display: block; animation: canli-belir .5s ease; }
@keyframes canli-belir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.canli-sarici { max-width: 1000px; margin: 0 auto; padding: 54px 20px 40px; text-align: center; }
.canli-ust { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.canli-ust h2 { font-size: clamp(1.5rem, 4vw, 2.3rem); color: var(--buz); text-shadow: 0 0 22px rgba(255, 60, 60, .3), 0 3px 0 rgba(0,0,0,.5); }
.canli-rozet {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(80, 10, 20, .6); border: 1px solid rgba(255, 77, 77, .55);
  color: #ffdede; font-weight: 800; font-size: .85rem; letter-spacing: 1.5px;
  padding: 7px 16px; border-radius: 999px;
}
.canli-rozet .canli-nokta { width: 10px; height: 10px; border-radius: 50%; background: #ff4d4d; animation: nabiz 1.2s infinite; }
.canli-oynatici {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(var(--altin-rgb), .5);
  box-shadow: 0 0 50px rgba(var(--altin-rgb), .25), 0 22px 60px rgba(0, 0, 0, .6);
  background: #000;
}
.canli-oynatici iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.canli-kick-btn { margin-top: 26px; }

/* ---------- İstatistik kartları ---------- */
#istatistik { background: var(--gece); }
#istatistik .bolum-ic { padding: 46px 20px 20px; }
.stat-izgara { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat-kart { text-align: center; padding: 26px 14px; cursor: default; }
.stat-kart .stat-emoji { font-size: 1.7rem; display: block; margin-bottom: 8px; }
.stat-kart .stat-sayi {
  font-family: 'Baloo 2', 'Titan One', cursive; font-size: 1.9rem;
  color: var(--altin);
  text-shadow: 0 0 18px rgba(var(--altin-rgb),.35);
}
.stat-kart .stat-ad { color: var(--soluk); font-weight: 800; font-size: .85rem; margin-top: 4px; }
/* Kartın gerçek anlamı: üzerine gelince belirir */
.stat-kart .stat-alt {
  color: var(--altin-acik); font-weight: 700; font-size: .72rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .35s ease, opacity .35s ease, margin-top .35s ease;
  margin-top: 0;
}
.stat-kart:hover .stat-alt { max-height: 26px; opacity: .95; margin-top: 4px; }

/* Stat kartlarının görsel zeminleri — katmanlı:
   Normalde hafif bulanık ve karanlık durur; üzerine gelince görsel
   yumuşakça yaklaşır, bulanıklık kalkar ve karanlık yukarıdan aşağı
   azalır (altı net, üstü karanlık kalır). */
.stat-kart { position: relative; overflow: hidden; }
.stat-kart > * { position: relative; z-index: 2; }
.sk-sakinler { --kart-zemin: url('/img/stat-sakinler.webp'); --kart-yakinlik: 1.2; }
.sk-ruhlar   { --kart-zemin: url('/img/stat-ruhlar.webp'); --kart-konum: center 88%; }
.sk-miras    { --kart-zemin: url('/img/stat-miras.webp'); }
.sk-bekciler { --kart-zemin: url('/img/stat-bekciler.webp'); --kart-konum: center 63%; --kart-yakinlik: 1.05; }
.stat-kart::before { /* görsel katmanı */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--kart-zemin);
  background-size: cover; background-position: var(--kart-konum, center);
  filter: blur(3px) brightness(.42) saturate(.9);
  transform: scale(var(--kart-yakinlik, 1.07));
  transition: filter .55s ease, transform .85s cubic-bezier(.22, .9, .35, 1);
}
.stat-kart:hover::before {
  filter: blur(0) brightness(1) saturate(1);
  transform: scale(calc(var(--kart-yakinlik, 1.07) * 1.14));
}
.stat-kart::after { /* hover perdesi: üst karanlık, alta doğru netleşir */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(var(--gece-rgb), .92) 0%,
    rgba(var(--gece-rgb), .5) 55%,
    rgba(var(--gece-rgb), 0) 100%);
  opacity: 0; transition: opacity .55s ease;
}
.stat-kart:hover::after { opacity: 1; }

/* Fanart/Klipler sayfa notu (Discord yönlendirmesi) */
.sayfa-not {
  display: inline-block; margin-top: 14px; padding: 8px 22px;
  background: rgba(var(--koyu-rgb), .6);
  border: 1px dashed rgba(var(--altin-rgb), .55); border-radius: 999px;
  color: var(--altin-acik); font-weight: 800; font-size: .85rem;
}

/* ---------- Keşfet kartları (klip & fanart sayfalarına giden) ---------- */
.kesfet-izgara { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.kesfet-kart {
  display: block; text-decoration: none; color: var(--buz);
  text-align: center; padding: 40px 26px;
  position: relative;
}

.kesfet-kart .kesfet-emoji { font-size: 2.6rem; display: block; margin-bottom: 12px; }
.kesfet-kart h3 { color: var(--buz); font-size: 1.25rem; margin-bottom: 8px; }
.kesfet-kart p { color: var(--soluk); font-weight: 700; font-size: .92rem; }
.kesfet-kart .kesfet-git {
  display: inline-block; margin-top: 16px;
  color: var(--altin); font-weight: 800; font-size: .9rem;
  transition: transform .2s ease;
}
.kesfet-kart:hover .kesfet-git { transform: translateX(6px); }

/* Keşfet kartlarının görsel zeminleri — istatistik kartlarıyla aynı efekt:
   normalde hafif bulanık + karanlık; üzerine gelince görsel yaklaşır,
   netleşir ve karanlık üstten alta doğru azalır (altı net, üstü karanlık). */
.kk-klipler { --kart-zemin: url('/img/kesfet-klipler.webp'); --zemin-konum: center 9%; }
.kk-fanart {
  --kart-zemin: url('/img/kesfet-fanart.webp'); --zemin-konum: center 24%;
  --zemin-boy: 103% auto; --zemin-boy-hover: 121% auto; /* hafif uzak kadraj */
}
.mc-kutu {
  --kart-zemin: url('/img/mc-grass.webp'); --zemin-konum: center;
  /* grass dokusu karta TAM sığar (gerilerek), hover'da hafif yaklaşır */
  --zemin-boy: 100% 100%; --zemin-boy-hover: 114% 114%;
}
.kk-klipler > *, .kk-fanart > *, .mc-kutu > * { position: relative; z-index: 2; }
.kk-klipler::before, .kk-fanart::before, .mc-kutu::before { /* görsel katmanı */
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: inherit;
  background-image: var(--kart-zemin);
  background-repeat: no-repeat;
  background-size: var(--zemin-boy, 112% auto);
  background-position: var(--zemin-konum, center);
  /* Koyu lacivert çarpan karışım: açık görselleri de temaya ezer */
  background-color: rgba(8, 18, 48, .8);
  background-blend-mode: multiply;
  filter: blur(3px) saturate(.9);
  transition: filter .55s ease, background-color .55s ease,
              background-size .85s cubic-bezier(.22, .9, .35, 1);
}
.kk-klipler:hover::before, .kk-fanart:hover::before, .mc-kutu:hover::before {
  filter: blur(0) saturate(1);
  background-color: rgba(8, 18, 48, 0);
  background-size: var(--zemin-boy-hover, 132% auto);
}
.kk-klipler::after, .kk-fanart::after, .mc-kutu::after { /* hover perdesi */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg,
    rgba(var(--gece-rgb), .92) 0%,
    rgba(var(--gece-rgb), .5) 55%,
    rgba(var(--gece-rgb), 0) 100%);
  opacity: 0; transition: opacity .55s ease;
}
.kk-klipler:hover::after, .kk-fanart:hover::after, .mc-kutu:hover::after { opacity: 1; }

/* Yandan fırlayan parçalar: MC kutusunda cobblestone, Klipler kutusunda 🎬 */
.mc-cobble, .kesfet-firlat {
  position: absolute; top: 50%;
  width: 52px; height: 52px; margin-top: -26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; line-height: 1;
  object-fit: contain; opacity: 0; pointer-events: none; z-index: 3;
  filter: drop-shadow(0 7px 13px rgba(0, 0, 0, .6));
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .22s ease;
}
.mc-cobble { /* MC kutusu: sağdan çıkar */
  right: -26px;
  transform: translateX(-34px) scale(.25) rotate(24deg);
}
.kesfet-firlat { /* Klipler kutusu: soldan çıkar */
  left: -26px;
  transform: translateX(34px) scale(.25) rotate(-24deg);
}
.kesfet-kart:hover .mc-cobble {
  opacity: 1;
  transform: translateX(0) scale(1) rotate(6deg);
}
.kesfet-kart:hover .kesfet-firlat {
  opacity: 1;
  transform: translateX(0) scale(1) rotate(-6deg);
}

/* ---------- Hakkımda ---------- */
#hakkimda { background: linear-gradient(180deg, var(--gece), var(--koyu) 55%, var(--gece)); }
.hakkimda-duzen {
  display: grid; gap: 26px; align-items: center;
  grid-template-columns: minmax(240px, 340px) 1fr;
}
@media (max-width: 760px) { .hakkimda-duzen { grid-template-columns: 1fr; justify-items: center; } }
.hakkimda-resim {
  padding: 12px; transform: rotate(-2.5deg);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.hakkimda-resim:hover { transform: rotate(1.5deg) scale(1.04); }
.hakkimda-resim img {
  width: 100%; display: block; border-radius: 14px;
  border: 2px solid rgba(var(--altin-rgb), .45);
}
.hakkimda-resim .resim-alt {
  text-align: center; color: var(--buz); font-weight: 800;
  font-size: .82rem; padding-top: 10px;
}
.resim-alt-parilti {
  display: inline-block; color: var(--altin-acik);
  text-shadow: 0 0 10px rgba(var(--altin-rgb), .7);
  animation: logo-parla 2.4s ease-in-out infinite;
}
.resim-alt-parilti:last-child { animation-delay: 1.2s; }
.hakkimda-kart {
  padding: 40px;
  font-family: 'Baloo 2', 'Nunito', sans-serif; font-weight: 500;
  font-size: 1.14rem; line-height: 1.85; white-space: pre-wrap;
  border-top: 3px solid var(--altin);
}

/* ---------- İçerik ızgaraları (klip & fanart sayfaları) ---------- */
.izgara { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.kart { overflow: hidden; }
.kart video { width: 100%; aspect-ratio: 16/9; background: #000; display: block; border-radius: 21px 21px 0 0; }
.kart img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; cursor: zoom-in;
  border-radius: 21px 21px 0 0;
  transition: transform .45s ease, filter .45s ease;
}
.kart:hover img { transform: scale(1.07); filter: brightness(1.12) saturate(1.1); }

/* ---------- Kadraj: panelden ayarlanan konum + yakınlaştırma ----------
   Görsel öğesi kutunun --z katı boyutunda tutulur; left/top ve
   object-position birlikte tüm taşma aralığında kaydırır. Paneldeki
   önizleme aynı formülü kullandığı için kadraj sitede birebir çıkar. */
.kadraj { position: relative; overflow: hidden; }
.kadraj img {
  position: absolute; display: block; cursor: zoom-in;
  width: calc(var(--z, 1) * 100%);
  height: calc(var(--z, 1) * 100%);
  left: calc((1 - var(--z, 1)) * var(--x, 50) * 1%);
  top:  calc((1 - var(--z, 1)) * var(--y, 50) * 1%);
  object-fit: var(--fit, cover);
  object-position: calc(var(--x, 50) * 1%) calc(var(--y, 50) * 1%);
}
.kart .resim-cerceve { overflow: hidden; border-radius: 21px 21px 0 0; }
.kart .bilgi { padding: 16px 18px; }
.kart .bilgi h3 { font-size: 1rem; color: var(--altin-acik); letter-spacing: .3px; }
.kart .bilgi small { color: var(--soluk); font-weight: 600; }
.rozet {
  display:inline-block; background: rgba(var(--altin-rgb),.12); color: var(--altin-acik);
  border: 1px solid var(--cam-cizgi); font-size: .75rem; font-weight: 800;
  border-radius: 999px; padding: 3px 12px; margin-top: 8px;
}
.bos-mesaj {
  text-align: center; color: var(--soluk); font-weight: 700; padding: 34px;
  grid-column: 1 / -1;
}

/* Alt sayfa başlık şeridi (yarı saydam: panelden yüklenen arka plan görünebilsin) */
.sayfa-baslik {
  text-align: center; padding: 70px 20px 50px;
  background: linear-gradient(180deg, rgba(var(--koyu-rgb), .8), rgba(var(--gece-rgb), .45));
  border-bottom: 1px solid var(--cam-cizgi);
  position: relative;
}

/* Panelden yüklenen alt sayfa arka planı: içeriğin arkasında sabit durur */
#sayfa-arkaplan {
  position: fixed; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
}
#sayfa-arkaplan::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--gece-rgb), .68), rgba(var(--gece-rgb), .86));
}
.sayfa-baslik h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--buz);
  text-shadow: 0 0 28px rgba(var(--altin-rgb),.4), 0 3px 0 rgba(0,0,0,.5);
}
.sayfa-baslik p { color: var(--soluk); font-weight: 700; margin-top: 10px; }
.sayfa-icerik { max-width: 1100px; margin: 0 auto; padding: 60px 20px 90px; }
.geri-don {
  display: inline-block; margin-top: 16px;
  color: var(--altin-acik); text-decoration: none; font-weight: 800; font-size: .9rem;
  transition: transform .2s ease;
}
.geri-don:hover { transform: translateX(-5px); }

/* ---------- Sosyal medya ikonları ---------- */
#sosyal { background-image: url('/img/bg-castle.jpg'); background-color: var(--gece); }
.sosyal-izgara { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.sosyal-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px;
  background: var(--cam);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--buz);
  text-decoration: none; font-size: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--cam-cizgi);
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
  transition: all .25s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
}
.sosyal-btn svg { width: 24px; height: 24px; fill: currentColor; }
.sosyal-btn:hover {
  color: #fff;
  border-color: var(--altin);
  background: rgba(var(--altin-rgb), .16);
  transform: translateY(-6px) scale(1.12) rotate(-4deg);
  box-shadow: 0 12px 32px rgba(0,0,0,.5), 0 0 26px rgba(var(--altin-rgb),.35);
}
.sosyal-btn::after {
  content: attr(data-ad);
  position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%) scale(.7);
  background: var(--altin); color: #fff;
  font-family: 'Nunito', sans-serif; font-size: .72rem; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: all .25s cubic-bezier(.34, 1.56, .64, 1);
}
.sosyal-btn:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }

/* ---------- Discord kutusu ---------- */
.discord-kutu {
  margin-top: 46px; padding: 36px; text-align: center;
  border: 1px dashed rgba(var(--altin-rgb), .5);
}
.discord-kutu .kutu-karakter {
  width: 96px; height: 96px; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--altin);
  box-shadow: 0 0 24px rgba(var(--altin-rgb), .3);
  margin-bottom: 12px;
  animation: sal 5s ease-in-out infinite;
}
.discord-kutu h3 {
  font-size: 1.3rem; color: var(--buz);
  text-shadow: 0 0 18px rgba(var(--altin-rgb),.35); margin-bottom: 8px;
}
.discord-kutu p { color: var(--soluk); font-weight: 700; font-size: .95rem; max-width: 460px; margin: 0 auto; }
.discord-kutu .btn-buyuk { font-size: 1rem; padding: 13px 30px; margin-top: 20px; }

/* ---------- Belirme animasyonu ---------- */
.belir { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.belir.goster { opacity: 1; transform: none; }

/* ---------- Lightbox: krallık vitrini ---------- */
#lightbox {
  position: fixed; inset: 0; z-index: 100;
  background:
    radial-gradient(ellipse at center, rgba(10, 22, 56, .55), rgba(0, 2, 8, .97) 75%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 18px; padding: 30px 24px; cursor: zoom-out;
}
#lightbox.acik { display: flex; animation: lb-belir .3s ease; }
@keyframes lb-belir { from { opacity: 0; } to { opacity: 1; } }

/* Görselin cam vitrini: parlayan çift çerçeve + köşe süsleri */
#lightbox .lb-cerceve {
  position: relative; padding: 10px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(var(--koyu-rgb), .85), rgba(var(--gece-rgb), .9));
  border: 1px solid rgba(var(--altin-rgb), .55);
  box-shadow:
    0 0 0 1px rgba(var(--altin-acik-rgb), .18),
    0 0 70px rgba(var(--altin-rgb), .3),
    0 26px 70px rgba(0, 0, 0, .65);
  max-width: min(92vw, 1100px);
}
#lightbox.acik .lb-cerceve { animation: lb-gel .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes lb-gel {
  from { transform: scale(.88) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
#lightbox img {
  display: block; max-width: 100%; max-height: 74vh;
  border-radius: 10px;
  border: 1px solid rgba(var(--altin-acik-rgb), .3);
}
/* Köşe süsleri: vitrin camının kenar işlemeleri */
#lightbox .lb-kose {
  position: absolute; width: 26px; height: 26px; pointer-events: none;
  border: 2px solid var(--altin); opacity: .9;
  filter: drop-shadow(0 0 6px rgba(var(--altin-rgb), .6));
}
#lightbox .ku-so { top: -6px; left: -6px; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
#lightbox .ku-sa { top: -6px; right: -6px; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
#lightbox .ka-so { bottom: -6px; left: -6px; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
#lightbox .ka-sa { bottom: -6px; right: -6px; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }

/* Başlık plaketi */
#lightbox .lb-plaket {
  color: var(--buz); font-weight: 800; font-size: 1.02rem; text-align: center;
  background: rgba(var(--koyu-rgb), .75);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--cam-cizgi); border-radius: 999px;
  padding: 10px 26px; max-width: 86vw;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .5);
}
#lightbox .lb-plaket:empty { display: none; }
#lightbox .lb-plaket::before { content: "✦ "; color: var(--altin); }
#lightbox .lb-plaket::after  { content: " ✦"; color: var(--altin); }
#lightbox.acik .lb-plaket, #lightbox.acik .lb-ipucu { animation: lb-gel .5s cubic-bezier(.34, 1.56, .64, 1); }

/* Kapat butonu */
#lightbox .lb-kapat {
  position: absolute; top: 20px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(var(--koyu-rgb), .7); color: var(--buz);
  border: 1px solid var(--cam-cizgi); cursor: pointer;
  font-size: 1.15rem; font-weight: 800; font-family: inherit;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .25s ease, border-color .25s ease, color .25s ease;
}
#lightbox .lb-kapat:hover {
  transform: rotate(90deg) scale(1.08);
  border-color: var(--altin); color: var(--altin-acik);
}

/* İpucu yazısı ve süzülen parıltılar */
#lightbox .lb-ipucu { color: var(--soluk); font-weight: 700; font-size: .78rem; opacity: .75; }
#lightbox .lb-parilti {
  position: absolute; pointer-events: none; color: var(--altin-acik);
  animation: sal 6s ease-in-out infinite; opacity: .6;
  text-shadow: 0 0 14px rgba(var(--altin-rgb), .7);
}

/* ---------- Footer ---------- */
footer {
  background: rgba(0, 2, 8, .97);
  border-top: 1px solid var(--cam-cizgi);
  color: var(--soluk); font-weight: 600;
  padding: 46px 20px 26px;
}
.footer-izgara {
  max-width: 900px; margin: 0 auto;
  display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
footer .krallik { font-family:'Baloo 2','Titan One',cursive; font-size:1.15rem; margin-bottom:10px; color: var(--buz);
  text-shadow: 0 0 16px rgba(var(--altin-rgb),.35); }
footer h4 {
  color: var(--buz); font-family: 'Baloo 2', 'Titan One', cursive; font-weight: 400;
  font-size: .95rem; margin-bottom: 12px;
}
footer .f-link { display: block; color: var(--soluk); text-decoration: none; font-size: .9rem; padding: 4px 0; transition: .2s; }
footer .f-link:hover { color: var(--altin-acik); transform: translateX(4px); }
footer .telif {
  max-width: 900px; margin: 34px auto 0; padding-top: 18px;
  border-top: 1px solid rgba(var(--acik-rgb), .18);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: .85rem;
}
footer .yukari {
  color: var(--altin-acik); text-decoration: none; font-weight: 800;
  transition: .2s; display: inline-flex; align-items: center; gap: 6px;
}
footer .yukari:hover { transform: translateY(-3px); }

/* Baloo 2 kalınlık düzeltmesi (Titan One yerine geçtiği her yerde) */
h1, h2, h3, .btn-buyuk, .btn-cam, .kick-nav-btn, .stat-sayi,
footer .krallik, footer h4, .kesfet-kart h3, .discord-kutu h3 { font-weight: 800; }


/* Yeni fontlu linkler ve sol alt maskot */
footer .f-link, .geri-don, .kesfet-git, footer h4 { font-family: 'Baloo 2', 'Nunito', sans-serif; }
#kose-maskot {
  position: fixed; left: 18px; bottom: 18px; z-index: 40;
  width: 110px; height: 110px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--altin);
  box-shadow: 0 0 28px rgba(var(--altin-rgb), .4), 0 8px 24px rgba(0,0,0,.5);
  animation: sal 5.5s ease-in-out infinite;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
#kose-maskot:hover { transform: scale(1.1) rotate(-5deg); }
#kose-maskot:active { transform: scale(.95); }

/* Maskot konuşma baloncuğu */
#maskot-baloncuk {
  position: fixed; left: 26px; bottom: 142px; z-index: 41;
  max-width: 240px;
  background: var(--cam);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--altin-rgb), .55);
  border-radius: 18px 18px 18px 4px;
  padding: 12px 16px;
  color: var(--buz); font-weight: 700; font-size: .92rem; line-height: 1.5;
  box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 22px rgba(var(--altin-rgb), .2);
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
  animation: sal 5.5s ease-in-out infinite; /* karakterle birlikte süzülür */
}
#maskot-baloncuk.acik { opacity: 1; visibility: visible; }
#maskot-baloncuk::after {
  content: ""; position: absolute; left: 18px; bottom: -8px;
  border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-top: 9px solid rgba(var(--altin-rgb), .55);
}
@media (max-width: 900px) { #kose-maskot, #maskot-baloncuk { display: none; } }




/* ---------- Yayın Takvimi ---------- */
#takvim { background: var(--gece); }
.takvim-izgara { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.takvim-kart {
  text-align: center; padding: 20px 12px; position: relative;
}
.takvim-kart .takvim-gun {
  font-family: 'Baloo 2', 'Nunito', sans-serif; font-weight: 800;
  color: var(--buz); font-size: 1rem;
}
.takvim-kart .takvim-saat { color: var(--soluk); font-weight: 700; font-size: .88rem; margin-top: 6px; }
.takvim-kart.bugun {
  border-color: var(--altin);
  box-shadow: 0 8px 40px rgba(0,0,0,.45), 0 0 26px rgba(var(--altin-rgb), .25);
}
.takvim-kart.bugun .takvim-gun { color: var(--altin-acik); }
.bugun-rozet {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--altin-acik), var(--altin));
  color: #fff; font-size: .68rem; font-weight: 800;
  padding: 2px 12px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Merch kartları (köşeli, sade) ---------- */
.merch-kart { border-radius: 0; }
.merch-kart .resim-cerceve, .merch-kart img, .merch-kart video { border-radius: 0; }
.merch-kart .bilgi h3.merch-ad { color: #fff; font-size: 1.05rem; }
.merch-alt-satir {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-top: 12px;
}
.merch-fiyat { color: #fff; font-weight: 800; font-size: 1.15rem; }
.merch-btn {
  font-family: 'Baloo 2', 'Nunito', sans-serif; font-weight: 800; font-size: .98rem;
  background: linear-gradient(180deg, var(--altin-acik), var(--altin));
  color: #fff; text-decoration: none;
  padding: 10px 22px; border-radius: 6px;
  box-shadow: 0 3px 0 var(--altin-koyu), 0 6px 16px rgba(0,0,0,.35);
  transition: all .2s ease;
}
.merch-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--altin-koyu), 0 0 18px rgba(var(--altin-rgb), .35); }
.merch-btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--altin-koyu); }


/* ---------- Minecraft: yanlarda, sayfa boyunca havada süzülen bloklar ----------
   Sayfayla birlikte kayar (absolute); aşağı indikçe farklı yerlerde belirir. */
.mc-suzulen { position: absolute; top: 0; left: 0; width: 100%; height: 0; pointer-events: none; z-index: 1; }
.mc-blok-yuzen {
  position: absolute; width: 68px; height: auto;
  opacity: .82;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55));
  animation: mc-suzul 7s ease-in-out infinite;
}
@keyframes mc-suzul {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-28px) rotate(7deg); }
}
.mc-blok-yuzen.b1 { left: 3.5%; top: 500px;  width: 70px; animation-duration: 7s;   animation-delay: 0s; }
.mc-blok-yuzen.b2 { right: 4%;  top: 900px;  width: 60px; animation-duration: 8.6s; animation-delay: 1.2s; }
.mc-blok-yuzen.b3 { left: 6.5%; top: 1450px; width: 54px; animation-duration: 6.6s; animation-delay: .6s; }
.mc-blok-yuzen.b4 { right: 6%;  top: 2000px; width: 56px; animation-duration: 9.2s; animation-delay: 2.1s; }
.mc-blok-yuzen.b5 { left: 4.5%; top: 2550px; width: 48px; animation-duration: 7.8s; animation-delay: 1.6s; }
/* İçerik 900px olduğu için dar ekranlarda gizle (çakışmasın) */
@media (max-width: 1150px) { .mc-suzulen { display: none; } }

/* ---------- Minecraft sayfası ---------- */
.mc-baglanti { display: flex; gap: 14px; justify-content: center; align-items: stretch; flex-wrap: wrap; margin-top: 22px; }
.mc-ip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px; cursor: pointer; border-radius: 12px;
}
.mc-ip:hover { transform: translateY(-2px); }
.mc-ip-etiket { color: var(--soluk); font-weight: 800; font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; }
.mc-ip-adres {
  font-family: 'Courier New', monospace; font-weight: 700; font-size: 1.15rem;
  color: #fff; letter-spacing: 1px;
}
.mc-kopyala { color: var(--altin-acik); font-weight: 800; font-size: .8rem; }
.mc-modpack { margin-top: 0; font-size: 1rem; padding: 14px 28px; display: inline-flex; align-items: center; }
.mc-icerik { display: flex; flex-direction: column; gap: 26px; max-width: 900px; }
.mc-bolum { padding: 32px 34px; }
.mc-baslik {
  color: var(--buz); font-size: 1.35rem; margin-bottom: 10px;
  text-shadow: 0 0 18px rgba(var(--altin-rgb), .25);
}
.mc-aciklama { color: var(--buz); font-weight: 600; line-height: 1.8; }
.mc-liste { margin: 14px 0 0 22px; color: var(--buz); font-weight: 600; line-height: 2; }
.kural-liste { margin: 14px 0 0 8px; list-style: none; counter-reset: kural; }
.kural-liste li {
  counter-increment: kural; position: relative;
  padding: 7px 0 7px 44px; color: var(--buz); font-weight: 600; line-height: 1.6;
}
.kural-liste li::before {
  content: counter(kural);
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--altin-rgb), .15);
  border: 1px solid rgba(var(--altin-rgb), .45);
  color: var(--altin-acik); font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: .9rem;
}
.mc-not {
  margin-top: 16px; padding: 12px 16px; border-radius: 10px;
  background: rgba(var(--altin-rgb), .08);
  border-left: 3px solid var(--altin);
  color: var(--buz); font-weight: 600; font-size: .92rem; line-height: 1.7;
}
.kbd {
  display: inline-block; padding: 2px 10px; border-radius: 6px;
  background: rgba(var(--gece-rgb), .8);
  border: 1px solid rgba(var(--acik-rgb), .5);
  border-bottom-width: 3px;
  font-family: 'Courier New', monospace; font-weight: 700; color: var(--altin-acik);
}
.altin-yazi { color: var(--altin-acik); }
.lonca-izgara { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 18px; }
.lonca {
  background: rgba(var(--gece-rgb), .5);
  border: 1px solid rgba(var(--acik-rgb), .25);
  border-radius: 12px; padding: 16px;
  transition: border-color .25s, transform .25s;
}
.lonca:hover { border-color: rgba(var(--altin-rgb), .55); transform: translateY(-3px); }
.lonca-emoji { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.lonca b { color: #ffe9a8; font-family: 'Baloo 2', sans-serif; font-size: .95rem; display: block; margin-bottom: 4px; }
.lonca p { color: #eef2fb; font-weight: 600; font-size: .8rem; line-height: 1.6; }


/* ---------- Özel sayfalar ---------- */
.ozel-icerik { padding: 36px 38px; font-size: 1.08rem; line-height: 1.9; }
.ozel-icerik p { margin-bottom: 16px; }
.ozel-icerik p:last-child { margin-bottom: 0; }


/* ---------- Yağmur efekti (ana sayfa) ---------- */
#yagmur {
  position: fixed; inset: 0; z-index: 2;
  pointer-events: none;
}
/* İçerik yağmurun üstünde kalsın: kartlar, başlıklar, yazılar
   (ana sayfa + tüm alt sayfa içerik sarmalayıcıları) */
.bolum-ic, footer, .bg-bolum > *,
.sayfa-baslik, .sayfa-icerik, .mc-icerik { position: relative; z-index: 3; }
#ses-btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 45;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cam); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--cam-cizgi); cursor: pointer;
  font-size: 1.15rem; color: var(--buz);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  transition: all .25s ease;
}
#ses-btn:hover { transform: scale(1.1); border-color: var(--altin); }
@media (max-width: 900px) { #ses-btn { display: none; } }


/* Logo yanı parıltı */
.logo-parilti {
  display: inline-block; margin-left: 6px;
  color: var(--altin-acik); font-size: 1rem;
  -webkit-text-fill-color: var(--altin-acik);
  animation: logo-parla 2.2s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(var(--altin-rgb), .7);
}
@keyframes logo-parla {
  0%, 100% { opacity: .5; transform: scale(.85) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

/* Sosyal ikon: harf ikonları (Club = C) */
.ikon-harf {
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  font-weight: 800; font-size: 1.45rem; line-height: 1;
}

/* ---------- Fanart & İşlerim galeri kartları ----------
   Tek koyu kutu: üstte görsel, altında sola yaslı başlık,
   ayrı katman olarak nick/açıklama pili ve geniş beğeni butonları.
   Kutunun rengi panelden ayarlanabilir (--kutu-bg). */
.galeri-kart {
  background: var(--kutu-bg, rgba(var(--koyu-rgb), .55));
  border: 1px solid rgba(var(--acik-rgb), .28);
  border-radius: 16px; padding: 12px 13px 14px;
  text-align: left;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.galeri-kart:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--altin-rgb), .55);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .55), 0 0 24px rgba(var(--altin-rgb), .14);
}
.galeri-kart .kadraj { border-radius: 10px; background: rgba(var(--gece-rgb), .6); }
.klip-kart video {
  width: 100%; aspect-ratio: 16 / 9; display: block;
  background: #000; border-radius: 10px;
}
/* Gömülü klip (YouTube / Kick) — 16:9 çerçeve */
.klip-kart .klip-gomme {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000; border-radius: 10px; overflow: hidden;
}
.klip-kart .klip-gomme iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Klipler sayfası: izleme kutuları daha büyük dursun */
#klip-izgara { grid-template-columns: repeat(auto-fill, minmax(430px, 1fr)); gap: 30px; }
@media (max-width: 620px) { #klip-izgara { grid-template-columns: 1fr; } }
.fanart-kart .kadraj { aspect-ratio: 4 / 3; }
.isler-kart .kadraj { aspect-ratio: 1 / 1; --fit: contain; }

/* Başlık: ana katman (kartın üstünde doğrudan durur) */
.galeri-baslik {
  margin: 12px 3px 0; color: #fff;
  font-size: 1.05rem; letter-spacing: .2px; line-height: 1.45;
}
/* Nick / açıklama: ayrı katman, hap şeklinde */
.galeri-nick {
  display: inline-block; margin: 10px 0 0; padding: 5px 15px;
  background: rgba(var(--gece-rgb), .4);
  border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px;
  font-size: .78rem; font-weight: 800; color: #fff;
}

/* Panelden yüklenen özel çerçeve: görselin üzerine bindirilir */
.cerceve-kaplama {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}
.ozel-cerceveli .kadraj { border-radius: 0; }

/* ---------- 🏆 En beğenilen fanartlar vitrini ---------- */
#begenilen-vitrin:empty { display: none; }
#begenilen-vitrin { margin-bottom: 48px; }
.vitrin-baslik { text-align: center; margin-bottom: 30px; }
.vitrin-baslik h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--buz);
  text-shadow: 0 0 22px rgba(255, 210, 120, .35), 0 3px 0 rgba(0, 0, 0, .5);
}
.vitrin-baslik .cizgi {
  width: 110px; height: 4px; border-radius: 2px; margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, #ffd27a, transparent);
  box-shadow: 0 0 14px rgba(255, 210, 120, .5);
}
.vitrin-izgara {
  display: grid; gap: 20px; align-items: end;
  grid-template-columns: repeat(3, 1fr); max-width: 860px; margin: 0 auto;
}
@media (max-width: 680px) { .vitrin-izgara { grid-template-columns: 1fr; } }
.vitrin-kart {
  position: relative; text-align: center;
  background: linear-gradient(180deg, rgba(255, 210, 120, .1), rgba(var(--koyu-rgb), .6));
  border: 1px solid rgba(255, 210, 120, .4); border-radius: 16px;
  padding: 16px 14px 16px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.vitrin-kart:hover { transform: translateY(-6px); border-color: rgba(255, 210, 120, .75); box-shadow: 0 18px 42px rgba(0, 0, 0, .55), 0 0 26px rgba(255, 210, 120, .2); }
/* 1.'yi hafif yukarı kaldır (podyum hissi) — geniş ekranda */
@media (min-width: 681px) {
  .vitrin-kart.sira-1 { transform: translateY(-16px) scale(1.04); z-index: 2; border-color: rgba(255, 215, 130, .85); box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 30px rgba(255, 210, 120, .28); }
  .vitrin-kart.sira-1:hover { transform: translateY(-22px) scale(1.05); }
}
.vitrin-madalya {
  position: absolute; top: 8px; left: 10px; z-index: 3;
  font-size: 1.7rem; filter: drop-shadow(0 3px 5px rgba(0,0,0,.5));
}
.vitrin-kart .kadraj { aspect-ratio: 4 / 3; border-radius: 10px; background: #0a0d18; margin-bottom: 12px; }
.vitrin-kart h3 { color: #fff; font-size: 1.02rem; letter-spacing: .2px; }
.vitrin-nick { display: inline-block; margin-top: 7px; padding: 4px 14px; font-size: .78rem; font-weight: 800; color: #fff; background: rgba(var(--gece-rgb), .45); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; }
.vitrin-begeni {
  display: block; margin-top: 11px; font-weight: 800; font-size: .92rem;
  color: #66d16a;
}

/* ---------- Beğeni / beğenmeme butonları ---------- */
.tepkiler { display: flex; gap: 10px; margin-top: 13px; }
.tepki-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(var(--gece-rgb), .45);
  color: #fff; font-family: inherit; font-weight: 800; font-size: .88rem;
  border-radius: 10px; padding: 10px 0; cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.tepki-btn.tb-begen   { border: 1px solid rgba(var(--acik-rgb), .5); }
.tepki-btn.tb-begenme { border: 1px solid rgba(255, 90, 90, .38); }
.tepki-btn:hover { transform: translateY(-2px); }
.tepki-btn.tb-begen:hover   { border-color: rgba(var(--acik-rgb), .85); }
.tepki-btn.tb-begenme:hover { border-color: rgba(255, 90, 90, .7); }
.tepki-btn.tb-begen.aktif { color: #4ade80; border-color: rgba(74, 222, 128, .65); background: rgba(74, 222, 128, .1); }
.tepki-btn.tb-begenme.aktif { color: #ff5a5a; border-color: rgba(255, 90, 90, .6); background: rgba(255, 90, 90, .1); }
.tepki-btn.patla { animation: tepki-pop .4s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes tepki-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.28) rotate(-5deg); }
  100% { transform: scale(1); }
}

/* Panelden yüklenen özel sosyal logo */
.sosyal-btn .ikon-ozel { width: 30px; height: 30px; object-fit: contain; border-radius: 6px; display: block; }