/* --- Akışkan animasyonlu arka plan --- */
.bg-fluid { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-fluid span {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(90px); will-change: transform; transform: translate3d(0, 0, 0);
}
.bg-fluid .b1 { width: 46vmax; height: 46vmax; background: #5865f2; opacity: .30; top: -14vmax; left: -12vmax; animation: drift1 28s ease-in-out infinite alternate; }
.bg-fluid .b2 { width: 40vmax; height: 40vmax; background: #9b59b6; opacity: .26; bottom: -16vmax; right: -10vmax; animation: drift2 34s ease-in-out infinite alternate; }
.bg-fluid .b3 { width: 32vmax; height: 32vmax; background: #2ecc71; opacity: .16; top: 45%; left: 52%; animation: drift3 40s ease-in-out infinite alternate; }
.bg-fluid .b4 { width: 26vmax; height: 26vmax; background: #e91e63; opacity: .14; top: 8%; right: 18%; animation: drift4 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(16vmax, 12vmax, 0) scale(1.18); } }
@keyframes drift2 { to { transform: translate3d(-14vmax, -12vmax, 0) scale(1.12); } }
@keyframes drift3 { to { transform: translate3d(-18vmax, 8vmax, 0) scale(0.86); } }
@keyframes drift4 { to { transform: translate3d(10vmax, 14vmax, 0) scale(1.22); } }
@media (prefers-reduced-motion: reduce) { .bg-fluid span { animation: none; } }

/* İçerik arka planın üstünde kalsın */
.topbar, main#app, .site-footer { position: relative; z-index: 1; }

/* Herkese açık tanıtım sayfası (giriş yapılmamış ziyaretçiler için). */
#landing { display: block; }
#landing.hidden { display: none; }

.lp-hero { text-align: center; padding: 56px 16px 40px; max-width: 860px; margin: 0 auto; }
.lp-badge {
  display: inline-block; font-size: 12px; letter-spacing: .3px; color: var(--muted);
  border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 14px; margin-bottom: 20px;
}
.lp-hero h1 {
  font-size: clamp(30px, 5.2vw, 52px); margin: 0 0 16px; letter-spacing: -0.5px;
  /* Gradyan + background-clip:text ile Türkçe alt uzantılar (ğ, y, ç, p) kırpılmasın:
     ferah satır yüksekliği + alt dolgu bırakılır. */
  line-height: 1.28; padding-bottom: .14em;
  background: linear-gradient(180deg, var(--ink), #a9b0c4); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-lead { color: var(--muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.65; margin: 0 auto 28px; max-width: 640px; }
.lp-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 12px 22px; font-size: 15px; border-radius: 12px; }
.lp-note { color: var(--muted); font-size: 13px; margin-top: 16px; }

.lp-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 720px; margin: 8px auto 8px; padding: 0 16px;
}
.lp-stats div {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px; text-align: center;
}
.lp-stats strong { display: block; font-size: 22px; color: var(--ink); line-height: 1.4; }
.lp-stats span { font-size: 12px; color: var(--muted); line-height: 1.5; display: block; }

.lp-section { max-width: 1040px; margin: 0 auto; padding: 52px 16px 0; }
.lp-section h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; text-align: center; line-height: 1.35; padding-bottom: .06em; }
.lp-sub { color: var(--muted); text-align: center; margin: 0 auto 28px; max-width: 560px; line-height: 1.6; }

.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.lp-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  transition: transform .15s ease, border-color .15s ease;
}
.lp-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.lp-card i { color: var(--accent); width: 22px; height: 22px; }
.lp-card h3 { font-size: 16px; margin: 12px 0 6px; line-height: 1.4; }
.lp-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 0; }

.lp-cmds { display: grid; gap: 8px; }
.lp-cmd {
  display: grid; grid-template-columns: 160px 1fr; gap: 14px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
}
.lp-cmd code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 13.5px;
  color: #b7c0ff; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; justify-self: start;
}
.lp-cmd span { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.lp-cta {
  max-width: 1040px; margin: 56px auto 24px; padding: 40px 24px; text-align: center;
  background: linear-gradient(135deg, rgba(88,101,242,.18), rgba(88,101,242,.05));
  border: 1px solid var(--line); border-radius: 20px;
}
.lp-cta h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 8px; }
.lp-cta p { color: var(--muted); margin: 0 0 22px; }

.topbar-right { display: flex; align-items: center; gap: 10px; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* Sunucu kartındaki davet durumu */
.guild-invite { border-style: dashed !important; }
.guild-nobot { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

@media (max-width: 640px) {
  .lp-hero { padding: 36px 16px 28px; }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-cmd { grid-template-columns: 1fr; gap: 6px; }
  .lp-actions .btn { width: 100%; justify-content: center; }
}
