/* Ana sayfa — koyu giriş kapısı (panel teması ile uyumlu) */
body.landing-app {
  --landing-gold: #d48484;
  --landing-gold-dim: rgba(212, 132, 132, 0.14);
  --landing-bg: #050506;
  --landing-text: #ececf1;
  --landing-muted: #8b8b9a;
  --landing-border: rgba(255, 255, 255, 0.08);
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--landing-text);
  background:
    radial-gradient(ellipse 80% 60% at 15% 40%, rgba(212, 132, 132, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(120, 80, 80, 0.06), transparent 50%),
    var(--landing-bg);
}

.landing-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--landing-text);
}

.landing-brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 132, 132, 0.45);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--landing-gold);
  font-size: .85rem;
}

.landing-brand-text strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: .12em;
  color: var(--landing-gold);
}

.landing-brand-text span {
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--landing-muted);
  text-transform: uppercase;
}

.landing-lang {
  display: flex;
  gap: .35rem;
}

.landing-lang a {
  padding: .35rem .55rem;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--landing-muted);
  border: 1px solid var(--landing-border);
}

.landing-lang a.active {
  color: var(--landing-gold);
  border-color: rgba(212, 132, 132, 0.45);
  background: var(--landing-gold-dim);
}

.landing-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 140px);
}

.landing-shell--center {
  grid-template-columns: 1fr;
  max-width: 440px;
  justify-items: stretch;
  align-content: center;
}

.landing-back {
  margin: 0 0 1rem;
  font-size: .82rem;
}

.landing-back a {
  color: var(--landing-muted);
  text-decoration: none;
}

.landing-back a:hover {
  color: var(--landing-gold);
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--landing-gold);
  margin-bottom: 1rem;
}

.landing-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: .02em;
  margin: 0 0 .75rem;
  color: var(--landing-gold);
  font-family: Georgia, "Times New Roman", serif;
}

.landing-subtitle {
  font-size: 1.05rem;
  color: var(--landing-muted);
  max-width: 420px;
  margin: 0 0 2rem;
  line-height: 1.5;
}

.landing-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.landing-stat .num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--landing-text);
}

.landing-stat .lbl {
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--landing-muted);
  text-transform: uppercase;
  margin-top: .15rem;
}

.landing-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.landing-pill {
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.03);
  font-size: .78rem;
  color: var(--landing-muted);
}

.landing-pill em {
  font-style: normal;
  color: var(--landing-gold);
}

.landing-auth-card {
  background: rgba(16, 16, 20, 0.92);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.landing-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding: .35rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
}

.landing-tabs a {
  text-align: center;
  padding: .55rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  color: var(--landing-muted);
}

.landing-tabs a.active {
  background: var(--landing-gold-dim);
  color: var(--landing-gold);
  border: 1px solid rgba(212, 132, 132, 0.35);
}

.landing-auth-card h2 {
  margin: 0 0 .35rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.landing-auth-hint--sub {
  margin-top: 1rem;
  font-size: .78rem;
  color: var(--landing-muted);
}

.landing-auth-hint {
  margin: 0 0 1rem;
  font-size: .82rem;
  color: var(--landing-muted);
  line-height: 1.45;
}

.landing-auth-card .form-group label {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--landing-muted);
}

.landing-auth-card .form-control {
  background: rgba(0, 0, 0, 0.35);
  border-color: var(--landing-border);
  color: var(--landing-text);
}

.landing-auth-card .form-control:focus {
  border-color: rgba(212, 132, 132, 0.5);
  outline: none;
}

.landing-btn-gold {
  width: 100%;
  padding: .75rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #e8aaaa 0%, var(--landing-gold) 100%);
  color: #1a0a0a;
  font-weight: 700;
  cursor: pointer;
  font-size: .925rem;
}

.landing-btn-outline {
  width: 100%;
  padding: .75rem;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--landing-border);
  color: var(--landing-text);
  font-weight: 600;
  cursor: pointer;
}

.landing-divider {
  text-align: center;
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--landing-muted);
  margin: 1rem 0;
}

.landing-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem 1.5rem;
  font-size: .72rem;
  color: var(--landing-muted);
}

.landing-auth-card .auth-telegram {
  margin-bottom: .75rem;
}

.landing-auth-card .auth-telegram--minimal {
  margin-bottom: 1rem;
  width: 100%;
}

.telegram-login-wrap {
  position: relative;
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  overflow: hidden;
}

.telegram-login-facade {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  padding: .78rem 1.25rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #f0cc62 0%, #e6b84d 55%, #d9a83f 100%);
  color: #111;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  box-sizing: border-box;
  pointer-events: none;
  user-select: none;
}

.telegram-login-icon {
  flex-shrink: 0;
  opacity: .92;
}

.telegram-login-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.telegram-login-hit iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  border: none !important;
  cursor: pointer;
}

.landing-auth-card .auth-telegram-botname {
  text-align: center;
  font-size: .78rem;
  color: var(--landing-muted);
  margin: 0 0 .65rem;
}

.landing-auth-card .auth-telegram-botname strong {
  color: var(--landing-accent, #d48484);
}

.landing-auth-card .auth-divider {
  color: var(--landing-muted);
}

.landing-auth-card .auth-divider::before,
.landing-auth-card .auth-divider::after {
  background: var(--landing-border);
}

.landing-auth-card .alert {
  font-size: .85rem;
  margin-bottom: .75rem;
}

.landing-auth-card .alert-error {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.landing-auth-card .alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #bbf7d0;
}

.landing-auth-card .alert-info {
  background: rgba(212, 132, 132, 0.08);
  border: 1px solid rgba(212, 132, 132, 0.35);
  color: #f5d0d0;
  font-size: .85rem;
  line-height: 1.45;
  word-break: break-word;
}

.landing-auth-card .alert-info a {
  color: var(--landing-gold);
}

.landing-auth-card .telegram-domain-help {
  background: rgba(212, 132, 132, 0.08);
  border: 1px solid rgba(212, 132, 132, 0.25);
  color: var(--landing-muted);
  padding: .65rem .75rem;
  border-radius: 8px;
}

.landing-auth-card .telegram-domain-warn {
  color: #f0b4b4 !important;
}

.landing-forgot {
  text-align: right;
  margin: -.25rem 0 .75rem;
  font-size: .8rem;
}

.landing-forgot a {
  color: var(--landing-muted);
}

.landing-forgot a:hover {
  color: var(--landing-gold);
}

.landing-email-toggle {
  text-align: center;
  margin-top: .75rem;
  font-size: .82rem;
}

.landing-email-toggle a {
  color: var(--landing-gold);
}

@media (max-width: 960px) {
  .landing-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .landing-hero-copy {
    text-align: center;
  }
  .landing-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .landing-stats {
    justify-content: center;
  }
  .landing-pills {
    justify-content: center;
  }
}
