:root {
  --bg-0: #02050a;
  --bg-1: #060c14;
  --bg-2: #0a1726;
  --panel: rgba(10, 22, 36, 0.82);
  --panel-soft: rgba(9, 18, 30, 0.62);
  --line: rgba(88, 176, 245, 0.2);
  --text-main: #ecf6ff;
  --text-soft: #89a3bc;
  --blue-1: #2298e6;
  --blue-2: #77d2ff;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  color: var(--text-main);
  background:
    linear-gradient(180deg, #07111c 0%, #03070d 52%, #010308 100%);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0%, transparent 62%, rgba(63, 170, 245, 0.13) 100%),
    repeating-linear-gradient(
      -32deg,
      rgba(58, 150, 219, 0.08) 0,
      rgba(58, 150, 219, 0.08) 1px,
      transparent 1px,
      transparent 28px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 30%);
  pointer-events: none;
  z-index: -3;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(160, 206, 255, 0.16) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
  opacity: 0.008;
  z-index: -2;
  pointer-events: none;
}

.glow {
  display: none;
}

.glow-left {
  left: -8vmax;
  top: 22vmax;
  background: #1e76be;
}

.glow-right {
  right: -10vmax;
  top: -14vmax;
  background: #42bcff;
}

.site-header,
.section-wrap {
  width: min(1160px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 14, 24, 0.72);
  backdrop-filter: blur(8px);
}

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

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(8, 18, 30, 0.55));
}

.brand-title {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-subtitle {
  margin: 1px 0 0;
  color: var(--text-soft);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
}

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

.nav-link {
  text-decoration: none;
  color: #95afc8;
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 14px;
  transition: all 180ms ease;
}

.nav-link:hover {
  color: #dff3ff;
  border-color: rgba(91, 181, 249, 0.45);
  background: rgba(30, 100, 158, 0.25);
}

.nav-link.active {
  color: #eef8ff;
  border-color: rgba(110, 199, 255, 0.64);
  background: rgba(35, 120, 188, 0.35);
}

.profile {
  min-width: 190px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 9px 12px;
  background: var(--panel-soft);
  color: #d7ebff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.profile-avatar {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: linear-gradient(140deg, #7dd6ff, #1c6eb2);
  box-shadow: 0 0 0 2px rgba(82, 179, 245, 0.25);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.profile-name {
  max-width: 118px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-caret {
  font-size: 0.62rem;
  color: #8ca7bf;
}

.profile-caret i {
  font-size: 0.64rem;
}

.hero {
  min-height: calc(100vh - 96px);
  padding-top: 34px;
  padding-bottom: 82px;
  display: grid;
  align-items: center;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-shell.is-visible,
.game-system.is-visible,
.join-process.is-visible,
.team-section.is-visible {
  animation: reveal 760ms cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
}

.hero-content,
.hero-side {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(180deg, rgba(10, 23, 37, 0.94), rgba(7, 14, 24, 0.92));
}

.hero-content {
  padding: clamp(22px, 4vw, 42px);
}

.hero-kicker {
  margin: 0;
  color: #72d3ff;
  font-family: "Exo 2", sans-serif;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1 {
  margin: 14px 0 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(2rem, 4.7vw, 4.2rem);
  letter-spacing: 0.02em;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  color: #8fddff;
  font-size: 0.66em;
  letter-spacing: 0.08em;
}

.hero p {
  margin: 22px 0 0;
  color: #96afc7;
  font-size: clamp(1.01rem, 1.38vw, 1.28rem);
  line-height: 1.55;
  max-width: 62ch;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  min-width: 148px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(93, 183, 251, 0.3);
  padding: 12px 20px;
  font-family: "Exo 2", sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.09em;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn-primary {
  color: #f1faff;
  background: linear-gradient(140deg, rgba(39, 143, 214, 0.96), rgba(22, 91, 153, 0.96));
  box-shadow: 0 10px 20px rgba(16, 66, 111, 0.35);
}

.btn-primary::after {
  content: "+";
  margin-left: 10px;
  font-size: 0.88rem;
}

.btn-ghost {
  color: #c1ddf4;
  background: rgba(20, 56, 88, 0.33);
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 209, 255, 0.55);
  box-shadow: 0 10px 22px rgba(6, 18, 31, 0.58);
}

.hero-metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-metrics article {
  border: 1px solid rgba(84, 167, 236, 0.25);
  border-radius: 12px;
  background: rgba(7, 15, 25, 0.8);
  padding: 12px;
}

.hero-metrics strong {
  display: block;
  font-size: 0.88rem;
  font-family: "Exo 2", sans-serif;
}

.hero-metrics small {
  display: block;
  margin-top: 5px;
  color: #88a6c0;
  font-size: 0.76rem;
  line-height: 1.35;
}

.hero-side {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.side-label {
  margin: 0;
  color: #72d3ff;
  letter-spacing: 0.16em;
  font-family: "Exo 2", sans-serif;
  font-size: 0.66rem;
}

.hero-side h2 {
  margin: 10px 0 0;
  font-family: "Exo 2", sans-serif;
  line-height: 1.1;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.hero-side ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.hero-side li {
  color: #9db5cb;
  font-size: 0.92rem;
  border-left: 2px solid rgba(105, 196, 255, 0.62);
  padding-left: 10px;
}

.side-btn {
  margin-top: auto;
  width: 100%;
}

.game-system,
.join-process,
.team-section {
  margin-top: 72px;
  opacity: 0;
  transform: translateY(24px);
}

.center-head {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.center-head h2 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(1.7rem, 3.3vw, 2.8rem);
  letter-spacing: 0.04em;
}

.center-head p {
  margin: 0;
  color: #8ca4ba;
  max-width: 60ch;
}

.system-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 14px;
}

.system-list,
.system-detail,
.step-item,
.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.system-list {
  padding: 8px;
  display: grid;
  gap: 8px;
}

.system-item {
  border: 1px solid rgba(72, 150, 214, 0.2);
  border-radius: 12px;
  background: rgba(8, 16, 27, 0.82);
  color: #c8dff2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.system-item:hover {
  border-color: rgba(108, 201, 255, 0.55);
}

.system-item.is-active {
  border-color: rgba(125, 214, 255, 0.72);
  background: rgba(27, 89, 137, 0.3);
}

.system-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(95, 184, 251, 0.32);
  color: #7ad1ff;
  display: grid;
  place-items: center;
  font-family: "Exo 2", sans-serif;
}

.system-icon i {
  font-size: 0.86rem;
}

.system-copy small {
  display: block;
  color: #7490aa;
  font-family: "Exo 2", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.system-copy strong {
  font-family: "Exo 2", sans-serif;
  font-size: 1.02rem;
}

.system-detail {
  padding: 22px;
}

.detail-label {
  margin: 0;
  color: #7390a9;
  font-family: "Exo 2", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.system-detail h3 {
  margin: 8px 0 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(1.9rem, 3.1vw, 3rem);
}

.detail-text {
  margin: 12px 0 0;
  color: #9bb4ca;
  line-height: 1.45;
}

.detail-points {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-box {
  border: 1px solid rgba(74, 154, 217, 0.24);
  border-radius: 12px;
  background: rgba(8, 16, 27, 0.8);
  padding: 13px;
}

.detail-box small {
  color: #7692ad;
  font-family: "Exo 2", sans-serif;
  letter-spacing: 0.11em;
  font-size: 0.56rem;
}

.detail-box p {
  margin: 8px 0 0;
  color: #9ab5cb;
  line-height: 1.42;
}

.steps-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step-item {
  padding: 18px;
}

.step-number {
  display: block;
  margin-bottom: 8px;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(2rem, 4.1vw, 3.4rem);
  color: rgba(92, 167, 223, 0.38);
  line-height: 1;
  font-weight: 800;
}

.step-item h3 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(1.28rem, 1.9vw, 1.65rem);
}

.step-item p {
  margin: 8px 0 0;
  color: #92aec7;
  line-height: 1.48;
}

.join-btn {
  margin-top: 16px;
}

.team-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.team-card {
  padding: 14px;
}

.team-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(92, 176, 241, 0.32);
  color: #77ccff;
  font-family: "Exo 2", sans-serif;
  display: grid;
  place-items: center;
}

.team-icon i {
  font-size: 0.82rem;
}

.team-card h3 {
  margin: 10px 0 0;
  font-family: "Exo 2", sans-serif;
  font-size: 1.22rem;
}

.team-card p {
  margin: 7px 0 0;
  color: #8fa9c2;
  font-size: 0.92rem;
  line-height: 1.45;
  min-height: 118px;
}

.team-card a {
  text-decoration: none;
  color: #86d2ff;
  font-family: "Exo 2", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
}

.team-note {
  margin: 20px 0 0;
  color: #748ea8;
  text-align: center;
}

.site-footer {
  margin-top: 52px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(7, 15, 24, 0.7);
}

.site-footer p {
  margin: 0;
  color: #7f98b0;
  font-size: 0.86rem;
}

.socials {
  display: flex;
  gap: 7px;
}

.socials a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: rgba(26, 74, 115, 0.35);
  border: 1px solid rgba(88, 176, 245, 0.28);
  color: #d7ecff;
  font-family: "Exo 2", sans-serif;
  font-size: 0.72rem;
}

.socials a i {
  font-size: 0.88rem;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .site-header {
    border-radius: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

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

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

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header,
  .section-wrap {
    width: min(1160px, calc(100% - 24px));
  }

  .brand-title {
    font-size: 0.82rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile {
    min-width: 0;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .hero-content,
  .hero-side {
    padding: 16px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .center-head {
    text-align: left;
  }

  .detail-points,
  .steps-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card p {
    min-height: 0;
  }

  .site-footer {
    border-radius: 14px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
