:root {
  color-scheme: dark;
  --bg: #020711;
  --bg-soft: #07111f;
  --panel: rgba(9, 20, 35, 0.82);
  --panel-strong: rgba(13, 29, 49, 0.92);
  --line: rgba(154, 199, 255, 0.2);
  --text: #f3f8ff;
  --muted: #a9bad0;
  --soft: #6f86a2;
  --blue: #62b7ff;
  --blue-deep: #1a68a6;
  --amber: #e8ad5a;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(44, 104, 159, 0.22), transparent 30rem),
    radial-gradient(circle at 86% 18%, rgba(232, 173, 90, 0.09), transparent 24rem),
    linear-gradient(180deg, #030914 0%, #020711 48%, #050a13 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(175, 215, 255, 0.42) 1px, transparent 1px),
    radial-gradient(circle, rgba(175, 215, 255, 0.18) 1px, transparent 1px);
  background-position: 0 0, 42px 58px;
  background-size: 128px 128px, 176px 176px;
  opacity: 0.24;
  mask-image: linear-gradient(to bottom, black 0%, black 42%, transparent 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(187, 221, 255, 0.5) 1px, transparent 1px),
    radial-gradient(circle, rgba(116, 181, 255, 0.28) 1px, transparent 1px);
  background-position: 18px 24px, 74px 92px;
  background-size: 180px 180px, 260px 260px;
  opacity: 0.16;
  animation: starDrift 38s linear infinite;
}

@keyframes starDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-120px, 80px, 0);
  }
}

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

button {
  color: inherit;
  font: inherit;
  border: 0;
  cursor: pointer;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(2, 7, 17, 0.7);
  border-bottom: 1px solid rgba(154, 199, 255, 0.11);
  backdrop-filter: blur(18px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(98, 183, 255, 0.45);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(31, 95, 146, 0.9), rgba(12, 32, 55, 0.95));
  box-shadow: 0 0 24px rgba(98, 183, 255, 0.16);
  color: #dff2ff;
  font-size: 13px;
}

nav {
  gap: clamp(12px, 2.4vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-join {
  padding: 10px 14px;
  border: 1px solid rgba(98, 183, 255, 0.38);
  border-radius: 8px;
  background: rgba(98, 183, 255, 0.1);
  color: #e7f6ff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(18px, 5vw, 72px) 76px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.96) 0%, rgba(2, 7, 17, 0.8) 44%, rgba(2, 7, 17, 0.7) 100%),
    linear-gradient(180deg, rgba(2, 7, 17, 0.42) 0%, rgba(2, 7, 17, 0.55) 42%, #020711 100%),
    url("assets/create-aeronautics.png") center / cover no-repeat;
  filter: saturate(0.88) brightness(0.72);
  transform: scale(1.03);
}

.starfield {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(223, 243, 255, 0.9) 1px, transparent 1px),
    radial-gradient(circle, rgba(98, 183, 255, 0.36) 1px, transparent 1px);
  background-position: 0 0, 66px 42px;
  background-size: 150px 150px, 220px 220px;
  opacity: 0.18;
  animation: slowStars 26s linear infinite;
  mask-image: linear-gradient(to bottom, black 0%, black 58%, transparent 100%);
}

@keyframes slowStars {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(90px);
  }
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(180deg, transparent, #020711 78%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: #f6fbff;
  font-size: clamp(48px, 8vw, 106px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 26px 0 0;
  color: #c2d2e3;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(98, 183, 255, 0.2);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.button:hover::after {
  transform: translateX(120%);
}

.primary {
  border: 1px solid rgba(107, 197, 255, 0.55);
  background: linear-gradient(180deg, #66bfff 0%, #247ab9 100%);
  color: #06111d;
  box-shadow: 0 14px 34px rgba(19, 121, 194, 0.26);
}

.secondary,
.ghost {
  border: 1px solid rgba(154, 199, 255, 0.22);
  background: rgba(7, 17, 31, 0.78);
  color: #e7f3ff;
}

.spotlight-card,
.server-bubble {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.spotlight-card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.spotlight-card:hover,
.faq-item:hover,
.staff-card:hover {
  transform: translateY(-5px);
  border-color: rgba(98, 183, 255, 0.38);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.hero-media {
  display: grid;
  gap: 14px;
}

.server-bubble {
  border-radius: 999px;
}

.spotlight-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.95);
}

.spotlight-card div {
  padding: 24px;
}

.spotlight-card h2,
.server-bubble h2,
.server-bubble h3,
.section-heading h1,
.section-heading h2 {
  margin: 0;
}

.spotlight-card h2 {
  font-size: 24px;
}

.spotlight-card p,
.server-bubble p,
.section-heading p {
  color: var(--muted);
  line-height: 1.65;
}

.side-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.side-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(154, 199, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.82);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
  transition: transform 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.side-gallery img:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(98, 183, 255, 0.38);
  filter: brightness(1.08);
}

.info-band,
.staff-band,
.community-band {
  position: relative;
  z-index: 1;
  padding: 64px clamp(18px, 5vw, 72px) 104px;
  background:
    linear-gradient(180deg, #020711 0%, rgba(7, 17, 31, 0.98) 100%),
    radial-gradient(circle at 80% 0%, rgba(98, 183, 255, 0.14), transparent 32rem);
}

.info-band {
  padding-bottom: 74px;
}

.staff-band {
  padding-top: 0;
}

.community-page-band {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding-top: 120px;
}

.page-band {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding-top: 120px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}

.section-heading p {
  margin: 16px auto 0;
  font-size: 17px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.faq-item,
.staff-card {
  border: 1px solid rgba(154, 199, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.faq-item {
  min-height: 168px;
  padding: 24px;
}

.faq-item h2,
.faq-item h3,
.staff-card h2,
.staff-card h3 {
  margin: 0;
  color: #f3f8ff;
  line-height: 1.12;
}

.faq-item h2,
.faq-item h3 {
  font-size: 20px;
}

.faq-item p,
.staff-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.staff-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.staff-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
}

.submit-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid rgba(154, 199, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.submit-card h2 {
  margin: 0;
  font-size: 28px;
}

.submit-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.music-corner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: min(300px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid rgba(154, 199, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 9, 20, 0.86);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(16px);
}

.music-meta {
  display: grid;
  gap: 4px;
}

.music-credit,
.music-controls span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.music-meta strong {
  color: var(--text);
  font-size: 15px;
}

.music-controls {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.music-toggle {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(98, 183, 255, 0.38);
  border-radius: 8px;
  background: rgba(98, 183, 255, 0.12);
  color: #e7f6ff;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.music-toggle:hover {
  transform: translateY(-2px);
  background: rgba(98, 183, 255, 0.2);
}

.music-corner.is-playing .music-toggle {
  background: linear-gradient(180deg, #66bfff 0%, #247ab9 100%);
  color: #06111d;
}

.music-controls label {
  display: grid;
  gap: 6px;
}

.music-volume {
  width: 100%;
  accent-color: var(--blue);
}

.staff-card h2 {
  font-size: 22px;
}

.staff-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(98, 183, 255, 0.34);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(31, 95, 146, 0.82), rgba(7, 17, 31, 0.92));
  color: #dff3ff;
  font-weight: 800;
}

.server-bubbles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto;
}

.server-bubble {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 50px 36px 58px;
  isolation: isolate;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.server-bubble:hover {
  transform: translateY(-8px);
  border-color: rgba(98, 183, 255, 0.4);
  box-shadow: 0 34px 100px rgba(13, 99, 161, 0.28);
}

.server-bubble:hover .bubble-number {
  transform: scale(1.08);
  box-shadow: 0 0 42px rgba(98, 183, 255, 0.32);
}

.server-bubble::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(154, 199, 255, 0.14);
  border-radius: inherit;
  background:
    radial-gradient(circle at 42% 10%, rgba(124, 201, 255, 0.22), transparent 9rem),
    radial-gradient(circle at 50% 100%, rgba(7, 14, 26, 0.88), transparent 12rem);
}

.server-bubble.featured {
  background:
    linear-gradient(180deg, rgba(20, 49, 77, 0.94), rgba(8, 20, 36, 0.94)),
    url("assets/create-aeronautics.png") center / cover no-repeat;
  box-shadow: 0 28px 90px rgba(15, 82, 135, 0.24);
}

.bubble-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(98, 183, 255, 0.42);
  border-radius: 50%;
  background: rgba(4, 13, 26, 0.84);
  color: #dff3ff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 0 32px rgba(98, 183, 255, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card-topline {
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.server-bubble h2,
.server-bubble h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.server-bubble p {
  flex: 1;
  margin: 16px 0 0;
}

.server-bubble .button {
  align-self: stretch;
  min-height: 52px;
  border-radius: 10px;
}

.card-actions {
  display: grid;
  width: 100%;
  gap: 10px;
  margin-top: 28px;
}

.copy-button {
  color: #dbeeff;
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .page-band,
  .community-page-band {
    align-content: start;
  }

  .hero-content,
  .server-bubbles,
  .faq-grid,
  .staff-list {
    grid-template-columns: 1fr;
  }

  .spotlight-card {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    gap: 14px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }

  .nav-join {
    padding: 9px 10px;
  }

  .hero {
    padding: 172px 16px 56px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 17vw, 70px);
  }

  .hero-copy p,
  .section-heading p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .server-bubble {
    min-height: 0;
    border-radius: 36px;
    padding: 30px;
  }
}
