:root {
  color-scheme: dark;
  --bg-primary: #0e1016;
  --bg-elevated: #171a23;
  --bg-muted: rgba(255, 255, 255, 0.04);
  --text-primary: #f4f4f8;
  --text-secondary: #b3b8d2;
  --text-muted: #7a7f97;
  --accent-start: #ff4fd8;
  --accent-end: #7c5bff;
  --accent: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  --accent-soft: linear-gradient(
    135deg,
    rgba(255, 79, 216, 0.2),
    rgba(124, 91, 255, 0.2)
  );
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(
      circle at 20% -10%,
      rgba(255, 79, 216, 0.15),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(124, 91, 255, 0.2),
      transparent 55%
    ),
    var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  scroll-behavior: smooth;
}

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

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1rem, 3vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 16, 22, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.logo-mark {
  font-size: 1.75rem;
  filter: drop-shadow(0 4px 12px rgba(255, 79, 216, 0.55));
}

.logo-title {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.logo-tagline {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
}

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

.site-nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: color 200ms ease, background 200ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--text-primary);
  background: var(--bg-muted);
}

.hero {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 6vw, 5rem);
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.eyebrow {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.1;
}

.hero__lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 38ch;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 2.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.btn-primary {
  background-image: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 18px 30px rgba(107, 72, 255, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(124, 91, 255, 0.25);
}

.schedule-card {
  background: var(--bg-elevated);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  max-width: 420px;
}

.schedule-card h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.schedule-card li + li {
  margin-top: 0.75rem;
}

.schedule-card strong {
  color: var(--text-primary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 2px 6px rgba(124, 91, 255, 0.3));
}

.icon-twitch {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 2L3 5v15h5v2h3l2-2h4l4-4V2H4zm15 12l-2 2h-5l-2 2v-2H7V5h12v9zm-5-6h2v4h-2V8zm-4 0h2v4H10V8z'/%3E%3C/svg%3E");
}

.icon-youtube {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.6 7.2a2.7 2.7 0 00-1.9-1.9C17.7 4.8 12 4.8 12 4.8s-5.7 0-7.7.5a2.7 2.7 0 00-1.9 1.9A28.6 28.6 0 002.4 12a28.6 28.6 0 00.2 4.8 2.7 2.7 0 001.9 1.9c2 .5 7.5.5 7.5.5s5.7 0 7.7-.5a2.7 2.7 0 001.9-1.9 28.6 28.6 0 00.2-4.8 28.6 28.6 0 00-.2-4.8zM10.2 14.7V9.3l4.6 2.7-4.6 2.7z'/%3E%3C/svg%3E");
}

.icon-instagram {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 3h8a5 5 0 015 5v8a5 5 0 01-5 5H8a5 5 0 01-5-5V8a5 5 0 015-5zm0 2a3 3 0 00-3 3v8a3 3 0 003 3h8a3 3 0 003-3V8a3 3 0 00-3-3H8zm4 3a5 5 0 110 10 5 5 0 010-10zm0 2.2A2.8 2.8 0 1012 16a2.8 2.8 0 000-5.8zm5.25-2.95a1.05 1.05 0 110 2.1 1.05 1.05 0 010-2.1z'/%3E%3C/svg%3E");
}

.icon-tiktok {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6.5c-1.2-.1-2.3-.6-3.2-1.4a5.7 5.7 0 01-.9-1.3h-.2v11.3a3.4 3.4 0 11-2.6-3.4V9a5.6 5.6 0 00-1.2-.1 5.4 5.4 0 104.2 8.8c.7-.9 1.1-2 1.1-3.2V8c1 .7 2.3 1.1 3.6 1.1V6.7c-.4 0-.8 0-1.2-.2z'/%3E%3C/svg%3E");
}

.icon-x {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 3l7.6 9.8L4.4 21h2.6l5.4-6.2L17.6 21H20l-7.9-10.2L19.5 3h-2.6l-5 5.7L6.4 3H4z'/%3E%3C/svg%3E");
}

.icon-discord {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.35 10.49c-.57 0-1.02.5-1.02 1.11s.46 1.11 1.02 1.11c.57 0 1.02-.5 1.02-1.11s-.45-1.11-1.02-1.11zm3.62 0c-.57 0-1.02.5-1.02 1.11s.46 1.11 1.02 1.11c.57 0 1.02-.5 1.02-1.11s-.45-1.11-1.02-1.11zM18.07 2H5.93A3.06 3.06 0 0 0 2.9 5.15v13.7A3.06 3.06 0 0 0 5.93 22h10.8l-.5-1.86 1.2 1.12 1.14 1.04 2.04 1.85V5.15A3.06 3.06 0 0 0 18.07 2zm-3.45 13.6s-.41-.48-.75-.91c1.5-.42 2.06-1.34 2.06-1.34-.46.29-.9.5-1.29.64-.56.23-1.09.37-1.62.45-1.07.2-2.05.14-2.9-.01-.64-.12-1.18-.28-1.63-.46a5.64 5.64 0 0 1-.82-.37s.54.9 1.99 1.33c-.34.43-.76.92-.76.92-2.5-.07-3.45-1.7-3.45-1.7 0-3.6 1.64-6.51 1.64-6.51a6.12 6.12 0 0 1 3.2-1.18l.11.14c-2.03.58-2.95 1.48-2.95 1.48s.25-.13.66-.31c1.2-.53 2.15-.68 2.55-.71h.19c.68-.09 1.45-.1 2.27.03 1.07.18 2.2.63 3.36 1.54 0 0-.88-.85-2.79-1.44l.16-.18s1.54-.03 3.16 1.18c0 0 1.62 2.91 1.62 6.51 0 0-.95 1.62-3.45 1.7z'/%3E%3C/svg%3E");

}

.hero__visual {
  position: relative;
  width: min(400px, 90%);
  justify-self: center;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  opacity: 0.65;
}

.hero__orb--primary {
  width: 320px;
  height: 320px;
  top: -40px;
  right: -10px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 79, 216, 0.7),
    rgba(124, 91, 255, 0.25) 60%,
    rgba(124, 91, 255, 0) 80%
  );
  filter: blur(2px);
}

.hero__orb--secondary {
  width: 220px;
  height: 220px;
  bottom: -40px;
  left: -20px;
  background: radial-gradient(
    circle at 60% 60%,
    rgba(124, 91, 255, 0.65),
    rgba(255, 79, 216, 0.2) 60%,
    rgba(255, 79, 216, 0) 80%
  );
  filter: blur(4px);
}

.hero__frame {
  position: relative;
  background: rgba(14, 16, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.75rem;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 340px;
}

.hero__frame span {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

.hero__frame strong {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.hero__frame em {
  font-style: normal;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 6vw, 5rem);
}

.content-section + .content-section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 45ch;
}

.section-link {
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 200ms ease, background 200ms ease;
}

.section-link:hover,
.section-link:focus-visible {
  transform: translateY(-2px);
  background-image: var(--accent);
}

.carousel {
  position: relative;
}

.embed-block {
  margin-bottom: 2.5rem;
  background: var(--bg-elevated);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.embed-block--twitch {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.embed-block__player {
  width: 100%;
  min-height: 360px;
  border-radius: 14px;
  overflow: hidden;
}

.embed-fallback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background: rgba(14, 16, 22, 0.9);
  text-align: center;
}

.embed-fallback__copy {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 40ch;
}

.embed-fallback__btn {
  align-self: center;
}

.embed-block--x {
  padding: 0;
}

.embed-block--x .twitter-timeline {
  width: 100% !important;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: 1.25rem;
  scroll-behavior: smooth;
  padding: 0.25rem;
}

.carousel__item {
  flex: 0 0 clamp(240px, 28vw, 320px);
}

.carousel__card {
  background: var(--bg-elevated);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, border-color 220ms ease;
}

.carousel__card:hover,
.carousel__card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--accent-soft);
  aspect-ratio: 16 / 9;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

.card-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.card-meta {
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex-grow: 1;
}

.card-link {
  align-self: flex-start;
  font-weight: 600;
  color: var(--text-primary);
  background-image: var(--accent);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(124, 91, 255, 0.35);
}

.card-media--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.card-media--fallback span {
  max-width: 16ch;
}

.carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(14, 16, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-size: 1.8rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform 200ms ease, background 200ms ease, border 200ms ease;
}

.carousel__control:hover,
.carousel__control:focus-visible {
  transform: translateY(-50%) scale(1.05);
  background-image: var(--accent);
  border-color: transparent;
}

.carousel__control.prev {
  left: -22px;
}

.carousel__control.next {
  right: -22px;
}

.carousel__control:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: rgba(14, 16, 22, 0.6);
}

.site-footer {
  text-align: center;
  color: var(--text-muted);
  padding: 2.5rem 1rem 3rem;
  font-size: 0.9rem;
}

.noscript-warning {
  background: #e85d75;
  color: #fff;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero__visual {
    order: -1;
  }

  .hero__frame {
    margin: 0 auto;
  }

  .carousel__control.prev {
    left: -12px;
  }

  .carousel__control.next {
    right: -12px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 1.5rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .schedule-card {
    max-width: 100%;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel__control {
    display: none;
  }

  .carousel__track {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    padding-bottom: 1rem;
  }

  .carousel__item {
    scroll-snap-align: start;
  }
}
