/* RoyalKillFeed public landing — matches admin panel theme (black / red / Orbitron) */

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --card: rgba(12, 4, 4, 0.92);
  --text: #f2f2f2;
  --muted: #9a8a8a;
  --accent: #ff2b2b;
  --accent-bright: #ff5555;
  --accent-dim: rgba(255, 43, 43, 0.35);
  --royal-crimson: #9b2335;
  --glow: rgba(255, 30, 30, 0.55);
  --glow-soft: rgba(255, 40, 40, 0.18);
  --ok: #3dff8a;
  --border: rgba(255, 50, 50, 0.45);
  --font-display: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --font-body: "Rajdhani", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.landing {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.landing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(180, 0, 0, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(120, 0, 0, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(100, 0, 0, 0.1), transparent 45%),
    #000;
  pointer-events: none;
}

.google-hint {
  margin: 0;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: #e8c4c4;
  background: rgba(80, 0, 0, 0.45);
  border-bottom: 1px solid var(--border);
}

.google-hint a {
  color: var(--accent-bright);
  font-weight: 700;
}

.landing-flash {
  margin: 0;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  background: rgba(12, 4, 4, 0.95);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.landing-flash a {
  color: var(--accent-bright);
  font-weight: 700;
  text-decoration: none;
}

.landing-flash a:hover { text-decoration: underline; }

.ok-flash { color: var(--ok); }

.landing-watermark {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/static/logo-icon.png") center 35% / min(480px, 75vw) no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

/* —— Top bar (same feel as admin .topbar) —— */
.landing-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(20, 0, 0, 0.95), rgba(0, 0, 0, 0.98));
  box-shadow: 0 0 24px var(--glow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.landing-brand-icon {
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--glow));
}

.landing-brand-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  text-shadow: 0 0 12px var(--glow), 0 0 28px var(--glow-soft);
}

.landing-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}

.landing-nav a {
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.landing-nav a:hover {
  color: var(--accent-bright);
  border-color: var(--accent-dim);
  box-shadow: 0 0 12px var(--glow-soft);
}

.landing-nav-cta {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent)) !important;
  color: #fff !important;
  border: 1px solid var(--accent) !important;
  box-shadow: 0 0 16px var(--glow-soft);
}

.landing-nav-cta:hover {
  box-shadow: 0 0 22px var(--glow) !important;
}

/* —— Hero —— */
.landing-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
}

.landing-banner-wrap {
  margin: 0 auto 1.25rem;
  max-width: 100%;
}

.landing-banner {
  width: min(640px, 100%);
  height: auto;
  filter: drop-shadow(0 0 28px var(--glow-soft));
}

.live-badge {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.live-dot.live {
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}

.live-dot.warn {
  background: #f5a623;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.7);
}

.live-dot.offline {
  background: #666;
  box-shadow: none;
}

.badge-sep {
  opacity: 0.5;
  margin: 0 0.15rem;
}

.bot-status-text {
  text-transform: capitalize;
}

.landing-headline {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.headline-royal {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  text-shadow: 0 0 20px var(--glow), 0 0 40px var(--glow-soft);
}

.headline-tag {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
}

.headline-tag em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 16px var(--glow-soft);
}

.hero-sub {
  margin: 0 auto 1.5rem;
  max-width: 520px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-sub strong { color: var(--text); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 0 0 20px var(--glow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: box-shadow 0.2s, transform 0.15s;
}

.btn-primary:hover {
  box-shadow: 0 0 28px var(--glow);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 3px;
  text-decoration: none;
  background: rgba(12, 4, 4, 0.6);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-ghost:hover {
  color: var(--accent-bright);
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--glow-soft);
}

.hero-preview {
  margin-top: 0.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.preview-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  text-align: center;
}

.embed-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.discord-embed {
  position: relative;
  display: flex;
  background: #2b2d31;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #1e1f22;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.embed-kill .embed-bar { background: #ff0000; }
.embed-baseping .embed-bar { background: #3498db; }
.embed-build .embed-bar { background: #2ecc71; }

.embed-bar {
  width: 4px;
  flex-shrink: 0;
}

.embed-main {
  display: flex;
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.85rem 0.75rem 0.65rem;
  gap: 0.65rem;
}

.embed-body {
  flex: 1;
  min-width: 0;
}

.embed-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.embed-desc {
  font-size: 0.9rem;
  color: #dbdee1;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.embed-desc strong { color: #fff; }

.embed-fields {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.field.inline {
  flex: 1 1 28%;
  min-width: 5.5rem;
}

.field.block { width: 100%; }

.field-name {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b5bac1;
  margin-bottom: 0.1rem;
}

.field-value {
  display: block;
  font-size: 0.82rem;
  color: #dbdee1;
  line-height: 1.3;
}

.field-value strong { color: #fff; }

.field-link { color: #00a8fc; }

.embed-footer {
  font-size: 0.72rem;
  color: #949ba4;
  margin-top: 0.25rem;
}

.embed-tag {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.55);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 50, 50, 0.25);
}

@media (min-width: 640px) {
  .hero-preview { max-width: 100%; }
  .embed-showcase {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* —— Modules scroll —— */
.landing-modules {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-align: center;
  margin: 0 0 0.35rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  text-shadow: 0 0 16px var(--glow-soft);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 2rem;
}

.module-group { margin-bottom: 2rem; }

.module-group-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.module-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.module-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 0 16px var(--glow-soft);
  scroll-margin-top: 5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.module-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 22px var(--glow-soft);
}

.module-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px var(--glow-soft));
}

.module-text h4 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}

.module-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Pricing —— */
.landing-pricing {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  scroll-margin-top: 5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 0 20px var(--glow-soft);
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 28px var(--glow-soft);
}

.pricing-badge {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ok);
}

.pricing-badge.muted-badge {
  color: var(--muted);
}

.pricing-plan {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.pricing-amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent-bright);
  line-height: 1.1;
  text-shadow: 0 0 20px var(--glow-soft);
}

.pricing-currency {
  font-size: 1.35rem;
  vertical-align: super;
  margin-right: 0.1rem;
}

.pricing-decimal {
  font-size: 1.75rem;
}

.pricing-period {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-features {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 0.35rem;
}

.pricing-note {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.pricing-note.ok-note {
  color: var(--ok);
}

.pricing-cta {
  margin-top: auto;
  text-align: center;
  text-decoration: none;
}

.muted {
  color: var(--muted);
}

.pricing-inline {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pricing-inline a {
  color: var(--accent-bright);
  font-weight: 700;
  text-decoration: none;
}

.pricing-inline a:hover {
  text-decoration: underline;
}

/* —— CTA —— */
.landing-cta-block {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(20, 0, 0, 0.4));
}

.cta-icon {
  filter: drop-shadow(0 0 12px var(--glow));
  margin-bottom: 0.75rem;
}

.landing-cta-block h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 0.5rem;
}

.landing-cta-block p { color: var(--muted); }

.accent-text { color: var(--accent-bright); }

.cta-note {
  margin-top: 1.25rem !important;
  font-size: 0.85rem !important;
  max-width: 420px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.landing-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 50, 50, 0.2);
}

.footer-icon {
  filter: drop-shadow(0 0 6px var(--glow-soft));
}

@media (max-width: 520px) {
  .landing-topbar {
    justify-content: center;
    text-align: center;
  }
  .landing-nav { justify-content: center; }
  .landing-brand { justify-content: center; width: 100%; }
}
