/* WeeKing — "Bald online" kalıcı pencere (2026-11-09)
   Kaldırmak için: HTML'lerdeki <!-- BALD-ONLINE --> bloğunu ve bu dosyanın <link>'ini sil. */

html:has(#bald-online),
html:has(#bald-online) body {
  overflow: hidden !important;
  height: 100%;
}

.bo {
  --bo-gold: #e8c56b;
  --bo-gold-2: #b8923a;
  --bo-fg: #ededed;
  --bo-muted: #8a8a8a;
  --bo-line: rgba(232, 197, 107, 0.18);
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #050505;
  color: var(--bo-fg);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  animation: bo-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bo .mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- Arka plan ---------- */
.bo-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bo-glow {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.bo-glow--a {
  top: -30vmax;
  left: -20vmax;
  background: radial-gradient(circle, rgba(232, 197, 107, 0.35), transparent 65%);
  animation: bo-drift-a 18s ease-in-out infinite alternate;
}

.bo-glow--b {
  bottom: -35vmax;
  right: -25vmax;
  background: radial-gradient(circle, rgba(190, 200, 215, 0.22), transparent 65%);
  animation: bo-drift-b 22s ease-in-out infinite alternate;
}

.bo-grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(700px) rotateX(58deg) translateY(0);
  transform-origin: 50% 50%;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
  animation: bo-grid 3.2s linear infinite;
}

/* Hız çizgileri — "mit Hochdruck" */
.bo-streaks {
  position: absolute;
  inset: 0;
}

.bo-streaks i {
  position: absolute;
  left: -30%;
  height: 1px;
  width: 22%;
  background: linear-gradient(90deg, transparent, var(--bo-gold), transparent);
  opacity: 0;
  animation: bo-streak 2.6s linear infinite;
}

.bo-streaks i:nth-child(1) { top: 14%; animation-delay: 0s; }
.bo-streaks i:nth-child(2) { top: 31%; animation-delay: 0.9s; width: 14%; }
.bo-streaks i:nth-child(3) { top: 52%; animation-delay: 1.7s; }
.bo-streaks i:nth-child(4) { top: 71%; animation-delay: 0.4s; width: 30%; }
.bo-streaks i:nth-child(5) { top: 88%; animation-delay: 2.1s; width: 12%; }

/* ---------- Kart ---------- */
.bo-card {
  position: relative;
  width: min(600px, 100%);
  padding: clamp(28px, 5vw, 48px) clamp(22px, 5vw, 48px) clamp(22px, 4vw, 32px);
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(22, 20, 16, 0.92), rgba(10, 10, 10, 0.94));
  border: 1px solid var(--bo-line);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 40px 120px -30px rgba(0, 0, 0, 0.9),
    0 0 80px -20px rgba(232, 197, 107, 0.25);
  animation: bo-rise 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Kartın kenarında dönen altın ışık */
.bo-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--bo-a, 0deg), transparent 0 70%, var(--bo-gold) 82%, #fff6d8 86%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: bo-spin 4s linear infinite;
  pointer-events: none;
}

@property --bo-a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.bo-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--bo-line);
  background: rgba(232, 197, 107, 0.06);
  color: var(--bo-gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bo-gold);
}

.bo-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--bo-gold);
  animation: bo-ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Logo + parlama */
.bo-logo {
  position: relative;
  width: min(420px, 86%);
  margin: 0 auto 22px;
  aspect-ratio: 1600 / 350;
}

.bo-logo img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 24px rgba(232, 197, 107, 0.22));
}

.bo-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.85) 50%, transparent 62%);
  background-size: 300% 100%;
  -webkit-mask: url("assets/weeking-fa-lockup-hero.png") center / contain no-repeat;
  mask: url("assets/weeking-fa-lockup-hero.png") center / contain no-repeat;
  mix-blend-mode: overlay;
  animation: bo-shine 3.4s ease-in-out infinite;
}

.bo-title {
  margin: 0 0 12px;
  font-family: "Syne", "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #fff 0%, #fff 40%, var(--bo-gold) 50%, #fff 60%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bo-shine 5s ease-in-out infinite;
}

.bo-sub {
  margin: 0 auto 28px;
  max-width: 440px;
  color: #bdbdbd;
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.6;
}

.bo-sub strong {
  color: var(--bo-fg);
  font-weight: 600;
}

/* ---------- Build terminali ---------- */
.bo-term {
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.55);
  overflow: hidden;
  margin-bottom: 26px;
}

.bo-term-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--bo-muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.bo-term-dots {
  display: inline-flex;
  gap: 6px;
  margin-right: 10px;
  vertical-align: middle;
}

.bo-term-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2b2b2b;
}

.bo-term-dots i:last-child {
  background: var(--bo-gold-2);
}

.bo-pct {
  color: var(--bo-gold);
  font-variant-numeric: tabular-nums;
}

.bo-log {
  margin: 0;
  padding: 12px 14px 4px;
  height: 7.6em;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.52;
  color: #cfcfcf;
  white-space: pre;
}

.bo-log .ok { color: #8fd18a; }
.bo-log .run { color: var(--bo-gold); }
.bo-log .dim { color: var(--bo-muted); }
.bo-log .cmd { color: #fff; }

.bo-caret {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.18em;
  background: var(--bo-gold);
  animation: bo-blink 0.9s steps(1) infinite;
}

.bo-bar {
  position: relative;
  height: 3px;
  margin: 8px 14px 14px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.bo-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bo-gold-2), var(--bo-gold), #fff3cf);
  box-shadow: 0 0 12px rgba(232, 197, 107, 0.7);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.bo-bar span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  background-size: 40% 100%;
  background-repeat: no-repeat;
  animation: bo-bar-run 1.1s linear infinite;
}

/* ---------- İletişim ---------- */
.bo-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.bo-contact-label {
  color: var(--bo-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bo-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--bo-fg);
  color: #000;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bo-mail:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -8px rgba(232, 197, 107, 0.55);
}

.bo-mail:focus-visible {
  outline: 2px solid var(--bo-gold);
  outline-offset: 3px;
}

.bo-mail svg {
  width: 17px;
  height: 17px;
}

.bo-legal {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 11px;
  color: #5c5c5c;
}

.bo-legal a {
  color: #6e6e6e;
  text-decoration: none;
}

.bo-legal a:hover {
  color: var(--bo-fg);
}

/* ---------- Animasyonlar ---------- */
@keyframes bo-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bo-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes bo-spin { to { --bo-a: 360deg; } }
@keyframes bo-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes bo-shine { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
@keyframes bo-blink { 50% { opacity: 0; } }
@keyframes bo-bar-run { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@keyframes bo-grid {
  from { transform: perspective(700px) rotateX(58deg) translateY(0); }
  to { transform: perspective(700px) rotateX(58deg) translateY(56px); }
}
@keyframes bo-streak {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 0.7; }
  60% { opacity: 0; }
  100% { transform: translateX(560%); opacity: 0; }
}
@keyframes bo-drift-a { to { transform: translate(18vmax, 12vmax) scale(1.1); } }
@keyframes bo-drift-b { to { transform: translate(-16vmax, -10vmax) scale(1.15); } }

@media (prefers-reduced-motion: reduce) {
  .bo *,
  .bo *::before,
  .bo *::after,
  .bo {
    animation: none !important;
    transition: none !important;
  }
  .bo-streaks { display: none; }
}

@media (max-width: 480px) {
  .bo-log { font-size: 10px; height: 7.6em; padding-inline: 12px; }
  .bo-status { margin-bottom: 20px; }
}
