:root {
  --bg: #0b0e14;
  --panel: rgba(20, 26, 36, 0.42);
  --text: #f4f7fb;
  --muted: #9aa7b8;
  --line: rgba(145, 70, 255, 0.28);
  --twitch: #9146ff;
  --twitch-dark: #772ce8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
}

.bg {
  position: fixed;
  inset: -8%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
  animation: floaty 42s ease-in-out infinite alternate;
  will-change: transform;
}
.bg-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(11,14,20,0.08) 0%, rgba(11,14,20,0.28) 58%, rgba(11,14,20,0.62) 100%),
    linear-gradient(180deg, rgba(11,14,20,0.22) 0%, rgba(11,14,20,0.08) 42%, rgba(11,14,20,0.55) 100%);
}
@keyframes floaty {
  from { transform: scale(1.08) translate3d(-1.6%, -1.2%, 0); }
  to   { transform: scale(1.16) translate3d(1.8%, 1.4%, 0); }
}

.top, .stage, main, footer { position: relative; z-index: 1; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand img.twitch-icon {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(145, 70, 255, 0.55);
}
nav { display: flex; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: #fff; }

.stage {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px 48px;
  text-align: center;
}
.live-kicker {
  color: #d4b8ff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 14px;
  text-shadow: 0 0 18px rgba(145, 70, 255, 0.45);
}
.player-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(145, 70, 255, 0.18),
    0 0 60px rgba(145, 70, 255, 0.18);
}
.player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 14px auto 0;
  max-width: 36rem;
}
.cta { margin-top: 18px; }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.btn.twitch { background: var(--twitch); color: #fff; }
.btn.twitch:hover { background: var(--twitch-dark); }
.btn.wide { margin-top: 16px; }

main { max-width: 1120px; margin: 0 auto; padding: 28px 28px 80px; }
h2 { margin: 0 0 12px; font-size: 1.15rem; }

.about {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 64px 80px;
}
.about article {
  flex: 1 1 280px;
  max-width: 360px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  backdrop-filter: blur(8px);
}
.about p, .about li { color: var(--muted); }
.about a { color: #c4b5fd; }
ul { padding-left: 1.15rem; }
li + li { margin-top: 8px; }

footer {
  padding: 24px 28px 36px;
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: #c4b5fd; }

@media (max-width: 640px) {
  .top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stage { padding-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-img { animation: none; transform: scale(1.08); }
}
