:root {
  --bg: #0d111a;
  --surface: #161b28;
  --surface-strong: #1f293a;
  --text: #e6edf5;
  --accent: #6a8cff;
  --accent-soft: #4f70f0;
  --border: rgba(230, 237, 245, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(106, 140, 255, 0.18), transparent 35%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.top-bar {
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.brand h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 2.5vw, 3rem);
}

.brand p {
  margin: 0;
  color: #c7d2ff;
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--accent);
}

.brand-domain {
  margin-top: 10px;
  color: #9fb2ff;
  font-weight: 600;
  letter-spacing: 0.06em;
}

main {
  padding: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(180deg, rgba(106, 140, 255, 0.15), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  margin-bottom: 32px;
}

.hero h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.hero p {
  margin: 0 0 24px;
  max-width: 720px;
  line-height: 1.75;
  color: #d7e0ff;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.invite-link-box {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(106, 140, 255, 0.28);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  max-width: 700px;
}

.invite-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb2ff;
}

.invite-link {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  word-break: break-all;
}

.invite-link:hover {
  color: #9fb2ff;
}

.invite-link-box p {
  margin: 0;
  color: #d7e0ff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 175px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 24px;
}

.panel h3 {
  margin-top: 0;
}

.panel p,
.panel li,
.panel ol {
  line-height: 1.8;
}

.panel ul,
.panel ol {
  margin: 16px 0 0 20px;
}

.team-panel .team-grid,
.links-panel .link-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 20px;
}

.team-card,
.link-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}

.link-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(106, 140, 255, 0.45);
}

footer {
  padding: 24px 32px;
  text-align: center;
  color: #94a3b8;
}

@media (max-width: 720px) {
  .top-bar {
    padding: 20px;
  }

  main {
    padding: 20px;
  }
}
