.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-red);
  position: sticky;
  top: 14px;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-badge {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.34),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 18px rgba(255, 31, 61, 0.10);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.brand-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.logo-badge {
  padding: 4px;
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.08);
  transform-origin: center;
  filter:
    drop-shadow(0 3px 8px rgba(0,0,0,0.45))
    drop-shadow(0 0 12px rgba(255, 31, 61, 0.16));
}

.brand-meta {
  min-width: 0;
}

.brand-sub {
  font-size: 11px;
  color: #ff9cad;
  letter-spacing: 0.34em;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-title {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  transition: 0.25s ease;
}

.nav a:hover {
  color: white;
  border-color: rgba(255, 31, 61, 0.45);
  background: rgba(255, 31, 61, 0.12);
  transform: translateY(-1px);
}

.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(12,12,12,0.96), rgba(7,7,7,0.95));
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-red);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05), transparent 30%),
    linear-gradient(160deg, transparent 0 68%, rgba(255, 31, 61, 0.12) 68% 71%, transparent 71% 100%);
  pointer-events: none;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 31, 61, 0.24);
  background: rgba(255, 31, 61, 0.08);
  color: #ffb8c3;
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  margin: 18px 0 0;
  font-size: 34px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: white;
  box-shadow: 0 14px 34px rgba(255, 0, 64, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: white;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 31, 61, 0.45);
  background: rgba(255, 31, 61, 0.10);
}

.title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.title-left h2 {
  margin: 14px 0 0;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.title-hint {
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.7;
  max-width: 420px;
  text-align: right;
}

.stat-box,
.chip,
.signal-item,
.entry-card,
.tool-card,
.guild-hub-card,
.creator-card,
.recruit-btn {
  position: relative;
  z-index: 1;
}

.footer {
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.42);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-3);
  font-size: 13px;
}

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

.site-legal-footer {
  position: relative;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 31, 61, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.42)),
    linear-gradient(135deg, rgba(255, 31, 61, 0.08), transparent 54%);
  overflow: hidden;
}

.site-legal-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, transparent 0 72%, rgba(255, 31, 61, 0.12) 72% 76%, transparent 76% 100%);
  pointer-events: none;
}

.site-legal-copy,
.site-legal-links {
  position: relative;
  z-index: 1;
}

.site-legal-copy {
  display: grid;
  gap: 8px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.85;
}

.site-legal-copy strong {
  color: var(--text-2);
}

.site-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.site-legal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 31, 61, 0.24);
  background: rgba(255, 31, 61, 0.08);
  color: #ffd6de;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: 0.24s ease;
}

.site-legal-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 31, 61, 0.42);
  background: rgba(255, 31, 61, 0.14);
  color: #ffffff;
}

@media (max-width: 640px) {
  .site-legal-footer {
    padding: 18px;
  }
}
