* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(160deg, #10121f 0%, #161329 45%, #1a1230 100%);
  color: #e8e0f0; min-height: 100vh; position: relative; overflow-x: hidden;
}
h1, h2, h3, .podyum-puan, .lider-puan, .hero-deger { font-family: 'Poppins', sans-serif; }
.gizli { display: none !important; }

/* ─── ARKA PLAN GLOW EFEKTİ (koyu + pembe/mavi) ─── */
.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(244,114,182,0.22), transparent 45%),
    radial-gradient(circle at 88% 6%, rgba(96,165,250,0.22), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(167,139,250,0.18), transparent 50%);
  animation: glowHareket 20s ease-in-out infinite alternate;
}
@keyframes glowHareket {
  0% { opacity: 0.65; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

/* ─── TOPBAR ─── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; background: rgba(16,17,32,0.75); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244,114,182,0.15); flex-wrap: wrap; gap: 12px; position: sticky; top: 0; z-index: 10;
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.brand { display: flex; align-items: center; gap: 12px; }
.bot-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #f472b6; box-shadow: 0 0 18px rgba(244,114,182,0.5); }
.brand h1 { font-size: 18px; font-weight: 700; letter-spacing: 0.3px; background: linear-gradient(90deg, #f9a8d4, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.alt-yazi { font-size: 12px; color: #9d94b3; }

.topnav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-btn {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(147,197,253,0.2); color: #cbc4dd; padding: 9px 16px;
  border-radius: 12px; cursor: pointer; font-size: 13px; font-weight: 600; transition: all 0.25s;
}
.nav-btn.aktif, .nav-btn:hover {
  background: linear-gradient(135deg, #f472b6, #60a5fa); border-color: transparent; color: #fff;
  box-shadow: 0 4px 18px rgba(244,114,182,0.35); transform: translateY(-1px);
}

/* ─── HERO ─── */
.hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px;
  padding: 28px 32px; max-width: 1200px; margin: 0 auto;
}
.hero-kart {
  background: linear-gradient(135deg, rgba(244,114,182,0.1), rgba(96,165,250,0.08));
  border: 1px solid rgba(147,197,253,0.15); border-radius: 18px; padding: 20px; text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hero-kart:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(244,114,182,0.18); }
.hero-deger { display: block; font-size: 30px; font-weight: 800; background: linear-gradient(90deg, #f9a8d4, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 0.5px; }
.hero-etiket { font-size: 12px; color: #9d94b3; margin-top: 4px; display: block; }

main { max-width: 1200px; margin: 0 auto; padding: 0 32px 40px; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.view h2 { font-size: 26px; margin-bottom: 4px; font-weight: 800; color: #f5d0e8; }
.view > .alt-yazi { margin-bottom: 24px; }

/* ─── PODYUM (İLK 3) ─── */
.podyum {
  display: flex; align-items: flex-end; justify-content: center; gap: 16px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.podyum-kart {
  background: rgba(255,255,255,0.035); backdrop-filter: blur(8px);
  border: 1px solid rgba(147,197,253,0.18); border-radius: 20px; padding: 20px 24px; text-align: center;
  width: 160px; transition: transform 0.3s;
}
.podyum-kart:hover { transform: translateY(-6px); }
.podyum-1 { order: 2; padding-top: 30px; border-color: #fbbf24; box-shadow: 0 0 34px rgba(251,191,36,0.22); }
.podyum-2 { order: 1; border-color: #60a5fa; box-shadow: 0 0 24px rgba(96,165,250,0.2); margin-bottom: 10px; }
.podyum-3 { order: 3; border-color: #f472b6; box-shadow: 0 0 24px rgba(244,114,182,0.2); margin-bottom: 20px; }
.podyum-madalya { font-size: 30px; margin-bottom: 8px; }
.podyum-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #241f38; border: 3px solid rgba(255,255,255,0.15); }
.podyum-1 .podyum-avatar { width: 78px; height: 78px; border-color: #fbbf24; }
.podyum-2 .podyum-avatar { border-color: #60a5fa; }
.podyum-3 .podyum-avatar { border-color: #f472b6; }
.podyum-isim { font-weight: 700; font-size: 14px; margin-top: 10px; color: #e8e0f0; }
.podyum-puan { font-weight: 800; color: #4ade80; font-size: 16px; margin-top: 4px; }

/* ─── LİDERLİK LİSTE (4. ve sonrası) ─── */
.liderlik-liste-alt { display: flex; flex-direction: column; gap: 10px; }
.lider-satir {
  display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(147,197,253,0.1);
  border-radius: 14px; padding: 14px 18px; transition: 0.2s;
}
.lider-satir:hover { border-color: rgba(244,114,182,0.4); background: rgba(244,114,182,0.06); transform: translateX(4px); }
.lider-sira { font-size: 15px; font-weight: 700; width: 30px; text-align: center; color: #736a89; }
.lider-avatar { width: 40px; height: 40px; border-radius: 50%; background: #241f38; object-fit: cover; }
.lider-bilgi { flex: 1; }
.lider-isim { font-weight: 700; font-size: 14px; color: #e8e0f0; }
.lider-seviye { font-size: 12px; color: #9d94b3; }
.lider-puan { font-weight: 800; color: #4ade80; font-size: 15px; }

/* ─── EVLİLİK GRID ─── */
.evlilik-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.evlilik-kart {
  background: linear-gradient(135deg, rgba(244,114,182,0.1), rgba(96,165,250,0.08));
  border: 1px solid rgba(244,114,182,0.2); border-radius: 18px; padding: 24px; text-align: center;
  transition: transform 0.25s;
}
.evlilik-kart:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(244,114,182,0.22); }
.evlilik-avatarlar { display: flex; justify-content: center; align-items: center; margin-bottom: 12px; }
.evlilik-avatarlar img { width: 58px; height: 58px; border-radius: 50%; border: 3px solid #f472b6; background: #241f38; margin: 0 -10px; object-fit: cover; }
.evlilik-isimler { font-weight: 700; font-size: 15px; margin-top: 10px; color: #e8e0f0; }
.evlilik-tarih { font-size: 12px; color: #9d94b3; margin-top: 6px; }
.bos-durum { text-align: center; color: #736a89; padding: 50px; font-size: 14px; }

/* ─── GİRİŞ KUTU ─── */
.giris-kutu {
  max-width: 380px; margin: 40px auto; background: rgba(22,20,38,0.85); backdrop-filter: blur(14px);
  padding: 36px; border-radius: 20px; text-align: center; border: 1px solid rgba(244,114,182,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.giris-kutu h2 { background: linear-gradient(90deg, #f9a8d4, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; display: inline-block; }
.giris-kutu input {
  width: 100%; padding: 12px; border-radius: 12px; border: 1px solid rgba(147,197,253,0.2);
  background: rgba(10,10,20,0.6); color: #e8e0f0; margin-bottom: 14px; font-size: 14px; margin-top: 6px;
  transition: border-color 0.2s;
}
.giris-kutu input:focus { outline: none; border-color: #f472b6; box-shadow: 0 0 0 3px rgba(244,114,182,0.15); }
.giris-kutu button {
  width: 100%; padding: 12px; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #f472b6, #60a5fa); color: #fff; font-weight: 700; font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.giris-kutu button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(244,114,182,0.4); }
.giris-kutu button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.hata { color: #fb7185; margin-top: 10px; font-size: 13px; }
.beni-hatirla-label { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; color: #9d94b3; justify-content: center; cursor: pointer; }
.beni-hatirla-label input { width: auto; margin: 0; accent-color: #f472b6; }

/* ─── ADMIN PANEL ─── */
.panel-ust { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.panel-ust h2 { color: #f5d0e8; }
#cikis-btn { padding: 8px 18px; background: linear-gradient(135deg, #fb7185, #f472b6); border: none; border-radius: 10px; color: #fff; cursor: pointer; font-weight: 600; }
.sekmeler { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.sekme-btn {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(147,197,253,0.2); color: #cbc4dd; padding: 8px 14px;
  border-radius: 10px; cursor: pointer; font-size: 13px; transition: 0.2s;
}
.sekme-btn.aktif, .sekme-btn:hover { background: linear-gradient(135deg, #f472b6, #60a5fa); border-color: transparent; color: #fff; }

.kart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.stat-kart { background: rgba(255,255,255,0.03); padding: 18px; border-radius: 16px; border: 1px solid rgba(147,197,253,0.12); }
.stat-kart .deger { font-size: 22px; font-weight: 700; color: #f9a8d4; margin-top: 4px; }
.stat-kart .etiket { font-size: 12px; color: #9d94b3; }

input[type="text"], input[type="password"], textarea, select {
  width: 100%; padding: 10px; border-radius: 12px; border: 1px solid rgba(147,197,253,0.2);
  background: rgba(10,10,20,0.5); color: #e8e0f0; margin-bottom: 12px; font-size: 14px;
}
input[type="text"]:focus, textarea:focus, select:focus { outline: none; border-color: #60a5fa; }
textarea { min-height: 100px; resize: vertical; }
.checkbox-label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; color: #e8e0f0; }
.checkbox-label input { width: auto; margin: 0; accent-color: #f472b6; }

/* ─── KULLANICI KARTLARI ─── */
.kullanici-kart-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 12px; }
.kullanici-kart {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(147,197,253,0.12); border-radius: 18px; padding: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kullanici-kart:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(244,114,182,0.15); }
.kullanici-kart-ust { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.kullanici-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #241f38; border: 2px solid #f472b6; flex-shrink: 0; }
.kullanici-isim { font-weight: 700; font-size: 14px; color: #e8e0f0; }
.kullanici-id { font-size: 11px; color: #736a89; }
.yetkili-toggle { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-left: auto; font-size: 10px; color: #9d94b3; cursor: pointer; }
.yetkili-toggle input { width: 16px; height: 16px; accent-color: #f472b6; }

.kullanici-alanlar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.alan { display: flex; flex-direction: column; gap: 4px; }
.alan label { font-size: 11px; color: #9d94b3; font-weight: 600; }
.alan input {
  padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(147,197,253,0.15); background: rgba(10,10,20,0.5);
  font-size: 14px; color: #e8e0f0; margin: 0; width: 100%;
}
.alan input:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 2px rgba(96,165,250,0.2); }
.alan-readonly .readonly-deger {
  padding: 8px 10px; border-radius: 10px; background: rgba(244,114,182,0.08); font-size: 14px; color: #cbc4dd; font-weight: 600;
}
.kullanici-kart .kaydet-btn {
  width: 100%; padding: 10px; border-radius: 12px; border: none; cursor: pointer; font-weight: 700; font-size: 13px;
  background: linear-gradient(135deg, #f472b6, #60a5fa); color: #fff; transition: 0.2s;
}
.kullanici-kart .kaydet-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(244,114,182,0.35); }
.kullanici-kart .kaydet-btn.kaydedildi { background: linear-gradient(135deg, #34d399, #6ee7b7); }

.tehlike-btn { background: linear-gradient(135deg, #fb7185, #ef4444) !important; padding: 12px 20px; border: none; border-radius: 12px; color: #fff; cursor: pointer; font-weight: 700; }
#yayin-gonder-btn, #otorol-kaydet-btn {
  padding: 12px 20px; border: none; border-radius: 12px; cursor: pointer; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #f472b6, #60a5fa);
}
#yayin-gonder-btn:hover, #otorol-kaydet-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(244,114,182,0.35); }
#yayin-sonuc, #otorol-sonuc { margin-top: 10px; font-size: 13px; color: #4ade80; }
button:disabled, input:disabled, select:disabled, textarea:disabled { opacity: 0.45; cursor: not-allowed !important; }

/* ─── BAŞVURULAR ─── */
.basvuru-kart {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(147,197,253,0.12); border-radius: 16px;
  padding: 16px 18px; margin-bottom: 12px;
}
.basvuru-ust { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.basvuru-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #241f38; border: 2px solid #f472b6; }
.basvuru-bilgi { flex: 1; }
.basvuru-isim { font-weight: 700; font-size: 14px; color: #e8e0f0; }
.basvuru-tarih { font-size: 11px; color: #9d94b3; }
.basvuru-cevap { font-size: 13px; color: #cbc4dd; background: rgba(0,0,0,0.15); padding: 10px 12px; border-radius: 10px; font-style: italic; margin-bottom: 8px; }
.basvuru-yetkili { font-size: 12px; color: #9d94b3; }
.basvuru-aksiyon { display: flex; gap: 10px; margin-top: 12px; }
.basvuru-onay-btn, .basvuru-red-btn {
  flex: 1; padding: 9px; border-radius: 10px; border: none; cursor: pointer; font-weight: 700; font-size: 13px; color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.basvuru-onay-btn { background: linear-gradient(135deg, #34d399, #4ade80); }
.basvuru-onay-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(74,222,128,0.35); }
.basvuru-red-btn { background: linear-gradient(135deg, #fb7185, #ef4444); }
.basvuru-red-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(239,68,68,0.35); }
.basvuru-islemde { font-size: 13px; color: #fbbf24; }
.durum-etiket { font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 700; white-space: nowrap; }
.durum-onay { background: rgba(74,222,128,0.15); color: #4ade80; }
.durum-red { background: rgba(248,113,113,0.15); color: #f87171; }
.durum-beklemede { background: rgba(251,191,36,0.15); color: #fbbf24; }

/* ─── YÖNETİCİLER ─── */
.yeni-yonetici-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.yeni-yonetici-form input { flex: 1; min-width: 160px; }
.yeni-yonetici-form button {
  padding: 10px 18px; border-radius: 12px; border: none; cursor: pointer; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #f472b6, #60a5fa); white-space: nowrap; height: fit-content;
}
.yonetici-liste { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.yonetici-kart {
  display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(147,197,253,0.12); border-radius: 14px; padding: 14px 18px;
}
.yonetici-super { border-color: rgba(251,191,36,0.3); background: rgba(251,191,36,0.05); }
.yonetici-isim { font-weight: 700; font-size: 14px; color: #e8e0f0; }
.yonetici-rol { font-size: 12px; color: #9d94b3; }
.yonetici-sil-btn { padding: 6px 12px; border-radius: 8px; border: none; background: #ef4444; color: #fff; cursor: pointer; font-size: 12px; }

/* ─── SALT-OKUNUR MOD NOTU ─── */
.salt-okunur-notu { text-align: center; font-size: 12px; color: #9d94b3; padding: 8px; background: rgba(255,255,255,0.02); border-radius: 10px; margin: 0; }

.footer { text-align: center; padding: 24px; color: #4d4560; font-size: 12px; }

@media (max-width: 640px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  main { padding: 0 16px 40px; }
  .hero { padding: 24px 16px; }
  .podyum { gap: 10px; }
  .podyum-kart { width: 45%; padding: 14px; }
  .kullanici-alanlar { grid-template-columns: 1fr 1fr; }
}
