:root {
  --bg: #0d1108;
  --bg-soft: #141c0b;
  --green: #74f118;
  --orange: #ff9f1a;
  --text: #f3ffe8;
  --muted: #bfd7a6;
  --line: #29411a;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% -5%, #27420f 0%, var(--bg) 45%);
  min-height: 100vh;
}

.bg-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 159, 26, 0.2), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(116, 241, 24, 0.15), transparent 33%);
  pointer-events: none;
  z-index: -1;
}

.topbar {
  position: relative;
  width: min(1160px, 92%);
  margin: 1rem auto 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 15, 7, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  font-family: "Bebas Neue", Impact, "Arial Narrow", system-ui, sans-serif;
  font-size: 2rem;
  color: var(--green);
  letter-spacing: 1px;
}

.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--bg-soft);
  clip-path: none;
  color: var(--text);
  height: auto;
  left: 0.75rem;
  margin: 0;
  padding: 0.65rem 1rem;
  top: 0.75rem;
  width: auto;
  z-index: 100001;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.topbar-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 12, 6, 0.75);
  cursor: pointer;
}

.topbar-nav-toggle__bar {
  display: block;
  height: 2px;
  width: 1.25rem;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.topbar-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.blaze-main {
  width: min(1160px, 92%);
  margin: 1.4rem auto 3rem;
  display: grid;
  gap: 1rem;
}

.hero {
  padding: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(125deg, rgba(255, 159, 26, 0.17), transparent 33%),
    linear-gradient(300deg, rgba(116, 241, 24, 0.13), transparent 40%),
    var(--bg-soft);
  box-shadow: var(--shadow);
}

.hero-banner {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #3d631f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  background: radial-gradient(circle at 30% 20%, rgba(116, 241, 24, 0.08), transparent 55%), #0a0f07;
  text-align: center;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}

.twitch-hub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}

.twitch-hub .pill {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(8, 12, 6, 0.55);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.twitch-hub .pill:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(116, 241, 24, 0.08);
}

.social-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  margin: 0 0 1.1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 6, 0.45);
}

footer .social-bar {
  width: min(1160px, 92%);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.75rem;
  justify-content: center;
}

.social-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.social-bar__link:hover {
  color: var(--green);
  border-color: rgba(116, 241, 24, 0.35);
  background: rgba(116, 241, 24, 0.06);
}

.social-bar__svg {
  flex-shrink: 0;
  display: block;
  opacity: 0.95;
}

.social-bar__link:hover .social-bar__svg {
  opacity: 1;
}

.social-bar__label {
  line-height: 1.2;
}

@media (max-width: 520px) {
  .social-bar__link {
    position: relative;
    padding: 0.5rem;
    justify-content: center;
  }

  .social-bar__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.panel-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.twitch-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.clips-grid,
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}

.video-cell {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

a.video-open {
  font-size: 0.95rem;
  color: var(--green);
  text-decoration: none;
  align-self: flex-start;
}

a.video-open:hover {
  text-decoration: underline;
}

.embed-wrap--clip {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.clips-panel--empty .panel-note:last-child {
  margin-bottom: 0;
}

.live-chat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 0.85rem;
  align-items: stretch;
}

.embed-wrap--player {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.embed-wrap--chat {
  aspect-ratio: auto;
  min-height: min(70vh, 520px);
}

.embed-wrap--video {
  aspect-ratio: 16 / 9;
}

.twitch-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}

.more-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(14, 20, 10, 0.92);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.more-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.more-card strong {
  font-family: "Bebas Neue", Impact, "Arial Narrow", system-ui, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  color: var(--green);
}

.more-card span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.4;
}

.streamer-rec-intro {
  margin-top: 0;
}

.streamer-rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.streamer-rec-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(14, 20, 10, 0.88);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.streamer-rec-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.streamer-rec-card__icon {
  color: #9146ff;
  line-height: 0;
}

.streamer-rec-card__name {
  font-family: "Bebas Neue", Impact, "Arial Narrow", system-ui, sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--green);
  font-weight: 400;
}

.streamer-rec-card__hint {
  font-size: 0.88rem;
  color: var(--muted);
}

.schedule-section .panel-head h2 {
  margin: 0;
  font-family: "Bebas Neue", Impact, "Arial Narrow", system-ui, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.04em;
}

.tile.is-live,
.tile[data-live="1"] {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.35), 0 0 24px rgba(255, 122, 26, 0.12);
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  font-weight: 700;
}

.hero h1 {
  margin: 0.5rem 0;
  font-family: "Bebas Neue", Impact, "Arial Narrow", system-ui, sans-serif;
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  line-height: 0.95;
}

.hero h1 span {
  color: var(--green);
}

.lead {
  margin: 0.8rem 0 1.3rem;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(120deg, #8dff30, #5ac300);
  color: #111;
  padding: 0.72rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
}

.btn.small {
  padding: 0.56rem 0.9rem;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-card {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 12, 6, 0.65);
  padding: 0.9rem 1rem;
  max-width: 460px;
}

.online-dot {
  margin: 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.online-dot span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #28ff59;
  box-shadow: 0 0 12px #28ff59;
  animation: blazedherotv-pulse 1.4s infinite;
}

@keyframes blazedherotv-pulse {
  0% { opacity: 0.35; }
  50% { opacity: 1; }
  100% { opacity: 0.35; }
}

.panel {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.panel h2 {
  margin: 0;
  font-size: 2rem;
  font-family: "Bebas Neue", Impact, "Arial Narrow", system-ui, sans-serif;
  letter-spacing: 1px;
}

.panel-head a {
  color: var(--green);
}

.embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #3d631f;
}

.embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.tile {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(14, 20, 10, 0.92);
}

.tile h3 {
  margin: 0;
  color: var(--green);
  font-family: "Bebas Neue", Impact, "Arial Narrow", system-ui, sans-serif;
  font-size: 1.7rem;
}

.tile p {
  margin: 0.15rem 0;
  font-size: 1.1rem;
  font-weight: 700;
}

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

.about h2 {
  font-family: "Bebas Neue", Impact, "Arial Narrow", system-ui, sans-serif;
  font-size: 2rem;
  margin-top: 0;
}

.about p {
  color: var(--muted);
  font-size: 1.1rem;
}

.legal-page h1 {
  margin-top: 0;
  font-family: "Bebas Neue", Impact, "Arial Narrow", system-ui, sans-serif;
  font-size: 2.4rem;
  letter-spacing: 1px;
}

.legal-content {
  color: var(--muted);
  line-height: 1.7;
}

footer {
  text-align: center;
  padding: 1.5rem 1rem 2.2rem;
  color: #94b170;
}

.legal-links {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    gap: 0.65rem 0.5rem;
  }

  .topbar-nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .topbar-twitch-cta {
    order: 3;
  }

  .topbar-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    flex-basis: 100%;
    order: 4;
    padding: 0.85rem 0 0;
    margin: 0;
    gap: 0.65rem;
    border-top: 1px solid var(--line);
  }

  .topbar.is-nav-open .topbar-nav {
    display: flex;
  }

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

  .live-chat-grid {
    grid-template-columns: 1fr;
  }

  .embed-wrap--chat {
    min-height: 420px;
  }

  .twitch-more-grid {
    grid-template-columns: 1fr;
  }
}
