/* ============ Senpai Stream — one-page ============ */

:root {
  --bg: #0b0e17;
  --bg-alt: #10141f;
  --card: #161b29;
  --card-border: #232a3d;
  --text: #e8eaf1;
  --muted: #9aa1b5;
  --accent: #e2152f;
  --accent-hover: #f5273f;
  --accent-soft: rgba(226, 21, 47, 0.12);
  --radius: 14px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
}

img { display: block; max-width: 100%; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; }

h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.9rem; }

.kicker {
  color: var(--accent-hover);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.section-intro {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 2.2rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand img { border-radius: 9px; }

.main-nav { display: flex; gap: 1.6rem; }

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(226, 21, 47, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 35% at 85% 20%, rgba(226, 21, 47, 0.10), transparent 70%),
    var(--bg);
  overflow: hidden;
}

.hero-inner { position: relative; }

.hero-logo {
  margin: 0 auto 1.4rem;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(226, 21, 47, 0.35);
}

.hero-badge {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid rgba(226, 21, 47, 0.35);
  color: #ff8a97;
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-sub {
  max-width: 640px;
  margin: 1.1rem auto 1.9rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(226, 21, 47, 0.35);
}

.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover { border-color: var(--muted); }

.hero-stats {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.8rem;
}

.hero-stats li {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0.9rem 1.4rem;
  min-width: 150px;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: #fff;
}

.hero-stats span { color: var(--muted); font-size: 0.85rem; }

/* ---------- Sections ---------- */

.section { padding: 4.5rem 0; }

.section-alt { background: var(--bg-alt); }

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.two-col p + p { margin-top: 1rem; }

/* ---------- Info card / table ---------- */

.info-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.info-card h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  color: #fff;
}

.info-card table { width: 100%; border-collapse: collapse; }

.info-card th, .info-card td {
  text-align: left;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.95rem;
}

.info-card tr:last-child th, .info-card tr:last-child td { border-bottom: none; }

.info-card th { color: var(--muted); font-weight: 600; width: 45%; }

/* ---------- Grids & cards ---------- */

.grid {
  display: grid;
  gap: 1.3rem;
}

.genres, .features { grid-template-columns: repeat(3, 1fr); }
.steps, .reviews { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover { transform: translateY(-4px); border-color: rgba(226, 21, 47, 0.45); }

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
  color: #fff;
}

.card p { color: var(--muted); font-size: 0.97rem; }

.card-icon {
  display: inline-block;
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

/* ---------- VF / VOSTFR ---------- */

.vs-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.vs-row h3 {
  color: var(--accent-hover);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.vs-row ul { list-style: none; }

.vs-row li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  color: var(--muted);
}

.vs-row li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-hover);
  font-weight: 700;
}

.vs-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.2rem 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.vs-divider::before, .vs-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--card-border);
}

/* ---------- Steps / notice ---------- */

.step { position: relative; padding-top: 2.1rem; }

.step-num {
  position: absolute;
  top: -1.1rem;
  left: 1.4rem;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(226, 21, 47, 0.4);
}

.steps { margin-top: 2.2rem; }

.notice {
  margin-top: 2rem;
  background: var(--accent-soft);
  border: 1px solid rgba(226, 21, 47, 0.3);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  color: #dfc9cc;
  font-size: 0.98rem;
}

.notice strong { color: #ff8a97; }

/* ---------- Reviews ---------- */

.review .stars {
  color: #ffb02e;
  letter-spacing: 0.15em;
  margin-bottom: 0.7rem;
}

.review p { color: var(--text); }

.review footer {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- FAQ ---------- */

details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  position: relative;
  color: #fff;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-hover);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s;
}

details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

details p {
  padding: 0 1.4rem 1.2rem;
  color: var(--muted);
}

/* ---------- CTA ---------- */

.section-cta {
  background:
    radial-gradient(ellipse 55% 70% at 50% 110%, rgba(226, 21, 47, 0.25), transparent 70%),
    var(--bg-alt);
}

.cta-logo {
  margin: 0 auto 1.3rem;
  border-radius: 16px;
}

.section-cta p { color: var(--muted); margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 2.8rem 0 2rem;
  background: var(--bg);
}

.footer-inner { text-align: center; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-brand img { border-radius: 8px; }

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-nav a:hover { color: var(--text); }

.footer-note, .footer-copy {
  color: #5d6478;
  font-size: 0.85rem;
}

.footer-copy { margin-top: 0.4rem; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .genres, .features, .steps, .reviews { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .genres, .features, .steps, .reviews { grid-template-columns: 1fr; }
  .steps { gap: 2rem; }

  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--card-border);
    padding: 0.5rem 0;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
  }

  .main-nav a:last-child { border-bottom: none; }

  .hero { padding: 3.5rem 0 3rem; }
  .hero-stats li { min-width: calc(50% - 0.5rem); }
}
