:root {
  --bg: #07060b;
  --bg-soft: #0d0b13;
  --surface: rgba(19, 16, 28, 0.82);
  --surface-solid: #12101a;
  --surface-light: #1a1625;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f5fb;
  --muted: #aba5b8;
  --accent: #8f5bff;
  --accent-2: #c99cff;
  --accent-soft: rgba(143, 91, 255, 0.16);
  --live: #ff4057;
  --offline: #77717f;
  --max-width: 1220px;
  --header-height: 82px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(105, 57, 204, 0.18), transparent 34%),
    radial-gradient(circle at 88% 22%, rgba(175, 91, 255, 0.11), transparent 26%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::selection {
  color: #fff;
  background: var(--accent);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(7, 6, 11, 0.76);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand img {
  width: 38px;
  height: 38px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  transition: right 180ms ease;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a:hover::after {
  right: 0;
}

.header-live-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255,255,255,0.035);
}

.live-dot,
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--offline);
  box-shadow: 0 0 0 4px rgba(119, 113, 127, 0.12);
}

body.is-live .live-dot,
.status-pill[data-status="live"] .status-dot {
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(255, 64, 87, 0.15), 0 0 18px rgba(255, 64, 87, 0.8);
  animation: pulse 1.5s infinite;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--text);
  background: var(--surface-solid);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: currentColor;
}

.section {
  position: relative;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  align-items: center;
  gap: 70px;
  padding-top: 72px;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 span {
  color: transparent;
  background: linear-gradient(120deg, var(--accent-2), #fff 44%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  line-height: 1.15;
}

.hero-description {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 51px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.93rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), #6b35e8);
  box-shadow: 0 14px 34px rgba(110, 56, 223, 0.25);
}

.button-primary svg {
  width: 22px;
  height: 22px;
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.065);
}

.button-icon {
  font-size: 0.75rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  margin-top: 52px;
}

.hero-stat {
  display: grid;
  gap: 2px;
}

.hero-stat strong {
  font-size: 1.35rem;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  min-height: 610px;
  display: grid;
  place-items: center;
}

.profile-frame {
  position: relative;
  width: min(440px, 84vw);
  aspect-ratio: 0.82;
  padding: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.profile-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border-radius: 31px;
  box-shadow: inset 0 -140px 90px rgba(4, 3, 8, 0.6);
  pointer-events: none;
}

.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 31px;
}

.profile-glow {
  position: absolute;
  inset: 12% 0 2% 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(90px);
  opacity: 0.27;
}

.profile-tag {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(8, 7, 12, 0.78);
  backdrop-filter: blur(14px);
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 1px;
  min-width: 175px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(16, 13, 23, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}

.floating-card span {
  color: var(--muted);
  font-size: 0.7rem;
}

.floating-card strong {
  font-size: 0.94rem;
}

.floating-card-one {
  left: -3%;
  top: 19%;
}

.floating-card-two {
  right: -2%;
  bottom: 14%;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-one {
  width: 280px;
  height: 280px;
  right: 28%;
  top: 16%;
  border: 1px solid rgba(143, 91, 255, 0.23);
}

.hero-orb-two {
  width: 60px;
  height: 60px;
  right: 8%;
  bottom: 12%;
  background: rgba(143, 91, 255, 0.12);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-intro {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section-intro code {
  color: var(--accent-2);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(255,255,255,.03);
}

.status-pill[data-status="live"] {
  color: #ff99a6;
  border-color: rgba(255, 64, 87, 0.35);
  background: rgba(255, 64, 87, 0.08);
}

.stream-section {
  padding-top: 74px;
}

.stream-shell {
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.stream-loading {
  min-height: 380px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: var(--muted);
}

.loader {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255,255,255,.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.stream-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
}

.stream-meta h3 {
  margin: 8px 0 5px;
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
}

.stream-meta p {
  margin: 0;
  color: var(--muted);
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ff7889;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.offline-visual {
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: clamp(30px, 7vw, 78px);
  background-position: center;
  background-size: cover;
}

.offline-content {
  max-width: 610px;
}

.offline-badge {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: .14em;
  background: rgba(0,0,0,.3);
}

.offline-content h3 {
  margin: 20px 0 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -.045em;
}

.offline-content p {
  max-width: 540px;
  margin-bottom: 28px;
  color: #c9c4d2;
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-copy p:not(.eyebrow) {
  max-width: 570px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 15px;
  font-weight: 800;
}

.text-link span {
  color: var(--accent-2);
}

.about-panel {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(143,91,255,.1), transparent 40%),
    var(--surface);
}

.about-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.panel-index {
  color: var(--accent-2);
}

blockquote {
  margin: 60px 0;
  font-size: clamp(1.8rem, 3.4vw, 3.3rem);
  font-weight: 750;
  line-height: 1.13;
  letter-spacing: -.035em;
}

.about-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-mini-grid > div {
  display: grid;
  gap: 3px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.about-mini-grid strong {
  font-size: .84rem;
}

.about-mini-grid span {
  color: var(--muted);
  font-size: .72rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 21px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 91, 255, 0.42);
  background: rgba(143, 91, 255, 0.08);
}

.social-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 15px;
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.035);
}

.social-icon svg {
  width: 23px;
  height: 23px;
}

.social-copy {
  display: grid;
  min-width: 0;
}

.social-copy strong {
  font-size: 1rem;
}

.social-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.staff-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 220ms ease, border-color 220ms ease;
}

.staff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 91, 255, 0.42);
}

.staff-image-wrap {
  position: relative;
  aspect-ratio: 0.86;
  overflow: hidden;
  background: var(--surface-light);
}

.staff-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 52%, rgba(8,6,12,.92));
}

.staff-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.staff-card:hover .staff-image-wrap img {
  transform: scale(1.035);
}

.staff-number {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  background: rgba(8,6,12,.68);
  backdrop-filter: blur(12px);
}

.staff-card-content {
  padding: 20px;
}

.staff-card-content p {
  margin-bottom: 7px;
  color: var(--accent-2);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.staff-card-content h3 {
  margin-bottom: 9px;
  font-size: 1.12rem;
}

.staff-card-content span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 110px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(143, 91, 255, 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 50%, rgba(143,91,255,.19), transparent 31%),
    var(--surface);
}

.contact-banner h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.site-footer {
  width: min(var(--max-width), calc(100% - 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 34px 0 45px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .78rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: var(--text);
}

.noscript-message {
  position: fixed;
  inset: auto 15px 15px;
  z-index: 9999;
  padding: 14px;
  border-radius: 12px;
  color: white;
  background: #a61d31;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease var(--delay, 0ms), transform 700ms ease var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(13, 11, 19, .98);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 13px 14px;
    border-radius: 10px;
  }

  .main-nav a:hover {
    background: rgba(255,255,255,.05);
  }

  .main-nav a::after,
  .header-live-link {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-copy {
    padding-top: 25px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .section,
  .site-footer {
    width: min(100% - 32px, var(--max-width));
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding-top: 55px;
  }

  h1 {
    font-size: clamp(2.85rem, 16vw, 4.9rem);
  }

  .hero-stats {
    gap: 23px;
    margin-top: 38px;
  }

  .hero-stat strong {
    font-size: 1.14rem;
  }

  .hero-visual {
    min-height: 460px;
  }

  .profile-frame {
    width: min(340px, 82vw);
    border-radius: 30px;
  }

  .profile-frame img,
  .profile-frame::before {
    border-radius: 21px;
  }

  .floating-card {
    min-width: 145px;
    padding: 12px 14px;
  }

  .floating-card-one {
    left: 0;
  }

  .floating-card-two {
    right: 0;
  }

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

  .stream-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .stream-meta .button {
    width: 100%;
  }

  .offline-visual {
    min-height: 460px;
    background-position: 64% center;
  }

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

  blockquote {
    margin: 44px 0;
  }

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

  .contact-banner {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 78px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 410px;
  }

  .floating-card {
    display: none;
  }

  .profile-tag {
    left: 22px;
    bottom: 22px;
  }

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

  .offline-visual {
    min-height: 420px;
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.header-actions{justify-self:end;display:flex;align-items:center;gap:10px}.account-nav{display:flex;align-items:center;gap:8px}.account-nav>a{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-size:.78rem;font-weight:800;background:rgba(255,255,255,.035)}.account-nav>a:hover{color:var(--text);border-color:rgba(143,91,255,.4)}.account-nav .account-register,.account-nav .account-admin{color:var(--accent-2);background:var(--accent-soft)}.account-chip img{width:25px;height:25px;object-fit:cover;border-radius:50%}@media(max-width:1050px){.header-actions{justify-self:end}.account-nav{display:none}}
