/* [BIRLESIM143 26.11] crossmyko.com: "Birlesim Rehberi" ust menu ogesi (kirmizi, parlayan) + popup.  Tam ve guncel liste
   panel.crossmyko.com/birlesim'de (kullanici 26.11 "crossmyko.com a da" -> "Evet, ekle").  Sayfalara yalniz bu dosya + birlesim.js + menu ogesi. */

@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; }
}

/* ------------------------------------------------------------ ust menu + mobil menu ogesi */
.menu > li.birlesim-oge > a.birlesim-menu, .nav .menu > li.birlesim-oge > a.birlesim-menu {
  color: #ff3030 !important; border: 1px solid #a30d0d; background: linear-gradient(180deg, rgba(120, 0, 0, .55), rgba(40, 0, 0, .75));
  animation: birlesim-parla 1.6s ease-in-out infinite, birlesim-cerceve 1.6s ease-in-out infinite;
}
.menu > li.birlesim-oge > a.birlesim-menu:hover, .nav .menu > li.birlesim-oge > a.birlesim-menu:hover,
.menu > li.birlesim-oge > a.birlesim-menu:focus-visible { color: #fff !important; background: linear-gradient(180deg, rgba(170, 0, 0, .75), rgba(70, 0, 0, .85)); }
.mnav__menu > li.birlesim-oge > a.birlesim-menu { color: #ff3030; animation: birlesim-parla 1.6s ease-in-out infinite; }

/* ------------------------------------------------------------ popup */
.birlesim-perde[hidden] { display: none !important; }
.birlesim-perde { position: fixed; inset: 0; z-index: 2147483000; 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: 620px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  overscroll-behavior: contain; padding: 22px 24px 18px; box-sizing: border-box; outline: none; text-align: left;
  background: linear-gradient(180deg, #1c0606 0%, #0a0f18 150px, #05080d 100%); border: 1px solid #b31212; border-radius: 8px;
  box-shadow: 0 0 0 1px #000, 0 0 26px rgba(255, 0, 0, .45), 0 18px 40px rgba(0, 0, 0, .9);
  color: #d9e2ec; font: 14px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.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-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.birlesim-baslik { margin: 0; padding-right: 36px; font: 900 28px/1.15 "Cinzel", Georgia, "Times New Roman", serif; letter-spacing: .5px;
  animation: birlesim-parla 1.6s ease-in-out infinite; }
.birlesim-tarih { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 10px 0 8px; padding: 7px 12px;
  border: 1px solid #b31212; border-radius: 4px; background: rgba(150, 0, 0, .35); color: #fff; font-weight: 700; font-size: 15px; }
.birlesim-tarih span { color: #ff9a9a; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.birlesim-giris { margin: 6px 0 4px; }
.birlesim-liste { margin: 6px 0 0; padding: 0 0 0 20px; list-style: disc; }
.birlesim-liste li { margin: 6px 0; }
.birlesim-not { margin: 14px 0 0; color: #8fa3b8; font-size: 12px; }
.birlesim-dugmeler { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.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 system-ui, -apple-system, "Segoe UI", Roboto, Arial, 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-dugme { flex: 1 1 140px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .menu > li.birlesim-oge > a.birlesim-menu, .nav .menu > li.birlesim-oge > a.birlesim-menu, .mnav__menu > li.birlesim-oge > a.birlesim-menu,
  .birlesim-baslik { animation: none; text-shadow: 0 0 6px #ff0000; }
}
