/*!
 * Premium Gaming Theme Layer  (LeaderOS-grade)
 * Koyu, sinematik, cam efektli, parıltılı modern oyun teması.
 * head.php içinde inline tema <style>'ından SONRA yüklenir (kazanır).
 * Tüm hareketler transform/opacity tabanlı + prefers-reduced-motion ile kapanır.
 */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ===== TASARIM TOKENLARI (2026 — sakin / ferah / premium) ===== */
:root {
  /* Yüzeyler — derin koyu, neredeyse opak (cam değil, katı malzeme hissi) */
  --bg-0:        #08090c;
  --bg-1:        #0c0e13;
  --surface:     rgba(22, 25, 32, 0.92);
  --surface-2:   rgba(28, 32, 41, 0.96);
  --border:      rgba(255, 255, 255, 0.07);
  --border-2:    rgba(255, 255, 255, 0.12);

  /* Marka — tek zümrüt yeşili (kısıtlı palet) */
  --brand:        #34d27f;
  --brand-2:      #1faa63;
  --brand-soft:   rgba(52, 210, 127, 0.12);
  --brand-glow:   rgba(52, 210, 127, 0.28);
  --gold:         #f5c451;
  --danger:       #f1657f;
  --info:         #4cc6e8;

  /* Tek ince gradyan (yalnızca CTA için; dekoratif bant yok) */
  --grad-brand:  linear-gradient(135deg, #3fe08c 0%, #22b96d 100%);

  /* Metin */
  --text:        #f1f4f8;
  --text-dim:    #a4adba;
  --text-faint:  #6c7480;

  /* Şekil — daha büyük yarıçap, çok yumuşak gölge */
  --radius:      18px;
  --radius-sm:   12px;
  --radius-lg:   24px;
  --shadow:      0 1px 2px rgba(0,0,0,0.25), 0 8px 24px -16px rgba(0,0,0,0.55);
  --shadow-lg:   0 1px 2px rgba(0,0,0,0.3), 0 24px 56px -28px rgba(0,0,0,0.7);
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

/* ===== TEMEL ===== */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body) !important;
  color: var(--text) !important;
  background:
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%) !important;
  background-attachment: fixed !important;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* tek, sabit, çok hafif üst aydınlatma — hareket yok, ızgara yok, sakin derinlik */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 520px at 50% -20%, rgba(52,210,127,0.06), transparent 60%),
    linear-gradient(180deg, #0c0e13 0%, #08090c 100%);
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6,
.newsTitles, .newstitle, .footer-title, .article__title, .card-title {
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em;
  color: var(--text) !important;
}
p, .newsTexts, .custom-card__body, td, th, li, label { font-family: var(--font-body) !important; }
p, .newsTexts { color: var(--text-dim) !important; line-height: 1.75 !important; font-size: 16px !important; }
a { color: #5fdd97; transition: color .18s ease; }
a:hover { color: var(--brand); text-decoration: none; }

/* ===== PANELLER (katı, temiz, çok hafif gölge — gradyan aksan yok) ===== */
.card, .haber, .custom-card, .article, .modal-content, .jumbotron,
.giris-text, .market-urun-box {
  position: relative;
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover, .haber:hover, .custom-card:hover, .market-urun-box:hover {
  transform: translateY(-2px);
  border-color: var(--border-2) !important;
  box-shadow: var(--shadow-lg) !important;
}
.card-body, .custom-card__body { color: var(--text) !important; position: relative; z-index: 1; }
.modal-content { width: auto !important; }
.modal-header, .modal-footer { border-color: var(--border) !important; }
.haber img, .card img { border-radius: 0 !important; }
.newsCategorys { color: var(--text-faint) !important; }
.newsTitles { color: var(--text) !important; font-family: var(--font-head) !important; font-weight: 700 !important; }

/* ===== BUTONLAR (düz / katı / temiz — Vercel·Linear hissi) ===== */
.btn {
  position: relative;
  font-family: var(--font-head) !important;
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 12px !important;
  padding: 0.6rem 1.3rem !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  transition: background .16s ease, color .16s ease, border-color .16s ease, opacity .16s ease, transform .12s var(--ease) !important;
}
.btn:active { transform: translateY(1px); }

/* nötr — ince çerçeveli, dolgusuz */
.btn, .btn-secondary, .btn-light, .btn-dark {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--border-2) !important;
  color: var(--text) !important;
}
.btn:hover, .btn-secondary:hover, .btn-light:hover, .btn-dark:hover {
  background: rgba(255,255,255,0.09) !important; color: #fff !important;
}

/* birincil = düz dolu yeşil */
.btn-primary, .btn-success, .giris-btn, .readbtn, .st-header-pb {
  background: var(--brand) !important;
  border: 1px solid var(--brand) !important;
  color: #042414 !important; font-weight: 600 !important;
}
.btn-primary:hover, .btn-success:hover, .giris-btn:hover, .readbtn:hover, .st-header-pb:hover {
  background: #45dd8c !important; border-color: #45dd8c !important; color: #042414 !important;
}
/* satın al = düz dolu altın */
.btn-warning {
  background: var(--gold) !important; border: 1px solid var(--gold) !important;
  color: #2a1c00 !important; font-weight: 600 !important;
}
.btn-warning:hover { background: #ffd06b !important; border-color: #ffd06b !important; color: #2a1c00 !important; }
/* bilgi = ince çerçeveli mavi (ikincil ton) */
.btn-info {
  background: rgba(76,198,232,0.10) !important; border: 1px solid rgba(76,198,232,0.45) !important;
  color: #8fdcf0 !important; font-weight: 600 !important;
}
.btn-info:hover { background: var(--info) !important; border-color: var(--info) !important; color: #04222e !important; }
/* tehlike = ince çerçeveli kırmızı */
.btn-danger {
  background: rgba(241,101,127,0.10) !important; border: 1px solid rgba(241,101,127,0.45) !important;
  color: #f79aab !important; font-weight: 600 !important;
}
.btn-danger:hover { background: var(--danger) !important; border-color: var(--danger) !important; color: #fff !important; }
.btn-lg { padding: 0.85rem 1.8rem !important; font-size: 1.02rem !important; }
.btn-sm { padding: 0.42rem 0.9rem !important; font-size: 0.8rem !important; }
/* Devamını Oku: kart içinde normal akış (artık dışarı taşmaz) */
.readbtn {
  position: static !important; display: inline-block !important;
  margin-top: 1rem !important; line-height: normal !important;
  padding: .5rem 1rem !important; right: auto !important; bottom: auto !important;
  height: auto !important;
}
.haber .card-body, .card.haber .card-body { padding-bottom: 1.25rem !important; }
.haber ul { margin: 0 !important; padding: 0 !important; }
.btn-rounded, .btn-block { border-radius: var(--radius-sm) !important; }

/* ===== NAVBAR (modern, kolay tıklanır) ===== */
.navbar, #navbar-tops {
  background: rgba(12, 14, 19, 0.86) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 0.4rem 0.85rem !important;
  position: relative;
  z-index: 1000;
}
.ptl-5.ptr-5 { position: relative; z-index: 1000; }
.ptl-5.ptr-5.pt-5 { z-index: 1 !important; }

/* öğeler arası nefes payı + dropdown'lar hizalı */
#navbar-tops .navbar-nav { gap: 2px; align-items: center; }
.nav-item { padding: 0 !important; }

.nav-link {
  position: relative;
  display: inline-flex !important; align-items: center; gap: .45rem;
  color: var(--text-dim) !important;
  text-transform: none !important;
  font-family: var(--font-head) !important;
  font-weight: 500 !important;
  font-size: .92rem !important;
  border-radius: 10px !important;
  padding: .62rem .95rem !important;   /* daha büyük tıklama alanı */
  white-space: nowrap;
  transition: color .18s ease, background .18s ease !important;
}
.nav-link i { font-size: .9em; opacity: .85; transition: opacity .18s ease; }
.nav-link:hover { color: #fff !important; background: rgba(255,255,255,0.07) !important; }
.nav-link:hover i { opacity: 1; }

/* aktif: yeşil pill + altta ince gösterge çizgisi */
.nav-link.active, .nav-item .active {
  color: var(--brand) !important;
  background: rgba(34,224,122,0.13) !important;
  border-radius: 10px !important;
  text-shadow: none !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
.nav-link.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 3px; width: 18px; height: 2px; border-radius: 2px; background: var(--brand);
}
.nav-link.active i { opacity: 1; }
/* dropdown ok işareti */
.dropdown-toggle::after { margin-left: .35rem; opacity: .7; vertical-align: middle; }

.dropdown-menu {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow-lg) !important;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  padding: 8px !important; min-width: 200px !important;
  z-index: 1100 !important;
  margin-top: 6px !important;
}
.dropdown-item {
  color: var(--text-dim) !important; border-radius: 10px !important;
  padding: .65rem .9rem !important; font-size: .92rem !important; font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.dropdown-item:hover, .dropdown-item:focus, .dactive {
  background: rgba(34,224,122,0.14) !important; color: var(--brand) !important;
}
.dropdown-menu center { display: block; }
.dropdown-divider { border-top: 1px solid var(--border); margin: 6px 4px; }
.dropdown-item-danger { color: #f79aab !important; }
.dropdown-item-danger:hover, .dropdown-item-danger:focus {
  background: rgba(241,101,127,0.14) !important; color: #f79aab !important;
}

/* ===== HESAP BÖLGESİ (sağ) ===== */
.navbar-account { align-items: center; gap: 6px; }
.navbar-account .nav-link { color: var(--text) !important; }
/* "Kayıt Ol" = dolu yeşil CTA pill */
.nav-cta {
  background: var(--brand) !important; color: #042414 !important;
  border-radius: 11px !important; font-weight: 600 !important;
  padding: .5rem 1.1rem !important;
}
.nav-cta:hover { background: #45dd8c !important; color: #042414 !important; }
.nav-cta.active::after, .nav-account-toggle.active::after { display: none !important; }
/* giriş yapmış kullanıcı menüsü */
.nav-account-toggle {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--border-2) !important;
  border-radius: 11px !important;
}
.nav-account-toggle:hover { background: rgba(255,255,255,0.1) !important; }
.nav-account-toggle i { opacity: 1; color: var(--brand); }
.dropdown-menu-right { right: 0; left: auto; }
/* açık ticket / bildirim rozeti */
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px;
  font-family: var(--font-head); font-size: .68rem; font-weight: 700; line-height: 1;
  color: #042414; background: var(--brand); border-radius: 9px;
}

/* ===== BİRLEŞİK STICKY HEADER (logo · menü · sayaç · IP · hesap) ===== */
.site-header-wrap { position: relative; z-index: 1000; }
.site-header .container-fluid {
  display: flex; align-items: center; gap: .5rem;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
@media (min-width: 992px) {
  .site-header .navbar-collapse { display: flex !important; align-items: center; }
}
.main-nav { margin-right: auto; gap: 2px; align-items: center; }
.nav-right { display: flex; align-items: center; gap: .55rem; }

/* marka */
.site-brand { display: inline-flex !important; align-items: center; gap: .55rem; padding: .15rem .35rem; margin-right: .4rem; }
.site-brand img { height: 34px; width: auto; border-radius: 7px; }
.site-brand .brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.12rem;
  color: var(--text); letter-spacing: -.01em; line-height: 1;
}

/* canlı oyuncu sayacı pili */
.server-chip {
  display: inline-flex; align-items: center; gap: .42rem;
  padding: .42rem .7rem; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-2);
  font-family: var(--font-head); font-size: .82rem; color: var(--text-dim); white-space: nowrap;
}
.chip-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px;
  background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
  animation: chipPulse 2.4s var(--ease) infinite;
}
.server-chip.is-offline .chip-dot { background: var(--text-faint); box-shadow: none; animation: none; }
.chip-count { color: var(--text); font-weight: 700; }
.chip-label { color: var(--text-faint); }
@keyframes chipPulse { 0%,100% { box-shadow: 0 0 0 3px var(--brand-soft); } 50% { box-shadow: 0 0 0 5px rgba(52,210,127,0.05); } }

/* IP kopyalama pili */
.ip-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .8rem; border-radius: 11px;
  background: var(--brand-soft); border: 1px solid rgba(52,210,127,0.34);
  color: #6ee2a4 !important; font-weight: 600; font-size: .85rem; cursor: pointer; white-space: nowrap;
  font-family: var(--font-body);
  transition: background .16s ease, border-color .16s ease, transform .12s var(--ease);
}
.ip-pill:hover { background: rgba(52,210,127,0.16); border-color: rgba(52,210,127,0.5); color: #7ff0b4 !important; }
.ip-pill:active { transform: translateY(1px); }
.ip-pill .ip-copy-ico { opacity: .65; font-size: .85em; }
.ip-pill-sm { padding: .38rem .65rem; font-size: .8rem; }
/* masaüstü/mobil görünürlük (Bootstrap d-* yardımcıları yerine kendi kurallarım) */
.header-mobile-actions { display: none; align-items: center; gap: .5rem; margin-left: auto; }
.ip-pill-desktop { display: none; }
@media (min-width: 992px) {
  .ip-pill-desktop { display: inline-flex; }
  .header-mobile-actions { display: none !important; }
}
@media (max-width: 991.98px) {
  .header-mobile-actions { display: flex; }
}

/* sticky (scroll'da edit.js fixed-top ekler) */
.site-header.fixed-top {
  border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important;
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.7) !important;
  background: rgba(10, 12, 16, 0.92) !important;
}

/* ===== FORMLAR ===== */
.form-control, input[type="text"], input[type="email"], input[type="password"],
input[type="number"], textarea, select {
  background: rgba(255,255,255,0.04) !important;
  color: var(--text) !important;
  border: 1px solid var(--border-2) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.62rem 0.9rem !important;
  font-family: var(--font-body) !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}
.form-control::placeholder { color: var(--text-faint) !important; }
.form-control:focus, input:focus, textarea:focus, select:focus {
  outline: none !important;
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(34,224,122,0.2) !important;
  background: rgba(255,255,255,0.06) !important;
}
label { color: var(--text) !important; font-weight: 500; margin-bottom: .35rem; }

/* ===== ALERTLER ===== */
.alert {
  border: 1px solid var(--border-2) !important;
  border-left-width: 4px !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.alert_success { background: rgba(34,224,122,0.12) !important;  color: #bdf7d3 !important; border-color: var(--brand) !important; }
.alert_danger  { background: rgba(255,77,109,0.12) !important;  color: #ffccd6 !important; border-color: var(--danger) !important; }
.alert_warning { background: rgba(255,198,61,0.12) !important;  color: #ffe9b3 !important; border-color: var(--gold) !important; }
.alert_info    { background: rgba(56,211,248,0.12) !important;  color: #c2eefb !important; border-color: var(--info) !important; }
/* nötr boş-durum kutusu — "henüz veri yok" için, alarm değil */
.alert_empty   { background: rgba(255,255,255,0.03) !important; color: var(--text-dim) !important; border: 1px solid var(--border) !important; }
.alert_empty .alert--icon { color: var(--text-faint) !important; }

/* ===== PAGINATION ===== */
.page-link, .page-item {
  background: rgba(255,255,255,0.05) !important;
  color: var(--text) !important;
  border: 1px solid var(--border-2) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
  width: 44px !important; height: 44px !important;
  font-family: var(--font-head) !important;
  transition: all .2s var(--ease) !important;
}
.page-link:hover {
  background: var(--grad-brand) !important; color: #04140b !important;
  border-color: transparent !important; text-shadow: none !important;
  transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--brand-glow) !important;
}

/* ===== HEADER / IP ===== */
.text-yellow { color: var(--gold) !important; text-shadow: 0 0 16px rgba(255,198,61,0.4) !important; }
.header-st-logo img, .st-header-logo img { filter: drop-shadow(0 10px 28px rgba(0,0,0,.55)); }
.st-header-pb { letter-spacing: .5px !important; border-radius: var(--radius-sm) !important; }

/* ===== FOOTER ===== */
footer, .site-footer {
  background: linear-gradient(180deg, #0b0d12, #08090c) !important;
  border-top: 1px solid var(--border) !important;
  margin-top: 4.5rem; position: relative;
}

/* marka bandı */
.footer-brand { padding: 2.2rem 0 1.5rem; border-bottom: 1px solid var(--border); }
.fb-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.fb-identity { display: flex; align-items: center; gap: 1rem; }
.fb-logo {
  width: 64px; height: 64px; object-fit: contain; border-radius: 14px;
  background: rgba(255,255,255,0.04); padding: 6px; border: 1px solid var(--border-2);
  box-shadow: 0 10px 26px -12px rgba(0,0,0,.7);
}
.fb-name { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--text); line-height: 1.1; }
.fb-ip {
  margin-top: .45rem; display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  background: rgba(34,224,122,0.12); color: #6ff0a6; border: 1px solid rgba(34,224,122,0.3);
  border-radius: 10px; padding: .4rem .8rem; font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  transition: background .2s ease, transform .15s ease;
}
.fb-ip:hover { background: rgba(34,224,122,0.2); transform: translateY(-1px); }
.fb-copy { color: var(--text-faint); font-weight: 500; font-size: .8rem; }

.fb-social { display: flex; gap: .6rem; }
.fb-soc {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 1.2rem; color: var(--text) !important;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-2);
  transition: transform .18s var(--ease), background .2s ease, color .2s ease, box-shadow .2s ease;
}
.fb-soc:hover { transform: translateY(-3px); color: #fff !important; }
.fb-ig:hover { background: linear-gradient(135deg,#f09433,#dc2743,#bc1888); box-shadow: 0 10px 24px -10px rgba(220,39,67,.6); }
.fb-fb:hover { background: #1877f2; box-shadow: 0 10px 24px -10px rgba(24,119,242,.6); }
.fb-tw:hover { background: #1da1f2; box-shadow: 0 10px 24px -10px rgba(29,161,242,.6); }
.fb-dc:hover { background: #5865f2; box-shadow: 0 10px 24px -10px rgba(88,101,242,.6); }

/* index.php'nin inline tema-renk bloğunu nötrle (turuncu/yeşil bandları engelle) */
.footer-top, .footer-bottom { background: transparent !important; background-color: transparent !important; }
.card-header {
  background: rgba(255,255,255,0.025) !important; color: var(--text) !important;
  border-bottom: 1px solid var(--border) !important;
  font-family: var(--font-head) !important; font-weight: 600 !important;
  font-size: .98rem !important; letter-spacing: -0.01em;
  padding: .95rem 1.15rem !important;
  display: flex; align-items: center; gap: .55rem;
}
/* başlık önünde ince yeşil aksan çubuğu */
.card-header::before {
  content: ""; width: 3px; height: 16px; border-radius: 3px;
  background: var(--brand); flex: 0 0 3px;
}
/* justify-content-between kullanan başlıklarda (forum) aksan çubuğu flex akışından
   çıkarılır; aksi halde başlık metni sağ kenara itilip mobilde kırpılıyor */
.card-header.justify-content-between { position: relative; padding-left: 1.6rem !important; }
.card-header.justify-content-between::before {
  position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%);
}

/* kolonlar */
.footer-top { color: var(--text-dim) !important; padding: 2.5rem 0 1.5rem !important; }
.footer-title { color: var(--text) !important; font-family: var(--font-head) !important; position: relative; padding-bottom: .6rem; margin-bottom: 1rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--grad-brand); }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: var(--text-dim) !important; transition: color .2s ease, padding-left .2s ease; }
.footer-links a:hover { color: var(--brand) !important; padding-left: 4px; }
.footer-links a i { color: var(--brand); margin-right: .4rem; }
.footer-top ul li a { color: var(--text-dim) !important; }
.footer-top ul li a:hover { color: var(--brand) !important; }

/* alt bar */
.footer-bottom { color: var(--text-dim) !important; padding: 1.1rem 0 !important; border-top: 1px solid var(--border); }
.fbtm-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.footer-bottom a { color: var(--text) !important; }
.footer-bottom a:hover { color: var(--brand) !important; text-shadow: none !important; }
@media (max-width: 768px) { .fb-row, .fbtm-row { justify-content: center; text-align: center; } .fb-identity { flex-direction: column; text-align: center; } }

/* ===== MAĞAZA ÜRÜN KUTUSU ===== */
.market-urun-box { background: var(--surface) !important; border: 1px solid var(--border) !important; }
.market-urun-box:hover { background: var(--surface-2) !important; }
.market-urun-box .market-urun-img img { filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); }

/* ===== SLIDER / CAROUSEL ===== */
.carousel-inner { border-radius: var(--radius-lg) !important; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.carousel-item { position: relative; }
.carousel-item img { border-radius: var(--radius-lg) !important; }
/* tüm slaytı karart (yukarıdan aşağıya), yazı her yerde okunsun */
.carousel-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.82) 100%);
}
.carousel-caption {
  z-index: 3; background: transparent;
  left: 6%; right: 6%; bottom: 1.4rem; text-align: left;
  padding: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  pointer-events: none;   /* okları bloke etmesin */
}
.carousel-caption h5 {
  font-family: var(--font-head) !important; font-weight: 800 !important;
  font-size: 1.85rem !important; letter-spacing: -0.02em; margin-bottom: .35rem !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.75);
}
.carousel-caption p { color: rgba(255,255,255,0.88) !important; font-size: 1rem !important; max-width: 38ch; margin: 0; }
/* ok kontrolleri = TÜM <a> dairesel buton (tıklama alanı = görünen daire) */
.carousel-control-prev, .carousel-control-next {
  width: 46px !important; height: 46px !important; opacity: 1 !important;
  top: 50% !important; transform: translateY(-50%);
  display: flex !important; align-items: center; justify-content: center;
  background: rgba(10,14,20,0.6) !important; border: 1px solid var(--border-2) !important;
  border-radius: 50% !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  z-index: 5; transition: background .2s ease, transform .15s ease;
}
.carousel-control-prev { left: 14px !important; }
.carousel-control-next { right: 14px !important; }
.carousel-control-prev:hover, .carousel-control-next:hover {
  background: var(--brand-2) !important; transform: translateY(-50%) scale(1.08);
}
.carousel-control-prev .fa, .carousel-control-next .fa {
  color: #fff; font-size: 1.15rem; background: none; width: auto; height: auto; border: none;
}
/* göstergeler */
.carousel-indicators li { width: 26px !important; height: 5px !important; border-radius: 3px !important; background: rgba(255,255,255,0.5) !important; border: none !important; }
.carousel-indicators li.active { background: var(--brand) !important; width: 34px !important; }

.broadcast { background: rgba(11,16,24,0.82) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important; }
.broadcast-link { color: var(--gold) !important; }
.jumbotron { color: var(--text) !important; }

/* ===== BOŞ DURUM UYARILARI (alarm hissini azalt) ===== */
/* sidebar'daki "... bulunamadı" mesajları kırmızı yerine nötr görünsün */
.col-sm-3 .alert_danger, .col-sm-3 .alert_warning {
  background: rgba(255,255,255,0.04) !important;
  border-color: var(--border-2) !important;
  border-left-color: var(--text-faint) !important;
  color: var(--text-dim) !important;
}
.col-sm-3 .alert_danger .alert--icon { color: var(--text-faint) !important; }

/* ===== TABLOLAR (sidebar geçmiş listeleri) ===== */
.table, .custom-table { color: var(--text) !important; }
.table thead th, .custom-table thead th {
  color: var(--text-dim) !important; border-bottom: 1px solid var(--border-2) !important;
  font-family: var(--font-head) !important; font-weight: 600 !important; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .03em;
}
.table td, .table th, .custom-table td, .custom-table th {
  border-color: var(--border) !important; vertical-align: middle !important;
}
.table-striped tbody tr:nth-of-type(odd) { background: rgba(255,255,255,0.03) !important; }
.table-striped tbody tr:hover { background: rgba(34,224,122,0.06) !important; }
.table img.rounded-circle { border: 1px solid var(--border-2); }

/* giriş kutusu (sol sidebar) */
/* giriş kutusu: buton alttan taşar; yazı dibe yapışmasın diye ferah boşluk */
.giris { position: relative; margin-bottom: 2.4rem !important; }   /* alttaki karttan açıklık */
.giris .giris-text {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 96px;
  background: var(--surface) !important; border: 1px solid var(--border) !important;
  border-radius: 0 0 var(--radius) var(--radius) !important;
  padding: 1.6rem 1.15rem 2.9rem !important;   /* yazı dikey ortalı + butona yer */
  color: var(--text-dim) !important; text-align: center; margin: 0; line-height: 1.6;
}
.giris .card-header { border-radius: var(--radius) var(--radius) 0 0 !important; }
.giris .giris-btn, a.giris-btn {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: -18px;
  width: auto !important; padding: .55rem 1.7rem !important; border-radius: 12px !important;
  background: var(--brand) !important;
  border: 1px solid var(--brand) !important;
  color: #042414 !important; font-weight: 600 !important;
  box-shadow: 0 6px 16px -10px rgba(0,0,0,.5) !important;
}
.giris .giris-btn:hover, a.giris-btn:hover {
  transform: translateX(-50%) translateY(-1px);
  background: #45dd8c !important; border-color: #45dd8c !important; color: #042414 !important;
}

/* Discord/iframe widget çerçevesi (eski widget kullanılırsa) */
.giris + iframe, iframe[src*="discord"] {
  border-radius: var(--radius) !important; border: 1px solid var(--border) !important;
  box-shadow: var(--shadow); overflow: hidden; background: var(--surface);
}

/* ===== ÖZEL DISCORD KARTI (temayla uyumlu) ===== */
.discord-card {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.1rem 1.15rem; border-radius: var(--radius);
  background: var(--surface) !important; border: 1px solid var(--border);
  box-shadow: var(--shadow); color: var(--text) !important;
  text-decoration: none !important;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.discord-card:hover { transform: translateY(-2px); border-color: rgba(88,101,242,0.5); box-shadow: var(--shadow-lg); }
.discord-card__icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; color: #fff;
  background: linear-gradient(135deg, #5865f2, #4752c4);
}
.discord-card__body { flex: 1; min-width: 0; }
.discord-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--text); }
.discord-card__desc { font-size: .85rem; color: var(--text-dim); line-height: 1.45; margin-top: .15rem; }
.discord-card__cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .9rem; border-radius: 11px; font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  background: #5865f2; color: #fff !important; white-space: nowrap;
  transition: background .16s ease, transform .12s var(--ease);
}
.discord-card:hover .discord-card__cta { background: #4f5bda; }
.discord-card__cta i { font-size: .8em; }
@media (max-width: 575.98px) {
  .discord-card { flex-wrap: wrap; }
  .discord-card__cta { width: 100%; justify-content: center; }
}

/* profil özeti aksiyon butonları (dikey, ferah) */
.profil-actions { display: flex; flex-direction: column; gap: .55rem; margin-top: 1rem; }
.profil-actions .btn { width: 100%; }

/* ===== SUNUCUYA KATIL KARTI (yan sütun, giriş kutusu yerine) ===== */
.join-card__body { padding: 1.15rem 1.15rem 1.25rem; display: flex; flex-direction: column; }
.join-label { font-size: .78rem; color: var(--text-faint); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; margin-bottom: .5rem; }
.join-ip {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--brand-soft); border: 1px solid rgba(52,210,127,0.34);
  color: #7ff0b4; font-family: ui-monospace, var(--font-body), monospace;
  font-weight: 700; font-size: 1.02rem;
  transition: background .16s ease, border-color .16s ease, transform .12s var(--ease);
}
.join-ip:hover { background: rgba(52,210,127,0.16); border-color: rgba(52,210,127,0.5); }
.join-ip:active { transform: translateY(1px); }
.join-ip i { opacity: .7; font-size: .9em; }
.join-hint { font-size: .82rem; color: var(--text-dim); line-height: 1.5; margin: .65rem 0 1rem; text-align: center; }
.join-card .btn-primary { width: 100%; }

/* ===== SWEETALERT (koyu tema — beyaz popup'taki görünmez başlık düzeltildi) ===== */
.swal2-popup {
  background: var(--surface-2) !important; color: var(--text) !important;
  border: 1px solid var(--border) !important; border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
}
.swal2-title { color: var(--text) !important; font-family: var(--font-head) !important; }
.swal2-html-container, .swal2-content { color: var(--text-dim) !important; }
.swal2-confirm.swal2-styled {
  background: var(--brand) !important; color: #042414 !important;
  border-radius: 11px !important; box-shadow: none !important; font-family: var(--font-head) !important; font-weight: 600 !important;
}
.swal2-cancel.swal2-styled {
  background: rgba(255,255,255,0.08) !important; color: var(--text) !important;
  border-radius: 11px !important; box-shadow: none !important;
}
.swal2-input, .swal2-textarea { background: rgba(255,255,255,0.05) !important; color: var(--text) !important; border: 1px solid var(--border-2) !important; }
.swal2-backdrop-show, .swal2-container { background: rgba(5,7,10,0.55) !important; }

/* ===== KART ALT BİLGİSİ (giriş/kayıt "hesabınız var mı?" vb.) ===== */
.card-footer {
  background: rgba(255,255,255,0.02) !important; color: var(--text-dim) !important;
  border-top: 1px solid var(--border) !important;
}
.text-primary, a.text-primary { color: var(--brand) !important; }
a.text-primary:hover { color: #5fe39c !important; }

/* badge'ler */
.badge { font-family: var(--font-head) !important; border-radius: 8px !important; padding: .35em .6em !important; }

/* ===== ERİŞİLEBİLİRLİK ===== */
a:focus-visible, button:focus-visible, .btn:focus-visible,
.nav-link:focus-visible, input:focus-visible, .page-link:focus-visible {
  outline: 3px solid var(--brand) !important; outline-offset: 2px !important;
}

/* ===== MODERN ANASAYFA DÜZENİ ===== */
.home-layout { margin-top: .5rem; }
.home-main > br { display: none; }
/* haberler 2 sütunlu ızgara */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.news-grid .card.haber {
  margin-bottom: 0 !important; height: 100%;
  display: flex; flex-direction: column; border-radius: var(--radius) !important;
}
.news-grid .card.haber img { height: 180px; width: 100%; object-fit: cover; }
.news-grid .card.haber .card-body { display: flex; flex-direction: column; flex: 1; }
.news-grid .card.haber .readbtn { margin-top: auto !important; align-self: flex-start; }
/* yan sütun kartları arası boşluk (anasayfa + iç sayfalar) */
.home-side .card, .home-side .giris, .home-side iframe,
.inner-side .card, .inner-side .giris, .inner-side iframe { margin-bottom: 1.25rem !important; }
.home-side iframe, .inner-side iframe { display: block; }
.inner-main { min-width: 0; }   /* geniş içerik taşmasın */
@media (max-width: 991.98px) {
  .news-grid { grid-template-columns: 1fr; gap: 1.1rem; }
}
/* haber ızgarası ile sayfalama arasına boşluk */
.news-grid + .mb-3, .pagination { margin-top: 2.5rem !important; }
.pagination { margin-bottom: 1rem !important; }

/* ===== KASA KARTLARI ===== */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.case-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-2); color: var(--text) !important;
  transition: transform .18s var(--ease, ease), border-color .18s ease, background .18s ease;
}
.case-card:hover {
  text-decoration: none; transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14); background: rgba(34,38,48,0.98);
}
.case-card-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; font-size: 1.45rem; color: var(--brand);
  background: var(--brand-soft); border: 1px solid rgba(52,210,127,0.25);
}
.case-card.is-paid .case-card-icon {
  color: var(--gold); background: rgba(245,196,81,0.10); border-color: rgba(245,196,81,0.28);
}
.case-card-body { display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.case-card-name { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--text); }
.case-card-meta { font-size: .82rem; color: var(--text-dim); }
.case-card-meta i { color: var(--brand); margin-right: .15rem; }
.case-card-foot { display: flex; align-items: center; justify-content: space-between; }
.case-price {
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  padding: .25rem .7rem; border-radius: 8px;
}
.case-price.price-free { color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(52,210,127,0.28); }
.case-price.price-paid { color: var(--gold); background: rgba(245,196,81,0.12); border: 1px solid rgba(245,196,81,0.30); }
.case-open { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--text-dim); transition: color .15s ease; }
.case-open i { margin-left: .1rem; transition: transform .18s ease; }
.case-card:hover .case-open { color: var(--brand); }
.case-card.is-paid:hover .case-open { color: var(--gold); }
.case-card:hover .case-open i { transform: translateX(3px); }
@media (max-width: 575.98px) { .case-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* ===== FORUM ===== */
.forum-crumb { color: var(--text-dim); font-size: .9rem; margin-bottom: 1rem; }
.forum-crumb a { color: var(--text-dim); } .forum-crumb a:hover { color: var(--brand); }
.forum-crumb i { margin: 0 .35rem; color: var(--text-faint); }

/* kategori satırları */
.forum-cats, .forum-topics { display: flex; flex-direction: column; }
.forum-cat-row, .forum-topic-row {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem;
  border-top: 1px solid var(--border); color: var(--text) !important; transition: background .15s ease;
}
.forum-cat-row:hover, .forum-topic-row:hover { background: rgba(255,255,255,0.03); text-decoration: none; }
.fc-icon {
  width: 48px; height: 48px; flex: 0 0 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 1.3rem; color: var(--brand);
  background: rgba(34,224,122,0.10); border: 1px solid rgba(34,224,122,0.25);
}
.fc-main, .ft-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.fc-name, .ft-title { font-family: var(--font-head); font-weight: 600; color: var(--text); }
.fc-desc, .ft-meta { font-size: .85rem; color: var(--text-dim); }
.fc-stats, .ft-stats { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; font-size: .8rem; color: var(--text-faint); white-space: nowrap; }
.forum-topic-row img { width: 36px; height: 36px; border-radius: 8px; image-rendering: pixelated; border: 1px solid var(--border-2); }

/* konu mesajları */
.forum-posts { padding: 0 !important; }
.forum-post { display: flex; gap: 1rem; padding: 1.25rem; border-top: 1px solid var(--border); }
.forum-post:first-child { border-top: none; }
.fp-author { flex: 0 0 120px; display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
.fp-author img { width: 48px; height: 48px; border-radius: 10px; image-rendering: pixelated; border: 1px solid var(--border-2); }
.fp-meta { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.fp-name { font-family: var(--font-head); font-weight: 600; color: var(--text); font-size: .9rem; }
.fp-date { font-size: .72rem; color: var(--text-faint); }
.fp-body { flex: 1; color: var(--text); line-height: 1.65; padding-top: .2rem; position: relative; }

/* rütbe rozetleri */
.forum-rank { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .68rem; padding: .12rem .45rem; border-radius: 6px; letter-spacing: .02em; vertical-align: middle; }
.forum-rank.rank-admin { background: rgba(255,77,109,0.16); color: #ff8aa0; border: 1px solid rgba(255,77,109,0.4); }
.forum-rank.rank-staff { background: rgba(34,224,122,0.16); color: #4df08c; border: 1px solid rgba(34,224,122,0.4); }

/* moderasyon butonları */
.forum-mod { display: inline-flex; gap: .35rem; }
.mod-btn { background: rgba(255,255,255,0.06); border: 1px solid var(--border-2); color: var(--text-dim); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: .8rem; transition: all .15s ease; }
.mod-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.mod-btn.mod-del:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.fp-del { position: absolute; top: 0; right: 0; }
@media (max-width: 575.98px){
  .forum-post { flex-direction: column; gap: .6rem; }
  .fp-author { flex-direction: row; flex: none; }
  .fc-stats, .ft-stats { display: none; }
}

/* ===== YASAKLILAR SAYFASI ===== */
.ban-count { font-family: var(--font-head); font-size: .8rem; background: rgba(255,77,109,0.14); color: #ff8aa0; border: 1px solid rgba(255,77,109,0.35); padding: .2rem .6rem; border-radius: 8px; }
.ban-intro { color: var(--text-dim) !important; margin-bottom: 1.25rem; }
.ban-table td { vertical-align: middle !important; }
.ban-player { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.ban-player img { width: 30px; height: 30px; border-radius: 7px; image-rendering: pixelated; border: 1px solid var(--border-2); }
.ban-reason { color: var(--text-dim) !important; }
.ban-op { color: var(--text-faint) !important; font-size: .9rem; }
.ban-chip { display: inline-block; font-family: var(--font-head); font-size: .74rem; font-weight: 600; padding: .15rem .55rem; border-radius: 7px; }
.ban-chip-ban { background: rgba(255,77,109,0.14); color: #ff8aa0; border: 1px solid rgba(255,77,109,0.35); }
.ban-chip-mute { background: rgba(255,198,61,0.14); color: #ffd470; border: 1px solid rgba(255,198,61,0.35); }
.ban-time { font-family: var(--font-head); font-size: .85rem; font-weight: 600; }
.ban-time-perma { color: #ff8aa0; }
.ban-time-temp { color: var(--text-dim); }
.ban-time-expired { color: var(--text-faint); }

/* ===== SCROLLBAR (koyu tema) ===== */
::-webkit-scrollbar { width: 12px; height: 12px; background-color: var(--bg-0) !important; border: none !important; }
::-webkit-scrollbar-thumb { background-color: #2a3344 !important; border-radius: 8px !important; border: 3px solid var(--bg-0) !important; }
::-webkit-scrollbar-thumb:hover { background-color: var(--brand-2) !important; }
* { scrollbar-color: #2a3344 var(--bg-0); }

/* ===== MOBİL / RESPONSIVE ===== */
@media (max-width: 991.98px) {
  /* 3 kolonu tek sütuna indir + ana içeriği ÖNE al */
  .pt-5 > .row { display: flex; flex-direction: column; }
  .pt-5 > .row > [class*="col-sm"] { flex: 0 0 100%; max-width: 100%; width: 100%; }
  .pt-5 > .row > .col-sm-6 { order: 1; }            /* ana içerik (slider+haber) önce */
  .pt-5 > .row > .col-sm-3:first-child { order: 2; } /* sol sidebar sonra */
  .pt-5 > .row > .col-sm-3:last-child  { order: 3; } /* sağ sidebar en son */

  /* navbar açılır menü dikey ve okunaklı */
  #navbar-tops .navbar-nav { width: 100%; gap: 2px; padding: .4rem 0; }
  #navbar-tops .nav-link { text-align: left; padding: .7rem .9rem !important; }
  #navbar-tops .dropdown-menu { position: static !important; box-shadow: none !important; background: rgba(255,255,255,0.03) !important; }
  .navbar-toggler { border: 1px solid var(--border-2) !important; border-radius: 10px !important; padding: .35rem .55rem !important; }
  /* birleşik header mobil çekmece */
  .site-brand { margin-right: 0; }
  .site-brand .brand-name { font-size: 1.05rem; }
  .nav-right {
    flex-direction: column; align-items: stretch; width: 100%;
    gap: .5rem; margin-top: .5rem; padding-top: .7rem; border-top: 1px solid var(--border);
  }
  .nav-right .server-chip, .nav-right .ip-pill { justify-content: center; }
  .navbar-account { width: 100%; flex-direction: column; gap: .45rem; }
  .navbar-account .nav-link, .nav-cta { text-align: center; justify-content: center; }
  .nav-account-toggle { justify-content: center; }
  /* hamburger'ın hep görünür/dokunulabilir kalması için marka ve IP pilini sıkıştır */
  .site-header-wrap.ptl-5.ptr-5 { margin-left: .4rem !important; margin-right: .4rem !important; padding-left: 0 !important; padding-right: 0 !important; }
  .site-header { padding-left: .55rem !important; padding-right: .55rem !important; }
  .site-header .container-fluid { position: relative; width: 100% !important; max-width: 100% !important; margin: 0 !important; padding-left: 0 !important; padding-right: 0 !important; flex-wrap: nowrap; }
  /* marka akışta solda; actions akıştan çıkıp sağa sabit (overflow ile asla kırpılmaz) */
  .site-brand { flex: 0 1 auto; min-width: 0; max-width: calc(100% - 115px); overflow: hidden; }
  .site-brand img { height: 30px; max-width: 130px; object-fit: contain; }
  .header-mobile-actions {
    position: absolute; right: .15rem; top: 50%; transform: translateY(-50%);
    gap: .4rem; margin: 0; z-index: 6;
  }
  .navbar-toggler { flex: 0 0 auto; }
}
@media (max-width: 575.98px) {
  .header-mobile-actions .ip-pill-sm .ip-text { display: none; }  /* dar ekranda IP ikon-only */
  .header-mobile-actions .ip-pill-sm { padding: .42rem .55rem; }
  .site-brand .brand-name { display: none; }   /* logo zaten kelime-marka */
}
@media (max-width: 767.98px) {
  p, .newsTexts { font-size: 15px !important; }
  .newsTitles { font-size: 1.15rem !important; }
  .carousel-inner, .carousel-item img { border-radius: var(--radius) !important; }
  .fb-row, .fbtm-row { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .footer-title::after { left: 50%; transform: translateX(-50%); }
  .btn { width: auto; }
}
@media (max-width: 575.98px) {
  .ptl-5, .ptr-5 { margin-left: .4rem !important; margin-right: .4rem !important; padding-left: .4rem !important; padding-right: .4rem !important; }
  .card, .haber, .custom-card, .market-urun-box { border-radius: var(--radius-sm) !important; }
  .hdr-name, .fb-name { font-size: 1.3rem; }
  /* TELEFON YATAY TAŞMA FIX: .row negatif gutter'ları dar wrapper padding'ini aşıyordu.
     Bu breakpoint'te row gutter'larını ve kolon padding'lerini nötrle (kartlar wrapper'a hizalı). */
  .home-layout, .inner-layout { margin-left: 0 !important; margin-right: 0 !important; }
  .home-layout > [class*="col-"], .inner-layout > [class*="col-"] { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ===== $10K CİLA (POV / hiyerarşi / görsel / mobil) ===== */

/* #5 Görsel niyeti: kart görselinde yumuşak zoom + tutarlı çerçeve */
.news-grid .card.haber { overflow: hidden; }
.news-grid .card.haber img { transition: transform .55s var(--ease); will-change: transform; }
.news-grid .card.haber:hover img { transform: scale(1.06); }

/* #1 Duruş: haber kategorisi "chip" + başlık karakteri */
.newsCategorys {
  display: flex !important; align-items: center; gap: .5rem;
  font-size: .82rem !important; color: var(--text-faint) !important; margin-bottom: .7rem !important;
}
.newsCategorys i { color: var(--text-faint); font-size: .9em; }
.news-cat-chip {
  display: inline-flex; align-items: center; line-height: 1;
  font-family: var(--font-head) !important; font-weight: 600;
  color: var(--brand) !important;
  background: var(--brand-soft); border: 1px solid rgba(52,210,127,0.30);
  padding: .26rem .65rem; border-radius: 999px; font-size: .72rem;
}
.newsTitles { font-size: 1.25rem !important; letter-spacing: -0.015em; line-height: 1.25; }
.card.haber .card-body { padding: 1.25rem 1.35rem 1.4rem !important; }
.card.haber .card-body br { display: none; }   /* gereksiz <br> boşluğu */

/* #4 Hiyerarşi: nefes payı */
.home-main .carousel { margin-bottom: .5rem; }
.news-grid { gap: 1.6rem; margin-top: 1.75rem; }
.home-side .card-header, .home-side .giris .card-header { font-size: 1rem; padding: 1rem 1.1rem !important; }

/* #7 Mobil: tasarlanmış, küçültülmüş değil */
@media (max-width: 991.98px) {
  iframe[src*="discord"] { height: 340px !important; }          /* dev iframe'i kıs */
  #navbar-tops .nav-link { padding: .85rem 1rem !important; min-height: 46px; }  /* dokunma alanı */
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .newsTitles { font-size: 1.2rem !important; }
  .header-st-content { gap: 1rem; }
}
@media (max-width: 575.98px) {
  .news-grid { gap: 1.1rem; margin-top: 1.25rem; }
  .carousel-caption h5 { font-size: 1.1rem !important; }
}

/* ===== HAREKET AZALTMA ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html::before, html::after { animation: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .card:hover, .haber:hover, .btn:hover, .market-urun-box:hover { transform: none !important; }
  .btn:hover::before { left: -120%; }
}

/* ===== HERO (slider) ===== */
.hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); margin-bottom: .75rem; }
.hero .carousel-inner { border-radius: 0 !important; border: none !important; box-shadow: none !important; }
.hero .carousel-item::after { display: none !important; }
.hero-slide { position: relative; height: 400px; }
/* style.css .carousel-item img max-height:20rem + brightness(70%) hero'yu kırpıp karartıyordu — ez */
.hero .hero-bg { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover; filter: none !important; border-radius: 0 !important; }
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,10,14,0.86) 0%, rgba(8,10,14,0.42) 52%, rgba(8,10,14,0.04) 100%),
    linear-gradient(0deg, rgba(8,10,14,0.92) 0%, rgba(8,10,14,0.30) 38%, rgba(8,10,14,0) 64%);
}
/* içerik alta sabit (modern caption düzeni) — ortada asılı kalıp ölü boşluk bırakmaz */
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: .85rem; max-width: 620px; padding: 2.5rem 3rem 2.6rem; }
.hero-title { font-family: var(--font-head) !important; font-weight: 700 !important; font-size: 2.4rem !important; line-height: 1.06 !important; letter-spacing: -0.02em; color: #fff !important; margin: 0 !important; text-shadow: 0 2px 20px rgba(0,0,0,0.45); }
.hero-sub { font-size: 1.05rem !important; color: rgba(255,255,255,0.88) !important; margin: 0 !important; max-width: 48ch; line-height: 1.6 !important; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: .3rem; }
.hero-cta { display: inline-flex; align-items: center; gap: .5rem; background: var(--brand); color: #07120c !important; font-family: var(--font-head); font-weight: 600; padding: .78rem 1.45rem; border-radius: var(--radius-sm); transition: transform .15s ease, background .15s ease; }
.hero-cta:hover { background: var(--brand-2); transform: translateY(-2px); color: #07120c !important; text-decoration: none; }
.hero-cta i { transition: transform .15s ease; }
.hero-cta:hover i { transform: translateX(3px); }
.hero-actions .ip-pill, .hero-actions .server-chip { background: rgba(255,255,255,0.10) !important; border: 1px solid rgba(255,255,255,0.20) !important; color: #fff !important; }
.hero-actions .ip-pill .ip-text { color: #fff !important; }
.hero-empty { height: 380px; background: radial-gradient(120% 150% at 0% 0%, rgba(34,210,127,0.20), transparent 55%), linear-gradient(180deg, var(--bg-1), var(--bg-0)); }
.hero .carousel-indicators { justify-content: flex-end !important; left: auto !important; right: 0 !important; padding-right: 1.6rem; margin-bottom: 1.1rem; z-index: 3; }
/* sol ok metnin üstüne biniyordu — noktalar + otomatik geçiş yeterli, okları gizle */
.hero-arrow { display: none !important; }
.hero { margin-bottom: 1.1rem; }
@media (max-width: 767.98px) {
  .hero-slide { height: 380px; }
  .hero-empty { height: 320px; }
  .hero-content { padding: 1.6rem 1.4rem; max-width: 100%; }
  .hero-title { font-size: 1.85rem !important; }
  .hero-sub { font-size: .98rem !important; }
}

/* ===== HOME: İSTATİSTİK + SUNUCULAR ===== */
.home-overview {
  position: relative;
  overflow: hidden;
  margin: 1.45rem 0 2rem;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018) 45%, rgba(52,210,127,0.055)),
    rgba(12,14,19,0.78);
  box-shadow: var(--shadow);
}
.home-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(52,210,127,0.16), transparent 28%, transparent 72%, rgba(76,198,232,0.08));
  opacity: .42;
}
.home-overview > * { position: relative; z-index: 1; }
.home-overview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .25rem;
  color: var(--brand);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.home-kicker::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 16px var(--brand-glow);
}
.home-overview h2 {
  margin: 0;
  color: var(--text) !important;
  font-size: 1.45rem;
  line-height: 1.1;
}
.overview-action {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 38px;
  padding: .48rem .8rem;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: var(--text) !important;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
}
.overview-action:hover { background: rgba(255,255,255,0.09); color: #fff !important; }
.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin: 0 0 1rem;
}
.stat-card {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: .85rem;
  padding: .95rem;
  background: rgba(18,21,28,0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .18s var(--ease), border-color .18s ease, background .18s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  background: rgba(22,26,34,0.94);
}
.stat-live::after {
  content: "";
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 18px var(--brand-glow);
}
.stat-ico {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(52,210,127,0.13);
  color: #74e7a7;
  border: 1px solid rgba(52,210,127,0.28);
  font-size: 1.1rem;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--text);
  line-height: 1.05;
}
.stat-lbl { display: block; margin-top: .2rem; font-size: .78rem; color: var(--text-dim); white-space: nowrap; }
.server-panel {
  padding: .95rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  background: rgba(6,8,12,0.28);
}
.home-section-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 .85rem; }
.hs-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--text); }
.hs-link { font-family: var(--font-head); font-size: .82rem; color: var(--text-dim); }
.hs-link:hover { color: var(--brand); }
.servers-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: .9rem;
}
.server-card {
  position: relative;
  min-height: 142px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: #0b0e14;
  box-shadow: 0 14px 28px -24px rgba(0,0,0,0.8);
}
.server-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.server-card:hover .server-card-bg { transform: scale(1.07); filter: saturate(1.12) brightness(1.06); }
.server-card-ov {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,10,14,0.12), rgba(8,10,14,0.64) 48%, rgba(8,10,14,0.94)),
    linear-gradient(90deg, rgba(52,210,127,0.22), transparent 48%);
}
.server-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: .8rem;
  padding: 1rem;
}
.server-card-name {
  min-width: 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}
.server-card-meta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 600;
}
.server-card-meta i { transition: transform .18s var(--ease); }
.server-card:hover .server-card-meta i { transform: translateX(3px); }
@media (max-width: 991.98px) {
  .home-stats { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .home-overview { padding: .9rem; border-radius: 18px; }
  .home-overview-top { align-items: stretch; flex-direction: column; }
  .overview-action { justify-content: center; }
  .server-panel { padding: .75rem; }
  .servers-strip { grid-template-columns: 1fr; }
  .server-card { min-height: 132px; }
}

/* ===== BROADCAST TICKER (marquee yerine) ===== */
.broadcast { overflow: hidden; padding: .55rem 0; margin-bottom: .5rem; }
.ticker { overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 2.5rem; padding-left: 1.5rem; animation: ticker 30s linear infinite; will-change: transform; }
.ticker-track:hover { animation-play-state: paused; }
.broadcast-link { color: var(--gold) !important; font-size: .9rem; white-space: nowrap; }
.broadcast-link i { margin-right: .3rem; opacity: .8; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; padding-left: 1rem; } }

/* ===== 2026 ARAYUZ GENISLETME: IC SAYFALAR ===== */
.home-main > .card,
.inner-main > .card,
.home-main > .custom-card,
.inner-main > .custom-card {
  overflow: hidden;
}
.card-body {
  padding: 1.2rem !important;
}
.card-footer {
  display: flow-root;
  padding: 1rem 1.15rem !important;
}
.card-footer .btn[style*="float"] {
  float: none !important;
}
.card-footer form {
  margin: 0;
  display: flex;
  justify-content: flex-end;
}
.card-footer > .btn {
  float: right;
}
.card-header > .row {
  flex: 1;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.card-header .col,
.card-header .col-auto {
  min-width: 0;
}
.card-header .col-auto {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}
.card-header .col-auto .badge {
  margin-left: 0 !important;
}
.jumbotron {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: rgba(255,255,255,0.035) !important;
  padding: 1.15rem !important;
  margin-bottom: 0 !important;
}
.ttl {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 1.1rem 0 .8rem !important;
  color: var(--text) !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  text-transform: none !important;
}
.ttl::before,
.ttl::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
}
.ttl span {
  background: transparent !important;
  padding: 0 !important;
}
.ttl.bck::before {
  position: static !important;
  border: 0 !important;
  width: auto !important;
  margin: 0 !important;
}
.form-group {
  margin-bottom: .95rem !important;
}
.form-group[style*="width: 100%"] {
  display: grid;
  grid-template-columns: minmax(120px, .45fr) 1fr;
  align-items: center;
  gap: .8rem;
  padding: .72rem .85rem;
  margin-bottom: .65rem !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.025);
}
.form-group[style*="width: 100%"] label {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.form-group[style*="width: 100%"] label:first-child {
  color: var(--text-dim) !important;
  font-size: .82rem;
  font-weight: 700 !important;
}
.form-control[readonly],
input[readonly] {
  background: rgba(255,255,255,0.025) !important;
  color: var(--text-dim) !important;
}
select.form-control {
  min-height: 44px;
}
textarea.form-control {
  min-height: 132px;
  resize: vertical;
}

/* Magaza liste ve detay kartlari */
.market-urun-box {
  min-height: 100%;
  border-radius: var(--radius) !important;
  padding: 1rem !important;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    var(--surface) !important;
  transition: transform .22s var(--ease), border-color .22s ease, background .22s ease, box-shadow .22s ease !important;
}
.market-urun-box:hover {
  transform: translateY(-4px);
  border-color: rgba(52,210,127,0.34) !important;
  background:
    linear-gradient(180deg, rgba(52,210,127,0.075), rgba(255,255,255,0.02)),
    var(--surface-2) !important;
  box-shadow: var(--shadow-lg) !important;
}
.market-urun-box.category:hover {
  background:
    linear-gradient(180deg, rgba(76,198,232,0.08), rgba(255,255,255,0.02)),
    var(--surface-2) !important;
}
.market-urun-img {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.market-urun-title h6 {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem !important;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.market-urun-price {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  background: rgba(6,8,12,0.48) !important;
  color: var(--brand) !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  margin-bottom: .85rem !important;
}
.market-urun-price del,
.market-urun-price .text-secondary {
  color: var(--text-faint) !important;
}
.market-urun-state {
  clip-path: none !important;
  width: 38px !important;
  height: 38px !important;
  top: .75rem !important;
  right: .75rem !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px;
  background: rgba(245,196,81,0.18) !important;
  border: 1px solid rgba(245,196,81,0.34);
}
.market-urun-state i {
  color: var(--gold) !important;
}
.img-card-wrapper {
  margin-bottom: 0 !important;
}
.img-container {
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  background: rgba(255,255,255,0.025);
  box-shadow: var(--shadow);
}
.img-card::before {
  background: linear-gradient(180deg, transparent 24%, rgba(8,10,14,0.9) 100%) !important;
}

/* Tablolar ve liste sayfalari */
.table-responsive {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(6,8,12,0.24);
  overflow: hidden;
}
.table {
  margin-bottom: 0 !important;
}
.table tbody tr {
  transition: background .15s ease;
}
.table-hover tbody tr:hover {
  color: var(--text) !important;
  background: rgba(52,210,127,0.07) !important;
}
.table td,
.table th {
  padding: .85rem .9rem !important;
}
.badge-primary,
.badge-success,
.badge-warning,
.badge-danger,
.badge-info {
  border: 1px solid transparent;
  font-weight: 700 !important;
}
.badge-primary { color: #9fe9bd !important; background: rgba(52,210,127,0.13) !important; border-color: rgba(52,210,127,0.3); }
.badge-success { color: #9fe9bd !important; background: rgba(52,210,127,0.13) !important; border-color: rgba(52,210,127,0.3); }
.badge-warning { color: #ffe3a1 !important; background: rgba(245,196,81,0.14) !important; border-color: rgba(245,196,81,0.32); }
.badge-danger { color: #ffb1bf !important; background: rgba(241,101,127,0.14) !important; border-color: rgba(241,101,127,0.32); }
.badge-info { color: #a9eafd !important; background: rgba(76,198,232,0.14) !important; border-color: rgba(76,198,232,0.32); }
.destek-gorunum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--border-2);
}
.destek-gorunum a {
  margin: 0 !important;
  color: var(--text) !important;
}

/* Destek mesajlari */
.message {
  display: flex;
  gap: .85rem;
  padding: 1rem;
  margin-bottom: .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.025);
}
.message-img img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  image-rendering: pixelated;
  border: 1px solid var(--border-2);
}
.message-content {
  min-width: 0;
  flex: 1;
}
.message-username {
  color: var(--text) !important;
  font-family: var(--font-head);
  font-weight: 700 !important;
  margin-bottom: .35rem;
}
.message-body {
  color: var(--text-dim) !important;
}
.message-body p {
  margin-bottom: .4rem !important;
}
#messagesBox.card-body {
  padding-bottom: 0 !important;
}

/* Blog, profil, kupon ve kredi gibi icerik sayfalari */
.card.mb-3 > .card-img-top,
.card > .card-img-top {
  max-height: 320px;
  object-fit: cover;
}
.article,
.custom-card {
  overflow: hidden;
}
.custom-card__body {
  padding: 1.1rem !important;
}
.article {
  padding: 1rem;
}
.article__title {
  margin-bottom: .6rem;
}
.rules-page .card-body,
.ban-page .card-body {
  line-height: 1.75;
}

@media (max-width: 767.98px) {
  .card-body { padding: 1rem !important; }
  .form-group[style*="width: 100%"] {
    grid-template-columns: 1fr;
    gap: .28rem;
  }
  .card-footer form,
  .card-footer {
    display: flex;
    flex-direction: column;
    gap: .6rem;
  }
  .card-footer > .btn,
  .card-footer .btn {
    float: none !important;
    width: 100% !important;
  }
  .message {
    padding: .85rem;
  }
  .table td,
  .table th {
    padding: .72rem .75rem !important;
  }
}
