/* =====================================================================
   DARK2 PANEL TEMASI  --  "Abyss"
   ---------------------------------------------------------------------
   Duzen  : onlinemetin2.net (ThemeArion) 3 kolonlu iskelet
   Renk   : darkmt2.com ana sayfa tasarimi (bg.png / fusion.png)
            koyu petrol-mavi + cyan aksan
   Not    : Bu dosya SADECE gorsel katmandir. PHP mantigi, form
            alanlari, JS kancalari (#onlineCount, #progressBar,
            .password-group, .pw2text, .pwcreat, a.itemshop,
            #register, #login ...) aynen korunmustur.
   Yukleme sirasi: bootstrap.min.css  ->  dark2.css
   ===================================================================== */

/* ----------------------------- Degiskenler ------------------------- */
:root {
  /* RGB kanallari */
  --rgb-dark:   4,16,26;
  --rgb-brand:  78,200,255;

  /* Arka planlar (koyu petrol / gece mavisi) */
  --bg-darkest: #04101a;
  --bg-dark:    #061724;
  --bg-panel:   #08202f;
  --bg-panel-2: #0d2b3e;
  --bg-elev:    #0d2b3e;
  --bg-card:    #061724;

  /* Cyan / primary */
  --brand:        #4ec8ff;
  --brand-bright: #8fe3ff;
  --brand-soft:   #d7eeff;
  --brand-muted:  #7fb6d6;
  --brand-deep:   #1a8fd0;
  --brand-deep2:  #0d6da3;
  --teal:         #35d6c2;

  /* Vurgu / CTA */
  --accent:        #1f7fc0;
  --accent-bright: #3fa9e8;
  --accent-deep:   #0b4f7a;

  /* Kenarliklar (yari saydam cyan) */
  --border:        rgba(78,200,255,0.13);
  --border-mid:    rgba(78,200,255,0.24);
  --border-bright: rgba(78,200,255,0.42);

  /* Metin */
  --text:        #b9d3e4;
  --text-bright: #eaf6ff;
  --text-strong: #eaf6ff;
  --muted:       #9dbdd2;
  --dim:         #5f7f95;
  --link:        #9ddcff;
  --link-hover:  #4ec8ff;

  /* Durum renkleri */
  --red:        #3a1116;
  --red-light:  #ff8f8f;
  --green:      #4fd07a;
  --orange:     #f0a94a;
  --warning:    #f0a94a;

  /* Krallik */
  --shinsoo: #e74c3c; --chunjo: #f1c40f; --jinno: #3498db;

  /* Butonlar */
  --btn-brand-text:   #04222f;
  --btn-primary-bg:   #0a2436;
  --btn-primary-text: #b9dcf2;

  --radius:    6px;
  --radius-sm: 4px;

  --shadow:      0 4px 18px rgba(0,0,0,0.45);
  --shadow-lift: 0 22px 40px -12px rgba(0,0,0,0.7);
  --glow:        0 0 22px rgba(78,200,255,0.18);

  /* Oyun paneli tipografisi: baslikta sikistirilmis Oswald, govdede Roboto,
     buyuk bolum baslikarinda fantastik Cinzel */
  --font-head:    "Oswald", "Segoe UI", Arial, sans-serif;
  --font-display: "Cinzel", "Oswald", Georgia, serif;
  --font-body:    "Roboto", "Segoe UI", Arial, sans-serif;

  --maxw: 1320px;
}

/* ----------------------------- Temel ------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body,
body.main-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-darkest);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Sabit arka plan katmani (bg.png) + karartma */
/* Katman sirasi: arka plan (-3) -> karartma (-2) -> yildiz/parcacik (-1) -> icerik */
body.main-body::before {
  content: ""; position: fixed; inset: 0; z-index: -3;
  background: url("../images/bg.png") center center / cover no-repeat;
}
body.main-body::after {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(4,16,26,0.72) 0%, rgba(4,16,26,0.50) 35%, rgba(4,16,26,0.88) 100%);
}
/* iOS Safari: fixed arka plan sorunu */
@supports (-webkit-touch-callout: none) {
  body.main-body::before { background-attachment: scroll; }
}

img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; transition: color .18s ease; }
a:hover, a:focus { color: var(--link-hover); text-decoration: none; }
ul { list-style: none; }
hr {
  border: 0; height: 1px; margin: 18px 0;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--text-strong);
  font-weight: 700; line-height: 1.2;
  letter-spacing: .4px;
}
::selection { background: rgba(78,200,255,0.30); color: #fff; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bg-darkest); }
::-webkit-scrollbar-thumb { background-color: var(--bg-panel-2); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background-color: var(--brand-deep); }

/* Eski temadan kalan gereksiz kabuklar */
.masthead, .fvideo, .nav-mobile, .fixed-top,
.mobile-offcanvas, #particles-js,
.toTop-fon { display: none !important; }

/* =====================================================================
   UST BAR  (menu + online durumu)
   ===================================================================== */
.d2-top {
  position: relative; z-index: 200;
  background: linear-gradient(180deg, rgba(5,20,32,0.97), rgba(5,20,32,0.80));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.d2-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.d2-top .d2-wrap {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; padding: 4px 18px 9px;
}

/* Ana menu */
/* Menu, alttaki banner ile ayni genislikte ve ortalanmis */
.top-menu { flex: 1 1 100%; min-width: 0; }
.top-menu > ul {
  display: flex; flex-wrap: nowrap; justify-content: center;
  gap: 6px; margin: 0; padding: 0;
}
.top-menu li { position: relative; list-style: none; }
.top-menu > ul > li > a {
  display: block; padding: 9px 13px;
  font-family: var(--font-head); font-size: 13px; font-weight: 500;
  letter-spacing: .8px; text-transform: uppercase; white-space: nowrap;
  color: var(--brand-soft);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(13,43,62,.55), rgba(6,23,36,.75));
  transition: all .22s ease;
}
.top-menu > ul > li > a:hover {
  color: var(--brand-bright); border-color: var(--border-bright);
  background: linear-gradient(180deg, rgba(31,127,192,.35), rgba(6,23,36,.85));
  box-shadow: 0 0 14px -3px rgba(78,200,255,.55);
}
.top-menu > ul > li.active > a,
.top-menu > ul > li:hover > a { color: var(--brand-bright); border-color: var(--border-bright); }
.top-menu > ul > li.active > a {
  background: linear-gradient(180deg, rgba(31,127,192,.45), rgba(6,23,36,.9));
  box-shadow: 0 0 16px -4px rgba(78,200,255,.65);
}
.top-menu li ul {
  position: absolute; top: 100%; left: 0; min-width: 190px; margin: 0; padding: 6px;
  background: var(--bg-panel); border: 1px solid var(--border-bright);
  border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease; z-index: 60;
}
.top-menu li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.top-menu li ul li a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--text);
}
.top-menu li ul li a:hover { background: rgba(78,200,255,0.12); color: var(--brand); }

/* Online durum cubugu - iki sayac her zaman yan yana */
.d2-status-group {
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: 16px; margin-left: auto; flex: 0 0 auto;
}
.top-panel-status {
  display: flex; align-items: center; gap: 8px; line-height: 1;
  font-size: 12.5px; color: var(--muted); white-space: nowrap;
}
.top-panel-status > span { display: inline-flex; align-items: center; line-height: 1; }
.top-panel-status .status-label { line-height: 1; }
.d2-status-group .top-panel-status { margin-left: 0; }
.d2-status-group .top-panel-status + .top-panel-status {
  padding-left: 16px; border-left: 1px solid var(--border);
}
/* 24 saatlik cubuk biraz farkli tonda olsun */
.progress-bar-24 {
  background: linear-gradient(90deg, var(--accent-deep), var(--teal)) !important;
  box-shadow: 0 0 10px rgba(53,214,194,0.55) !important;
}
.top-panel-status .online-users i { font-size: 11px; margin-right: 4px; }
.progress-bar-bg {
  display: inline-block; width: 110px; height: 7px; border-radius: 6px;
  background: #0a1f2e; overflow: hidden; border: 1px solid var(--border);
}
.progress-bar {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--brand-deep2), var(--brand));
  box-shadow: 0 0 10px rgba(78,200,255,0.6);
}
.online-users { color: var(--brand); font-weight: 700; }
.online-users .user-icon::before {
  content: "\f007"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  margin-right: 4px; font-size: 11px;
}

/* =====================================================================
   GIRIS SATIRI + LOGO/BANNER
   ===================================================================== */
.d2-shell { max-width: var(--maxw); margin: 0 auto; padding: 0 18px 60px; }

.login-row {
  position: relative; z-index: 100;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 10px; padding: 12px 0 0;
}
.login-panel { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.login-row > .dropdown-block { margin-left: auto; }
.login-panel .who {
  font-size: 13px; color: var(--muted); margin-right: 4px;
}
.login-panel .who b { color: var(--brand); font-family: var(--font-head); letter-spacing: .5px; }

/* Dil dropdown */
.dropdown-block, .dropdown-block-b { position: relative; cursor: pointer; user-select: none; outline: none; }
.dropdown-block > div, .dropdown-block-b > div {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 13px; border: 1px solid var(--border-mid); border-radius: var(--radius);
  background: rgba(78,200,255,0.04); font-size: 13px; color: var(--text-bright);
  transition: border-color .18s ease;
}
.dropdown-block:hover > div, .dropdown-block-b:hover > div { border-color: var(--border-bright); }
.dropdown-block img, .dropdown-block-b img { width: 20px; height: auto; border-radius: 2px; display: block; }
.dropdown-block .dropdown, .dropdown-block-b .dropdown {
  position: absolute; top: calc(100% + 6px); right: 0; left: auto; min-width: 165px;
  max-height: min(60vh, 420px); overflow-y: auto; margin: 0; padding: 6px;
  background: var(--bg-panel); border: 1px solid var(--border-bright);
  border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .18s ease; z-index: 250;
}
.dropdown-block.active .dropdown, .dropdown-block-b.active .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-block-b .dropdown { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; transform: translateY(6px); }
.dropdown-block-b.active .dropdown { transform: translateY(0); }
.dropdown-block .dropdown li, .dropdown-block-b .dropdown li { list-style: none; }
.dropdown-block .dropdown li a, .dropdown-block-b .dropdown li a {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  border-radius: var(--radius-sm); color: var(--text); font-size: 13px;
}
.dropdown-block .dropdown li a:hover, .dropdown-block-b .dropdown li a:hover {
  background: rgba(78,200,255,0.12); color: var(--brand);
}

/* Ust menudeki dil bayraklari - hepsi yan yana, acilir menu yok */
.top-menu > ul > li.lang-item {
  display: flex; align-items: center; margin-left: 8px;
  position: relative; top: 5px;
}
.lang-flags {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 5px;
  padding: 5px 8px; border: 1px solid var(--border-mid); border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(13,43,62,.55), rgba(6,23,36,.75));
}
.lang-flags .lang-flag {
  display: block; line-height: 0; border-radius: 3px; overflow: hidden;
  border: 1px solid transparent; opacity: .55;
  transition: opacity .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.lang-flags .lang-flag img {
  display: block; width: 24px; height: 17px; object-fit: cover; border-radius: 2px;
}
.lang-flags .lang-flag:hover { opacity: 1; transform: translateY(-2px); }
.lang-flags .lang-flag.active {
  opacity: 1; border-color: var(--brand);
  box-shadow: 0 0 10px -1px rgba(78,200,255,.85);
}

/* Ust banner */
.d2-header {
  position: relative; display: flex; align-items: center; justify-content: center;
  margin: 10px auto 0; overflow: hidden; width: 100%; aspect-ratio: 1920 / 500;
  background: var(--bg-panel);
  border: 1px solid var(--border-mid); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.d2-header .logo { display: block; width: 100%; height: 100%; }
.d2-header .logo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
/* GIF tam inene kadar sabit kare goster; boylece animasyon yarim yuklenip
   "bugmus gibi" atlamiyor, tek seferde bastan dogru donguyle basliyor */
.d2-header.is-loading .logo img { filter: brightness(.85) saturate(.9); }
.d2-header.is-loading::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(78,200,255,.10) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: d2BannerShimmer 1.6s linear infinite;
}
@keyframes d2BannerShimmer { from { background-position: 150% 0; } to { background-position: -150% 0; } }
.d2-header .logo img { transition: opacity .35s ease, filter .35s ease; }
@supports not (aspect-ratio: 1 / 1) {
  .d2-header { aspect-ratio: auto; }
  .d2-header .logo img { height: auto; }
}
.d2-header::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 -50px 70px -40px rgba(4,16,26,0.95);
}

/* ---------------------------------------------------------------------
   DAR GORUNUM (EP satin alma / oy verme - oyun ici tarayici)
   body.d2-compact: ust menu linkleri, yan reklamlar ve canli destek
   balonu gizlenir; banner + bayraklar + uye islem satiri kalir.
   Markup ayni kalir; sadece gorunum degisir.
   --------------------------------------------------------------------- */
body.d2-compact .top-menu > ul > li:not(.lang-item) { display: none; }
body.d2-compact .top-menu > ul { justify-content: center; gap: 0; }
body.d2-compact .top-menu > ul > li.lang-item { margin-left: 0; top: 0; }
body.d2-compact .d2-top .d2-wrap { padding: 8px 18px; }
body.d2-compact .login-row { padding: 10px 0 0; justify-content: center; }
body.d2-compact .side-announcement,
body.d2-compact .side-announcement2 { display: none; }

/* tawk.to canli destek: Tawk_API.hideWidget() calismazsa (ornegin script
   sirasi degisirse) diye gorsel olarak da kapatiyoruz. Tawk kendi DOM'unu
   birkac farkli sarmalayicida olusturdugu icin hepsi hedefleniyor. */
body.d2-compact #tawkchat-container,
body.d2-compact #tawkchat-minified-wrapper,
body.d2-compact .tawk-min-container,
body.d2-compact .widget-visible,
body.d2-compact iframe[title="chat widget"],
body.d2-compact iframe[src*="tawk.to"] { display: none !important; }

/* =====================================================================
   3 KOLONLU ISKELET
   ===================================================================== */
.d2-grid {
  display: grid; grid-template-columns: 270px minmax(0,1fr) 290px;
  gap: 22px; align-items: start; margin-top: 20px;
}
.d2-grid.d2-grid-solo { grid-template-columns: minmax(0,1fr); }
.d2-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.left-sidebar, .right-sidebar { display: flex; flex-direction: column; gap: 20px; }

/* =====================================================================
   PANEL / KART / WIDGET
   ===================================================================== */
.panel, .widget, .card,
.projects-section .post {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .3s ease;
}
/* Kose motifleri */
.panel::before, .widget::before, .card::before, .projects-section .post::before {
  content: ""; position: absolute; top: 7px; left: 7px; width: 10px; height: 10px;
  border: 1px solid var(--brand); border-right: none; border-bottom: none;
  opacity: .55; pointer-events: none; z-index: 2;
}
.panel::after, .widget::after, .card::after, .projects-section .post::after {
  content: ""; position: absolute; bottom: 7px; right: 7px; width: 10px; height: 10px;
  border: 1px solid var(--brand); border-left: none; border-top: none;
  opacity: .55; pointer-events: none; z-index: 2;
}
.panel:hover, .widget:hover, .card:hover, .projects-section .post:hover { border-color: var(--brand); }

.panel-heading, .card-title, .sidebar-title,
.projects-section .post_title {
  position: relative;
  font-family: var(--font-head); font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; font-size: 15px; color: var(--text-bright);
  padding: 14px 20px; margin: 0; text-align: center;
  background: linear-gradient(180deg, rgba(13,43,62,0.9), rgba(6,23,36,0.94));
  border-bottom: 1px solid var(--border);
}
.panel-heading::after, .card-title::after, .sidebar-title::after,
.projects-section .post_title::after {
  content: ""; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%);
  width: 70%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.panel-body, .card-body,
.projects-section .post_content { padding: 20px; background: transparent; }
.card-body > :first-child, .panel-body > :first-child { margin-top: 0; }

.sidebar-title a { color: var(--brand); font-size: 12px; letter-spacing: 1px; }

/* Bolum basligi */
.section-title, .text-title {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2px;
  font-size: 26px; color: var(--brand); text-align: center; margin: 6px 0 4px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}
.section-sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.text-gold { color: var(--brand) !important; }
.text-white { color: #fff !important; }

/* =====================================================================
   BUTONLAR
   ===================================================================== */
.button, .btn, .btn-login, .btn-primary,
input[type="submit"], button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border: 1px solid var(--border-mid); border-radius: var(--radius);
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer; line-height: 1.2;
  background: var(--btn-primary-bg); color: var(--btn-primary-text);
  transition: all .15s ease; text-decoration: none;
}
.button:hover, .btn:hover, .btn-login:hover, .btn-primary:hover,
input[type="submit"]:hover, button[type="submit"]:hover {
  border-color: var(--brand); color: var(--brand);
  background: rgba(78,200,255,0.08);
  box-shadow: 0 0 16px rgba(78,200,255,0.14);
}
.btn:focus, .btn.focus { box-shadow: 0 0 0 3px rgba(78,200,255,0.16); }

/* Dolgulu / birincil aksiyon */
.button-bg, .btn-login, .special-btn, .satinal-btn,
input[type="submit"], .reg-buttons .button-bg {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  color: #fff; border: 1px solid rgba(78,200,255,0.45); font-weight: 700;
}
.button-bg:hover, .btn-login:hover, .special-btn:hover, .satinal-btn:hover,
input[type="submit"]:hover {
  color: #fff; filter: brightness(1.12);
  box-shadow: 0 0 20px rgba(78,200,255,0.35);
  border-color: var(--brand);
}
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-danger { background: var(--red); color: var(--red-light); border-color: rgba(200,70,70,0.4); }
.btn-danger:hover { border-color: rgba(220,90,90,0.75); color: #ffb3b3; background: rgba(200,70,70,0.14); box-shadow: none; }
.button.type1 { padding: 9px 20px; font-size: 12.5px; }
.reg-buttons { margin-top: 14px; text-align: center; }
.border-gold { border-color: var(--brand) !important; color: var(--brand) !important; }

/* =====================================================================
   FORMLAR
   ===================================================================== */
label, .m2-label {
  display: block; margin: 14px 0 6px;
  font-size: 12.5px; font-weight: 600; color: var(--text-bright); letter-spacing: .4px;
}
.input-nou, .form-control,
input[type="text"], input[type="password"], input[type="email"],
input[type="number"], input[type="tel"], select, textarea {
  display: block; width: 100%; height: 52px; padding: 0 16px;
  font-family: var(--font-body); font-size: 14px; color: var(--text-bright);
  background: var(--bg-dark); border: 1px solid var(--border-mid);
  border-radius: var(--radius); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  margin-bottom: 14px;
}
.input-nou::placeholder, .form-control::placeholder,
input::placeholder, textarea::placeholder { color: var(--dim); }
.input-nou:focus, .form-control:focus,
input:focus, select:focus, textarea:focus {
  background: var(--bg-dark); color: var(--text-bright);
  border-color: var(--border-bright);
  box-shadow: 0 0 0 3px rgba(78,200,255,0.10);
}
textarea, textarea.form-control { height: auto; min-height: 140px; padding: 12px 16px; resize: vertical; }
select, select.form-control {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234ec8ff' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
select option { background: var(--bg-dark); color: var(--text-bright); }
input[type="checkbox"], input[type="radio"] {
  width: 17px; height: 17px; accent-color: var(--brand); cursor: pointer;
  vertical-align: middle; margin-right: 7px;
}
.checkbox { display: inline-flex; align-items: flex-start; gap: 4px; font-size: 13px; color: var(--text); }
.checkbox span { padding-top: 1px; }
.form-group { position: relative; margin-bottom: 14px; }

/* Sifre alani (JS: .password-group > input + .pw2text / .pwcreat) */
.password-group { display: flex; align-items: stretch; gap: 6px; margin-bottom: 14px; }
.password-group input { flex: 1; margin-bottom: 0; }
.password-group .btn, .password-group .icons {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; flex-shrink: 0; padding: 0;
  border: 1px solid var(--border-mid); border-radius: var(--radius);
  background: var(--bg-elev); color: var(--brand); cursor: pointer;
}
.password-group .btn:hover { border-color: var(--brand); color: var(--brand-bright); background: rgba(78,200,255,0.12); }

/* reCAPTCHA ortalama */
.g-recaptcha { display: inline-block; }

/* Uyelik / giris formlarini dar tut */
#login, #register, #ForgetPassword, #ForgetPasswordChange,
#ForgetPin, #ForgetPinChange, #ChangeEmail, #ChangePassword,
#ChangePin, #SendDeleteCode, #SendSecurityPassword, #CouponUse {
  max-width: 480px; margin: 0 auto;
}
#register { max-width: 520px; }
/* Bootstrap .row icindeki etiketler tasmasin */
.row > label, .row label { margin-top: 0; margin-bottom: 0; }
/* Eski turuncu vurgu -> marka rengi */
font[color] { color: var(--brand) !important; }

/* =====================================================================
   UYARI KUTULARI
   ===================================================================== */
.alert {
  border-radius: var(--radius); padding: 14px 18px; margin: 0 0 18px;
  font-size: 13.5px; border: 1px solid;
}
.alert-success { background: rgba(79,208,122,0.10); border-color: rgba(79,208,122,0.35); color: #8fe6ab; }
.alert-danger  { background: rgba(220,80,80,0.11);  border-color: rgba(220,80,80,0.38);  color: var(--red-light); }
.alert-info    { background: rgba(78,200,255,0.10); border-color: rgba(78,200,255,0.30); color: var(--brand); }
.alert-dark    { background: rgba(13,43,62,0.55);   border-color: var(--border-mid);     color: var(--text-bright); }
.alert-heading { color: var(--brand); font-family: var(--font-head); letter-spacing: 1px; }

/* =====================================================================
   TABLOLAR
   ===================================================================== */
.table, .tranking, .rankings-table, .eptable, .tablelist {
  width: 100%; border-collapse: collapse; font-size: 14px;
  color: var(--text); margin-bottom: 0; background: transparent;
}
.table th, .tranking th, .rankings-table th, .eptable th, .tablelist th,
.thead th, .thead-inverse th {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  font-size: 13px; font-weight: 700; color: var(--brand);
  text-align: left; padding: 15px 16px;
  border: 0; border-bottom: 1px solid var(--border-mid);
  background: rgba(13,43,62,0.55);
  vertical-align: middle;
}
.table td, .tranking td, .rankings-table td, .eptable td, .tablelist td {
  padding: 13px 16px; border: 0; border-bottom: 1px solid rgba(78,200,255,0.08);
  color: var(--text); vertical-align: middle;
}
.table tbody tr, .tranking tbody tr { transition: background .15s ease; }
.table-striped tbody tr:nth-of-type(odd),
.tranking tbody tr:nth-of-type(odd) { background: rgba(0,0,0,0.18); }
.table-hover tbody tr:hover, .tranking tbody tr:hover {
  background: rgba(78,200,255,0.07); color: var(--text-bright);
}
.table tbody tr:last-child td { border-bottom: 0; }
.table-bordered, .table-bordered td, .table-bordered th { border-color: rgba(78,200,255,0.10); }
.table thead th { border-bottom-width: 1px; }
.table-responsive-sm { border-radius: var(--radius); }

/* Uzun siralama basliklari (orn. "Metin tasi hasar siralamasi") tasmasin */
.thead-inverse th, .tranking th {
  font-size: 11.5px; letter-spacing: .5px; line-height: 1.3;
  white-space: normal; max-width: 120px; vertical-align: middle;
  padding: 12px 10px;
}

/* Sayfalama */
.pagination { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; justify-content: center; }
.pagination a, .pagination strong, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 11px;
  border: 1px solid var(--border-mid); border-radius: var(--radius);
  color: var(--text-bright); font-size: 13px; font-weight: 600; transition: all .15s ease;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); background: rgba(78,200,255,0.10); }
.pagination strong, .pagination .active {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  color: #fff; border-color: var(--border-bright);
}

/* Rozetler */
.badge { display: inline-block; padding: 4px 11px; border-radius: var(--radius-sm); font-size: 11.5px; font-weight: 600; border: 1px solid var(--border); }

/* =====================================================================
   ESKI SAYFA KABUGU  ->  YENI PANEL GORUNUMU
   (views icindeki .projects-section > .container > .row > .mainpage yapisi)
   ===================================================================== */
.projects-section {
  margin-top: 0 !important; padding: 0 !important;
  background: transparent !important;
}
.projects-section > .container {
  max-width: 100% !important; width: 100% !important; padding: 0 !important;
}
.projects-section .row { margin-left: 0; margin-right: 0; }
.projects-section .mainpage, .projects-section .col, .projects-section .col-sm {
  padding-left: 0; padding-right: 0;
}
.projects-section .padding-container { padding: 0; }
.projects-section .post { margin-bottom: 20px; }
.projects-section .post_title .pre-social {
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit;
  background: none; padding: 0; margin: 0; border: 0;
}
/* Baslik bir .post_title icinde degilse (ornegin Download sayfasi) */
h2.pre-social, .mainpage > .pre-social {
  display: block; text-align: center;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2px;
  font-size: 26px; color: var(--brand); margin: 0 0 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}
.fade_in { animation: d2FadeIn .35s ease both; }
@keyframes d2FadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.page-hd {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2px;
  color: var(--brand); font-size: 20px; margin-bottom: 14px;
}
.post_date { font-size: 12px; color: var(--muted); }

/* =====================================================================
   ANASAYFA: SLIDER / TEKLIF / HABERLER
   ===================================================================== */
.news-bg { background: transparent; }
.project, .project-text { background: transparent; }

.carousel { border-radius: var(--radius); overflow: hidden; }
.carousel-inner img { border-radius: 0; }
.carousel-control-prev, .carousel-control-next { width: 8%; opacity: .55; }
.carousel-control-prev:hover, .carousel-control-next:hover { opacity: 1; }

.offer-section {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(13,43,62,0.85), rgba(6,23,36,0.9));
  border-left: 1px solid var(--border); padding: 46px 12px 18px; text-align: center;
}

/* Tanitim kartlari (3'lu ust blok) */
.news-top-block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.top-news {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border-mid); border-radius: var(--radius);
  background: var(--bg-panel); transition: border-color .25s ease, transform .25s ease;
}
.top-news:hover { border-color: var(--brand); transform: translateY(-3px); }
.top-news-img { height: 140px; background-size: cover; background-position: center; flex-shrink: 0; }
.top-news-body { padding: 14px 16px; display: flex; flex-direction: column; flex: 1; }
.top-news-title a { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--text-bright); letter-spacing: .5px; }
.top-news-title a:hover { color: var(--brand); }
.top-news-info {
  font-size: 12.5px; color: var(--text); margin: 6px 0 12px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.top-news-read-more a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brand);
}
.top-news-read-more a::after { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; }

/* Duyuru listesi */
.news { display: block; }
.news-content {
  display: block; margin-bottom: 14px; padding: 0; overflow: hidden;
  border: 1px solid var(--border-mid); border-radius: var(--radius);
  background: rgba(6,23,36,0.6); transition: border-color .2s ease;
}
.news-content:hover { border-color: var(--brand); }
.news-content .title {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  background: linear-gradient(180deg, rgba(13,43,62,0.85), rgba(6,23,36,0.9));
  border-bottom: 1px solid var(--border);
}
.news-content .title .icon {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--bg-elev); color: var(--brand); font-size: 14px;
}
.news-content .title-text { flex: 1; min-width: 0; margin: 0; font-size: 16px; }
.news-content .title-text a { color: var(--text-bright); font-family: var(--font-head); letter-spacing: .5px; }
.news-content .title-text a:hover { color: var(--brand); }
.news-content .title-right { font-size: 12px; color: var(--muted); white-space: nowrap; }
.news-desc { padding: 16px; font-size: 13.5px; line-height: 1.8; color: var(--text); }
.news-desc img { border-radius: var(--radius); margin: 8px 0; }
.news-btn { padding: 0 16px 16px; }
i.news { display: none; }

/* Youtube gomulu videolar */
.projects-section iframe { max-width: 100%; border: 1px solid var(--border-mid); border-radius: var(--radius); }

/* =====================================================================
   KENAR WIDGET'LARI
   ===================================================================== */
.dowload-button a {
  display: block; text-align: center; padding: 17px;
  border-radius: var(--radius);
  font-family: var(--font-head); font-size: 17px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  border: 1px solid var(--border-bright); box-shadow: var(--glow);
  transition: all .2s ease;
}
.dowload-button a::before { content: "\f019"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 9px; }
.dowload-button a:hover { color: #fff; filter: brightness(1.12); box-shadow: 0 0 26px rgba(78,200,255,0.4); }

.hero-guides-block {
  display: block; padding: 16px; border-radius: var(--radius);
  border: 1px solid var(--border-mid);
  background: linear-gradient(135deg, rgba(78,200,255,0.12), var(--bg-panel));
  transition: all .2s ease;
}
.hero-guides-block:hover { border-color: var(--brand); }
.block-info { font-size: 12.5px; color: var(--text); line-height: 1.6; }
.block-info span {
  display: block; font-family: var(--font-head); font-size: 16px;
  letter-spacing: 1.5px; color: var(--brand); margin-bottom: 4px;
}

.side-banner {
  display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-mid); transition: all .2s ease;
}
.side-banner:hover { border-color: var(--brand); box-shadow: var(--glow); }
.side-banner img { display: block; width: 100%; }

/* Siralama widget'i */
.rankings, .top-guilds { padding: 6px 10px 12px; }
.rankings-title {
  display: flex; align-items: center; gap: 8px; padding: 8px 6px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--muted); border-bottom: 1px solid var(--border);
}
.rankings-title-block, .guilds {
  display: flex; align-items: center; gap: 8px; padding: 9px 6px;
  border-bottom: 1px solid rgba(78,200,255,0.06); transition: background .15s ease;
}
.rankings-title-block:hover, .guilds:hover { background: rgba(78,200,255,0.06); }
.rankings-title-block:last-child, .guilds:last-child { border-bottom: 0; }
.rank-number, .rank-number-first, .rank-number-second, .rank-number-third, .guild-img {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  color: var(--text-bright); background: var(--bg-elev);
}
.rank-number-first, .rankings-title-block.first .rank-number {
  background: linear-gradient(180deg, #ffe08a, #d9a441); color: #3a2a05;
  box-shadow: 0 0 10px rgba(251,191,36,0.45); border: 1px solid rgba(255,224,138,0.7);
}
.rank-number-second, .rankings-title-block.second .rank-number {
  background: linear-gradient(180deg, #eef2f7, #aab4c2); color: #2a2f38;
  box-shadow: 0 0 8px rgba(220,228,238,0.25); border: 1px solid rgba(238,242,247,0.7);
}
.rank-number-third, .rankings-title-block.third .rank-number {
  background: linear-gradient(180deg, #e8a268, #a8662f); color: #2a1c10;
  box-shadow: 0 0 8px rgba(232,162,104,0.3); border: 1px solid rgba(232,162,104,0.7);
}
.rank-name, .clan-team {
  flex: 1; min-width: 0; font-size: 13px; color: var(--text-strong);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.clan-team span { display: block; font-size: 11px; color: var(--muted); }
.rank-lvl, .points { font-size: 12.5px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.purple { color: var(--teal); }

/* Yan yana sayac kutulari (online / online 24h) */
.stat-duo {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px; padding: 12px 12px 8px; align-items: stretch;
}
.stat-duo:only-child { padding-bottom: 12px; }
.stat-box {
  min-width: 0; padding: 10px 6px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  border: 1px solid var(--border-mid); border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(13,43,62,.6), rgba(6,23,36,.85));
}
.stat-box i {
  display: block; font-size: 14px; color: var(--brand);
  height: 16px; line-height: 16px; margin-bottom: 4px;
}
.stat-box b {
  display: block; font-family: var(--font-head); font-size: 20px;
  height: 24px; line-height: 24px;
  font-weight: 700; color: var(--brand-bright); letter-spacing: .5px;
  text-shadow: 0 0 12px rgba(78,200,255,.45);
}
.stat-box .stat-bar {
  display: block; width: 100%; height: 5px; margin-top: 7px; flex: 0 0 auto;
}
.stat-box .stat-name {
  display: flex; align-items: flex-start; justify-content: center;
  margin-top: 6px; min-height: 26px; font-size: 10.5px; line-height: 1.25;
  letter-spacing: .3px; color: var(--muted); overflow-wrap: anywhere;
}

/* Sunucu bilgi listesi */
.info-list { padding: 8px 12px 12px; margin: 0; }
.info-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 4px; border-bottom: 1px solid rgba(78,200,255,0.07); font-size: 13px;
}
.info-list li:last-child { border-bottom: 0; }
.info-list li span { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.info-list li span i { color: var(--brand); width: 16px; text-align: center; }
.info-list li b { color: var(--text-bright); font-family: var(--font-head); letter-spacing: .5px; }
.info-list li a { flex: 1; display: flex; align-items: center; justify-content: space-between; color: var(--text-bright); }
.info-list li a span { color: inherit; }
.info-list li a:hover, .info-list li a:hover span { color: var(--brand); }
.info-list li a:hover i { color: var(--brand-bright); }

/* =====================================================================
   ANASAYFA HIZLI ERISIM SERIDI
   ===================================================================== */
.quick-bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.quick-bar a.qb-vote {
  border-color: rgba(255,215,106,.55);
  background: linear-gradient(180deg, rgba(255,215,106,.16), rgba(6,23,36,.9));
  animation: d2VotePulse 1.8s ease-in-out infinite;
}
.quick-bar a.qb-vote i, .quick-bar a.qb-vote span { color: #ffd76a; }
.quick-bar a.qb-vote:hover { border-color: #ffd76a; color: #ffe9a8; box-shadow: 0 0 22px rgba(255,215,106,.45); }
.quick-bar a.qb-vote:hover i { filter: drop-shadow(0 0 16px rgba(255,215,106,.95)); }
.quick-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-width: 0; padding: 14px 6px; text-align: center;
  border: 1px solid var(--border-mid); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13,43,62,0.7), rgba(6,23,36,0.85));
  color: var(--text-bright); transition: all .2s ease;
}
.quick-bar a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); box-shadow: var(--glow); }
.quick-bar a i { font-size: 20px; color: var(--brand); }
.quick-bar a span {
  font-family: var(--font-head); font-size: clamp(10px, 1.05vw, 13px);
  letter-spacing: .8px; text-transform: uppercase; white-space: nowrap;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}

/* Eski anasayfa buton seridi (kullanilirsa) */
.downloadButton, .social.s1, .st.online-players, .ishop-btn, .presentation {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18px 10px; text-align: center; color: var(--text-bright);
  border: 1px solid var(--border-mid); background: rgba(13,43,62,0.6);
}
.downloadButton:hover, .social.s1:hover, .ishop-btn:hover { color: var(--brand); border-color: var(--brand); }

/* =====================================================================
   SIRALAMA SAYFASI (podyum)
   ===================================================================== */
.ranking-title { text-align: center; margin: 34px 0 6px; }
.ranking-title h1 {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 32px; color: var(--brand); text-shadow: 0 2px 24px rgba(0,0,0,0.8);
}
.ranking-title p { color: var(--muted); font-size: 13.5px; }
.bg-dark2 { background: transparent !important; }
.gradient-center {
  font-family: var(--font-display); letter-spacing: 2px; color: var(--brand) !important;
  font-size: 22px;
}
.gradient-center img, .ranking-crown { display: inline-block; }

/* Podyum sutunlari: eski mx-5 / col-md-2 olculerini normalize et */
.ranking-highlight-col {
  position: relative;
  flex: 0 0 auto;
  width: 30% !important; max-width: 190px;
  margin-left: 8px !important; margin-right: 8px !important;
  padding-left: 0; padding-right: 0;
}
.ranking-crown { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); width: 44px; z-index: 3; }
.highlight-avatar-wrapper {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--border-bright); background: var(--bg-elev);
  box-shadow: 0 0 24px rgba(78,200,255,0.22);
}
.gold-highlight .highlight-avatar-wrapper { border-color: #ffd97a; box-shadow: 0 0 28px rgba(255,217,122,0.35); }
.silver-highlight .highlight-avatar-wrapper { border-color: #dfe6ee; box-shadow: 0 0 22px rgba(223,230,238,0.28); }
.bronze-highlight .highlight-avatar-wrapper { border-color: #e0975a; box-shadow: 0 0 22px rgba(224,151,90,0.28); }
.highlight-avatar { width: 100%; height: 100%; object-fit: cover; }
.ranking-class-coin { position: absolute; bottom: -10px; width: 34px; }
.ranking-class-coin-center { left: 50%; transform: translateX(-50%); }
.forum-highlight {
  display: block; margin-top: 8px; font-family: var(--font-head);
  font-size: 16px; font-weight: 700; letter-spacing: 1px; color: var(--text-bright);
}
.ranking-highlight-col .name { font-size: 12px; color: var(--muted); }
.ranking-pos-circle {
  position: absolute; right: -6px; bottom: -6px;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  color: #fff; border: 1px solid var(--border-bright);
}
.forum-title { color: var(--text-bright) !important; font-weight: 600; }
.forum-title:hover { color: var(--brand) !important; }
.ranking_points_value { color: var(--brand); font-weight: 700; font-family: var(--font-head); letter-spacing: .5px; }
.tranking th img, .tranking td img { max-width: 44px; border-radius: var(--radius-sm); }
.table td .position-relative img, .table th .position-relative img { max-width: 48px; border-radius: var(--radius-sm); }
.table img.img-fluid { max-width: 42px; }
.shine { position: relative; }
@media (max-width: 520px) {
  .ranking-highlight-col { width: 31% !important; margin-left: 3px !important; margin-right: 3px !important; }
  .highlight-avatar-wrapper { width: 66px; height: 66px; }
  .ranking-crown { width: 32px; top: -24px; }
  .forum-highlight { font-size: 13px; }
}

/* =====================================================================
   INDIRME SAYFASI
   ===================================================================== */
.download-btn {
  display: block !important; width: 100%; padding: 0 !important; overflow: hidden;
  border: 1px solid var(--border-mid) !important; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13,43,62,0.8), rgba(6,23,36,0.9)) !important;
  transition: all .2s ease;
}
.download-btn:hover { border-color: var(--brand) !important; box-shadow: var(--glow); transform: translateY(-3px); }
.download-btn .btn-text {
  display: flex; align-items: center; justify-content: center; min-height: 92px;
  padding: 14px; font-family: var(--font-head); font-size: 15px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-bright);
}
.download-btn:hover .btn-text { color: var(--brand); }
.download-btn .btn-icon {
  display: flex; align-items: center; justify-content: center;
  background: rgba(78,200,255,0.07); border-left: 1px solid var(--border);
}

/* =====================================================================
   ITEM SHOP / EP KUTULARI / ODEME
   ===================================================================== */
.itemshop img, a.itemshop img { border-radius: var(--radius); }
.happyhours_aktif { color: var(--green); font-weight: 700; }
.happyhours_aktif h2 { color: var(--green); font-size: 30px; margin: 0; }
.happyhours_deaktif { color: var(--red-light); font-weight: 700; }

/* Sekmeler (EP yukle / Kupon) */
.nav-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin: 18px 0 20px; padding: 0; border-bottom: 1px solid var(--border-mid);
}
.nav-tabs li { list-style: none; margin: 0; }
.nav-tabs li a, .nav-tabs .nav-link {
  display: block; padding: 11px 22px; margin-bottom: -1px;
  border: 1px solid transparent; border-radius: var(--radius) var(--radius) 0 0;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text);
  background: transparent; transition: all .15s ease;
}
.nav-tabs li a:hover, .nav-tabs .nav-link:hover { color: var(--brand); border-color: transparent; }
.nav-tabs li a.active, .nav-tabs .nav-link.active {
  color: var(--brand); background: var(--bg-panel-2);
  border-color: var(--border-mid) var(--border-mid) transparent;
}
.tab-content { text-align: left; }
.tab-pane.fade.active { opacity: 1; }   /* BS3 ".in" isaretlemesi icin guvenlik */

/* Odeme saglayici kutulari */
.payment-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 74px; margin: 6px; padding: 12px 18px;
  border: 1px solid var(--border-mid); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13,43,62,0.75), rgba(6,23,36,0.9));
  transition: all .2s ease;
}
.payment-btn:hover { border-color: var(--brand); box-shadow: var(--glow); transform: translateY(-2px); }

/* Kupon bozdurma butonu (satir ici sari arka plani ezer) */
.login-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border: 1px solid rgba(78,200,255,0.45); border-radius: var(--radius);
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: #fff !important; cursor: pointer;
  background-image: linear-gradient(180deg, var(--accent-bright), var(--accent-deep)) !important;
  transition: all .15s ease;
}
.login-btn:hover { filter: brightness(1.12); border-color: var(--brand); box-shadow: 0 0 20px rgba(78,200,255,0.35); }

.form-template { max-width: 480px; margin: 0 auto; text-align: left; }
.bd-c { text-align: center; }
.table-red-heading thead td, .table-red-heading thead th {
  color: var(--brand); font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
  background: rgba(13,43,62,0.55); border-bottom: 1px solid var(--border-mid);
}
.eptable td a { color: var(--brand); font-weight: 600; }
.center > a { color: var(--text-bright); }

/* =====================================================================
   MODAL
   ===================================================================== */
.modal-content {
  background: var(--bg-panel); border: 1px solid var(--border-bright);
  border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.9);
  color: var(--text);
}
.modal-header { border-bottom: 1px solid var(--border); padding: 16px 20px; align-items: center; }
.modal-header .pre-social, .modal-title {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--brand); font-size: 16px; margin: 0;
}
.modal-content > div { padding: 20px; }
.modal-content > div p { line-height: 1.8; }
.modal .close { color: var(--text-bright); opacity: .7; text-shadow: none; font-size: 26px; }
.modal .close:hover { color: var(--brand); opacity: 1; }
.modal-backdrop.show { opacity: .78; background: #020a12; }

/* =====================================================================
   YAN DUYURULAR / YUZEN WIDGET'LAR
   ===================================================================== */
.side-announcement, .side-announcement2 {
  position: fixed; z-index: 120; display: block; width: 170px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-mid); box-shadow: var(--shadow);
  transition: all .2s ease;
}
.side-announcement  { right: 55px; top: 50%; transform: translateY(calc(-50% + 20px)); }
.side-announcement2 { left: 55px;  top: 50%; transform: translateY(calc(-50% + 20px)); }
@media (max-width: 1500px) {
  .side-announcement  { right: 12px; }
  .side-announcement2 { left: 12px; }
}
.side-announcement:hover, .side-announcement2:hover { border-color: var(--brand); box-shadow: var(--glow); }
.side-announcement img, .side-announcement2 img { display: block; width: 100%; }

/* Discord banner1: sol alt kosede SABIT acik durur, gizlenmez */
.discord-widget {
  position: fixed !important; z-index: 120;
  left: 0 !important; right: auto !important; bottom: 24px;
  border-radius: 0 var(--radius) var(--radius) 0; overflow: hidden;
  border: 1px solid var(--border-mid); border-left: 0;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.discord-widget:hover { border-color: var(--brand); box-shadow: var(--glow); }
.discord-widget img { display: block; }
@media (max-width: 820px) { .discord-widget { display: none !important; } }

#toTop {
  position: fixed; right: 18px; bottom: 18px; z-index: 130; display: none;
  width: 44px; height: 44px; cursor: pointer; border-radius: var(--radius);
  border: 1px solid var(--border-mid); background: var(--bg-panel-2);
  transition: all .2s ease;
}
#toTop::before {
  content: "\f077"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 15px;
}
#toTop:hover { border-color: var(--brand); box-shadow: var(--glow); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.d2-footer {
  max-width: var(--maxw); margin: 30px auto 0; padding: 34px 18px 40px;
  border-top: 1px solid var(--border); text-align: center;
  color: var(--muted); font-size: 13px;
}
.soc-block { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.social { display: flex; align-items: center; gap: 10px; color: var(--text-bright); font-size: 13px; }
.social a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); border: 1px solid var(--border-mid);
  color: var(--brand); font-size: 16px; transition: all .18s ease;
}
.social a:hover { border-color: var(--brand); background: rgba(78,200,255,0.12); color: var(--brand-bright); }
.footer-logo img { margin: 0 auto; opacity: .9; }
.footer-menu ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 18px 0; padding: 0; }
.footer-menu a { color: var(--text-bright); font-size: 13px; }
.footer-menu a:hover { color: var(--brand); }
.footer-menu li.menu-vote a { color: #ffd76a; text-shadow: 0 0 12px rgba(255,215,106,.6); }
.footer-menu li.menu-vote a:hover { color: #ffe9a8; }
.copyright { color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.copyright a { color: var(--brand); }
.anim-text-flow {
  background: linear-gradient(90deg, var(--brand-soft), var(--brand), var(--brand-soft));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-display); letter-spacing: 1.5px; font-size: 15px;
}

/* =====================================================================
   ARKA PLAN EFEKTLERI  --  yildizlar, gezegenler, nebula, kayan yildiz
   ===================================================================== */
.d2-sky {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
}

/* --- Yildiz katmanlari (3 derinlik) --- */
.d2-stars {
  position: absolute; top: -100%; left: 0; width: 100%; height: 300%;
  display: block; will-change: transform;
}
.d2-stars.s1 {
  background-image:
    radial-gradient(1.4px 1.4px at 18px 34px,  rgba(255,255,255,.95), transparent),
    radial-gradient(1.2px 1.2px at 132px 88px, rgba(190,235,255,.9),  transparent),
    radial-gradient(1.6px 1.6px at 220px 156px,rgba(255,255,255,.85), transparent),
    radial-gradient(1.1px 1.1px at 76px 210px, rgba(150,220,255,.85), transparent),
    radial-gradient(1.3px 1.3px at 290px 60px, rgba(255,255,255,.9),  transparent);
  background-size: 340px 340px;
  animation: d2StarUp 130s linear infinite, d2Twinkle 5.5s ease-in-out infinite alternate;
  opacity: .85;
}
.d2-stars.s2 {
  background-image:
    radial-gradient(1px 1px at 60px 20px,   rgba(255,255,255,.7),  transparent),
    radial-gradient(1px 1px at 200px 120px, rgba(120,200,255,.75), transparent),
    radial-gradient(1px 1px at 330px 240px, rgba(255,255,255,.65), transparent),
    radial-gradient(1px 1px at 420px 40px,  rgba(180,230,255,.7),  transparent);
  background-size: 520px 520px;
  animation: d2StarUp 210s linear infinite, d2Twinkle 8s ease-in-out infinite alternate-reverse;
  opacity: .6;
}
.d2-stars.s3 {
  background-image:
    radial-gradient(2.2px 2.2px at 120px 160px, rgba(78,200,255,.95), transparent),
    radial-gradient(2px 2px   at 480px 320px,   rgba(255,255,255,.9), transparent),
    radial-gradient(2.4px 2.4px at 700px 90px,  rgba(143,227,255,.9), transparent);
  background-size: 820px 820px;
  animation: d2StarUp 320s linear infinite, d2Twinkle 3.5s ease-in-out infinite alternate;
  opacity: .95;
  filter: drop-shadow(0 0 6px rgba(78,200,255,.8));
}
@keyframes d2StarUp  { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,-33.333%,0); } }
@keyframes d2Twinkle { from { opacity: .35; } to { opacity: 1; } }

/* --- Nebula parlamasi --- */
.d2-nebula {
  position: absolute; inset: -20%;
  background:
    radial-gradient(38% 32% at 18% 22%, rgba(78,200,255,.16), transparent 65%),
    radial-gradient(34% 30% at 82% 30%, rgba(53,214,194,.12), transparent 65%),
    radial-gradient(46% 38% at 55% 88%, rgba(26,143,208,.16), transparent 68%);
  filter: blur(28px);
  animation: d2NebulaPulse 22s ease-in-out infinite alternate;
}
@keyframes d2NebulaPulse {
  from { opacity: .55; transform: scale(1)    translate3d(0,0,0); }
  to   { opacity: 1;   transform: scale(1.12) translate3d(2%,-2%,0); }
}

/* --- Gezegenler --- */
.d2-planet { position: absolute; border-radius: 50%; will-change: transform; }
.d2-planet.p1 {
  width: 320px; height: 320px; top: 6%; right: -90px;
  background:
    radial-gradient(circle at 32% 30%, #2fa7e0 0%, #12557f 42%, #06263b 72%, #030f18 100%);
  box-shadow:
    inset -28px -22px 60px rgba(0,0,0,.75),
    inset 18px 14px 42px rgba(143,227,255,.16),
    0 0 70px 14px rgba(78,200,255,.16);
  opacity: .55;
  animation: d2Float1 34s ease-in-out infinite alternate;
}
/* p1 halkasi */
.d2-planet.p1::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 460px; height: 118px; margin: -59px 0 0 -230px;
  border-radius: 50%;
  border: 2px solid rgba(143,227,255,.28);
  border-bottom-color: rgba(143,227,255,.06);
  transform: rotate(-19deg);
  box-shadow: 0 0 26px rgba(78,200,255,.22);
}
.d2-planet.p2 {
  width: 140px; height: 140px; bottom: 12%; left: -46px;
  background: radial-gradient(circle at 34% 30%, #3fd3c2 0%, #12707f 45%, #04222f 78%, #020c14 100%);
  box-shadow:
    inset -14px -10px 30px rgba(0,0,0,.75),
    0 0 46px 10px rgba(53,214,194,.18);
  opacity: .45;
  animation: d2Float2 26s ease-in-out infinite alternate;
}
@keyframes d2Float1 { from { transform: translate3d(0,0,0)      rotate(0deg); }
                      to   { transform: translate3d(-26px,34px,0) rotate(6deg); } }
@keyframes d2Float2 { from { transform: translate3d(0,0,0); }
                      to   { transform: translate3d(30px,-26px,0); } }

/* --- Kayan yildizlar --- */
.d2-shooting {
  position: absolute; width: 160px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(190,240,255,.95) 60%, #fff 100%);
  filter: drop-shadow(0 0 8px rgba(120,220,255,.95));
  opacity: 0;
}
.d2-shooting.sh1 { top: 12%; left: -180px; animation: d2Shoot 11s ease-in  infinite; }
.d2-shooting.sh2 { top: 46%; left: -180px; animation: d2Shoot 17s ease-in  infinite 6s; }
@keyframes d2Shoot {
  0%       { opacity: 0; transform: translate3d(0,0,0) rotate(16deg); }
  3%       { opacity: 1; }
  14%      { opacity: 1; }
  18%,100% { opacity: 0; transform: translate3d(120vw, 42vh, 0) rotate(16deg); }
}

/* =====================================================================
   PARLAMA (GLOW) EFEKTLERI
   ===================================================================== */
/* Panel kose motifleri parlasin */
.panel::before, .widget::before, .card::before, .projects-section .post::before,
.panel::after,  .widget::after,  .card::after,  .projects-section .post::after {
  box-shadow: 0 0 8px rgba(78,200,255,.7);
  animation: d2CornerPulse 3.6s ease-in-out infinite alternate;
}
@keyframes d2CornerPulse { from { opacity: .3; } to { opacity: .9; } }

/* Panel ust cizgisi kayan isik */
.panel-heading, .card-title, .sidebar-title, .projects-section .post_title {
  text-shadow: 0 0 18px rgba(78,200,255,.45);
  overflow: hidden;
}
.panel-heading::before, .sidebar-title::before, .projects-section .post_title::before {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 60%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(143,227,255,.14), transparent);
  animation: d2Sweep 5.5s ease-in-out infinite;
}
@keyframes d2Sweep { 0% { left: -60%; } 55%,100% { left: 130%; } }

/* Panel uzerine gelince mavi hale */
.panel:hover, .widget:hover, .card:hover, .projects-section .post:hover {
  box-shadow: var(--shadow), 0 0 34px -6px rgba(78,200,255,.35);
}

/* Baslik parlamasi */
.section-title, .text-title, h2.pre-social, .mainpage > .pre-social,
.ranking-title h1, .gradient-center {
  text-shadow: 0 0 26px rgba(78,200,255,.55), 0 2px 20px rgba(0,0,0,.75);
}

/* Birincil butonlarda nabiz atisi */
.button-bg, .btn-login, .special-btn, .satinal-btn, .login-btn,
input[type="submit"], .dowload-button a {
  position: relative;
  animation: d2BtnPulse 3.2s ease-in-out infinite;
}
@keyframes d2BtnPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(78,200,255,.0), 0 0 14px rgba(78,200,255,.14); }
  50%     { box-shadow: 0 0 0 0 rgba(78,200,255,.0), 0 0 26px rgba(78,200,255,.34); }
}

/* Buton uzerinde isik supurmesi */
.button, .btn, .dowload-button a { position: relative; overflow: hidden; }
.button::after, .btn::after, .dowload-button a::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}
.button:hover::after, .btn:hover::after, .dowload-button a:hover::after { left: 140%; }

/* Ust banner kenar parlamasi */
.d2-header {
  box-shadow: var(--shadow), 0 0 46px -10px rgba(78,200,255,.35);
  animation: d2HeaderGlow 6s ease-in-out infinite alternate;
}
@keyframes d2HeaderGlow {
  from { box-shadow: var(--shadow), 0 0 30px -14px rgba(78,200,255,.25); }
  to   { box-shadow: var(--shadow), 0 0 60px -6px  rgba(78,200,255,.45); }
}

/* Online cubugu parlamasi */
.progress-bar { animation: d2BarGlow 2.4s ease-in-out infinite alternate; }
@keyframes d2BarGlow {
  from { box-shadow: 0 0 6px rgba(78,200,255,.45); }
  to   { box-shadow: 0 0 16px rgba(78,200,255,.95); }
}

/* Podyum avatarlari icin donen isik */
.highlight-avatar-wrapper.shine::after {
  content: ""; position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(143,227,255,.35) 40deg, transparent 90deg);
  animation: d2Spin 4.5s linear infinite;
  pointer-events: none;
}
.gold-highlight   .highlight-avatar-wrapper.shine::after { background: conic-gradient(from 0deg, transparent 0deg, rgba(255,217,122,.45) 40deg, transparent 90deg); }
.bronze-highlight .highlight-avatar-wrapper.shine::after { background: conic-gradient(from 0deg, transparent 0deg, rgba(224,151,90,.40) 40deg, transparent 90deg); }
@keyframes d2Spin { to { transform: rotate(360deg); } }

.ranking-crown { filter: drop-shadow(0 0 10px rgba(255,217,122,.75)); animation: d2CrownFloat 3s ease-in-out infinite alternate; }
@keyframes d2CrownFloat { from { transform: translate(-50%, 0); } to { transform: translate(-50%, -6px); } }

/* Hizli erisim ikon parlamasi */
.quick-bar a i { filter: drop-shadow(0 0 10px rgba(78,200,255,.55)); transition: filter .2s ease; }
.quick-bar a:hover i { filter: drop-shadow(0 0 18px rgba(78,200,255,.95)); }

/* Yan duyuru bannerlari nefes alsin (transform: translateY(-50%) korunur) */
.side-announcement, .side-announcement2 { animation: d2SideGlow 4.5s ease-in-out infinite alternate; }
@keyframes d2SideGlow {
  from { box-shadow: var(--shadow); }
  to   { box-shadow: var(--shadow), 0 0 26px -4px rgba(78,200,255,.5); }
}

/* =====================================================================
   VOTE (OY VER) VURGUSU
   ===================================================================== */
.btn-vote {
  background: linear-gradient(180deg, #ffd76a, #d98f14) !important;
  border-color: rgba(255,215,106,.75) !important;
  color: #2a1c02 !important; font-weight: 700 !important;
  animation: d2VotePulse 1.8s ease-in-out infinite;
}
.btn-vote:hover {
  color: #2a1c02 !important; filter: brightness(1.1);
  box-shadow: 0 0 26px rgba(255,215,106,.65) !important;
}
.btn-vote i { color: #7a4c00; }
@keyframes d2VotePulse {
  0%,100% { box-shadow: 0 0 10px rgba(255,215,106,.30); }
  50%     { box-shadow: 0 0 26px rgba(255,215,106,.75); }
}

.top-menu > ul > li.menu-vote > a {
  color: #ffd76a;
  text-shadow: 0 0 14px rgba(255,215,106,.75);
  animation: d2VoteBlinkSoft 2s ease-in-out infinite;
}
.top-menu > ul > li.menu-vote > a:hover,
.top-menu > ul > li.menu-vote:hover > a {
  color: #ffe9a8; border-bottom-color: #ffd76a;
}
.top-menu > ul > li.menu-vote > a i { font-size: 11px; }
@keyframes d2VoteBlinkSoft { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

.info-list li.menu-vote a, .info-list li.menu-vote a span { color: #ffd76a; }
.info-list li.menu-vote a i { color: #ffd76a; }
.info-list li.menu-vote a:hover, .info-list li.menu-vote a:hover span,
.info-list li.menu-vote a:hover i { color: #ffe9a8; }

/* Yanip sonen beyaz hatirlatma yazisi */
.d2-blink {
  display: block; text-align: center; margin: 12px 0 4px;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  letter-spacing: 1.2px; color: #ffffff;
  text-shadow: 0 0 12px rgba(255,255,255,.85), 0 0 26px rgba(78,200,255,.55);
  animation: d2Blink 1.1s steps(1, end) infinite;
}
.d2-blink a { color: #ffd76a; text-decoration: underline; }
.d2-blink i { color: #ffd76a; }
@keyframes d2Blink { 0%,49% { opacity: 1; } 50%,100% { opacity: .18; } }

/* Kayit sonrasi vote hatirlatma kutusu */
.vote-reminder {
  margin: 16px auto 0; max-width: 520px; padding: 16px 18px; text-align: center;
  border: 1px solid rgba(255,215,106,.5); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,215,106,.10), rgba(6,23,36,.85));
  box-shadow: 0 0 26px -6px rgba(255,215,106,.45);
}
.vote-reminder .button { margin-top: 10px; }

/* Bayrak-only dil menusu */
.dropdown-block > div { gap: 6px; padding: 7px 11px; }
.dropdown.flags-only {
  display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; width: 132px; padding: 8px;
}
.dropdown.flags-only li { flex: 0 0 auto; }
.dropdown.flags-only li a { padding: 5px; }
.dropdown.flags-only li a img { width: 26px; border-radius: 3px; transition: transform .15s ease; }
.dropdown.flags-only li a:hover { background: rgba(78,200,255,.16); }
.dropdown.flags-only li a:hover img { transform: scale(1.12); }
.language-flag { box-shadow: 0 0 8px rgba(0,0,0,.6); }

/* Menu aktif ogesi */
.top-menu > ul > li > a { text-shadow: 0 0 0 transparent; transition: all .25s ease; }
.top-menu > ul > li:hover > a, .top-menu > ul > li.active > a {
  text-shadow: 0 0 14px rgba(78,200,255,.75);
  box-shadow: 0 6px 16px -10px rgba(78,200,255,.9);
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  .d2-stars, .d2-nebula, .d2-planet, .d2-shooting, .d2-particle,
  .panel::before, .widget::before, .card::before,
  .panel-heading::before, .sidebar-title::before,
  .button-bg, .btn-login, .special-btn, .satinal-btn, .login-btn,
  input[type="submit"], .dowload-button a, .d2-header,
  .progress-bar, .highlight-avatar-wrapper.shine::after, .ranking-crown,
  .side-announcement, .side-announcement2 {
    animation: none !important;
  }
}

/* ---------------------------------------------------------------------
   MAVI UCUSAN PARCACIKLAR
   --------------------------------------------------------------------- */
.d2-particles {
  position: absolute; inset: 0; display: block;
  overflow: hidden; pointer-events: none;
}
.d2-particle {
  position: absolute; bottom: -30px; display: block;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 8px 2px rgba(78,200,255,.75), 0 0 18px 4px rgba(31,127,192,.35);
  opacity: 0;
  animation-name: d2ParticleUp;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}
@keyframes d2ParticleUp {
  0%   { transform: translate3d(0, 0, 0) scale(.5);            opacity: 0; }
  8%   {                                                        opacity: .95; }
  35%  { transform: translate3d(26px, -32vh, 0) scale(1); }
  65%  { transform: translate3d(-18px, -62vh, 0) scale(.85);    opacity: .8; }
  92%  {                                                        opacity: .25; }
  100% { transform: translate3d(14px, -104vh, 0) scale(.4);     opacity: 0; }
}

/* Her parcacik farkli konum / hiz / boyut alsin */
.d2-particle:nth-child(1)  { left:  2%; animation-duration: 15s; animation-delay:  0s;   }
.d2-particle:nth-child(2)  { left:  7%; animation-duration: 21s; animation-delay: -3s;  width:3px;height:3px; }
.d2-particle:nth-child(3)  { left: 11%; animation-duration: 12s; animation-delay: -7s;  }
.d2-particle:nth-child(4)  { left: 16%; animation-duration: 25s; animation-delay: -1s;  width:6px;height:6px; }
.d2-particle:nth-child(5)  { left: 21%; animation-duration: 17s; animation-delay: -11s; }
.d2-particle:nth-child(6)  { left: 25%; animation-duration: 13s; animation-delay: -5s;  width:3px;height:3px; }
.d2-particle:nth-child(7)  { left: 30%; animation-duration: 23s; animation-delay: -9s;  }
.d2-particle:nth-child(8)  { left: 34%; animation-duration: 18s; animation-delay: -14s; width:5px;height:5px; }
.d2-particle:nth-child(9)  { left: 39%; animation-duration: 14s; animation-delay: -2s;  }
.d2-particle:nth-child(10) { left: 43%; animation-duration: 27s; animation-delay: -17s; width:3px;height:3px; }
.d2-particle:nth-child(11) { left: 48%; animation-duration: 16s; animation-delay: -6s;  }
.d2-particle:nth-child(12) { left: 52%; animation-duration: 20s; animation-delay: -12s; width:6px;height:6px; }
.d2-particle:nth-child(13) { left: 56%; animation-duration: 13s; animation-delay: -4s;  }
.d2-particle:nth-child(14) { left: 61%; animation-duration: 24s; animation-delay: -19s; width:3px;height:3px; }
.d2-particle:nth-child(15) { left: 65%; animation-duration: 19s; animation-delay: -8s;  }
.d2-particle:nth-child(16) { left: 70%; animation-duration: 15s; animation-delay: -13s; width:5px;height:5px; }
.d2-particle:nth-child(17) { left: 74%; animation-duration: 22s; animation-delay: -3s;  }
.d2-particle:nth-child(18) { left: 78%; animation-duration: 12s; animation-delay: -10s; width:3px;height:3px; }
.d2-particle:nth-child(19) { left: 83%; animation-duration: 26s; animation-delay: -16s; }
.d2-particle:nth-child(20) { left: 87%; animation-duration: 17s; animation-delay: -7s;  width:6px;height:6px; }
.d2-particle:nth-child(21) { left: 91%; animation-duration: 14s; animation-delay: -20s; }
.d2-particle:nth-child(22) { left: 95%; animation-duration: 21s; animation-delay: -5s;  width:3px;height:3px; }
.d2-particle:nth-child(23) { left: 98%; animation-duration: 18s; animation-delay: -15s; }
.d2-particle:nth-child(24) { left: 60%; animation-duration: 28s; animation-delay: -22s; width:2px;height:2px; }
.d2-particle:nth-child(25) { left: 37%; animation-duration: 11s; animation-delay: -9s;  width:2px;height:2px; }
.d2-particle:nth-child(26) { left: 13%; animation-duration: 29s; animation-delay: -24s; width:5px;height:5px; }

/* Mobilde agir efektleri kis */
@media (max-width: 820px) {
  .d2-planet, .d2-shooting, .d2-stars.s2 { display: none; }
  .d2-nebula { filter: blur(18px); }
  .d2-particle:nth-child(n+13) { display: none; }
}

/* =====================================================================
   YARDIMCILAR
   ===================================================================== */
.d2-hide { display: none !important; }
.separate { height: 1px; background: linear-gradient(90deg, transparent, var(--border-bright), transparent); margin: 14px 0; }
.language-flag { width: 20px; height: auto; display: inline-block; vertical-align: middle; border-radius: 2px; }

/* =====================================================================
   DUYARLI (RESPONSIVE)
   ===================================================================== */
@media (max-width: 1260px) {
  .top-menu > ul > li > a { padding: 9px 10px; letter-spacing: .6px; font-size: 12px; }
}
@media (max-width: 1180px) {
  .d2-grid { grid-template-columns: minmax(0,1fr) 280px; }
  .left-sidebar { display: none; }
  .side-announcement, .side-announcement2 { display: none; }
}
@media (max-width: 900px) {
  .d2-top .d2-wrap { padding: 2px 6px 8px; }
  /* Tasarsa kaydirilabilir olsun ama sigdigi surece ortali kalsin */
  .top-menu > ul { flex-wrap: nowrap; justify-content: center; gap: 4px; overflow-x: auto; }
  .top-menu > ul > li > a {
    font-size: clamp(10px, 2.6vw, 13px); letter-spacing: .5px;
    padding: 9px clamp(6px, 1.5vw, 12px); white-space: nowrap;
  }
  .news-top-block { grid-template-columns: 1fr; }
  .quick-bar { gap: 6px; }
  .quick-bar a { padding: 11px 3px; }
  .quick-bar a i { font-size: 17px; }
  .quick-bar a span { font-size: clamp(8px, 2vw, 12px); letter-spacing: 0; }
}
@media (max-width: 820px) {
  .d2-grid { grid-template-columns: 1fr; }
  .right-sidebar { display: none; }
  .d2-shell { padding: 0 12px 40px; }
  .login-row { justify-content: center; }
}
@media (max-width: 520px) {
  .panel-body, .card-body, .projects-section .post_content { padding: 14px; }
  .panel-heading, .projects-section .post_title { font-size: 13px; letter-spacing: 1.5px; padding: 12px 14px; }
  .table th, .table td, .tranking th, .tranking td { padding: 10px 8px; font-size: 12.5px; }
  .ranking-title h1 { font-size: 24px; letter-spacing: 2px; }
  h2.pre-social, .mainpage > .pre-social, .section-title, .text-title { font-size: 21px; letter-spacing: 2px; }
}
