﻿/* StreamPilot — pages.css: pagina-specifieke stijlen */
/* =======================================================================
   8) PAGES
   ======================================================================= */
/* â”€â”€ Landing page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Hero */
.lp-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 8px 0 40px;
}
.lp-hero__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(253,100,30,.4);
  background: rgba(253,100,30,.1);
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: .03em;
}
.lp-hero__title {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.lp-hero__sub {
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 24px;
}
.lp-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--lg { padding: 11px 22px; font-size: 0.875rem; }

/* Mock window */
.lp-mock {
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.lp-mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.lp-mock__dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-mock__dot--r { background: #ff5f57; }
.lp-mock__dot--y { background: #febc2e; }
.lp-mock__dot--g { background: #28c840; }
.lp-mock__title { font-size: 0.6875rem; color: var(--muted); margin-left: 6px; }
.lp-mock__body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.lp-mock__stat-row { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-mock__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  flex: 1;
  min-width: 90px;
}
.lp-mock__stat-label { font-size: var(--text-2xs); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.lp-mock__stat-val { font-size: 1rem; font-weight: 700; }
.lp-mock__stat--live {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #28c840;
  background: rgba(40,200,64,.08);
  border-color: rgba(40,200,64,.25);
}
.lp-mock__live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #28c840;
  animation: lp-pulse 1.4s ease-in-out infinite;
}
@keyframes lp-pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .35; }
}

.lp-mock__goal-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.lp-mock__goal-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.lp-mock__alert {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(253,100,30,.1);
  border: 1px solid rgba(253,100,30,.25);
  color: var(--accent);
}

.lp-mock__overlay-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-mock__overlay-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-family: monospace;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text);
}
.lp-mock__overlay-item--off { color: var(--muted); }
.lp-mock__overlay-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #28c840;
  flex-shrink: 0;
}
.lp-mock__overlay-dot--off { background: rgba(255,255,255,.2); }

.lp-mock__cmd-row { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-mock__cmd {
  font-size: 0.6875rem;
  font-family: monospace;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
  color: #a78bfa;
}

/* Section */
.lp-section { margin-top: 48px; }
.lp-section--steps { margin-top: 40px; }
.lp-section__title { font-size: var(--text-2xl); font-weight: 800; margin-bottom: 6px; }
.lp-section__sub { color: var(--muted); font-size: 0.875rem; margin-bottom: 24px; }

/* Feature grid */
.lp-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.lp-feature {
  padding: 18px 20px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  transition: border-color .15s, background .15s;
}
.lp-feature:hover { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.055); }
.lp-feature__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.lp-feature__icon--orange { background: rgba(253,100,30,.15); color: #fd641e; }
.lp-feature__icon--purple { background: rgba(124,58,237,.15); color: #a78bfa; }
.lp-feature__icon--blue   { background: rgba(59,130,246,.15); color: #60a5fa; }
.lp-feature__icon--green  { background: rgba(16,185,129,.15); color: #34d399; }
.lp-feature__icon--yellow { background: rgba(245,158,11,.15); color: #fbbf24; }
.lp-feature__icon--teal   { background: rgba(20,184,166,.15); color: #2dd4bf; }
.lp-feature h3 { font-size: 0.875rem; font-weight: 700; margin-bottom: 5px; }
.lp-feature p  { font-size: var(--text-sm); color: var(--muted); line-height: 1.55; margin: 0; }

/* Steps */
.lp-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.lp-step {
  padding: 18px 20px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  width: 100%;
}
.lp-step__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 800;
  margin-bottom: 10px;
}
.lp-step h3 { font-size: 0.875rem; font-weight: 700; margin-bottom: 4px; }
.lp-step p  { font-size: var(--text-sm); color: var(--muted); line-height: 1.55; margin: 0; }
.lp-step__arrow { font-size: 1.25rem; color: var(--muted); align-self: center; display: none; }

/* Bottom CTA */
.lp-cta {
  margin-top: 48px;
  padding: 36px 24px;
  border-radius: var(--radius2);
  border: 1px solid rgba(253,100,30,.3);
  background: rgba(253,100,30,.07);
  text-align: center;
}
.lp-cta h2 { font-size: var(--text-2xl); font-weight: 800; margin-bottom: 8px; }
.lp-cta p  { color: var(--muted); font-size: 0.875rem; margin-bottom: 20px; }

/* Responsive */
.bar{
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: .9;
}

.toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 700;
  max-width: 320px;
}

/* ── Stream Startup ─────────────────────────────────────────────────────── */
.startup-layout { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .startup-layout { grid-template-columns: 1fr; } }

.startup-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 20px;
}
.startup-section-title { font-size: 1rem; font-weight: 700; margin: 0; }

.ss-title-wrap { position: relative; }
.ss-char-count { position: absolute; bottom: 6px; right: 10px; font-size: .75rem; color: var(--muted); pointer-events: none; }

.ss-game-wrap { position: relative; }
.ss-dropdown  { position: absolute; top: calc(100% + 2px); left: 0; right: 0; z-index: 200;
                background: #111116; border: 1px solid var(--border);
                border-radius: 8px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.65); }
.ss-dropdown-item { padding: 9px 14px; cursor: pointer; font-size: .875rem; }
.ss-dropdown-item:hover { background: rgba(255,255,255,.08); }

.ss-tags-wrap { display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
                padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px;
                background: var(--input-bg, rgba(255,255,255,.04)); min-height: 42px; cursor: text; }
.ss-tag       { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px;
                background: rgba(253,100,30,.15); color: var(--accent);
                border-radius: 20px; font-size: .8rem; font-weight: 500; }
.ss-tag-del   { background: none; border: none; cursor: pointer; color: var(--muted);
                font-size: 1rem; line-height: 1; padding: 0 2px; }
.ss-tag-del:hover { color: var(--red, #ef4444); }
.ss-tag-input { border: none; background: transparent; outline: none;
                font-size: .875rem; color: var(--text); min-width: 120px; flex: 1; }

.ss-status        { display: flex; align-items: center; gap: 8px; font-size: .875rem; padding: 10px 14px;
                    border-radius: 8px; }
.ss-status--ok    { background: rgba(34,197,94,.08); color: #22c55e; }
.ss-status--warn  { background: rgba(251,191,36,.08); color: #fbbf24; }

/* ── Stream Info card (dashboard) ───────────────────────────────────────── */
.sic-current    { display: flex; flex-direction: column; gap: 4px; }
.sic-game-line  { min-height: 1.2em; }
.sic-title-line { font-size: .82rem; color: var(--muted); line-height: 1.4;
                  max-height: 2.8em; overflow: hidden;
                  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sic-edit-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.sic-status     { font-size: .8rem; }

/* ── Frequent chips (gedeeld tussen stream-startup + stream-info card) ──── */
.ss-freq-row   { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.ss-freq-label { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.ss-freq-chip  { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px;
                 font-size: .78rem; font-weight: 500; cursor: pointer;
                 background: rgba(255,255,255,.06); border: 1px solid var(--border);
                 color: var(--text); transition: background .12s, border-color .12s; }
.ss-freq-chip:hover        { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.ss-freq-chip--active      { background: rgba(253,100,30,.15); border-color: rgba(253,100,30,.4); color: var(--accent); }
.ss-freq-chip--used        { opacity: .38; cursor: default; pointer-events: none; }

.ss-preset-list { list-style: none; margin: 0; padding: 0; }
.ss-preset-item { display: flex; align-items: center; justify-content: space-between; gap: 8px;
                  padding: 10px 0; border-bottom: 1px solid var(--border); }
.ss-preset-item:last-child { border-bottom: none; }
.ss-preset-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ss-preset-name { font-size: .875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-preset-meta { font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-preset-actions { display: flex; gap: 4px; flex-shrink: 0; }

