/* JetBrains Mono Yazı Tipini Google Fonts Üzerinden Güvenle Yüklüyoruz */

:root {
  --bg-main: #0a0e14;
  --panel-bg: #101520;
  --panel-border: #1f293d;
  --neon-blue: #00f0ff;
  --neon-green: #39ff14;
  --neon-red: #ff3131;
  --text-primary: #e6edf3;
  --text-secondary: #919eab;
}

/* Sayfa genişliğini maksimuma çıkardık */
.container {
  max-width: 95% !important;
}

body {
  background-color: #070b12 !important;
  color: var(--text-primary);
  font-family: "JetBrains Mono", "Consolas", "Courier New", monospace;
  letter-spacing: 0.2px;
  font-size: 0.82rem;
  overflow-x: hidden;
}

.page-content {
  position: relative;
  z-index: 1;
  padding-bottom: 72px;
}

.cyber-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cyber-bg-slide {
  position: absolute;
  inset: -48px;
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.15) brightness(0.72);
  opacity: 0;
  transform: scale(1.12);
  animation:
    bgCrossfade 80s ease-in-out infinite,
    bgDrift 36s ease-in-out infinite alternate;
}

.cyber-bg-slide:nth-child(1) {
  animation-delay: -8s, 0s;
}
.cyber-bg-slide:nth-child(2) {
  animation-delay: -28s, -9s;
}
.cyber-bg-slide:nth-child(3) {
  animation-delay: -48s, -18s;
}
.cyber-bg-slide:nth-child(4) {
  animation-delay: -68s, -27s;
}

.cyber-bg-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      rgba(7, 11, 18, 0.22) 0%,
      rgba(7, 11, 18, 0.62) 72%
    ),
    linear-gradient(
      180deg,
      rgba(10, 14, 20, 0.42) 0%,
      rgba(6, 9, 19, 0.58) 100%
    );
}

@keyframes bgCrossfade {
  0%,
  33%,
  100% {
    opacity: 0;
  }
  8%,
  25% {
    opacity: 0.88;
  }
}

@keyframes bgDrift {
  0% {
    transform: scale(1.12) translate(0, 0);
  }
  100% {
    transform: scale(1.22) translate(-2.4%, 1.6%);
  }
}

@media (max-width: 768px) {
  .cyber-bg-slide {
    filter: blur(16px) saturate(1.1) brightness(0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cyber-bg-slide {
    animation: none;
    opacity: 0;
    transform: scale(1.12);
  }
  .cyber-bg-slide:first-child {
    opacity: 0.85;
  }
}

.navbar-dashboard {
  background-color: var(--panel-bg);
  border-bottom: 2px solid var(--panel-border);
}

.navbar-brand {
  font-size: 0.95rem !important;
}

.card-panel {
  background-color: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;

  /* 🔴 KARTLARIN ARKASI GÜNCELLENDİ: Sabit gölge yerine yavaşça nefes alan siberpunk neon ışığı eklendi */
  animation: neonBreathe 8s ease-in-out infinite alternate !important;
}

/* 🔴 KARTLARIN NEFES ALMA ANİMASYONU TANIMI */
@keyframes neonBreathe {
  0% {
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.4),
      0 0 4px rgba(0, 240, 255, 0.02) !important;
  }
  100% {
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.5),
      0 0 16px rgba(0, 240, 255, 0.12) !important;
  }
}

.panel-header {
  background: linear-gradient(
    90deg,
    rgba(31, 41, 61, 0.4) 0%,
    rgba(16, 21, 32, 0) 100%
  );
  border-bottom: 1px solid var(--panel-border);
  padding: 12px 18px;
  gap: 8px;
}

.panel-header > span:first-child {
  min-width: 0;
  line-height: 1.35;
}

.panel-header span {
  font-size: 0.82rem !important;
}

.list-item-server {
  background-color: transparent;
  border-bottom: 1px solid rgba(31, 41, 61, 0.5) !important;
  color: var(--text-primary);
  padding: 10px 18px;
}
.list-item-server:last-child {
  border-bottom: none !important;
}

.server-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.server-info {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}

.server-info .svg-icon {
  flex-shrink: 0;
}

.server-meta {
  min-width: 0;
}

.server-ping {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
}

.server-ping .text-danger {
  margin-left: 6px;
}

.server-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.list-item-server h6,
h2,
h4 {
  font-size: 0.85rem !important;
}

/* Büyük İsim ve Unvan Alanı */
.col-lg-7 h2 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}
.col-lg-7 .lead {
  font-size: 0.85rem !important;
}

.pulse-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.pulse-online {
  background-color: rgba(57, 255, 20, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.3);
}
.pulse-offline {
  background-color: rgba(255, 49, 49, 0.1);
  color: var(--neon-red);
  border: 1px solid rgba(255, 49, 49, 0.3);
}
.pulse-unknown {
  background-color: rgba(145, 158, 171, 0.1);
  color: var(--text-secondary);
  border: 1px solid rgba(238, 37, 22, 0.3);
}

/* Yetenek Etiketleri (Zaten monospaced yazı tipindeydi, tam uyum sağladı) */
.terminal-tag {
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 6px;
  margin: 3px;
  padding: 5px 10px;
  background-color: #0a0e14;
  color: var(--neon-blue);
  border: 1px solid rgba(0, 240, 255, 0.15);
  font-family: "JetBrains Mono", monospace;
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.timeline-wrapper {
  border-left: 2px dashed var(--panel-border);
}
.timeline-item {
  position: relative;
}
.timeline-item .d-flex.justify-content-between {
  flex-wrap: wrap;
  gap: 4px 12px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}

.btn-cyber {
  color: var(--text-primary);
  border: 1px solid var(--panel-border);
  background-color: #141b29;
  border-radius: 6px;
  font-weight: 600;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-family: "JetBrains Mono", monospace;
  white-space: nowrap;
}
.btn-cyber:hover {
  border-color: var(--neon-blue);
  background-color: var(--panel-bg);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.svg-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

small,
.text-muted {
  font-size: 0.72rem !important;
}

/* Logo ve metni yan yana hizalar */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
}

/* favicon.png görselinin boyut ve neon efekti ayarları */
.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px var(--neon-blue));
}

/* Logonun yanındaki yazı */
.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}

/* Siber Havada Asılı Logo Kartı */
.cyber-brand-card {
  background: rgba(
    10,
    14,
    20,
    0.6
  ) !important; /* Panel arka planıyla uyumlu koyu şeffaflık */
  backdrop-filter: blur(12px); /* Premium cam efekti */
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border, #1f293d) !important; /* Mevcut siber çizgilerinizle aynı renk */
  border-radius: 4px !important; /* Yuvarlak yerine keskin/hafif oval köşeler siber temaya daha çok yakışır */
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.05); /* Çok hafif neon mavi parlama */
  transition: all 0.3s cubic-bezier(0.1, 0.8, 0.1, 1);
}

/* Üzerine Gelindiğinde (Hover) Efektleri */
.cyber-brand-card:hover {
  background: rgba(16, 21, 32, 0.8) !important;
  border-color: var(
    --neon-blue,
    #00f0ff
  ) !important; /* Kenarlıklar neon mavi parlar */
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2); /* Parlama efekti güçlenir */
  transform: translateY(-2px); /* Hafifçe yukarı esner */
}

/* Logo Görseli Ayarı */
.cyber-brand-card .logo-img {
  height: 24px; /* Kibar ve minimal yükseklik */
  width: auto;
  filter: drop-shadow(
    0 0 4px rgba(0, 240, 255, 0.3)
  ); /* Logoya hafif siber ışıma */
  transition: transform 0.3s ease;
}

.cyber-brand-card:hover .logo-img {
  transform: rotate(5deg) scale(1.05); /* Fareyle gelince logo tatlıca esner */
}

/* Logo Yazısı Tasarımı */
.cyber-logo-text {
  font-family: monospace; /* Terminal ruhu için */
  font-size: 0.9rem;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 1px; /* Harf aralarını açarak daha teknolojik gösteriyoruz */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Alt Bilgiyi Ekranın En Altına Sabitleme Tasarımı */
.site-footer {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important; /* Diğer içeriklerin üstünde kalması için */

  /* Siber Tema Düzenlemeleri */
  background: rgba(
    10,
    14,
    20,
    0.8
  ) !important; /* Panelinizin koyu rengi, hafif şeffaf */
  backdrop-filter: blur(
    12px
  ) !important; /* Arkasından akan yazıları harika şekilde bulandırır */
  -webkit-backdrop-filter: blur(12px) !important;

  border-top: 1px solid var(--panel-border, #1f293d) !important; /* Panel çizgilerinizle birebir aynı */
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5); /* Yukarı doğru hafif gölge vererek sayfadan ayırır */
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* Telif hakkı yazısı (Temaya uygun monospace yapıldı) */
.footer-copy {
  font-family: monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Linklerin temel siber duruşu */
.footer-link-item {
  font-family: monospace;
  margin-left: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Fareyle üzerine gelindiğinde siber mavi parlama efekti */
.footer-link-item:hover {
  color: var(--neon-blue, #00f0ff) !important;
  text-shadow: 0 0 5px var(--neon-blue, #00f0ff);
  text-decoration: none;
}

/* Sayfa Genişliğinde Sınırlandırılmış Sabit Sistem Barı */
/* EN DIŞ KUTU: Sabitlemeyi ve Havada Kalmayı Burası Yönetir */
.sticky-top-bar {
  position: -webkit-sticky !important; /* Safari desteği için */
  position: sticky !important;
  top: 10px; /* Ekranın en tepesinden bırakılacak kibar boşluk */
  z-index: 1000; /* Kartların ve canlı grafiklerin kesinlikle üstünde kalması için */
}

/* İÇTEKİ BAR: Tasarım, renk ve çizgileri burası yönetir */
.cyber-os-bar {
  position: fixed !important; /* Ekranın tavanına kesin olarak kilitler */
  top: 0 !important;
  left: 0 !important;
  width: 100% !important; /* Sağdan sola tam ekran yayılır */
  z-index: 10000 !important;

  /* Tasarım Ayarları */
  background: rgba(10, 14, 20, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--panel-border, #1f293d) !important;
  border-radius: 0px !important; /* En üste sıfırlandığı için köşeleri düz yaptık */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  font-family: monospace;
}

/* Yazı ve Renk Ayarları Aynen Kalıyor */
.os-text-blue {
  color: var(--neon-blue, #00f0ff);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.os-text-green {
  color: var(--neon-green, #39ff14);
  animation: blinker 1.5s infinite;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-red);
  vertical-align: middle;
  margin-right: 4px;
}

.telemetry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.telemetry-ok {
  white-space: nowrap;
}

.os-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.65rem;
  font-family: monospace;
  font-weight: bold;
  min-width: 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
}

.footer-rights::before {
  content: ". ";
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }

  .footer-links {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .footer-link-item {
    margin-left: 20px;
  }

  .footer-links .footer-link-item:first-child {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .container {
    max-width: 100% !important;
    padding-left: 12px;
    padding-right: 12px;
  }

  body {
    padding-top: 48px !important;
    font-size: 0.78rem;
  }

  .page-content {
    padding-bottom: 104px !important;
  }

  .cyber-os-bar {
    padding: 8px 10px !important;
    gap: 8px;
  }

  .os-text-blue {
    font-size: 0.68rem;
    letter-spacing: 0;
  }

  .os-bar-right {
    gap: 8px;
    font-size: 0.6rem;
  }

  .os-status-text {
    display: none;
  }

  .panel-header {
    padding: 10px 12px;
    gap: 8px;
    align-items: flex-start;
  }

  .panel-header span {
    font-size: 0.72rem !important;
    line-height: 1.3;
  }

  .list-item-server {
    padding: 10px 12px;
  }

  .pulse-badge {
    font-size: 0.58rem;
    padding: 3px 8px;
  }

  .site-footer {
    padding-top: 10px !important;
    padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
    padding-left: max(12px, env(safe-area-inset-left)) !important;
    padding-right: max(12px, env(safe-area-inset-right)) !important;
  }

  .footer-copy {
    font-size: 0.65rem;
    line-height: 1.45;
    max-width: 100%;
  }

  .footer-rights {
    display: block;
    margin-top: 2px;
  }

  .footer-rights::before {
    content: none;
  }

  .footer-link-item {
    margin-left: 0;
    font-size: 0.68rem;
  }

  .telemetry-ok {
    display: none;
  }

  .telemetry-head {
    flex-wrap: nowrap;
  }

  #btnManualTest {
    margin-right: 0 !important;
    flex-shrink: 0;
  }

  .col-lg-7 h2 {
    font-size: 1.1rem !important;
  }

  .card-panel.p-4 {
    padding: 1rem !important;
  }

  .terminal-tag {
    font-size: 0.64rem;
    padding: 4px 8px;
  }

  .intro-box {
    width: min(320px, 86vw) !important;
  }
}

@media (max-width: 399.98px) {
  .os-version {
    display: none;
  }
}

.telemetry-canvas-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  background: #070b12;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.telemetry-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 10px;
  padding: 5px 8px;
  background: #0a0e14;
  border-top: 1px solid var(--panel-border);
  font-family: monospace;
  font-size: 0.58rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.t-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-width: 0;
}

.t-item {
  white-space: nowrap;
  flex-shrink: 0;
}

.t-item b {
  color: var(--neon-blue);
  font-weight: 700;
  margin-left: 3px;
}

.t-item b.t-warn {
  color: var(--neon-red);
}

.t-item.t-click {
  cursor: pointer;
  border: none;
  border-bottom: 1px dotted rgba(0, 240, 255, 0.4);
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  line-height: inherit;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.t-item.t-click:hover,
.t-item.t-click:focus {
  color: var(--neon-blue);
  outline: none;
}

.mem-sec {
  margin: 0 0 6px;
  color: var(--neon-blue);
  font-size: 0.72rem;
  letter-spacing: 0.6px;
}

.mem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  align-items: start;
}

.mem-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
}

.mem-table th {
  color: var(--text-secondary);
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--panel-border);
  padding: 3px 4px;
}

.mem-table th:nth-child(2),
.mem-table th:nth-child(3),
.mem-table td.num {
  text-align: right;
}

.mem-table td {
  padding: 4px;
  border-bottom: 1px solid rgba(31, 43, 61, 0.55);
  color: var(--text-primary);
  vertical-align: top;
}

.mem-table td:first-child {
  white-space: normal;
}

.mem-live {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.58rem;
  letter-spacing: 0.3px;
  font-weight: 700;
  vertical-align: middle;
}

.mem-live.is-on {
  color: var(--neon-green);
}

.mem-live.is-off {
  color: var(--neon-red);
}

.mem-hedef {
  color: #8b9bb4;
  font-weight: 500;
  font-size: 0.62rem;
}

.mem-table tr.is-off td {
  opacity: 0.72;
}

.mem-table td.num {
  font-variant-numeric: tabular-nums;
  color: var(--neon-blue);
  white-space: nowrap;
  padding-left: 8px;
}

.mem-bar {
  height: 3px;
  background: #1f293d;
  margin-top: 3px;
  border-radius: 2px;
  overflow: hidden;
}

.mem-bar > span {
  display: block;
  height: 100%;
  background: var(--neon-blue);
  box-shadow: 0 0 6px rgba(0, 240, 255, 0.35);
}

.mem-log {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  max-height: 160px;
  overflow-y: auto;
}

.mem-log li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  font-size: 0.72rem;
  font-family: "JetBrains Mono", monospace;
  border-bottom: 1px solid rgba(31, 41, 61, 0.45);
  padding: 6px 0;
}

.mem-log time {
  color: #7d8ba1;
  white-space: nowrap;
}

.mem-log .mem-log-ad {
  color: #fff;
  font-weight: 600;
}

.mem-log .mem-log-neden {
  color: var(--neon-red);
}

.mem-log .mem-log-neden.is-peak {
  color: var(--neon-blue);
}

.mem-log .mem-log-mb {
  margin-left: auto;
  color: var(--neon-blue);
  font-variant-numeric: tabular-nums;
}

.mem-log-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mem-log-btn.is-on {
  border-color: var(--neon-red);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 49, 49, 0.25);
}

.mem-log-badge {
  min-width: 1.2em;
  padding: 0 5px;
  border-radius: 8px;
  background: #1f293d;
  color: var(--neon-blue);
  font-size: 0.65rem;
}

.mem-log-badge.has-hit {
  background: rgba(255, 49, 49, 0.2);
  color: var(--neon-red);
}

.mem-log-panel {
  display: none;
}

.mem-modal-box.show-log #memModalBody {
  display: none;
}

.mem-modal-box.show-log .mem-log-panel {
  display: block;
}

.mem-modal-box.show-log .mem-log {
  max-height: 52vh;
}

.mem-log-empty {
  font-size: 0.72rem;
  color: #7d8ba1;
  margin: 0;
}

@media (max-width: 700px) {
  .mem-split {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.t-item.t-vis {
  color: rgba(57, 255, 20, 0.75);
}

.t-item.t-vis b {
  color: var(--neon-green);
}

.t-vis-row {
  margin-left: auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.project-open-btn {
  letter-spacing: 0.4px;
}

.project-card {
  display: block;
  background: #0a0e14;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 10px;
  text-decoration: none !important;
  color: inherit;
  min-width: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.project-card:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.12);
  transform: translateY(-2px);
  color: inherit;
}

.project-card-static {
  cursor: default;
}

.project-card-static:hover {
  transform: none;
}

.project-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.project-title {
  color: #fff;
  font-size: 0.82rem !important;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.35;
  white-space: normal;
}

.project-desc {
  margin: 0;
  color: #919eab;
  font-size: 0.65rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-go {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.62rem;
  color: var(--neon-blue);
  letter-spacing: 0.4px;
}

@media (max-width: 767.98px) {
  .telemetry-canvas-wrap {
    height: 160px;
  }

  .telemetry-bar {
    font-size: 0.55rem;
    gap: 4px 8px;
    padding: 5px 6px;
  }

  .project-grid {
    gap: 6px;
  }

  .project-card {
    padding: 8px;
  }
}

.server-sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.server-sub .server-ping {
  min-width: 0;
  flex: 1;
}

.uptime-strip {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.u-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: #2a3548;
}

.u-dot.up {
  background: var(--neon-green);
}

.u-dot.down {
  background: var(--neon-red);
}

.u-dot.na {
  background: #2a3548;
}

.visit-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 4px;
  min-width: 0;
}

.visit-strip {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  flex-shrink: 0;
}

.v-bar {
  display: inline-block;
  width: 7px;
  min-height: 2px;
  border-radius: 1px 1px 0 0;
  background: var(--neon-blue);
  opacity: 0.9;
}

.v-bar.is-empty {
  background: #2a3548;
  opacity: 1;
}

.visit-count {
  font-size: 0.62rem;
  color: #7d8ba1;
  white-space: nowrap;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gold-launch-wrap {
  margin: 8px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gold-launch-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(240, 193, 75, 0.45);
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(240, 193, 75, 0.12) 0%,
    rgba(16, 21, 32, 0.7) 55%
  );
  color: #f0c14b !important;
  text-decoration: none !important;
  box-shadow: 0 0 18px rgba(240, 193, 75, 0.08);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.gold-launch-btn:hover {
  border-color: #f0c14b;
  box-shadow: 0 0 22px rgba(240, 193, 75, 0.22);
  transform: translateY(-1px);
}

.gold-launch-mark {
  font-size: 1.05rem;
  text-shadow: 0 0 8px rgba(240, 193, 75, 0.7);
}

.gold-launch-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.gold-launch-text small {
  color: #919eab;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.3px;
}

.gold-launch-go {
  margin-left: auto;
  color: #00f0ff;
  font-size: 0.72rem;
  white-space: nowrap;
}

.footer-gold {
  color: #f0c14b !important;
}

.footer-gold:hover {
  color: #ffe08a !important;
  text-shadow: 0 0 6px rgba(240, 193, 75, 0.7);
}

.invest-launch-btn {
  border-color: rgba(57, 255, 20, 0.4);
  background: linear-gradient(
    90deg,
    rgba(57, 255, 20, 0.1) 0%,
    rgba(16, 21, 32, 0.7) 55%
  );
  color: #39ff14 !important;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.08);
}

.invest-launch-btn:hover {
  border-color: #39ff14;
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.22);
}

.invest-launch-btn .gold-launch-mark {
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.7);
}

.footer-invest {
  color: #39ff14 !important;
}

.footer-invest:hover {
  color: #9aff86 !important;
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.7);
}

.yatirim-kpis {
  margin-bottom: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yatirim-tarama-wrap {
  max-height: 360px;
  overflow: auto !important;
}

.yatirim-tarama-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #071018;
}

.yatirim-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.yatirim-table th,
.yatirim-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--panel-border);
  white-space: nowrap;
}

.yatirim-table th {
  color: #919eab;
  font-size: 0.62rem;
  letter-spacing: 0.7px;
  font-weight: 600;
}

.yatirim-table td.is-up {
  color: #39ff14;
}

.yatirim-table td.is-down {
  color: #ff6b6b;
}

.yatirim-sinyal {
  display: inline-block;
  min-width: 42px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-align: center;
}

.yatirim-sinyal.is-al {
  color: #39ff14;
  background: rgba(57, 255, 20, 0.12);
  border: 1px solid rgba(57, 255, 20, 0.35);
}

.yatirim-sinyal.is-sat {
  color: #ff6b6b;
  background: rgba(255, 49, 49, 0.12);
  border: 1px solid rgba(255, 49, 49, 0.35);
}

.yatirim-sinyal.is-tut {
  color: #919eab;
  background: rgba(145, 158, 171, 0.1);
  border: 1px solid rgba(145, 158, 171, 0.25);
}

.yatirim-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.yatirim-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #919eab;
  font-size: 0.62rem;
  letter-spacing: 0.6px;
}

.yatirim-form input,
.yatirim-form select {
  min-width: 120px;
  background: #0a0e14;
  border: 1px solid var(--panel-border);
  color: #e6edf3;
  border-radius: 6px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 0.78rem;
}

.yatirim-sil {
  background: transparent;
  border: 1px solid rgba(255, 49, 49, 0.35);
  color: #ff6b6b;
  border-radius: 4px;
  font-size: 0.62rem;
  padding: 2px 8px;
  cursor: pointer;
}

.yatirim-sil:hover {
  border-color: #ff6b6b;
}

.yatirim-table tr.is-tavsiye td {
  background: rgba(57, 255, 20, 0.08);
}

.gold-kpi strong.is-up {
  color: #39ff14;
}

.gold-kpi strong.is-down {
  color: #ff6b6b;
}

.yatirim-giris-kart {
  max-width: 420px;
  margin: 40px auto 0;
}

.yatirim-giris-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yatirim-giris-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #919eab;
  font-size: 0.62rem;
  letter-spacing: 0.6px;
}

.yatirim-giris-form input {
  background: #0a0e14;
  border: 1px solid var(--panel-border);
  color: #e6edf3;
  border-radius: 6px;
  padding: 8px 10px;
  font-family: inherit;
}

.yatirim-giris-hata {
  color: #ff6b6b;
  font-size: 0.78rem;
}

.gold-page {
  padding-top: 8px;
}

.gold-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.yatirim-hedef-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.yatirim-hedef-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #919eab;
  font-size: 0.62rem;
  letter-spacing: 0.6px;
}

.yatirim-hedef-form input {
  width: 88px;
  background: #0a0e14;
  border: 1px solid var(--panel-border);
  color: #39ff14;
  border-radius: 6px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
}

.yatirim-hedef-form input#sermayeTl {
  width: 120px;
}

.gold-kicker {
  margin: 0 0 4px;
  color: #f0c14b;
  font-size: 0.62rem;
  letter-spacing: 1.4px;
}

.gold-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
}

.gold-sub {
  margin: 6px 0 0;
  color: #919eab;
  font-size: 0.72rem;
}

.gold-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.gold-kpi {
  padding: 14px 16px;
  margin-bottom: 0;
}

.gold-kpi span {
  display: block;
  color: #919eab;
  font-size: 0.62rem;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.gold-kpi strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.gold-kpi em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  color: #919eab;
  font-size: 0.68rem;
}

.gold-kpi .is-up,
.gold-signal.is-up #signalTitle {
  color: var(--neon-green);
}

.gold-kpi .is-down,
.gold-signal.is-down #signalTitle {
  color: var(--neon-red);
}

.gold-signal h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #fff;
}

.gold-signal p {
  margin: 0;
  color: #919eab;
  line-height: 1.55;
}

.gold-badge {
  color: #f0c14b;
  font-size: 0.65rem !important;
  letter-spacing: 0.6px;
}

.gold-badge.is-up {
  color: var(--neon-green) !important;
}

.gold-badge.is-down {
  color: var(--neon-red) !important;
}

.gold-hourly-note {
  color: #919eab;
  font-size: 0.72rem;
  padding: 0 16px 14px;
  margin: 0;
}

.gold-chart-wrap {
  height: 240px;
  position: relative;
}

.gold-chart-wide {
  height: 320px;
}

.gold-disclaimer {
  color: #6b7785;
  font-size: 0.68rem;
  line-height: 1.5;
  margin: 4px 0 24px;
}

.gold-future-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--panel-border);
}

.gold-future-kpis > div {
  padding: 12px 16px;
  border-right: 1px solid var(--panel-border);
}

.gold-future-kpis > div:last-child {
  border-right: 0;
}

.gold-future-kpis span {
  display: block;
  color: #919eab;
  font-size: 0.62rem;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.gold-future-kpis strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.gold-future-kpis em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 0.68rem;
  color: #919eab;
}

.gold-future-note {
  margin: 0;
  padding: 0 16px 14px;
  color: #919eab;
  font-size: 0.72rem;
  line-height: 1.5;
}

.gold-future.is-up .gold-future-note {
  color: rgba(57, 255, 20, 0.85);
}

.gold-future.is-down .gold-future-note {
  color: rgba(255, 49, 49, 0.85);
}

.gold-launch-btn.is-crash {
  border-color: var(--neon-red);
  color: #ff6b6b !important;
  background: linear-gradient(
    90deg,
    rgba(255, 49, 49, 0.18) 0%,
    rgba(16, 21, 32, 0.7) 55%
  );
  box-shadow: 0 0 22px rgba(255, 49, 49, 0.25);
  animation: goldCrashPulse 1.4s ease-in-out infinite;
}

.gold-launch-btn.is-crash .gold-launch-go {
  color: var(--neon-red);
}

@keyframes goldCrashPulse {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(255, 49, 49, 0.18);
  }
  50% {
    box-shadow: 0 0 26px rgba(255, 49, 49, 0.45);
  }
}

.gold-alert-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}

.gold-crash {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 49, 49, 0.55);
  border-radius: 10px;
  background: rgba(255, 49, 49, 0.1);
}

.gold-launch-btn.is-buy {
  border-color: var(--neon-green);
  color: #b8ff9a !important;
  background: linear-gradient(
    90deg,
    rgba(57, 255, 20, 0.16) 0%,
    rgba(16, 21, 32, 0.7) 55%
  );
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.22);
  animation: goldBuyPulse 1.6s ease-in-out infinite;
}

.gold-launch-btn.is-buy .gold-launch-go {
  color: var(--neon-green);
}

@keyframes goldBuyPulse {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.16);
  }
  50% {
    box-shadow: 0 0 26px rgba(57, 255, 20, 0.4);
  }
}

.gold-crash.is-kritik {
  box-shadow: 0 0 18px rgba(255, 49, 49, 0.25);
}

.gold-crash.is-buy {
  border-color: rgba(57, 255, 20, 0.55);
  background: rgba(57, 255, 20, 0.1);
  box-shadow: none;
}

.gold-crash.is-buy strong {
  color: var(--neon-green);
}

.gold-crash strong {
  display: block;
  color: var(--neon-red);
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.gold-crash p {
  margin: 0;
  color: #e6edf3;
  font-size: 0.78rem;
  white-space: pre-line;
}

.gold-home-notify {
  align-self: flex-start;
  border-color: rgba(255, 49, 49, 0.35);
  color: #ffb4b4;
}

.gold-wa-status {
  color: #919eab;
  margin-bottom: 10px;
}

.gold-wa-steps {
  margin: 0 0 12px;
  padding-left: 18px;
  color: #919eab;
  font-size: 0.72rem;
  line-height: 1.55;
}

.gold-wa-steps code {
  color: #f0c14b;
  font-size: 0.68rem;
}

.gold-wa-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gold-wa-alici {
  margin-top: 10px;
}

.gold-wa.is-cloud .gold-wa-callme {
  display: none;
}

.gold-wa-steps a {
  color: #00f0ff;
}

.gold-wa-input {
  flex: 1;
  min-width: 180px;
  background: #0a0e14;
  border: 1px solid var(--panel-border);
  color: #e6edf3;
  border-radius: 6px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 0.78rem;
}

@media (max-width: 991.98px) {
  .gold-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .gold-hero {
    flex-direction: column;
  }

  .gold-hero h1 {
    font-size: 1.1rem;
  }

  .yatirim-table th,
  .yatirim-table td {
    white-space: normal;
    padding: 8px 8px;
  }

  .gold-chart-wrap,
  .gold-chart-wide {
    height: 220px;
  }

  .gold-launch-text small {
    display: none;
  }

  .gold-future-kpis {
    grid-template-columns: 1fr;
  }

  .gold-future-kpis > div {
    border-right: 0;
    border-bottom: 1px solid var(--panel-border);
  }

  .gold-future-kpis > div:last-child {
    border-bottom: 0;
  }
}
