/* BlockWave — community site styles */

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/unb-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/unb-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #060a0c;
  --bg-soft: #0a1114;
  --panel: #0d1519;
  --panel-2: #101b20;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eaf4f1;
  --muted: #8ea3a6;
  --muted-2: #63777c;
  --accent: #4ff0c0;
  --accent-2: #6aa8ff;
  --accent-ink: #04140f;
  --warm: #ffc46b;
  --danger: #ff8a7a;
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 72px;
  --font-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1000px 620px at 88% -12%, rgba(79, 240, 192, 0.12), transparent 62%),
    radial-gradient(760px 540px at 4% 2%, rgba(106, 168, 255, 0.1), transparent 66%),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 68%);
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(6, 10, 12, 0.74);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.brand-name span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav a {
  padding: 9px 15px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(79, 240, 192, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.icon-btn[aria-pressed="true"] {
  color: var(--accent);
  border-color: rgba(79, 240, 192, 0.4);
  background: rgba(79, 240, 192, 0.08);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.menu-btn {
  display: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, #6df7cf, #35c9a4);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px rgba(79, 240, 192, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(79, 240, 192, 0.3);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(79, 240, 192, 0.45);
  background: rgba(79, 240, 192, 0.06);
  transform: translateY(-2px);
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Hero */

.hero {
  padding: 72px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 240, 192, 0.15);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero h1 .wave {
  display: inline-block;
  line-height: 1.12;
  padding: 0.02em 0 0.14em;
  margin-bottom: -0.14em;
  background: linear-gradient(100deg, #6df7cf 10%, #6aa8ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 22px;
  max-width: 52ch;
  font-size: 17.5px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted-2);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* Hero visual */

.hero-visual {
  position: relative;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(70% 60% at 50% 24%, rgba(79, 240, 192, 0.16), transparent 70%),
    radial-gradient(60% 50% at 82% 88%, rgba(106, 168, 255, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 72%);
  opacity: 0.7;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
  z-index: 1;
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: min(66%, 320px);
  height: 110px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(79, 240, 192, 0.28), rgba(79, 240, 192, 0) 72%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.hero-visual .stage-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(6, 10, 12, 0.6);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: var(--muted);
  z-index: 2;
}

.hero-visual .stage-label b {
  color: var(--text);
  font-weight: 600;
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 14, 17, 0.78);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  z-index: 2;
  animation: floaty 7s ease-in-out infinite alternate;
}

.chip svg {
  width: 16px;
  height: 16px;
}

.chip small {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 400;
  line-height: 1.2;
}

.chip-1 {
  top: 42px;
  right: 26px;
  animation-delay: -1s;
}
.chip-2 {
  top: 168px;
  left: 20px;
  animation-delay: -3.4s;
}
.chip-3 {
  bottom: 74px;
  right: 30px;
  animation-delay: -5.2s;
}

.chip-yt svg { color: #ff5d5d; }
.chip-tw svg { color: #a78bfa; }
.chip-tt svg { color: #6df7cf; }

@keyframes floaty {
  from { transform: translateY(-6px); }
  to { transform: translateY(8px); }
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 26px 26px 26px 0;
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.stat-value em {
  font-style: normal;
  color: var(--accent);
}

.stat-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted-2);
}

/* Sections */

.section {
  padding: 84px 0;
  position: relative;
}

.section-tight {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}

.section-head p {
  margin-top: 12px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 15.5px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid rgba(79, 240, 192, 0.3);
  white-space: nowrap;
  transition: border-color 0.2s, gap 0.2s;
}

.section-link:hover {
  gap: 12px;
  border-color: var(--accent);
}

.section-link svg {
  width: 16px;
  height: 16px;
}

/* Member cards */

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 20px;
}

.member-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.35s;
  text-align: left;
  color: inherit;
  padding: 0;
  font-family: inherit;
}

.member-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(62% 48% at 50% 16%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 72%);
  opacity: 0.75;
  pointer-events: none;
}

.member-card[hidden] {
  display: none;
}

.member-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 55%, transparent), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.member-card:hover,
.member-card:focus-visible {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 32%, transparent);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  outline: none;
}

.member-card:hover::after,
.member-card:focus-visible::after {
  opacity: 1;
}

.member-figure {
  position: relative;
  height: 258px;
  overflow: hidden;
  padding: 16px 12px 0;
}

.member-figure::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 72%;
  height: 58px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 74%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.member-figure .skin-thumb {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  bottom: 0;
  width: 100%;
  height: calc(100% - 14px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.5));
  transform: translateY(8px) scale(1);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0;
  z-index: 1;
}

.member-figure .skin-thumb.is-ready {
  opacity: 1;
  transition: opacity 0.4s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.member-card:hover .skin-thumb {
  transform: translateY(2px) scale(1.045);
}

.member-figure .skeleton {
  position: absolute;
  inset: 24px 28px 8px;
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.04) 20%, rgba(255, 255, 255, 0.09) 40%, rgba(255, 255, 255, 0.04) 60%);
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}

.member-figure .skeleton[hidden] {
  display: none;
}

.member-figure canvas.skin-thumb {
  image-rendering: pixelated;
}

@keyframes shimmer {
  to { background-position: -120% 0; }
}

.platform-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(6, 10, 12, 0.66);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  z-index: 2;
}

.platform-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.member-since {
  position: absolute;
  top: 16px;
  right: 14px;
  font-size: 11.5px;
  color: var(--muted-2);
  z-index: 2;
}

.member-body {
  position: relative;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(6, 10, 12, 0.1), rgba(6, 10, 12, 0.5));
  z-index: 1;
}

.member-nick {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.member-nick svg {
  width: 15px;
  height: 15px;
  color: var(--muted-2);
  flex: none;
  transition: transform 0.25s, color 0.25s;
}

.member-card:hover .member-nick svg {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.member-role {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}

/* Toolbar */

.toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  margin-bottom: 26px;
  background: linear-gradient(180deg, rgba(6, 10, 12, 0.94), rgba(6, 10, 12, 0.86));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.search {
  position: relative;
  flex: 1 1 260px;
  max-width: 320px;
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted-2);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.search input::placeholder {
  color: var(--muted-2);
}

.search input:focus {
  border-color: rgba(79, 240, 192, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.filter-btn svg {
  width: 14px;
  height: 14px;
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.filter-btn.is-active {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.filter-btn .count {
  font-size: 11.5px;
  opacity: 0.7;
}

.results-info {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted-2);
  white-space: nowrap;
}

.empty-state {
  display: none;
  padding: 70px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
}

.empty-state.is-visible {
  display: block;
}

.empty-state h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* Page header */

.page-head {
  padding: 56px 0 10px;
}

.page-head h1 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.04em;
}

.page-head p {
  margin-top: 14px;
  max-width: 62ch;
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

/* Feature list */

.features {
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: 64px 1fr 1.1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.feature-index {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  padding-top: 5px;
  letter-spacing: 0.06em;
}

.feature h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.feature p {
  color: var(--muted);
  font-size: 15px;
}

/* News */

.news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 118px 1fr 168px;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.25s;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.018);
}

.news-date {
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-title {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.news-excerpt {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  max-width: 62ch;
}

.news-side {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-size: 12.5px;
}

.news-side svg {
  width: 15px;
  height: 15px;
}

.news-item:hover .news-side {
  color: var(--accent);
}

.news-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  padding: 34px;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(80% 120% at 90% 0%, rgba(79, 240, 192, 0.16), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  margin-bottom: 12px;
}

.news-feature h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-top: 14px;
}

.news-feature p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 52ch;
}

.news-feature .feature-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.news-feature .feature-side .big-date {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}

.news-feature .feature-side .big-date span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-2);
  letter-spacing: 0;
  text-transform: uppercase;
}

.tags-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

/* CTA band */

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px;
  border-radius: 26px;
  border: 1px solid rgba(79, 240, 192, 0.26);
  background:
    radial-gradient(60% 140% at 8% 20%, rgba(79, 240, 192, 0.16), transparent 60%),
    linear-gradient(120deg, rgba(79, 240, 192, 0.07), rgba(106, 168, 255, 0.06));
  overflow: hidden;
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 34px);
  max-width: 22ch;
}

.cta-band p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Forms */

.form-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0 20px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}

.field label span {
  color: var(--accent);
}

.field .hint {
  font-size: 12px;
  color: var(--muted-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(79, 240, 192, 0.55);
  background-color: rgba(255, 255, 255, 0.05);
}

.field .error {
  display: none;
  font-size: 12.5px;
  color: var(--danger);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: rgba(255, 138, 122, 0.7);
}

.field.is-invalid .error {
  display: block;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: none;
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.form-status {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--danger);
  min-height: 20px;
}

.form-status.is-ok {
  color: var(--accent);
}

.form-success {
  display: none;
  padding: 30px;
  border: 1px solid rgba(79, 240, 192, 0.4);
  border-radius: 20px;
  background: rgba(79, 240, 192, 0.07);
  text-align: center;
}

.form-success.is-visible {
  display: block;
}

.form-success .ok-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}

.form-success .ok-icon svg {
  width: 26px;
  height: 26px;
}

.form-success h2 {
  font-size: 24px;
}

.form-success p {
  margin-top: 10px;
  color: var(--muted);
}

.side-block + .side-block {
  margin-top: 18px;
}

.side-block h2 {
  font-size: 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-block h2 svg {
  width: 19px;
  height: 19px;
  color: var(--accent);
}

.req-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.req-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.req-list li svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex: none;
  margin-top: 2px;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.steps li {
  position: relative;
  padding-left: 40px;
  font-size: 14px;
  color: var(--muted);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(79, 240, 192, 0.12);
  border: 1px solid rgba(79, 240, 192, 0.25);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
}

.steps li b {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 3px;
}

/* Links page */

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding-bottom: 20px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 0.25s, transform 0.25s;
}

.link-card:hover {
  border-color: rgba(79, 240, 192, 0.35);
  transform: translateY(-3px);
}

.link-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.link-icon svg {
  width: 22px;
  height: 22px;
}

.link-body {
  min-width: 0;
  flex: 1;
}

.link-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
}

.link-handle {
  font-size: 13px;
  color: var(--muted-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.copy-btn:hover {
  color: var(--accent);
  border-color: rgba(79, 240, 192, 0.4);
}

.copy-btn svg {
  width: 16px;
  height: 16px;
}

/* Dialog */

.member-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 900px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 40px);
  overflow: visible;
  color: var(--text);
}

.member-dialog::backdrop {
  background: rgba(3, 6, 8, 0.78);
  backdrop-filter: blur(6px);
}

.dialog-card {
  display: grid;
  grid-template-columns: 330px 1fr;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #0c1418;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.dialog-stage {
  position: relative;
  background:
    radial-gradient(70% 60% at 50% 30%, var(--accent-soft, rgba(79, 240, 192, 0.2)), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  border-right: 1px solid var(--line);
  min-height: 440px;
}

#dialogCanvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.dialog-info {
  padding: 34px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dialog-nick {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.dialog-role {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.dialog-bio {
  color: var(--muted);
  font-size: 15px;
}

.dialog-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dialog-stat .label {
  font-size: 11.5px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dialog-stat .value {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
}

.dialog-stat .value svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(6, 10, 12, 0.7);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.dialog-close:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.dialog-close svg {
  width: 18px;
  height: 18px;
}

/* Footer */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 10, 0.6);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: all 0.2s;
}

.socials a:hover {
  color: var(--accent);
  border-color: rgba(79, 240, 192, 0.4);
  transform: translateY(-2px);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
}

/* Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid rgba(79, 240, 192, 0.4);
  background: #0d1a18;
  color: var(--text);
  font-size: 13.5px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0ms);
}

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

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

.reduce-motion .reveal {
  opacity: 1;
  transform: none;
}

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

/* Responsive */

@media (max-width: 1080px) {
  .hero-grid {
    gap: 32px;
  }
  .hero-visual {
    min-height: 440px;
  }
  .feature {
    grid-template-columns: 48px 1fr;
    row-gap: 10px;
  }
  .feature p {
    grid-column: 2;
  }
  .news-feature {
    grid-template-columns: 1fr;
  }
  .news-feature .feature-side {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 20px;
    flex-direction: row;
    align-items: flex-end;
  }
  .form-layout {
    grid-template-columns: 1fr;
  }
  .dialog-card {
    grid-template-columns: 280px 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    gap: 14px;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 14px 24px 20px;
    background: rgba(7, 12, 14, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav a {
    padding: 13px 14px;
    font-size: 16px;
  }
  .menu-btn {
    display: inline-grid;
  }
  .header-actions .btn {
    display: none;
  }
  .hero {
    padding-top: 46px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    min-height: 400px;
  }
  .hero h1 {
    font-size: clamp(38px, 10vw, 58px);
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 20px 0 20px 20px;
  }
  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .section {
    padding: 62px 0;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .members-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
  }
  .member-figure {
    height: 205px;
  }
  .news-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .news-side {
    justify-self: start;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .dialog-card {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
  .dialog-stage {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .dialog-info {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .field-full {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero-visual {
    min-height: 340px;
  }
  .chip {
    padding: 8px 12px;
    font-size: 12px;
  }
  .chip small {
    display: none;
  }
  .chip-2 {
    top: 120px;
  }
  .toolbar {
    gap: 10px;
    padding: 10px 0;
  }
  .search {
    max-width: none;
    flex-basis: 100%;
  }
  .results-info {
    display: none;
  }
  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .member-figure {
    height: 176px;
    padding-top: 10px;
  }
  .member-nick {
    font-size: 14.5px;
  }
  .member-role {
    font-size: 11.5px;
  }
  .member-body {
    padding: 12px 14px 15px;
  }
  .platform-badge {
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    font-size: 11px;
  }
  .member-since {
    display: none;
  }
  .tag {
    font-size: 10.5px;
    padding: 2px 7px;
  }
  .stats {
    margin-top: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .cta-band {
    padding: 24px;
  }
  .btn {
    height: 48px;
  }
}
