/* DcBot — ana sayfa: solda karşılama, sağda canlı genel sohbet vitrini (Discord işlemleri simülasyonu). */
body.lp { margin: 0; background: var(--dc-rail); overflow-x: hidden; }

/* ---------- Üst bar (site geneli: logo + Özellikler/Kaynaklar + dil + giriş) ---------- */
.site-topbar { position: sticky; top: 0; z-index: 100; background: rgba(11,11,12,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.topbar-inner { max-width: 1360px; margin: 0 auto; padding: 0 var(--s-5); min-height: 64px; display: flex; align-items: center; gap: var(--s-6); }
.topbar-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.topbar-brand img { height: 26px; width: auto; display: block; }
.topbar-favicon { height: 32px !important; width: 32px !important; border-radius: 8px; }
.topbar-nav { display: flex; align-items: center; gap: var(--s-2); flex: 1; }
.topbar-dropdown { position: relative; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 var(--s-3); border: 0; border-radius: var(--r-btn); background: transparent; color: var(--c-body); font-family: var(--f-body); font-size: .9375rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: color var(--t-fast), background var(--t-fast); }
.topbar-link:hover { color: var(--c-text); background: var(--c-card-hover); }
.topbar-chevron { flex: none; transition: transform var(--t-fast) var(--ease); }
.topbar-dropdown.open .topbar-link { color: var(--c-text); background: var(--c-card-hover); }
.topbar-dropdown.open .topbar-chevron { transform: rotate(180deg); }
.topbar-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; padding: var(--s-2); border: 1px solid var(--c-line-strong); border-radius: var(--r-card); background: var(--c-card); box-shadow: 0 16px 40px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast); }
.topbar-dropdown.open .topbar-menu { opacity: 1; visibility: visible; transform: none; }
.topbar-menu-item { display: block; width: 100%; padding: 9px var(--s-3); border: 0; border-radius: 6px; background: transparent; color: var(--c-body); font-family: var(--f-body); font-size: .875rem; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
.topbar-menu-item:hover { color: var(--c-text); background: var(--dc-row); }
.topbar-right { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.btn-sm { padding: 0 var(--s-4); min-height: 40px; font-size: .9rem; }
.topbar-login svg { display: none; }

/* "Discord sunucumuza katıl" butonu: gerçek Discord mavisi (#5865F2) — projenin --blurple
   değişkeni sarı olduğu için (bkz. style.css) kasıtlı olarak kullanılmıyor, renk burada sabit. */
.btn-discord { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 var(--s-4); border: 0; border-radius: var(--r-btn); background: #5865F2; color: #fff; font-family: var(--f-body); font-size: .9375rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background var(--t-fast), transform var(--t-fast); }
.btn-discord:hover { background: #4752C4; }
.btn-discord svg { flex: none; width: 18px; height: 18px; }

@media (max-width: 860px) {
  .topbar-nav { display: none; }
  .topbar-inner { gap: var(--s-3); }
}
@media (max-width: 480px) {
  .topbar-inner { padding: 0 var(--s-4); }
}

/* ---------- Logo + "Durum" rozeti: başlığın üstünde ---------- */
.lp-status-row { display: flex; align-items: center; gap: var(--s-3); }
.lp-status-logo { flex: none; height: 40px; width: auto; display: block; animation: stIn 600ms var(--ease) both; }
.lp-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--s-2); padding: 9px var(--s-5) 9px var(--s-4); border: 1px solid var(--c-line-strong); border-radius: 999px; background: var(--c-card); color: var(--c-body); font-family: var(--f-body); font-size: .9375rem; font-weight: 600; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); animation: stIn 600ms var(--ease) both; }
.lp-badge:hover { border-color: var(--c-line-hover); background: var(--c-card-hover); }
.lp-badge-dot { position: relative; display: inline-flex; width: 10px; height: 10px; }
.lp-badge-dot .ping { width: 10px; height: 10px; }
.lp-badge-text { color: var(--c-text); }
.lp-badge-sep { color: var(--c-faint); }
.lp-badge-cta { color: var(--c-accent); }
.lp-badge svg { color: var(--c-accent); }

.lp-page { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(24px, 4vw, 64px); padding: 0 var(--s-5); }

/* ---------- Sol ---------- */
.lp-left { display: flex; flex-direction: column; min-width: 0; padding: var(--s-4) 0 var(--s-5); }

.lp-brand img { height: 40px; width: 40px; display: block; border-radius: 10px; }
.lp-hero { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s-5); padding: var(--s-7) 0; }
.ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c-active); }
.ping::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--c-active); animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(3); opacity: 0; } }
.lp-h1 { margin: 0; letter-spacing: -0.03em; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.04; text-wrap: balance; }
.h1-light { display: block; font-weight: 500; font-size: .6em; color: var(--c-body); margin-bottom: .16em; }
.h1-main { display: inline-block; font-weight: 700; color: var(--c-accent); }
.lp-sub { margin: 0; max-width: 52ch; font-size: var(--fs-lead); line-height: 1.65; color: var(--c-body); text-wrap: pretty; }
.lp-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.lp-actions .btn { margin: 0; }
.btn-lg { padding: 16px 24px; font-size: 16px; min-height: 52px; }
/* Sayaçlar: kompakt, dijital okuma paneli */
.lp-stats { display: inline-grid; grid-template-columns: repeat(2, auto); gap: var(--s-3); margin: 0; padding: 0; }
.lp-stats > div { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-3) var(--s-5) var(--s-3) var(--s-4); border: 1px solid var(--c-line-strong); border-radius: 8px; background: var(--dc-row); }
.lp-stats dt { order: 1; display: flex; align-items: center; gap: var(--s-2); font-size: 12px; font-weight: 500; color: var(--c-muted); }
.lp-stats dt::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--c-accent); }
.lp-stats > div:first-child dt::before { width: 8px; height: 8px; border-radius: 50%; background: var(--c-active); box-shadow: 0 0 0 3px rgba(34,197,94,.22), 0 0 10px rgba(34,197,94,.55); animation: glowPulse 2s ease-in-out infinite; }
@keyframes glowPulse { 50% { box-shadow: 0 0 0 5px rgba(34,197,94,.10), 0 0 14px rgba(34,197,94,.8); } }
.lp-stats > div:nth-child(2) dt::before { background: var(--c-accent-2); }
.lp-stats dd { order: 2; margin: 0; font-family: var(--f-mono); font-weight: 500; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; color: var(--c-text); font-variant-numeric: tabular-nums; }
@keyframes stIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* Başlık: Discord mesaj yazısı gibi (gg sans / Noto Sans), harf harf yazılır */
.lp-h1 { font-family: 'Inter', 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: -0.04em; min-height: 2.2em; font-feature-settings: 'ss01', 'cv11'; }
.h1-light { font-weight: 500; letter-spacing: -0.035em; }
.h1-main { font-weight: 800; letter-spacing: -0.045em; }
.lp-h1 .tw-caret { display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -0.08em; background: var(--c-accent); animation: blink 1s steps(1) infinite; }

.lp-footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--c-line); }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.lp-footer-links a { color: var(--c-body); text-decoration: none; font-size: .9rem; min-height: 32px; display: inline-flex; align-items: center; }
.lp-footer-links a:hover { color: var(--c-accent); }
.lp-copy { color: var(--c-muted); font-size: .85rem; }

/* ---------- Sağ vitrin: sol taraftaki hero ile aynı yüksekliğe uzanır, panel yığını dikeyde
   sol taraftaki hero içeriğiyle aynı hizada ortalanır ---------- */
.lp-right { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: var(--s-5); min-width: 0; min-height: 0; margin: var(--s-4) 0; }

/* Discord canlı işlemler */
.dc { display: flex; flex-direction: column; min-height: clamp(190px, 22vh, 260px); background: var(--dc-main); font-family: 'Inter', system-ui, sans-serif; text-align: left; border-radius: 12px; border: 1px solid var(--c-line-strong); overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.5); }
/* Sağ sütunda canlı Discord işlem pencereleri: eskiden orada olan vitrin/slayt sisteminin yerine
   geçti. Hiçbiri sütunu TAMAMEN doldurmaz — alt alta dizilen, sabit boy ufak paneller olarak oturur. */
.dc-right, .dc-side { flex: 0 0 auto; align-self: flex-start; width: 100%; min-height: 0; }
.dc-right { max-height: clamp(220px, 28vh, 280px); }
.dc-right .dc-feed { flex: 1; min-height: 0; max-height: clamp(120px, 16vh, 160px); }
.dc-side { min-height: clamp(160px, 20vh, 200px); max-height: clamp(170px, 21vh, 210px); }
.dc-side .dc-feed { flex: 1; min-height: 0; max-height: clamp(90px, 11vh, 120px); }
.dc-bar { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 44px; background: var(--dc-nav); border-bottom: 1px solid rgba(0,0,0,.35); color: var(--c-text); font-size: 14.5px; }
.dc-bar b { font-weight: 600; font-family: inherit; letter-spacing: 0; color: var(--c-text); }
.dc-hash { color: var(--c-muted); font-size: 20px; }
.dc-dots { margin-left: auto; display: flex; gap: 4px; } .dc-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-faint); }
.dc-feed { flex: 1; padding: 12px 14px 6px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; min-height: clamp(130px, 15vh, 180px); }
.dc-msg { display: flex; gap: 12px; animation: dcIn 300ms var(--ease) both; transition: opacity 400ms, transform 400ms, max-height 450ms, margin 450ms, background 300ms; max-height: 140px; border-radius: 6px; }
@keyframes dcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dc-msg.flagged { background: rgba(240,82,92,.14); box-shadow: inset 3px 0 0 #f0525c; }
.dc-msg.flagged .dc-text { text-decoration: line-through; text-decoration-color: #f0525c; }
.dc-msg.gone { opacity: 0; transform: translateX(14px) scale(.98); max-height: 0; margin: -6px 0; overflow: hidden; }
.dc-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; }
.dc-body { min-width: 0; flex: 1; }
.dc-head { display: flex; align-items: center; gap: 6px; line-height: 1.2; }
.dc-name { color: var(--c-text); font-size: 14.5px; font-weight: 600; font-family: inherit; letter-spacing: 0; } .dc-name.bot { color: var(--c-body); }
.dc-time { color: var(--c-muted); font-size: 11.5px; }
.dc-tag { background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.dc-text { color: var(--c-text); font-size: 14.5px; line-height: 1.4; margin-top: 2px; overflow-wrap: anywhere; }
.dc-sys { display: flex; align-items: center; gap: 10px; padding-left: 8px; color: var(--c-body); font-size: 14px; animation: dcIn 300ms var(--ease) both; transition: opacity 400ms; }
.dc-sys-ico { color: #EAB308; font-weight: 700; }
.dc-sys.gone-soft { opacity: .5; }
.dc-typing { display: flex; gap: 4px; padding: 8px 0; } .dc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-body); animation: dcDot 1s infinite ease-in-out; } .dc-typing i:nth-child(2) { animation-delay: .15s; } .dc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dcDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.dc-embed { display: flex; margin-top: 6px; max-width: 420px; border-radius: 4px; background: var(--dc-nav); overflow: hidden; }
.dc-eside { width: 4px; flex: none; background: var(--c-accent); } .dc-eside.warn { background: #faa61a; }
.dc-eside.danger { background: #f0525c; } .dc-eside.success { background: #3ba55d; } .dc-eside.info { background: #5865f2; }
.dc-embed-in { padding: 10px 14px 12px; min-width: 0; }
.dc-etitle { color: var(--c-text); font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.dc-edesc { color: var(--c-text); font-size: 13.5px; line-height: 1.45; }
.dc-input { margin: 8px 14px 14px; min-height: 42px; display: flex; align-items: center; padding: 0 14px; border-radius: 8px; background: var(--dc-row); color: var(--c-text); font-size: 14.5px; }
.dc-input-text { overflow-wrap: anywhere; }
.dc-input-text:empty::before { content: ''; display: inline-block; width: 1px; height: 1em; background: transparent; }

@keyframes blink { 50% { opacity: 0; } }

/* ---------- Kırılma noktaları ---------- */
@media (max-width: 1100px) { .lp-page { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); } }
@media (max-width: 960px) { /* tablet + mobil: tek sütun */
  .lp-page { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); padding: 0 var(--s-4); }
  .lp-left { padding-bottom: 0; } .lp-hero { padding: var(--s-6) 0; } .lp-footer { order: 3; }
  .lp-right { max-width: 640px; width: 100%; margin: 0 auto; }
  .lp-footer { max-width: 640px; width: 100%; margin: 0 auto var(--s-5); }
}
@media (max-width: 960px) { .lp-left { display: contents; } .lp-hero { order: 1; } .lp-right { order: 2; } .lp-footer { order: 3; } }
@media (max-width: 480px) {
  .lp-actions { flex-direction: column; width: 100%; } .lp-actions .btn { width: 100%; }
  .lp-stats > div { padding: var(--s-3) var(--s-4); }
  .dc { min-height: 200px; } .dc-feed { min-height: 120px; }
  .dc-side { min-height: 150px; max-height: 180px; } .dc-side .dc-feed { min-height: 80px; max-height: 100px; }
}
@media (max-width: 360px) { .lp-h1 { font-size: 2.1rem; } .dc-av { width: 32px; height: 32px; } }

.btn-secondary:hover { border-color: var(--c-accent-2-dark); }

.dc-av-bot { background: var(--dc-nav); overflow: hidden; } .dc-av-bot img { width: 100%; height: 100%; object-fit: cover; padding: 4px; box-sizing: border-box; }

/* Başlık: orta boy, kurumsal; altında güven satırı */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-h1 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); line-height: 1.12; min-height: 0; padding-bottom: 0; letter-spacing: -0.035em; }
.h1-light, .h1-main { display: inline; font-size: 1em; }
.h1-light { font-weight: 500; color: var(--c-body); }
.h1-main { font-weight: 700; color: var(--c-text); margin-left: .25em; }
.lp-h1::after { display: none; }
.lp-trust { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; margin: calc(var(--s-2) * -1) 0 0; padding: 0; font-size: .9375rem; font-weight: 600; }
.lp-trust li { display: inline-flex; align-items: center; gap: var(--s-2); }
.lp-free { color: var(--c-active); }
.lp-trusted { color: var(--c-body); }
.dc-hash { color: var(--c-muted); }
.lp-h1 { font-size: clamp(1.625rem, 2.7vw, 2.375rem); }
.h1-main { margin-left: 0; }
.h1-light::after { content: ''; }

/* Mobil / tek sütun: hero içeriği ortalı */
@media (max-width: 960px) {
  .lp-hero { align-items: center; text-align: center; }
  .lp-badge { align-self: center; }
  .lp-h1 { text-align: center; }
  .lp-actions { justify-content: center; }
  .lp-trust { justify-content: center; align-items: center; }
  .lp-trust li { justify-content: center; }
  .lp-stats { margin-left: auto; margin-right: auto; text-align: center; }
  .lp-stats > div { align-items: center; }
  .lp-stats dt { justify-content: center; }
  .lp-footer, .lp-footer * { text-align: center; justify-content: center; }
}

/* Bota güvenen sunucular: alçak yatay bant, sola doğru yavaş kayar */
.lp-servers { width: 100%; max-width: 520px; overflow: hidden; border: 1px solid var(--c-line-strong); border-radius: 8px; background: var(--dc-row); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-servers[hidden] { display: none; }
.srv-track { display: flex; width: max-content; animation: srvSlide var(--srv-dur, 40s) linear infinite; }
.lp-servers:hover .srv-track { animation-play-state: paused; }
.srv-half { display: flex; flex: none; }
.srv-item { flex: none; display: inline-flex; align-items: center; gap: var(--s-2); height: 44px; padding: 0 var(--s-4); border-right: 1px solid var(--c-line); white-space: nowrap; }
.srv-ic { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; background: var(--dc-main); flex: none; }
.srv-ini { display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--c-accent); }
.srv-name { font-size: 13px; font-weight: 600; color: var(--c-text); max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.srv-on { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--c-active); }
.srv-on i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-active); }
@keyframes srvSlide { to { transform: translateX(-50%); } }
@media (max-width: 960px) { .lp-servers { margin-left: auto; margin-right: auto; } }
