/* Duhan2 Wiki — sade boss kompozisyonu */
html { min-height: 100%; background: #071019; }
body { min-height: 100vh; }

body.wiki-home {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 2%, rgba(67, 108, 146, .22), transparent 28%),
    radial-gradient(circle at 18% 42%, rgba(42, 91, 126, .14), transparent 25%),
    radial-gradient(circle at 84% 38%, rgba(118, 84, 42, .12), transparent 24%),
    linear-gradient(180deg, #0b1621 0%, #08131d 42%, #071019 100%) !important;
  background-attachment: fixed !important;
}

body.wiki-home::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(90deg,
    rgba(3,7,11,.68) 0%,
    rgba(3,7,11,.08) 18%,
    rgba(3,7,11,0) 31%,
    rgba(3,7,11,0) 69%,
    rgba(3,7,11,.08) 82%,
    rgba(3,7,11,.68) 100%);
}

.boss-background {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.boss-figure {
  position: absolute;
  opacity: .98;
}

.boss-figure img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
  filter: brightness(1.15) contrast(1.12) saturate(1.10) drop-shadow(0 24px 44px rgba(0,0,0,.58));
}

/* Örnekteki gibi: solda dikey koruyucu figür */
.boss-left {
  width: clamp(500px, 31vw, 680px);
  left: max(-170px, calc(50% - 1100px));
  bottom: -55px;
}

/* Sağda gövdesi kenardan giren tehditkâr figür */
.boss-right {
  width: clamp(490px, 30vw, 660px);
  right: max(-160px, calc(50% - 1100px));
  bottom: -35px;
}

.right-eye-glow {
  position: absolute;
  width: 22px;
  height: 22px;
  left: 51%;
  top: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,208,119,.92), rgba(255,208,119,.34) 40%, transparent 75%);
  box-shadow: 0 0 12px rgba(255,208,119,.45), 0 0 26px rgba(178,118,42,.25);
  mix-blend-mode: screen;
  animation: eyePulse 3.4s ease-in-out infinite;
}

@keyframes eyePulse {
  0%,100% { opacity: .25; transform: scale(.8); }
  50% { opacity: .8; transform: scale(1.12); }
}

.logo {
  margin-top: 24px;
  width: 560px;
  max-width: 86%;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.62));
}

section.duhan2_UstMenu,
.menuFixed {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, rgba(12,21,30,.96), rgba(8,14,21,.94)) !important;
  border-bottom: 1px solid rgba(111,146,174,.20) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

.menuFixed ul { border-bottom-color: rgba(111,146,174,.20); }
li.duhan2_siteyeGit a {
  background: rgba(12,20,29,.88);
  border-bottom-color: rgba(176,137,76,.48);
}

.duhan2_searchBox,
section.main,
footer.footer,
#top {
  position: relative;
  z-index: 2;
}

body.wiki-home .duhan2_searchBox { height: 230px; }

input.duhan2_SearchInput {
  background: linear-gradient(180deg, rgba(16,28,39,.90), rgba(10,18,26,.90));
  color: #e8ddc8;
  border: 1px solid rgba(105,143,173,.30);
  box-shadow: 0 14px 30px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.03);
}

input.duhan2_SearchInput::placeholder { color: rgba(232,221,200,.66); }

section.main {
  min-height: 650px;
  padding-bottom: 38px;
  background: linear-gradient(180deg,
    rgba(7,14,21,0) 0,
    rgba(7,14,21,.10) 90px,
    rgba(7,14,21,.26) 220px,
    rgba(7,14,21,.58) 100%);
}

.duhan2_Kutu {
  background: linear-gradient(180deg, rgba(17,27,37,.86), rgba(10,16,23,.91));
  border: 1px solid rgba(112,143,167,.16);
  box-shadow: 0 16px 34px -16px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.025);
}

.duhan2_Kutu_Baslik {
  background: linear-gradient(90deg, rgba(80,108,133,.17), transparent 58%);
}

.duhan2_Kutu_Baslik h3 { color: #bcc5cd; }

footer.footer {
  min-height: 360px;
  margin: 0;
  color: #bdc6ce;
  border-top: 1px solid rgba(112,143,167,.14);
  background: linear-gradient(180deg, rgba(8,14,21,.14), rgba(6,10,16,.90)) !important;
}

.duhan2_footer-info {
  top: auto;
  bottom: 24px;
  color: rgba(255,255,255,.86);
}

.duhan2_footer-info .duhan2_f-menu {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(176,137,76,.20);
  background: rgba(10,16,23,.45);
}

@media (max-width: 1500px) {
  .boss-left { width: clamp(410px, 28vw, 560px); left: -145px; }
  .boss-right { width: clamp(400px, 27vw, 540px); right: -135px; }
}

@media (max-width: 1150px) {
  .boss-left { width: 320px; left: -110px; }
  .boss-right { width: 310px; right: -105px; }
}

@media (max-width: 991px) {
  .boss-background { display: none; }
  body.wiki-home .duhan2_searchBox { height: 190px; }
}

/* --- scale up bosses to fill upper section more strongly --- */
.boss-left {
  width: clamp(640px, 39vw, 900px) !important;
  left: max(-210px, calc(50% - 1190px)) !important;
  bottom: -20px !important;
}

.boss-right {
  width: clamp(620px, 38vw, 900px) !important;
  right: max(-230px, calc(50% - 1210px)) !important;
  bottom: auto !important;
  top: -10px !important;
}

.boss-left img {
  transform: scale(1.06);
  transform-origin: left bottom;
}

.boss-right img {
  transform: scale(1.14);
  transform-origin: right top;
}

.right-eye-glow {
  width: 26px !important;
  height: 26px !important;
  left: 50.5% !important;
  top: 20% !important;
}

body.wiki-home .duhan2_searchBox {
  height: 245px;
}

section.main {
  background: linear-gradient(180deg,
    rgba(7,14,21,0) 0,
    rgba(7,14,21,.08) 70px,
    rgba(7,14,21,.22) 200px,
    rgba(7,14,21,.50) 100%) !important;
}

@media (max-width: 1500px) {
  .boss-left {
    width: clamp(520px, 35vw, 720px) !important;
    left: -180px !important;
    bottom: -10px !important;
  }

  .boss-right {
    width: clamp(500px, 34vw, 700px) !important;
    right: -190px !important;
    top: 8px !important;
  }
}

@media (max-width: 1150px) {
  .boss-left {
    width: 400px !important;
    left: -135px !important;
    bottom: 0 !important;
  }

  .boss-right {
    width: 390px !important;
    right: -145px !important;
    top: 30px !important;
  }
}

/* --- background video layer --- */
.video-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.video-background__media {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: .28;
  filter: saturate(1.05) brightness(.58) contrast(1.02);
}

.video-background__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(52, 93, 133, .16), rgba(52, 93, 133, 0) 24%),
    linear-gradient(90deg,
      rgba(5,9,14,.78) 0%,
      rgba(5,9,14,.18) 16%,
      rgba(5,9,14,.06) 30%,
      rgba(5,9,14,.06) 70%,
      rgba(5,9,14,.18) 84%,
      rgba(5,9,14,.78) 100%),
    linear-gradient(180deg,
      rgba(5,9,14,.40) 0%,
      rgba(5,9,14,.20) 18%,
      rgba(5,9,14,.40) 62%,
      rgba(5,9,14,.72) 100%);
}

/* keep content above video */
body.wiki-home::after {
  z-index: 1;
}

.boss-background {
  z-index: 2;
}

.duhan2_searchBox,
section.main,
footer.footer,
#top,
section.duhan2_UstMenu,
.menuFixed {
  z-index: 3;
}

/* left boss slightly higher */
.boss-left {
  bottom: 22px !important;
}

@media (max-width: 1500px) {
  .boss-left {
    bottom: 12px !important;
  }
}

@media (max-width: 1150px) {
  .boss-left {
    bottom: 8px !important;
  }
}

@media (max-width: 991px) {
  .video-background {
    display: none;
  }
}

/* --- restore middle content lower position --- */
body.wiki-home .duhan2_searchBox {
  height: 320px !important;
}

@media (max-width: 1500px) {
  body.wiki-home .duhan2_searchBox {
    height: 285px !important;
  }
}

@media (max-width: 1150px) {
  body.wiki-home .duhan2_searchBox {
    height: 245px !important;
  }
}

@media (max-width: 991px) {
  body.wiki-home .duhan2_searchBox {
    height: 190px !important;
  }
}

/* --- move center content significantly lower --- */
body.wiki-home .duhan2_searchBox {
  height: 430px !important;
}

@media (max-width: 1500px) {
  body.wiki-home .duhan2_searchBox {
    height: 385px !important;
  }
}

@media (max-width: 1150px) {
  body.wiki-home .duhan2_searchBox {
    height: 320px !important;
  }
}

@media (max-width: 991px) {
  body.wiki-home .duhan2_searchBox {
    height: 220px !important;
  }
}

/* --- nudge left boss higher --- */
.boss-left {
  bottom: 48px !important;
}

@media (max-width: 1500px) {
  .boss-left {
    bottom: 34px !important;
  }
}

@media (max-width: 1150px) {
  .boss-left {
    bottom: 20px !important;
  }
}

/* --- final tweak: enlarge left boss + keep top menu above content --- */
.boss-left {
  width: clamp(720px, 43vw, 980px) !important;
  left: max(-250px, calc(50% - 1240px)) !important;
  bottom: 54px !important;
}

.boss-left img {
  transform: scale(1.12) !important;
  transform-origin: left bottom !important;
}

@media (max-width: 1500px) {
  .boss-left {
    width: clamp(560px, 39vw, 820px) !important;
    left: -210px !important;
    bottom: 40px !important;
  }
}

@media (max-width: 1150px) {
  .boss-left {
    width: 450px !important;
    left: -155px !important;
    bottom: 24px !important;
  }
}

section.duhan2_UstMenu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: linear-gradient(180deg, rgba(12,21,30,.94), rgba(8,14,21,.92)) !important;
  border-bottom: 1px solid rgba(111,146,174,.20) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.25) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.menuFixed {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: linear-gradient(180deg, rgba(12,21,30,.72), rgba(8,14,21,.68)) !important;
  border-bottom: 1px solid rgba(111,146,174,.16) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.20) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.menuFixed ul {
  border-bottom-color: rgba(111,146,174,.14) !important;
}

/* --- premium compact footer like forum sample --- */
.footer.duhan2-footer-pro {
  position: relative !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  margin: 0 !important;
  line-height: normal !important;
  color: #d7e0ea !important;
  border-top: 1px solid rgba(87, 112, 138, .22) !important;
  background: linear-gradient(180deg, rgba(4, 9, 14, .96), rgba(3, 7, 12, .98)) !important;
}

.footer.duhan2-footer-pro .duhan2-footer-wrap {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 0;
}

.footer.duhan2-footer-pro .duhan2-footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(260px, 1fr) minmax(220px, .9fr);
  align-items: center;
  gap: 28px;
  padding-bottom: 26px;
}

.footer.duhan2-footer-pro .duhan2-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer.duhan2-footer-pro .duhan2-footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer.duhan2-footer-pro .duhan2-footer-logo {
  width: 210px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.28));
}

.footer.duhan2-footer-pro .duhan2-footer-brand p,
.footer.duhan2-footer-pro .duhan2-footer-partner p {
  margin: 0;
  color: #aebed0;
  font-size: 15px;
  line-height: 1.55;
}

.footer.duhan2-footer-pro .duhan2-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer.duhan2-footer-pro .duhan2-footer-links a,
.footer.duhan2-footer-pro .duhan2-footer-bottom a {
  color: #c8d8ec !important;
  font-size: 15px;
  text-decoration: none !important;
  transition: color .2s ease, opacity .2s ease;
}

.footer.duhan2-footer-pro .duhan2-footer-links a:hover,
.footer.duhan2-footer-pro .duhan2-footer-bottom a:hover {
  color: #ffffff !important;
  opacity: 1;
}

.footer.duhan2-footer-pro .duhan2-footer-partner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.footer.duhan2-footer-pro .duhan2-footer-usm-badge {
  min-width: 78px;
  height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(80, 128, 191, .35);
  background: linear-gradient(180deg, rgba(17, 35, 58, .96), rgba(8, 18, 33, .96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 20px rgba(0,0,0,.22);
  color: #8ebcff;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 20px;
}

.footer.duhan2-footer-pro .duhan2-footer-bottom {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 20px;
  border-top: 1px solid rgba(73, 96, 122, .22);
  color: #7f95ab;
  font-size: 14px;
}

.footer.duhan2-footer-pro .duhan2-footer-bottom a {
  color: #91acd0 !important;
}

@media (max-width: 991px) {
  .footer.duhan2-footer-pro .duhan2-footer-wrap {
    width: min(100%, calc(100% - 28px));
    padding-top: 22px;
  }

  .footer.duhan2-footer-pro .duhan2-footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
  }

  .footer.duhan2-footer-pro .duhan2-footer-brand,
  .footer.duhan2-footer-pro .duhan2-footer-partner {
    align-items: center;
    justify-content: center;
  }

  .footer.duhan2-footer-pro .duhan2-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- footer refinement: use real USM logo, remove brand copy, anchor footer content lower --- */
.footer.duhan2-footer-pro {
  min-height: 235px !important;
}

.footer.duhan2-footer-pro .duhan2-footer-wrap {
  min-height: 235px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 0 !important;
}

.footer.duhan2-footer-pro .duhan2-footer-top {
  align-items: end;
  gap: 24px;
  padding: 88px 0 18px;
}

.footer.duhan2-footer-pro .duhan2-footer-brand {
  justify-content: flex-end;
}

.footer.duhan2-footer-pro .duhan2-footer-brand p {
  display: none !important;
}

.footer.duhan2-footer-pro .duhan2-footer-logo {
  width: 185px;
}

.footer.duhan2-footer-pro .duhan2-footer-links {
  align-self: center;
  padding-bottom: 8px;
}

.footer.duhan2-footer-pro .duhan2-footer-partner {
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.footer.duhan2-footer-pro .duhan2-footer-usm-badge {
  display: none !important;
}

.footer.duhan2-footer-pro .duhan2-footer-usm-logo {
  width: 118px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.28));
}

.footer.duhan2-footer-pro .duhan2-footer-partner p {
  margin: 0;
  white-space: nowrap;
}

.footer.duhan2-footer-pro .duhan2-footer-bottom {
  margin-top: 8px;
  padding: 14px 0 18px;
}

@media (max-width: 991px) {
  .footer.duhan2-footer-pro {
    min-height: 0 !important;
  }

  .footer.duhan2-footer-pro .duhan2-footer-wrap {
    min-height: 0;
  }

  .footer.duhan2-footer-pro .duhan2-footer-top {
    padding-top: 28px;
  }

  .footer.duhan2-footer-pro .duhan2-footer-usm-logo {
    width: 108px;
  }
}

/* --- footer alignment cleanup --- */
.footer.duhan2-footer-pro {
  min-height: 280px !important;
}

.footer.duhan2-footer-pro .duhan2-footer-wrap {
  min-height: 280px !important;
  justify-content: flex-end !important;
}

.footer.duhan2-footer-pro .duhan2-footer-top {
  grid-template-columns: 1fr 1fr 1fr !important;
  align-items: end !important;
  gap: 22px !important;
  padding: 128px 0 12px !important;
}

.footer.duhan2-footer-pro .duhan2-footer-brand,
.footer.duhan2-footer-pro .duhan2-footer-links,
.footer.duhan2-footer-pro .duhan2-footer-partner {
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer.duhan2-footer-pro .duhan2-footer-brand {
  justify-self: center !important;
}

.footer.duhan2-footer-pro .duhan2-footer-logo-link {
  justify-content: center !important;
}

.footer.duhan2-footer-pro .duhan2-footer-logo {
  width: 200px !important;
}

.footer.duhan2-footer-pro .duhan2-footer-links {
  justify-self: center !important;
  align-self: end !important;
  gap: 24px !important;
  padding-bottom: 6px !important;
}

.footer.duhan2-footer-pro .duhan2-footer-partner {
  justify-self: center !important;
  gap: 14px !important;
}

.footer.duhan2-footer-pro .duhan2-footer-usm-logo {
  width: 150px !important;
}

.footer.duhan2-footer-pro .duhan2-footer-partner p {
  white-space: normal !important;
  text-align: center !important;
}

.footer.duhan2-footer-pro .duhan2-footer-bottom {
  margin-top: 6px !important;
  padding: 12px 0 16px !important;
}

@media (max-width: 991px) {
  .footer.duhan2-footer-pro {
    min-height: 0 !important;
  }

  .footer.duhan2-footer-pro .duhan2-footer-wrap {
    min-height: 0 !important;
  }

  .footer.duhan2-footer-pro .duhan2-footer-top {
    grid-template-columns: 1fr !important;
    padding: 32px 0 12px !important;
  }

  .footer.duhan2-footer-pro .duhan2-footer-logo {
    width: 170px !important;
  }

  .footer.duhan2-footer-pro .duhan2-footer-usm-logo {
    width: 120px !important;
  }
}

/* --- footer compact + centered symmetric layout --- */
.footer.duhan2-footer-pro {
  min-height: 185px !important;
  padding: 0 !important;
}

.footer.duhan2-footer-pro .duhan2-footer-wrap {
  width: min(1320px, calc(100% - 48px)) !important;
  min-height: 185px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.footer.duhan2-footer-pro .duhan2-footer-top {
  grid-template-columns: 1fr 1fr 1fr !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 34px 0 10px !important;
}

.footer.duhan2-footer-pro .duhan2-footer-brand,
.footer.duhan2-footer-pro .duhan2-footer-links,
.footer.duhan2-footer-pro .duhan2-footer-partner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.footer.duhan2-footer-pro .duhan2-footer-brand {
  justify-self: center !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.footer.duhan2-footer-pro .duhan2-footer-logo-link {
  display: inline-flex !important;
  justify-content: center !important;
}

.footer.duhan2-footer-pro .duhan2-footer-logo {
  width: 170px !important;
  height: auto !important;
}

.footer.duhan2-footer-pro .duhan2-footer-links {
  justify-self: center !important;
  gap: 22px !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
}

.footer.duhan2-footer-pro .duhan2-footer-links a {
  font-size: 15px !important;
}

.footer.duhan2-footer-pro .duhan2-footer-partner {
  justify-self: center !important;
  gap: 14px !important;
  flex-direction: row !important;
}

.footer.duhan2-footer-pro .duhan2-footer-usm-logo {
  width: 132px !important;
  height: auto !important;
}

.footer.duhan2-footer-pro .duhan2-footer-partner p {
  margin: 0 !important;
  white-space: nowrap !important;
  font-size: 14px !important;
}

.footer.duhan2-footer-pro .duhan2-footer-bottom {
  min-height: 0 !important;
  margin-top: 0 !important;
  padding: 12px 0 12px !important;
  align-items: center !important;
}

.footer.duhan2-footer-pro .duhan2-footer-bottom span,
.footer.duhan2-footer-pro .duhan2-footer-bottom a {
  font-size: 13px !important;
}

@media (max-width: 991px) {
  .footer.duhan2-footer-pro {
    min-height: 0 !important;
  }

  .footer.duhan2-footer-pro .duhan2-footer-wrap {
    width: min(100%, calc(100% - 28px)) !important;
    min-height: 0 !important;
  }

  .footer.duhan2-footer-pro .duhan2-footer-top {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 24px 0 10px !important;
  }

  .footer.duhan2-footer-pro .duhan2-footer-logo {
    width: 150px !important;
  }

  .footer.duhan2-footer-pro .duhan2-footer-usm-logo {
    width: 116px !important;
  }

  .footer.duhan2-footer-pro .duhan2-footer-partner p {
    white-space: normal !important;
  }

  .footer.duhan2-footer-pro .duhan2-footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    padding-bottom: 14px !important;
  }
}

/* ===================== DUNGEONS PAGE ===================== */
body.dungeons-page .duhan2_searchBox {
  height: 330px !important;
}

body.dungeons-page .d2-dungeons-main {
  position: relative;
  z-index: 3;
  padding: 0;
  background: linear-gradient(180deg, rgba(5, 10, 16, .04), rgba(5, 10, 16, .62) 220px, rgba(5, 10, 16, .92) 100%);
}

body.dungeons-page .d2-dungeons-main > .container {
  width: min(1320px, calc(100% - 38px));
  padding: 0;
}

.d2-dungeon-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.45fr .9fr;
  align-items: center;
  gap: 38px;
  min-height: 250px;
  padding: 44px 48px;
  border: 1px solid rgba(97, 146, 184, .24);
  background: linear-gradient(105deg, rgba(10, 24, 36, .98), rgba(8, 17, 26, .91) 55%, rgba(13, 29, 42, .84));
  box-shadow: 0 26px 60px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.d2-dungeon-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 42%, rgba(63, 151, 211, .19), transparent 280px), linear-gradient(90deg, transparent, rgba(255,255,255,.018), transparent);
}

.d2-hero-copy, .d2-hero-stats {
  position: relative;
  z-index: 1;
}

.d2-eyebrow, .d2-section-heading span {
  display: inline-block;
  color: #67b9e9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.d2-hero-copy h1 {
  margin: 10px 0 14px;
  color: #f7f9fb;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.d2-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: #b7c5d2;
  font-size: 16px;
  line-height: 1.75;
}

.d2-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.d2-hero-stats > div {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(103, 185, 233, .18);
  background: rgba(5, 13, 21, .62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.d2-hero-stats strong {
  color: #fff;
  font-size: 30px;
  line-height: 1.05;
  text-shadow: 0 0 22px rgba(68, 157, 218, .22);
}

.d2-hero-stats span {
  margin-top: 8px;
  color: #9fb1c1;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.d2-dungeon-section {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid rgba(84, 117, 145, .18);
  background: linear-gradient(180deg, rgba(10, 20, 29, .88), rgba(6, 12, 19, .94));
  box-shadow: 0 20px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.025);
}

.d2-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(83, 119, 148, .18);
}

.d2-section-heading h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 29px;
  font-weight: 800;
}

.d2-section-heading p {
  max-width: 560px;
  margin: 0;
  color: #93a7b9;
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
}

.d2-dungeon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.d2-special-grid .d2-dungeon-card:first-child {
  grid-column: span 2;
}

.d2-dungeon-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(99, 132, 158, .21);
  background: #09131d;
  box-shadow: 0 16px 32px rgba(0,0,0,.26);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.d2-dungeon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 185, 235, .42);
  box-shadow: 0 22px 40px rgba(0,0,0,.36), 0 0 28px rgba(48, 129, 181, .08);
}

.d2-dungeon-card.special {
  border-color: rgba(175, 132, 56, .28);
}

.d2-dungeon-card.special:hover {
  border-color: rgba(211, 159, 64, .52);
  box-shadow: 0 22px 40px rgba(0,0,0,.36), 0 0 28px rgba(201, 146, 53, .08);
}

.d2-dungeon-art {
  position: relative;
  height: 235px;
  overflow: hidden;
  background: #06101a;
}

.d2-special-grid .d2-dungeon-card:first-child .d2-dungeon-art {
  height: 265px;
}

.d2-dungeon-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 11, 17, .38) 70%, rgba(5, 11, 17, .96) 100%);
}

.d2-dungeon-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 18px;
  transition: transform .45s ease, filter .45s ease;
}

.d2-dungeon-card:hover .d2-dungeon-art img {
  transform: scale(1.035);
  filter: brightness(1.06) saturate(1.08);
}

/* special dungeon backdrops */
.d2-dungeon-card.ganesha .d2-dungeon-art { background: radial-gradient(circle at 70% 25%, rgba(182,123,62,.33), transparent 42%), linear-gradient(135deg, #2c1d12 0%, #6b4121 100%); }
.d2-dungeon-card.altin .d2-dungeon-art { background: radial-gradient(circle at 60% 20%, rgba(219,180,74,.28), transparent 38%), linear-gradient(135deg, #2d2612 0%, #66501a 100%); }
.d2-dungeon-card.korku .d2-dungeon-art { background: radial-gradient(circle at 50% 16%, rgba(100,70,154,.24), transparent 34%), linear-gradient(135deg, #120f1c 0%, #241332 100%); }
.d2-dungeon-card.veba .d2-dungeon-art { background: radial-gradient(circle at 54% 20%, rgba(132,61,44,.26), transparent 35%), linear-gradient(135deg, #231814 0%, #4b2b1d 100%); }
.d2-dungeon-card.sualti .d2-dungeon-art { background: radial-gradient(circle at 55% 18%, rgba(55,128,165,.28), transparent 36%), linear-gradient(135deg, #081d2a 0%, #12384f 100%); }
.d2-dungeon-card.bilgelik .d2-dungeon-art { background: radial-gradient(circle at 50% 18%, rgba(65,102,124,.24), transparent 34%), linear-gradient(135deg, #121d27 0%, #223848 100%); }
.d2-dungeon-card.korsan .d2-dungeon-art { background: radial-gradient(circle at 50% 18%, rgba(58,83,123,.24), transparent 36%), linear-gradient(135deg, #131924 0%, #1c2d4a 100%); }

.d2-standard-art {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  background: linear-gradient(135deg, rgba(13,31,44,.96), rgba(22,46,64,.9));
}
.d2-standard-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(83,162,214,.2), transparent 32%), linear-gradient(90deg, transparent, rgba(255,255,255,.02), transparent);
}
.d2-std-label {
  position: relative;
  z-index: 2;
  max-width: 72%;
  color: rgba(255,255,255,.95);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
  text-shadow: 0 3px 14px rgba(0,0,0,.42);
}

.d2-card-index {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 15px;
  min-width: 38px;
  padding: 6px 9px;
  color: rgba(255,255,255,.88);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-align: center;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(4, 10, 16, .68);
  backdrop-filter: blur(7px);
}

.d2-dungeon-copy {
  position: relative;
  min-height: 190px;
  padding: 19px 20px 18px;
  background: linear-gradient(180deg, rgba(13, 25, 36, .98), rgba(7, 14, 22, .99)), url('../images/content-bg.jpg');
}

.d2-type {
  display: block;
  margin-bottom: 5px;
  color: #68bce9;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}
.special .d2-type { color: #d6a34c; }

.d2-dungeon-copy h3 {
  min-height: 48px;
  margin: 0 0 13px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.18;
}

.d2-chest {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(106, 137, 162, .14);
  background: rgba(3, 9, 15, .55);
}

.d2-chest img {
  width: 38px;
  height: 38px;
  image-rendering: pixelated;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.45));
}
.d2-chest small {
  display: block;
  color: #738a9d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.d2-chest strong {
  display: block;
  margin-top: 3px;
  color: #dce5ec;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.d2-floor {
  display: inline-block;
  margin-top: 12px;
  color: #879bab;
  font-size: 11px;
}
.d2-floor::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #5bafd9;
  box-shadow: 0 0 10px rgba(91,175,217,.45);
}
.special .d2-floor::before {
  background: #d09c45;
  box-shadow: 0 0 10px rgba(208,156,69,.42);
}

body.dungeons-page .footer.duhan2-footer-pro {
  margin-top: 28px !important;
}

@media (max-width: 1200px) {
  .d2-dungeon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d2-special-grid .d2-dungeon-card:first-child { grid-column: auto; }
  .d2-special-grid .d2-dungeon-card:first-child .d2-dungeon-art { height: 235px; }
  .d2-dungeon-hero { grid-template-columns: 1fr; }
  .d2-hero-stats { max-width: 620px; }
}

@media (max-width: 767px) {
  body.dungeons-page .duhan2_searchBox { height: 190px !important; }
  body.dungeons-page .d2-dungeons-main > .container { width: min(100%, calc(100% - 20px)); }
  .d2-dungeon-hero { padding: 28px 22px; }
  .d2-hero-copy h1 { font-size: 30px; }
  .d2-hero-copy p { font-size: 14px; line-height: 1.65; }
  .d2-hero-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .d2-hero-stats > div { min-height: 84px; }
  .d2-hero-stats strong { font-size: 25px; }
  .d2-hero-stats span { font-size: 9px; }
  .d2-dungeon-section { padding: 22px 14px; }
  .d2-section-heading { display: block; }
  .d2-section-heading p { margin-top: 10px; text-align: left; }
  .d2-dungeon-grid { grid-template-columns: 1fr; }
  .d2-dungeon-art, .d2-special-grid .d2-dungeon-card:first-child .d2-dungeon-art { height: 210px; }
  .d2-std-label { font-size: 24px; max-width: 80%; }
}

/* --- special dungeons: match standard dungeon visual language --- */
.d2-special-art {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  isolation: isolate;
}

.d2-special-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(83,162,214,.16), transparent 32%), linear-gradient(90deg, transparent, rgba(255,255,255,.02), transparent);
  z-index: 0;
}

.d2-special-art img {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: auto;
  max-width: 62%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  padding: 8px 8px 0 0;
  z-index: 1;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.38));
}

.d2-special-label {
  position: relative;
  z-index: 2;
  max-width: 58%;
}

.d2-dungeon-card.special .d2-dungeon-copy h3 {
  display: none;
}

.d2-special-grid .d2-dungeon-card:first-child .d2-special-label {
  font-size: 34px;
  max-width: 50%;
}

.d2-dungeon-card.special.ganesha .d2-special-art {
  background: linear-gradient(135deg, rgba(44,29,18,.98), rgba(107,65,33,.92));
}
.d2-dungeon-card.special.altin .d2-special-art {
  background: linear-gradient(135deg, rgba(45,38,18,.98), rgba(102,80,26,.92));
}
.d2-dungeon-card.special.korku .d2-special-art {
  background: linear-gradient(135deg, rgba(18,15,28,.98), rgba(36,19,50,.92));
}
.d2-dungeon-card.special.veba .d2-special-art {
  background: linear-gradient(135deg, rgba(35,24,20,.98), rgba(75,43,29,.92));
}
.d2-dungeon-card.special.sualti .d2-special-art {
  background: linear-gradient(135deg, rgba(8,29,42,.98), rgba(18,56,79,.92));
}
.d2-dungeon-card.special.bilgelik .d2-special-art {
  background: linear-gradient(135deg, rgba(18,29,39,.98), rgba(34,56,72,.92));
}
.d2-dungeon-card.special.korsan .d2-special-art {
  background: linear-gradient(135deg, rgba(19,25,36,.98), rgba(28,45,74,.92));
}

.d2-dungeon-card.special .d2-chest {
  margin-top: 2px;
}

@media (max-width: 767px) {
  .d2-special-art img {
    max-width: 58%;
  }
  .d2-special-label {
    max-width: 56%;
    font-size: 24px !important;
  }
}

/* --- restore standard dungeon image cards and keep them visible --- */
.d2-standard-grid .d2-dungeon-art {
  height: 205px;
  padding: 0 !important;
  background: #06101a;
}

.d2-standard-grid .d2-dungeon-art img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: none;
  opacity: 1 !important;
}

.d2-standard-grid .d2-dungeon-card:hover .d2-dungeon-art img {
  transform: scale(1.035);
  filter: brightness(1.06) saturate(1.08);
}

.d2-standard-grid .d2-dungeon-art::after {
  background: linear-gradient(180deg, transparent 48%, rgba(5,11,17,.20) 72%, rgba(5,11,17,.62) 100%);
}

@media (max-width: 767px) {
  .d2-standard-grid .d2-dungeon-art {
    height: 210px;
  }
}

/* Ana sayfa logosu: bir kademe aşağı */
body.wiki-home:not(.dungeons-page) .logo {
  transform: translateY(22px);
}

/* --- homepage theme on every inner wiki page --- */
body.wiki-inner .duhan2_searchBox {
  height: 330px !important;
}

body.wiki-inner section.main {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg,
    rgba(7,14,21,0) 0,
    rgba(7,14,21,.10) 90px,
    rgba(7,14,21,.26) 220px,
    rgba(7,14,21,.58) 100%) !important;
}

body.wiki-inner .container {
  position: relative;
}

body.wiki-inner .footer.duhan2-footer-pro {
  position: relative;
  z-index: 3;
}

@media (max-width: 991px) {
  body.wiki-inner .duhan2_searchBox {
    height: 190px !important;
  }
}

/* --- Dungeons page: smaller top hero box + logo slightly lower --- */
body.dungeons-page .logo {
  transform: translateY(18px);
}

body.dungeons-page .d2-dungeon-hero {
  min-height: 190px !important;
  padding: 28px 34px !important;
  gap: 26px !important;
}

body.dungeons-page .d2-hero-copy h1 {
  font-size: clamp(26px, 2.6vw, 38px) !important;
  line-height: 1.08 !important;
  margin: 8px 0 10px !important;
}

body.dungeons-page .d2-hero-copy p {
  max-width: 650px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

body.dungeons-page .d2-hero-stats > div {
  min-height: 96px !important;
}

body.dungeons-page .d2-hero-stats strong {
  font-size: 24px !important;
}

body.dungeons-page .d2-hero-stats span {
  margin-top: 6px !important;
  font-size: 11px !important;
}

@media (max-width: 1200px) {
  body.dungeons-page .d2-dungeon-hero {
    padding: 24px 28px !important;
    min-height: 175px !important;
  }
}

@media (max-width: 767px) {
  body.dungeons-page .logo {
    transform: translateY(10px);
  }

  body.dungeons-page .d2-dungeon-hero {
    padding: 20px 18px !important;
    min-height: 0 !important;
    gap: 16px !important;
  }

  body.dungeons-page .d2-hero-copy h1 {
    font-size: 28px !important;
  }

  body.dungeons-page .d2-hero-copy p {
    font-size: 13px !important;
  }

  body.dungeons-page .d2-hero-stats > div {
    min-height: 78px !important;
  }

  body.dungeons-page .d2-hero-stats strong {
    font-size: 22px !important;
  }
}

/* --- Dungeons hero: nudge slightly lower --- */
body.dungeons-page .d2-dungeon-hero {
  margin-top: 16px !important;
}

@media (max-width: 767px) {
  body.dungeons-page .d2-dungeon-hero {
    margin-top: 12px !important;
  }
}

/* --- FIX: homepage logo adjustment must not affect inner pages --- */
body.wiki-inner .logo {
  margin-top: 24px !important;
  transform: none !important;
  width: 560px !important;
  max-width: 86% !important;
  height: auto !important;
}

/* Restore original vertical space on inner wiki pages so content does not collide with logo */
body.wiki-inner .duhan2_searchBox {
  height: 440px !important;
}

/* Keep only the actual homepage logo one step lower */
body.wiki-home:not(.wiki-inner):not(.dungeons-page) .logo {
  transform: translateY(22px) !important;
}

/* Keep the separate Dungeons logo adjustment */
body.dungeons-page .logo {
  transform: translateY(18px) !important;
}

@media (max-width: 991px) {
  body.wiki-inner .logo {
    transform: none !important;
    max-width: 82% !important;
  }

  body.wiki-inner .duhan2_searchBox {
    height: 300px !important;
  }
}

/* --- top menu social buttons: right corner and slightly lower --- */
ul.menu {
  position: relative;
}

li.duhan2_siteyeGit.duhan2_socialBtn {
  float: right;
  position: relative;
  top: 8px;
  margin-left: 8px !important;
}

li.duhan2_siteyeGit.duhan2_socialBtn a {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(0,0,0,.22);
}

li.duhan2_siteyeGit.duhan2_socialBtn a.facebook,
li.duhan2_siteyeGit.duhan2_socialBtn a.instagram {
  font-size: 20px !important;
}

li.duhan2_siteyeGit:not(.duhan2_socialBtn) {
  float: right;
}

@media (max-width: 991px) {
  li.duhan2_siteyeGit.duhan2_socialBtn {
    top: 4px;
  }
}

/* --- dungeons hero box: lower so it clears the search area --- */
body.dungeons-page .d2-dungeon-hero {
  margin-top: 34px !important;
}

@media (max-width: 767px) {
  body.dungeons-page .d2-dungeon-hero {
    margin-top: 22px !important;
  }
}


/* --- search box must stay interactive --- */
.duhan2_searchBox,
.duhan2_searchBox .container,
.duhan2_searchBox .row {
  position: relative;
  z-index: 12;
}

input.duhan2_SearchInput,
input.duhan2_SearchInput,
#duhan2_aramaKutusu,
#DUHAN2_aramaKutusu,
#duhan2_aramaKutusu {
  pointer-events: auto !important;
  position: relative;
  z-index: 20;
  cursor: text;
}

#duhan2_aramaSonuc,
#DUHAN2_aramaSonuc,
#duhan2_aramaSonuc {
  position: relative;
  z-index: 25;
}

/* --- social buttons: real logos instead of empty squares --- */
li.duhan2_siteyeGit.duhan2_socialBtn a {
  color: transparent !important;
  overflow: hidden;
}

li.duhan2_siteyeGit.duhan2_socialBtn .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.social-icon {
  display: block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.social-icon-facebook {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M13.5 22v-8h2.7l.4-3h-3.1V9.1c0-.9.3-1.5 1.6-1.5h1.7V4.9c-.3 0-1.3-.1-2.4-.1-2.4 0-4.1 1.4-4.1 4.2V11H8v3h2.3v8z'/></svg>");
}

.social-icon-instagram {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4c0 3.2-2.6 5.8-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8C2 4.6 4.6 2 7.8 2zm0 1.8A4 4 0 0 0 3.8 7.8v8.4a4 4 0 0 0 4 4h8.4a4 4 0 0 0 4-4V7.8a4 4 0 0 0-4-4H7.8zm8.9 1.4a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2zM12 6.5A5.5 5.5 0 1 1 6.5 12 5.5 5.5 0 0 1 12 6.5zm0 1.8A3.7 3.7 0 1 0 15.7 12 3.7 3.7 0 0 0 12 8.3z'/></svg>");
}


/* --- Local static wiki search v2 --- */
.duhan2_searchBox,
.duhan2_searchBox .container,
.duhan2_searchBox .row {
  position: relative;
  z-index: 12;
}

#duhan2_aramaKutusu {
  pointer-events: auto !important;
  position: relative;
  z-index: 20;
  cursor: text;
}

#duhan2_aramaSonuc {
  width: 80% !important;
  height: auto !important;
  max-height: 430px;
  margin: 0 auto !important;
  left: 0 !important;
  top: 4px !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 10020 !important;
  overflow-y: auto;
  text-align: left;
  border: 1px solid rgba(105,153,188,.32);
  background: rgba(5,12,19,.98);
  box-shadow: 0 18px 38px rgba(0,0,0,.46);
  display: none;
}

#duhan2_aramaSonuc .d2-search-results {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}

#duhan2_aramaSonuc .d2-search-results li {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(91,124,150,.18);
  background: transparent;
}

#duhan2_aramaSonuc .d2-search-results li:last-child { border-bottom: 0; }

#duhan2_aramaSonuc .d2-search-results a {
  display: block;
  padding: 11px 15px;
  color: #dbe7f0 !important;
  text-decoration: none !important;
  transition: background .18s ease;
}

#duhan2_aramaSonuc .d2-search-results a:hover { background: rgba(69,133,177,.18); }

#duhan2_aramaSonuc .d2-search-results strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #f1f6fa;
}

#duhan2_aramaSonuc .d2-search-results small {
  display: block;
  margin-top: 3px;
  color: #7790a4;
  font-size: 10px;
}

#duhan2_aramaSonuc .d2-search-empty {
  padding: 14px 15px;
  color: #91a6b7;
  font-size: 13px;
}

@media (max-width: 767px) {
  #duhan2_aramaSonuc { width: 94% !important; }
}

/* =========================================================
   DUHAN2 WIKI — FINAL GLOBAL BACKGROUND THEME
   Tüm sayfalarda: hareketli arka plan + sol Anubis + sağ Antik Naga
   ========================================================= */

html {
  min-height: 100%;
  position: relative;
  background: #030711 !important;
}

body,
body.wiki-home {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(20, 96, 186, .18), transparent 30%),
    linear-gradient(180deg, #030711 0%, #06101d 42%, #030711 100%) !important;
  background-attachment: fixed !important;
}

/* Eski statik arka plan ve boss görsellerini tamamen kaldır */
.boss-background,
.boss-figure,
.boss-left,
.boss-right,
.right-eye-glow {
  display: none !important;
}

body::after,
body.wiki-home::after {
  content: none !important;
  display: none !important;
}

/* Hareketli arka plan */
.video-background {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  background: #030711 !important;
}

.video-background__media {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  transform: translate(-50%, -50%) !important;
  object-fit: cover !important;
  opacity: .42 !important;
  filter: saturate(1.14) brightness(.52) contrast(1.08) hue-rotate(-4deg) !important;
}

.video-background__overlay {
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 50% 8%, rgba(0, 128, 255, .16), transparent 28%),
    linear-gradient(90deg,
      rgba(2, 6, 12, .82) 0%,
      rgba(2, 6, 12, .32) 15%,
      rgba(2, 6, 12, .08) 30%,
      rgba(2, 6, 12, .08) 70%,
      rgba(2, 6, 12, .32) 85%,
      rgba(2, 6, 12, .82) 100%),
    linear-gradient(180deg,
      rgba(2, 6, 12, .36) 0%,
      rgba(2, 6, 12, .10) 20%,
      rgba(2, 6, 12, .26) 66%,
      rgba(2, 6, 12, .72) 100%) !important;
}

/* Ortadaki içeriği okunaklı tutan yumuşak perde */
body::before,
body.wiki-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(1, 5, 11, .52) 0%,
      rgba(1, 5, 11, .16) 18%,
      rgba(1, 5, 11, .05) 31%,
      rgba(1, 5, 11, .05) 69%,
      rgba(1, 5, 11, .16) 82%,
      rgba(1, 5, 11, .52) 100%);
}

/* Sol Anubis ve sağ Antik Naga */
html::before,
html::after {
  content: "";
  position: fixed;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  filter: drop-shadow(0 24px 52px rgba(0, 0, 0, .62));
}

html::before {
  left: max(-34px, calc(50% - 900px));
  width: min(28vw, 470px);
  height: min(91vh, 1040px);
  background-image: url('../images/wiki-anubis-left.png');
}

html::after {
  right: max(-42px, calc(50% - 910px));
  width: min(30vw, 510px);
  height: min(92vh, 1060px);
  background-image: url('../images/wiki-antik-naga-right.png');
}

/* İçerik karakterlerin üzerinde */
#top,
.languagepicker,
section.duhan2_UstMenu,
.menuFixed,
.duhan2_searchBox,
section.main,
footer.footer,
.footer.duhan2-footer-pro {
  position: relative;
  z-index: 4;
}

/* Yeni arka plana uyumlu üst menü */
section.duhan2_UstMenu,
.menuFixed {
  background: linear-gradient(180deg, rgba(5, 12, 24, .96), rgba(3, 8, 17, .93)) !important;
  border-bottom: 1px solid rgba(55, 132, 199, .24) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .38) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Arama ve kutuların tonunu ana siteye yaklaştır */
input.duhan2_SearchInput {
  background: linear-gradient(180deg, rgba(11, 30, 53, .96), rgba(5, 15, 28, .97)) !important;
  border: 1px solid rgba(69, 147, 211, .56) !important;
  color: #eaf7ff !important;
  box-shadow:
    inset 0 0 14px rgba(0, 125, 255, .08),
    0 12px 28px rgba(0, 0, 0, .34) !important;
}

.duhan2_Kutu {
  background-color: rgba(6, 14, 26, .90) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.duhan2_Kutu_Baslik {
  background: linear-gradient(90deg, rgba(8, 25, 44, .94), rgba(8, 18, 32, .90)) !important;
  border-bottom: 1px solid rgba(53, 129, 190, .18);
}

/* Orta çözünürlük */
@media (max-width: 1500px) {
  html::before {
    left: -82px;
    width: min(29vw, 420px);
    opacity: .94;
  }

  html::after {
    right: -92px;
    width: min(31vw, 450px);
    opacity: .94;
  }
}

@media (max-width: 1200px) {
  html::before {
    left: -105px;
    width: 330px;
    opacity: .82;
  }

  html::after {
    right: -120px;
    width: 360px;
    opacity: .82;
  }
}

/* Mobilde karakterler kaldırılır; hareketli arka plan hafifletilir */
@media (max-width: 991px) {
  html::before,
  html::after {
    display: none !important;
  }

  .video-background__media {
    opacity: .28 !important;
    filter: saturate(1.05) brightness(.48) contrast(1.05) !important;
  }

  body::before,
  body.wiki-home::before {
    background: rgba(2, 7, 15, .26) !important;
  }
}


/* =========================================================
   DUHAN2 WIKI ARKA PLAN V2 — SON KATMAN
   Verilen Anubis + Antik Naga görselini bütün sayfalara uygular.
   Arama sonuçlarını içerik çerçevelerinin üstünde tutar.
   ========================================================= */

html {
  background: #020610 !important;
}

/* Önceki ayrı karakter katmanlarını kapat */
html::before,
html::after {
  content: none !important;
  display: none !important;
}

/* Eski hareketli ve boss katmanlarını tamamen kaldır */
.video-background,
.video-background__media,
.video-background__overlay,
.boss-background,
.boss-figure,
.boss-left,
.boss-right,
.right-eye-glow {
  display: none !important;
}

/* Verilen birleşik görsel tüm sayfaların sabit arka planıdır */
body,
body.wiki-home,
body.wiki-inner,
body.dungeons-page {
  background-color: #020610 !important;
  background-image:
    linear-gradient(180deg,
      rgba(1, 5, 13, .10) 0%,
      rgba(1, 5, 13, .04) 32%,
      rgba(1, 5, 13, .15) 70%,
      rgba(1, 5, 13, .42) 100%),
    url('../images/duhan2-wiki-background.webp') !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center top, center top !important;
  background-size: cover, cover !important;
  background-attachment: fixed, fixed !important;
}

/* Ortadaki içerik okunaklı kalsın; karakterler ana içerik kenarına kadar yaklaşsın */
body::before,
body.wiki-home::before,
body.wiki-inner::before,
body.dungeons-page::before {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg,
      rgba(0, 3, 10, .03) 0%,
      rgba(0, 3, 10, .06) 18%,
      rgba(0, 3, 10, .30) 27%,
      rgba(0, 3, 10, .43) 36%,
      rgba(0, 3, 10, .43) 64%,
      rgba(0, 3, 10, .30) 73%,
      rgba(0, 3, 10, .06) 82%,
      rgba(0, 3, 10, .03) 100%);
}

/* Önceki body-after katmanını kapat */
body::after,
body.wiki-home::after,
body.wiki-inner::after,
body.dungeons-page::after {
  content: none !important;
  display: none !important;
}

/* Menü ve bütün ana içerikler arka planın üzerinde */
section.duhan2_UstMenu,
.menuFixed,
.duhan2_searchBox,
section.main,
footer.footer,
.footer.duhan2-footer-pro,
#top,
.languagepicker {
  position: relative !important;
  z-index: 5 !important;
}

/* Arama sonuçlarının alttaki çerçeve ve içeriklerin arkasına kaçmasını engelle */
.duhan2_searchBox {
  overflow: visible !important;
  z-index: 10000 !important;
}

.duhan2_searchBox .container,
.duhan2_searchBox .row {
  position: relative !important;
  overflow: visible !important;
  z-index: 10001 !important;
}

#duhan2_aramaKutusu {
  position: relative !important;
  z-index: 10003 !important;
}

#duhan2_aramaSonuc {
  position: absolute !important;
  left: 10% !important;
  top: 100% !important;
  width: 80% !important;
  max-height: 430px !important;
  margin: 6px 0 0 !important;
  z-index: 10050 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border: 1px solid rgba(67, 152, 220, .48) !important;
  background: rgba(3, 10, 20, .985) !important;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, .72),
    inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}

/* Sonuç kutusunun altında kalan ana alan daha düşük katmanda */
section.main {
  z-index: 4 !important;
}

/* Çok geniş ekranlarda figürleri ana sayfa alanının kenarlarına daha yakın tut */
@media (min-width: 1650px) {
  body,
  body.wiki-home,
  body.wiki-inner,
  body.dungeons-page {
    background-size: 100% auto, 100% auto !important;
  }
}

@media (max-width: 991px) {
  body,
  body.wiki-home,
  body.wiki-inner,
  body.dungeons-page {
    background-image:
      linear-gradient(180deg,
        rgba(1, 5, 13, .20) 0%,
        rgba(1, 5, 13, .36) 100%),
      url('../images/duhan2-wiki-background.webp') !important;
    background-position: center top, center top !important;
    background-size: auto 100vh, auto 100vh !important;
    background-attachment: scroll, scroll !important;
  }

  body::before,
  body.wiki-home::before,
  body.wiki-inner::before,
  body.dungeons-page::before {
    background: rgba(0, 4, 12, .42) !important;
  }

  #duhan2_aramaSonuc {
    left: 3% !important;
    width: 94% !important;
    max-height: 55vh !important;
  }
}


/* =========================================================
   DUHAN2 WIKI FIX V3
   - Sol dil bayrakları gizlenir
   - Alt çerez uyarısı tamamen kaldırılır
   - Üst menü scroll sırasında sabit kalır
   ========================================================= */

.languagepicker,
ul.languagepicker,
.cerezpolitika,
#cerezUyari {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

section.duhan2_UstMenu,
.menuFixed {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10040 !important;
}

/* Menü altına düşen açılır arama sonucu bunun üstünde kalabilsin */
#duhan2_aramaSonuc {
  z-index: 10060 !important;
}

/* Menü içeriği sayfa üzerinde düzgün dursun */
section.duhan2_UstMenu .container,
.menuFixed .container {
  position: relative;
  z-index: 2;
}


/* =========================================================
   DUHAN2 WIKI FIX V4
   Footer altındaki boşluğu kaldırır.
   ========================================================= */

section.main {
  padding-bottom: 0 !important;
}

footer.footer,
.footer.duhan2-footer-pro {
  min-height: auto !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.footer.duhan2-footer-pro .duhan2-footer-wrap {
  min-height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.footer.duhan2-footer-pro .duhan2-footer-top {
  padding: 26px 0 8px !important;
}

.footer.duhan2-footer-pro .duhan2-footer-bottom {
  min-height: auto !important;
  padding: 8px 0 10px !important;
  margin-bottom: 0 !important;
}

body,
body.wiki-home,
body.wiki-inner,
body.dungeons-page {
  margin-bottom: 0 !important;
}


/* =========================================================
   DUHAN2 WIKI V5
   Sabit görsel korunur, üstüne düşük yoğunlukta hareketli video eklenir.
   Orta logo temiz PNG kullanır ve wiki ana sayfasına gider.
   ========================================================= */

/* Hareketli katmanı geri aç */
.video-background {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 1 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.video-background__media {
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  width: auto !important;
  height: auto !important;
  transform: translate(-50%, -50%) !important;
  object-fit: cover !important;
  opacity: .14 !important;
  filter: saturate(.90) brightness(.72) contrast(1.06) !important;
  mix-blend-mode: screen !important;
}

.video-background__overlay {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 50% 20%, rgba(21, 95, 150, .08), transparent 38%),
    linear-gradient(90deg,
      rgba(0, 4, 12, .34) 0%,
      rgba(0, 4, 12, .08) 18%,
      rgba(0, 4, 12, .02) 50%,
      rgba(0, 4, 12, .08) 82%,
      rgba(0, 4, 12, .34) 100%) !important;
}

/* Sabit arka plan ve hareketli katman üstünde içerik */
body::before,
body.wiki-home::before,
body.wiki-inner::before,
body.dungeons-page::before {
  z-index: 2 !important;
}

section.duhan2_UstMenu,
.menuFixed,
.duhan2_searchBox,
section.main,
footer.footer,
.footer.duhan2-footer-pro,
#top {
  z-index: 5 !important;
}

/* Ortadaki logo için temiz tıklama alanı */
.duhan2-wiki-logo-link {
  display: inline-block !important;
  position: relative !important;
  z-index: 6 !important;
  line-height: 0 !important;
}

.duhan2-wiki-logo-link .logo,
.logo {
  display: block !important;
}

/* Mobilde performans için video daha hafif çalışır */
@media (max-width: 991px) {
  .video-background__media {
    opacity: .08 !important;
  }
}


/* =========================================================
   DUHAN2 WIKI V6 — SABİT KARAKTERLER + HAREKETLİ KATMAN
   Anubis/Naga görseli ana arka plandır. Video yalnızca hafif efekt katmanıdır.
   ========================================================= */

html {
  background: #020610 !important;
}

body,
body.wiki-home,
body.wiki-inner,
body.dungeons-page {
  background-color: #020610 !important;
  background-image: url('../images/duhan2-wiki-background.webp') !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

/* Hareketli video sabit görseli kapatmaz; yalnızca çok hafif enerji katmanı olur. */
.video-background {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  background: transparent !important;
}

.video-background__media {
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  width: auto !important;
  height: auto !important;
  transform: translate(-50%, -50%) !important;
  object-fit: cover !important;
  opacity: .075 !important;
  filter: saturate(.85) brightness(.62) contrast(1.02) !important;
  mix-blend-mode: screen !important;
}

.video-background__overlay {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg,
    rgba(0, 3, 10, .18) 0%,
    rgba(0, 3, 10, .02) 22%,
    rgba(0, 3, 10, 0) 50%,
    rgba(0, 3, 10, .02) 78%,
    rgba(0, 3, 10, .18) 100%) !important;
}

/* İçeriğin okunabilirliği için merkez perde; karakterler görünür kalır. */
body::before,
body.wiki-home::before,
body.wiki-inner::before,
body.dungeons-page::before {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(90deg,
    rgba(0, 3, 10, .02) 0%,
    rgba(0, 3, 10, .04) 18%,
    rgba(0, 3, 10, .26) 30%,
    rgba(0, 3, 10, .34) 39%,
    rgba(0, 3, 10, .34) 61%,
    rgba(0, 3, 10, .26) 70%,
    rgba(0, 3, 10, .04) 82%,
    rgba(0, 3, 10, .02) 100%) !important;
}

section.duhan2_UstMenu,
.menuFixed,
.duhan2_searchBox,
section.main,
footer.footer,
.footer.duhan2-footer-pro,
#top {
  position: relative !important;
  z-index: 5 !important;
}

/* Eski animasyonlu logo geri getirildi. */
.duhan2-wiki-logo-link {
  display: inline-block !important;
  position: relative !important;
  z-index: 6 !important;
  line-height: 0 !important;
}

@media (max-width: 991px) {
  body,
  body.wiki-home,
  body.wiki-inner,
  body.dungeons-page {
    background-size: auto 100vh !important;
    background-position: center top !important;
    background-attachment: scroll !important;
  }

  .video-background__media {
    opacity: .035 !important;
  }
}


/* =========================================================
   DUHAN2 WIKI V7 — SON DÜZELTMELER
   - Logo daha büyük
   - Hareketli katman daha görünür
   - Üst menü scroll sırasında sabit
   - Arama sonuçları bütün çerçevelerin üstünde
   - Animasyonlu logo tüm sayfalarda
   ========================================================= */

/* Hareketli enerji katmanını bir kademe görünür yap */
.video-background__media {
  opacity: .12 !important;
  filter: saturate(.95) brightness(.72) contrast(1.05) !important;
}

.video-background__overlay {
  background: linear-gradient(90deg,
    rgba(0, 3, 10, .12) 0%,
    rgba(0, 3, 10, .015) 24%,
    rgba(0, 3, 10, 0) 50%,
    rgba(0, 3, 10, .015) 76%,
    rgba(0, 3, 10, .12) 100%) !important;
}

/* Ortadaki hareketli logo: tüm sayfalarda daha büyük */
.duhan2-wiki-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  position: relative !important;
  z-index: 10020 !important;
}

.duhan2-wiki-logo-link .logo,
.duhan2_searchBox .logo {
  width: 650px !important;
  max-width: 92% !important;
  height: auto !important;
  margin-top: 16px !important;
}

body.wiki-home:not(.wiki-inner):not(.dungeons-page) .logo,
body.wiki-inner .logo,
body.dungeons-page .logo {
  width: 650px !important;
  max-width: 92% !important;
}

/* Menü sayfa aşağı kaydırıldığında her zaman tepede kalır */
section.duhan2_UstMenu,
section.duhan2_UstMenu.menuFixed,
.menuFixed {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 120000 !important;
  transform: none !important;
}

section.duhan2_UstMenu .container,
.menuFixed .container {
  position: relative !important;
  z-index: 2 !important;
}

/* Arama kutusu ve sonuçları ayrı, en üst stacking context içinde */
.duhan2_searchBox {
  position: relative !important;
  z-index: 110000 !important;
  overflow: visible !important;
}

.duhan2_searchBox > .container,
.duhan2_searchBox .row {
  position: relative !important;
  z-index: 110001 !important;
  overflow: visible !important;
}

#duhan2_aramaKutusu {
  position: relative !important;
  z-index: 110010 !important;
}

#duhan2_aramaSonuc,
div#duhan2_aramaSonuc {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 10% !important;
  width: 80% !important;
  height: auto !important;
  max-height: 430px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  z-index: 130000 !important;
  isolation: isolate !important;
  background: rgba(3, 10, 20, .99) !important;
  border: 1px solid rgba(67, 152, 220, .60) !important;
  box-shadow: 0 24px 55px rgba(0,0,0,.82) !important;
}

#duhan2_aramaSonuc ul,
div#duhan2_aramaSonuc ul {
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(3, 10, 20, .99) !important;
}

#duhan2_aramaSonuc li,
div#duhan2_aramaSonuc li {
  position: relative !important;
  z-index: 2 !important;
  background: rgba(7, 20, 35, .99) !important;
  color: #e8f4ff !important;
  border-color: rgba(67, 152, 220, .28) !important;
}

section.main,
.duhan2_Kutu,
.duhan2_Kutu_Icerik {
  position: relative !important;
  z-index: 5 !important;
}

@media (max-width: 991px) {
  .video-background__media {
    opacity: .065 !important;
  }

  .duhan2-wiki-logo-link .logo,
  .duhan2_searchBox .logo,
  body.wiki-home:not(.wiki-inner):not(.dungeons-page) .logo,
  body.wiki-inner .logo,
  body.dungeons-page .logo {
    width: 520px !important;
    max-width: 90% !important;
  }

  #duhan2_aramaSonuc,
  div#duhan2_aramaSonuc {
    left: 3% !important;
    width: 94% !important;
    max-height: 55vh !important;
  }
}


/* =========================================================
   DUHAN2 WIKI V8 — TÜM SAYFALARDA LOGO ORTALAMA
   ========================================================= */
.duhan2_searchBox .container,
.duhan2_searchBox .row {
  position: relative !important;
  width: 100% !important;
}

.duhan2_searchBox .row.no-margin.no-padding {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
}

.duhan2_searchBox .duhan2-wiki-logo-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
  transform: none !important;
}

.duhan2_searchBox .duhan2-wiki-logo-link .logo,
.duhan2_searchBox img.logo,
body.wiki-home:not(.wiki-inner):not(.dungeons-page) .duhan2_searchBox .logo,
body.wiki-inner .duhan2_searchBox .logo,
body.dungeons-page .duhan2_searchBox .logo {
  display: block !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  float: none !important;
  transform: none !important;
  width: 650px !important;
  max-width: 92% !important;
  height: auto !important;
  margin: 16px auto 0 !important;
}


/* =========================================================
   DUHAN2 WIKI V9
   - Arama çubuğunu eski kompakt genişliğine döndürür
   - Hareketli arka planı bir kademe daha görünür yapar
   ========================================================= */

/* Hareketli enerji katmanı */
.video-background__media {
  opacity: .17 !important;
  filter: saturate(1.02) brightness(.78) contrast(1.06) !important;
}

.video-background__overlay {
  background:
    linear-gradient(90deg,
      rgba(0, 3, 10, .10) 0%,
      rgba(0, 3, 10, .01) 24%,
      rgba(0, 3, 10, 0) 50%,
      rgba(0, 3, 10, .01) 76%,
      rgba(0, 3, 10, .10) 100%) !important;
}

/* V8'de tam genişliğe çıkan arama alanını eski Bootstrap genişliğine döndür */
.duhan2_searchBox > .container,
.duhan2_searchBox .container {
  width: 1170px !important;
  max-width: calc(100% - 30px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.duhan2_searchBox .row.no-margin.no-padding {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

/* Logo ortada kalır */
.duhan2_searchBox .duhan2-wiki-logo-link {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 auto !important;
}

/* Arama çubuğunun eski görünümü */
input.duhan2_SearchInput,
#duhan2_aramaKutusu {
  display: block !important;
  position: relative !important;
  width: 80% !important;
  max-width: 940px !important;
  height: 40px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  top: 0 !important;
  border-radius: 0 !important;
  font-size: 14px !important;
}

/* Sonuç kutusu arama çubuğuyla aynı genişlikte açılır */
#duhan2_aramaSonuc,
div#duhan2_aramaSonuc {
  left: 10% !important;
  width: 80% !important;
  max-width: 940px !important;
  right: 10% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1199px) {
  .duhan2_searchBox > .container,
  .duhan2_searchBox .container {
    width: 970px !important;
    max-width: calc(100% - 24px) !important;
  }
}

@media (max-width: 991px) {
  .video-background__media {
    opacity: .10 !important;
  }

  .duhan2_searchBox > .container,
  .duhan2_searchBox .container {
    width: 750px !important;
    max-width: calc(100% - 18px) !important;
  }

  input.duhan2_SearchInput,
  #duhan2_aramaKutusu {
    width: 94% !important;
    max-width: none !important;
  }

  #duhan2_aramaSonuc,
  div#duhan2_aramaSonuc {
    left: 3% !important;
    right: 3% !important;
    width: 94% !important;
    max-width: none !important;
  }
}


/* =========================================================
   DUHAN2 WIKI V10
   - Arama çubuğu eski kompakt görünümünde
   - Hareketli katman daha görünür
   - DUHAN2 Discord sabit widget
   - Üst menü Legal Pazar bağlantısı
   ========================================================= */

/* Hareketli arka planı bir kademe daha görünür yap */
.video-background__media {
  opacity: .21 !important;
  filter: saturate(1.08) brightness(.82) contrast(1.08) !important;
  mix-blend-mode: screen !important;
}

.video-background__overlay {
  background:
    radial-gradient(circle at 50% 22%, rgba(20, 112, 182, .08), transparent 42%),
    linear-gradient(90deg,
      rgba(0, 3, 10, .07) 0%,
      rgba(0, 3, 10, 0) 28%,
      rgba(0, 3, 10, 0) 72%,
      rgba(0, 3, 10, .07) 100%) !important;
}

/* Arama çubuğunu eski görünüm ve ölçüsüne kesin olarak döndür */
.duhan2_searchBox > .container,
.duhan2_searchBox .container {
  width: 1170px !important;
  max-width: calc(100% - 30px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 15px !important;
  padding-left: 15px !important;
}

.duhan2_searchBox .row.no-margin.no-padding {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  text-align: center !important;
}

input.duhan2_SearchInput,
#duhan2_aramaKutusu {
  display: block !important;
  position: relative !important;
  top: 0 !important;
  width: 80% !important;
  max-width: 936px !important;
  height: 40px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  border: 1px solid rgba(69, 147, 211, .56) !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(11, 30, 53, .96), rgba(5, 15, 28, .97)) !important;
  box-shadow:
    inset 0 0 14px rgba(0, 125, 255, .08),
    0 12px 28px rgba(0, 0, 0, .34) !important;
  color: #eaf7ff !important;
  font-size: 14px !important;
}

#duhan2_aramaSonuc {
  left: 10% !important;
  right: auto !important;
  width: 80% !important;
  max-width: 936px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* Legal Pazar üst menü */
.duhan2-legal-pazar-menu > a {
  color: #d9b56f !important;
  font-weight: 700 !important;
  text-shadow: 0 0 8px rgba(217, 181, 111, .22);
}

.duhan2-legal-pazar-menu > a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(0, 174, 255, .72);
}

/* Ana sitedeki stile uyumlu Discord widget */
.duhan2-wiki-discord-widget {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 10080;
  display: block;
  width: 248px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(87, 96, 255, .52);
  border-radius: 9px;
  background:
    radial-gradient(circle at 18% 18%, rgba(43, 90, 170, .18), transparent 42%),
    linear-gradient(145deg, rgba(8, 13, 28, .98), rgba(13, 11, 20, .98));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .045);
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .24s ease, filter .24s ease, box-shadow .24s ease;
}

.duhan2-wiki-discord-widget:hover {
  transform: translateY(-5px);
  filter: brightness(1.08);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, .64),
    0 0 22px rgba(88, 101, 242, .20);
}

.duhan2-wiki-discord-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.duhan2-wiki-discord-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 9px rgba(57, 158, 255, .34));
}

.duhan2-wiki-discord-copy {
  min-width: 0;
}

.duhan2-wiki-discord-copy strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.duhan2-wiki-discord-copy span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: #acb5c7;
  font-size: 11px;
}

.duhan2-wiki-discord-copy span i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #27d56c;
  box-shadow: 0 0 10px rgba(39, 213, 108, .72);
}

.duhan2-wiki-discord-button {
  display: block;
  width: 100%;
  margin-top: 11px;
  padding: 9px 8px;
  border-radius: 3px;
  background: linear-gradient(180deg, #6674ff, #5262e9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

@media (max-width: 1199px) {
  .duhan2_searchBox > .container,
  .duhan2_searchBox .container {
    width: 970px !important;
    max-width: calc(100% - 24px) !important;
  }
}

@media (max-width: 991px) {
  .video-background__media {
    opacity: .12 !important;
  }

  .duhan2_searchBox > .container,
  .duhan2_searchBox .container {
    width: 750px !important;
    max-width: calc(100% - 18px) !important;
  }

  input.duhan2_SearchInput,
  #duhan2_aramaKutusu {
    width: 94% !important;
    max-width: none !important;
  }

  #duhan2_aramaSonuc {
    left: 3% !important;
    width: 94% !important;
    max-width: none !important;
  }

  .duhan2-wiki-discord-widget {
    left: 8px;
    bottom: 8px;
    width: 205px;
    padding: 9px;
  }

  .duhan2-wiki-discord-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .duhan2-wiki-discord-copy strong {
    font-size: 13px;
  }

  .duhan2-wiki-discord-copy span,
  .duhan2-wiki-discord-button {
    font-size: 10px;
  }
}

@media (max-width: 560px) {
  .duhan2-wiki-discord-widget {
    width: 58px;
    height: 58px;
    padding: 5px;
    border-radius: 50%;
  }

  .duhan2-wiki-discord-top {
    width: 100%;
    height: 100%;
  }

  .duhan2-wiki-discord-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
  }

  .duhan2-wiki-discord-copy,
  .duhan2-wiki-discord-button {
    display: none;
  }
}


/* DUHAN2 WIKI V11 - Discord widget ikon düzeltmesi */
.duhan2-wiki-discord-icon {
  background: transparent !important;
  object-fit: contain !important;
}
