﻿:root {
  --bg: #090909;
  --bg-elevated: #121212;
  --bg-soft: #161616;
  --cream: #fffbef;
  --muted: #a7a7a7;
  --muted-2: #6f6f6f;
  --accent: #c4b5fd; --violet: #c4b5fd;
  --accent-hot: #e9d5ff;
  --accent-deep: #7c3aed;
  --line: rgba(167, 139, 250, 0.22);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius: 5px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 40% at 80% -10%, rgba(124, 58, 237, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 35% at 10% 20%, rgba(196, 181, 253, 0.08), transparent 50%),
    var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.text-accent {
  color: var(--accent);
}

/* вЂ”вЂ”вЂ” Header вЂ”вЂ”вЂ” */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(9, 9, 9, 0.94), rgba(9, 9, 9, 0.72) 70%, transparent);
  backdrop-filter: blur(8px);
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.collab-x {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
  user-select: none;
}

.partner-logo {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.avatar-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: visible;
}

.avatar-glow {
  display: none;
}

.avatar {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  filter: none;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav-active {
  color: var(--accent) !important;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #161616;
  border: 1px solid rgba(255, 251, 239, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.social-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(167, 139, 250, 0.14);
}

.social-btn-lg {
  width: 48px;
  height: 48px;
}

.social-btn-lg img {
  width: 24px;
  height: 24px;
}

.social-btn-xl {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.social-btn-xl img {
  width: 34px;
  height: 34px;
}

.social-row-join {
  gap: 1rem;
}

.topbar-panel {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(255, 251, 239, 0.16);
  border-radius: var(--radius);
  padding: 0.55rem 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.topbar-panel:hover {
  border-color: var(--accent);
  background: rgba(167, 139, 250, 0.12);
}

/* вЂ”вЂ”вЂ” Hero вЂ”вЂ”вЂ” */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 7.5rem 1.25rem 4rem;
  background:
    radial-gradient(ellipse 40% 35% at 18% 22%, rgba(167, 139, 250, 0.06), transparent 60%),
    linear-gradient(180deg, #090909 0%, #0c0c0c 55%, #090909 100%);
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-title-word {
  display: inline;
  white-space: nowrap;
}

.hero-title-white {
  color: var(--cream);
}

.hero-title-accent {
  color: var(--accent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 4px;
  padding: 0.35rem 0.55rem;
  transform: translateY(-0.35rem);
}

.hero-desc {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 400;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--cream);
  box-shadow: 0 10px 28px rgba(167, 139, 250, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hot);
}

.btn-secondary {
  background: #1a1a1a;
  color: var(--cream);
  border-color: rgba(255, 251, 239, 0.08);
}

.btn-secondary:hover {
  border-color: rgba(167, 139, 250, 0.45);
}

.btn-lg {
  min-height: 54px;
  padding: 0.95rem 1.7rem;
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.75rem;
  align-items: flex-start;
}

.hero-stats li {
  display: grid;
  grid-template-rows: 2rem auto;
  align-items: center;
  justify-items: start;
  gap: 0.3rem;
  min-width: 6.5rem;
}

.stat-value {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  color: var(--cream);
}

.stat-label {
  font-size: 0.85rem;
  line-height: 1.2;
  color: var(--muted-2);
}

.stat-recruit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.stat-recruit-dot {
  flex: 0 0 auto;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #6b6b6b;
  box-shadow: 0 0 0 3px rgba(107, 107, 107, 0.2);
}

.stat-recruit-text {
  line-height: 1;
}

.stat-recruit[data-state="open"] {
  color: #7dffa8;
}

.stat-recruit[data-state="open"] .stat-recruit-dot {
  background: #2f9e64;
  box-shadow: 0 0 0 3px rgba(47, 158, 100, 0.28);
}

.stat-recruit[data-state="closed"] {
  color: #ff8d8d;
}

.stat-recruit[data-state="closed"] .stat-recruit-dot {
  background: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.28);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(72vh, 560px);
  overflow: visible;
}

.hero-glow {
  display: none;
}

.hero-text-stack {
  position: absolute;
  inset: 4% -4%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  pointer-events: none;
  overflow: visible;
}

.hero-text-stack span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.1vw, 3.1rem);
  letter-spacing: 0.26em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(233, 213, 255, 0.4);
  text-shadow: none;
  animation: text-drift 3.8s ease-in-out infinite;
}

.hero-text-stack span:nth-child(1) { opacity: 0.3; animation-delay: 0s; }
.hero-text-stack span:nth-child(2) { opacity: 0.5; animation-delay: 0.12s; color: rgba(233, 213, 255, 0.6); }
.hero-text-stack span:nth-child(3) { opacity: 0.95; animation-delay: 0.24s; color: #fffbef; }
.hero-text-stack span:nth-child(4) { opacity: 0.5; animation-delay: 0.36s; color: rgba(233, 213, 255, 0.6); }
.hero-text-stack span:nth-child(5) { opacity: 0.3; animation-delay: 0.48s; }

.hero-logo {
  position: relative;
  z-index: 3;
  width: min(78%, 420px);
  max-height: min(70vh, 540px);
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  isolation: isolate;
  animation: logo-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes logo-rise {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes text-drift {
  0%, 100% { transform: translateY(0); opacity: inherit; }
  50% { transform: translateY(-5px); }
}

@keyframes ava-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* вЂ”вЂ”вЂ” Sections вЂ”вЂ”вЂ” */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  background: linear-gradient(180deg, rgba(255, 251, 239, 0.03), rgba(255, 251, 239, 0.01));
  border: 1px solid rgba(255, 251, 239, 0.06);
  border-radius: 8px;
  padding: 1.4rem 1.25rem 1.5rem;
}

.feature-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
}

.member-list {
  list-style: none;
  counter-reset: member;
  border-top: 1px solid var(--line);
}

.member-list li {
  counter-increment: member;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0.35rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.member-list li::before {
  content: counter(member, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.member-list li:hover {
  background: rgba(167, 139, 250, 0.06);
  padding-left: 0.7rem;
}

.member-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.member-rank {
  justify-self: end;
}

.member-list .rank-chip {
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
}

.member-list.is-empty {
  border-top: 1px solid var(--line);
}

.member-list.is-empty li.member-empty {
  counter-increment: none;
  grid-template-columns: 1fr;
  justify-items: start;
  padding: 1.4rem 0.35rem;
}

.member-list.is-empty li.member-empty::before {
  content: none;
}

.member-empty-text {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.members-more {
  display: flex;
  width: 100%;
  margin-top: 1.25rem;
  min-height: 52px;
  font-size: 0.95rem;
  border-color: rgba(167, 139, 250, 0.45);
  color: var(--accent-hot);
  background: rgba(167, 139, 250, 0.08);
}

.members-more:hover {
  border-color: rgba(167, 139, 250, 0.75);
  background: rgba(167, 139, 250, 0.16);
  color: var(--cream);
}

.members-more[hidden] {
  display: none !important;
}

.rules-list {
  list-style: none;
  counter-reset: rule;
  max-width: 46rem;
}

.rules-list li {
  counter-increment: rule;
  position: relative;
  padding: 1.05rem 0 1.05rem 3.1rem;
  border-bottom: 1px solid rgba(255, 251, 239, 0.06);
  color: #d7d2c6;
  font-size: 1.02rem;
}

.rules-list li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.05rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.join-panel {
  --neon: #c4b5fd;
  --neon-pad: 22px;
  --neon-radius: 12px;
  position: relative;
  isolation: isolate;
  background: transparent;
  border: 0;
  border-radius: 12px;
  overflow: visible;
  box-shadow:
    0 0 22px color-mix(in srgb, var(--neon) 28%, transparent),
    0 0 56px color-mix(in srgb, var(--neon) 12%, transparent);
}

.join-panel-inner {
  position: relative;
  z-index: 1;
  border-radius: inherit;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(167, 139, 250, 0.18), transparent 55%),
    linear-gradient(160deg, #141414, #0e0e0e);
}

.neon-clip {
  position: absolute;
  inset: calc(var(--neon-pad, 22px) * -1);
  border-radius: calc(var(--neon-radius, 12px) + var(--neon-pad, 22px));
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.neon-clip::before,
.neon-clip::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 28px;
  border-radius: 40px;
  pointer-events: none;
  offset-path: inset(var(--neon-pad, 22px) round var(--neon-radius, 12px));
  offset-anchor: center;
  offset-rotate: auto;
  animation: neon-travel 3.4s linear infinite;
}

.neon-clip::before {
  background: radial-gradient(ellipse 80% 70% at 50% 50%, #fff 0%, var(--neon) 42%, transparent 78%);
  filter: blur(7px);
  opacity: 0.95;
}

.neon-clip::after {
  width: 240px;
  height: 42px;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, var(--neon) 0%, transparent 74%);
  filter: blur(14px);
  opacity: 0.6;
}

.join-panel .lead {
  margin-bottom: 1.75rem;
}

.news-block {
  width: 100%;
  margin-top: 3.25rem;
}

.news-head {
  margin-bottom: 1.6rem;
}

.news-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.news-slider .news-arrow {
  align-self: center;
}

.news-viewport {
  width: min(100%, 640px);
  flex: 1 1 auto;
  max-width: 640px;
  min-width: 0;
  overflow: visible;
}

.news-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 12px;
  background: #161616;
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.news-arrow svg {
  width: 22px;
  height: 22px;
}

.news-arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 139, 250, 0.65);
  background: rgba(167, 139, 250, 0.14);
}

.news-arrow[hidden] {
  display: none;
}

.news-counter {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--muted-2);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-empty {
  color: var(--muted-2);
  text-align: center;
  padding: 1.6rem 1rem;
  border: 1px dashed rgba(167, 139, 250, 0.28);
  border-radius: 12px;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.news-card {
  --neon: #c4b5fd;
  --neon-pad: 22px;
  --neon-radius: 14px;
  position: relative;
  isolation: isolate;
  border-radius: 14px;
  padding: 0;
  overflow: visible;
  box-shadow:
    0 0 22px color-mix(in srgb, var(--neon) 28%, transparent),
    0 0 56px color-mix(in srgb, var(--neon) 12%, transparent);
}

.news-card-inner {
  position: relative;
  z-index: 1;
  background: #0a0a0a;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.news-card img {
  width: 100%;
  height: auto;
  max-height: min(58vh, 480px);
  object-fit: contain;
  object-position: center;
  display: block;
  background: #0a0a0a;
}

.news-card-body {
  width: min(100%, 640px);
  margin: 0.85rem auto 0;
  padding: 0 0.2rem 0.15rem;
}

.news-card-body[hidden] {
  display: none;
}

.news-card-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.news-card-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
}

.news-card-text[data-size="md"] { font-size: 1rem; }
.news-card-text[data-size="lg"] { font-size: 1.2rem; }
.news-card-text[data-size="xl"] { font-size: 1.42rem; }

.news-card-text[data-tone="muted"] { color: #8d8d8d; }
.news-card-text[data-tone="light"] { color: #d8d4cc; }
.news-card-text[data-tone="bright"] { color: #fffbef; }

.news-card[data-border="violet"] { --neon: #c4b5fd; }
.news-card[data-border="pink"] { --neon: #f472b6; }
.news-card[data-border="azure"] { --neon: #38bdf8; }
.news-card[data-border="gold"] { --neon: #fbbf24; }
.news-card[data-border="emerald"] { --neon: #34d399; }
.news-card[data-border="crimson"] { --neon: #fb7185; }
.news-card[data-border="ice"] { --neon: #67e8f9; }
.news-card[data-border="sunset"] { --neon: #fdba74; }

@keyframes neon-travel {
  to { offset-distance: 100%; }
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem 1.25rem 3.5rem;
  border-top: 1px solid rgba(255, 251, 239, 0.06);
  color: var(--muted-2);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-mark {
  width: 64px;
  opacity: 0.85;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 280px;
  }

  .hero-logo {
    width: min(78%, 380px);
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .news-arrow {
    width: 40px;
    height: 40px;
  }

  .news-viewport {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    grid-template-columns: auto 1fr;
  }

  .partner-logo {
    height: 32px;
    max-width: 110px;
  }

  .collab-x {
    font-size: 0.8rem;
  }

  .nav {
    justify-content: flex-end;
    gap: 0.95rem;
  }

  .nav a {
    font-size: 0.82rem;
  }

  .member-list li {
    grid-template-columns: 2.4rem 1fr;
  }

  .member-rank {
    grid-column: 2;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neon-clip::before,
  .neon-clip::after {
    animation: none;
    opacity: 0.35;
  }
}

