/* [BIRLESIM143 26.11] Xigenon -> Ares birlesim rehberi: klasik ust menude kirmizi, parlayan oge + popup + /birlesim sayfasi.
   Kullanici 26.11: "uste bi kategori olarak Kirmizi olsun Parlasin Birlesim Rehberi olsun".  Yalniz bu dosya + klasik kabugun 3 satiri. */

@keyframes birlesim-parla {
  0%, 100% { color: #ff3030; text-shadow: 0 0 3px #ff1a1a, 0 0 8px #b00000; }
  50% { color: #ff7a7a; text-shadow: 0 0 6px #ff4d4d, 0 0 16px #ff0000, 0 0 28px #ff0000; }
}
@keyframes birlesim-cerceve {
  0%, 100% { box-shadow: 0 0 4px rgba(255, 0, 0, .55), inset 0 0 6px rgba(255, 0, 0, .25); border-color: #a30d0d; }
  50% { box-shadow: 0 0 12px rgba(255, 30, 30, .95), inset 0 0 10px rgba(255, 0, 0, .45); border-color: #ff3b3b; }
}

/* ------------------------------------------------------------ menu ogesi (resimli menunun basinda; yazisi gorunur) */
.klasik .m--birlesim { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100px; height: 35px; margin: 0 2px 0 0;
  border: 1px solid #a30d0d; border-radius: 4px; background: linear-gradient(180deg, rgba(120, 0, 0, .55), rgba(40, 0, 0, .75));
  animation: birlesim-cerceve 1.6s ease-in-out infinite; }
.klasik .m--birlesim > .k-gizli { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
  color: #ff3030; font: 900 13px/15px "Cinzel", "Times New Roman", serif; letter-spacing: 0; text-align: center; text-transform: uppercase;
  animation: birlesim-parla 1.6s ease-in-out infinite; }
.klasik a:hover > .m--birlesim, .klasik a:focus-visible > .m--birlesim { background: linear-gradient(180deg, rgba(170, 0, 0, .75), rgba(70, 0, 0, .85)); }
.klasik a:hover > .m--birlesim > .k-gizli, .klasik a:focus-visible > .m--birlesim > .k-gizli { color: #fff; }
.klasik nav.dropdown ul.a--birlesim { width: 102px; padding-right: 6px; box-sizing: border-box; }
.klasik nav.dropdown ul.a--birlesim a { color: #ff6a6a; }
.klasik nav.dropdown ul.a--birlesim a:hover { color: #fff; }
@media (max-width: 1099px) {
  .klasik .m--birlesim { width: auto; min-width: 100px; padding: 0 8px; margin: 0; }
  .klasik .m--birlesim > .k-gizli { font-size: 14px; }
}

/* ------------------------------------------------------------ ortak govde (popup + sayfa) */
.birlesim-tarih { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 10px 0 6px; padding: 7px 12px;
  border: 1px solid #b31212; border-radius: 4px; background: rgba(150, 0, 0, .35); color: #fff; font: 700 15px/1.3 Tahoma, Geneva, sans-serif; }
.birlesim-tarih span { color: #ff9a9a; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.birlesim-icerik { color: #d9e2ec; font: 13px/1.6 Tahoma, Geneva, sans-serif; }
.birlesim-icerik .birlesim-giris { margin: 8px 0 4px; }
.birlesim-icerik h3 { margin: 18px 0 6px; padding: 0 0 4px; border-bottom: 1px solid #2a3b52; color: #ffb105; font: 700 15px/1.3 "Cinzel", "Times New Roman", serif; }
.birlesim-icerik ul { margin: 0; padding: 0 0 0 20px; list-style: disc; }
.birlesim-icerik li { margin: 5px 0; }
.birlesim-icerik b { color: #fff; }
.birlesim-bolum--gelenler h3, .birlesim-bolum--kalanlar h3 { color: #7fdc8a; }
.birlesim-bolum--gecmeyenler h3 { color: #ff6a6a; }
.birlesim-bolum--yapin { margin-top: 16px; padding: 2px 14px 10px; border: 1px solid #8a6a1c; border-radius: 4px; background: rgba(60, 40, 0, .35); }
.birlesim-bolum--yapin h3 { border-bottom-color: #5a4512; }
.birlesim-not { margin: 16px 0 0; color: #8fa3b8; font-size: 12px; }

/* ------------------------------------------------------------ popup */
.birlesim-perde[hidden] { display: none !important; }
.birlesim-perde { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box;
  background: rgba(0, 0, 0, .8); }
.birlesim-pencere { position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  overscroll-behavior: contain; padding: 22px 26px 18px; box-sizing: border-box; outline: none;
  background: linear-gradient(180deg, #1c0606 0%, #0a0f18 150px, #05080d 100%); border: 1px solid #b31212; border-radius: 6px;
  box-shadow: 0 0 0 1px #000, 0 0 26px rgba(255, 0, 0, .45), 0 18px 40px rgba(0, 0, 0, .9); }
.birlesim-kapat { position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: #ff8a8a;
  font: 28px/40px Arial, sans-serif; cursor: pointer; }
.birlesim-kapat:hover, .birlesim-kapat:focus-visible { color: #fff; }
.birlesim-ust { margin: 0 0 2px; color: #ff8a8a; font: 700 11px/1.4 Tahoma, Geneva, sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.birlesim-baslik { margin: 0; padding-right: 36px; font: 900 28px/1.15 "Cinzel", "Times New Roman", serif; animation: birlesim-parla 1.6s ease-in-out infinite; }
.birlesim-dugmeler { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.birlesim-dugme { display: inline-block; padding: 10px 18px; border: 1px solid #c09430; border-radius: 4px; background: linear-gradient(180deg, #7a4a0a, #3a2205);
  color: #ffe2a0; font: 700 14px/1.2 Tahoma, Geneva, sans-serif; text-decoration: none; cursor: pointer; }
.birlesim-dugme:hover, .birlesim-dugme:focus-visible { color: #fff; border-color: #ffd27a; }
.birlesim-dugme--koyu { border-color: #445566; background: #1b2633; color: #d0dae5; }
html.birlesim-acik, html.birlesim-acik body { overflow: hidden; }
@media (max-width: 600px) {
  .birlesim-perde { align-items: stretch; padding: 0; }
  .birlesim-pencere { max-width: none; max-height: none; height: 100%; border-radius: 0; padding: 18px 16px 16px; }
  .birlesim-baslik { font-size: 23px; }
  .birlesim-dugmeler { justify-content: stretch; }
  .birlesim-dugme { flex: 1 1 140px; text-align: center; }
}

/* ------------------------------------------------------------ /birlesim sayfasi (klasik orta alan) */
.klasik .birlesim-sayfa { padding: 2px 4px 8px; }
.klasik .birlesim-sayfa .birlesim-icerik h3 { scroll-margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .klasik .m--birlesim, .klasik .m--birlesim > .k-gizli, .birlesim-baslik { animation: none; }
  .klasik .m--birlesim > .k-gizli, .birlesim-baslik { color: #ff3b3b; text-shadow: 0 0 6px #ff0000; }
}
