:root {
  --bg: #101014;
  --text: #f7f7fb;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.1);
  --twitch: #9146ff;
  --cyan: #00f5d4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(145, 70, 255, 0.28), transparent 34%),
    radial-gradient(circle at 85% 15%, rgba(0, 245, 212, 0.18), transparent 28%),
    linear-gradient(135deg, #161620 0%, #101014 58%, #21122f 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px 56px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.nav-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: #fff;
  padding: 10px 14px;
}

.eyebrow,
.card-label {
  margin: 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.headline h1 {
  max-width: 520px;
  margin: 18px 0 0;
  font-size: clamp(64px, 7vw, 102px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.45;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 16px;
  padding-top: 110px;
}

.status-card,
.quick-card,
.channel-card {
  border-radius: 8px;
  overflow: hidden;
}

.status-card {
  min-height: 274px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
  padding: 26px 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.status-card .card-label {
  color: rgba(255, 255, 255, 0.58);
}

.live-total {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-top: 64px;
}

.live-total span:first-child {
  font-size: 72px;
  font-weight: 950;
  line-height: 0.8;
}

.live-total span:last-child {
  padding-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-card p:last-child,
.quick-card p:last-child {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.quick-card {
  min-height: 274px;
  background: var(--cyan);
  color: #101014;
  padding: 26px 20px;
}

.quick-card .card-label {
  color: #101014;
}

.quick-card p:last-child {
  color: #101014;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 52px;
}

.quick-links a {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #101014;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.quick-links img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channels-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 40px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.section-head h2 {
  margin: 10px 0 0;
  font-size: 38px;
  line-height: 1;
}

.section-head > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.channel-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.075);
}

.channel-banner {
  position: relative;
  height: 144px;
}

.avatar {
  position: absolute;
  bottom: 0;
  left: 20px;
  display: grid;
  width: 96px;
  height: 96px;
  transform: translateY(50%);
  place-items: center;
  overflow: hidden;
  border: 4px solid #15151b;
  border-radius: 8px;
  background: #fff;
  color: #101014;
  font-weight: 950;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-body {
  padding: 68px 20px 20px;
}

.channel-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.channel-category {
  margin: 0;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
}

.channel-card h3 {
  margin: 5px 0 0;
  font-size: 28px;
}

.handle {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 14px;
}

.badge {
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.badge.live {
  background: #ff4d6d;
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 77, 109, 0.25);
}

.description {
  min-height: 144px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.live-details {
  margin-top: 16px;
  border: 1px solid rgba(255, 77, 109, 0.35);
  border-radius: 6px;
  background: rgba(255, 77, 109, 0.1);
  padding: 12px;
}

.live-details strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.live-details span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tags span {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.channel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.channel-actions span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.channel-actions a {
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--twitch);
  color: #fff;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 950;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .hero-cards {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .hero-grid,
  .channels-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .headline h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 17px;
  }
}
