
:root {
  --bg: #07090d;
  --panel: rgba(15, 20, 28, 0.78);
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.20);
  --text: #f5f7fb;
  --muted: #9ba7b6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 8%, rgba(141,169,255,.08), transparent 28rem),
    radial-gradient(circle at 15% 18%, rgba(176,140,255,.055), transparent 25rem),
    linear-gradient(180deg, #07090d 0%, #090c11 48%, #07090d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  z-index: 100;
  background-image: repeating-radial-gradient(circle at 0 0, transparent 0, #fff 1px, transparent 2px);
  background-size: 12px 12px;
  mix-blend-mode: soft-light;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(7,9,13,.76);
  backdrop-filter: blur(18px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5f7fb;
  color: #080a0d;
  font-weight: 1000;
}

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-size: .94rem; transition: .2s ease; }
.nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.5rem;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 82vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 70px;
}

.kicker {
  margin: 0 0 14px;
  color: #8d98a8;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .20em;
}

h1, h2, h3 { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  max-width: 760px;
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  line-height: .91;
  letter-spacing: -.065em;
}

.glow-text {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, #fff 10%, #d5dfff 45%, #a9b9ff 72%, #fff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  font-weight: 800;
  transition: .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.065);
}

.button.primary {
  background: #f4f7fb;
  color: #090b0f;
  border-color: #f4f7fb;
}

.button.small {
  min-height: 42px;
  margin-top: 0;
  font-size: .88rem;
  padding: 0 14px;
}

.primary-download {
  background: #f4f7fb;
  color: #090b0f;
  border-color: #f4f7fb;
}

.domain-card {
  width: fit-content;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
  color: var(--muted);
  font-size: .84rem;
}

.domain-card strong { color: #dfe6f2; }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9affc1;
  box-shadow: 0 0 14px rgba(154,255,193,.55);
}

.hero-art {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.black-hole {
  position: relative;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 34px rgba(0,0,0,1), 0 0 80px rgba(112,133,255,.16), 0 0 135px rgba(176,140,255,.11);
}

.black-hole::before {
  content: "";
  position: absolute;
  inset: -42px;
  border: 7px solid rgba(229,235,255,.88);
  border-left-color: transparent;
  border-right-color: rgba(151,171,255,.38);
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-20deg) scaleY(.48);
}

.black-hole::after {
  content: "";
  position: absolute;
  inset: -58px;
  border: 3px solid rgba(195,204,255,.33);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(16deg) scaleY(.42);
}

.black-hole-core {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: #000;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
}

.orbit-1 { width: 320px; height: 320px; transform: rotate(18deg) scaleY(.45); }
.orbit-2 { width: 420px; height: 420px; transform: rotate(-22deg) scaleY(.58); }
.orbit-3 { width: 520px; height: 520px; transform: rotate(7deg) scaleY(.78); opacity: .5; }

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px #fff;
}
.s1 { top: 18%; right: 15%; }
.s2 { top: 30%; left: 8%; width: 2px; height: 2px; }
.s3 { bottom: 22%; right: 4%; width: 2px; height: 2px; }
.s4 { bottom: 14%; left: 20%; }

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-title {
  max-width: 800px;
  margin-bottom: 38px;
}

.section-title h2,
.eternal-head h2,
.spotlight-box h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.section-title p,
.eternal-head p,
.spotlight-box p {
  color: var(--muted);
  line-height: 1.7;
}

.project-grid,
.mods-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card,
.mod-card,
.about-card {
  min-height: 285px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018)), var(--panel);
  transition: .22s ease;
}

.project-card:hover,
.mod-card:hover,
.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.19);
}

.card-top,
.mod-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.pill {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #0b0e13;
  font-size: .72rem;
  font-weight: 900;
}

.pill.muted {
  background: rgba(255,255,255,.06);
  color: var(--muted);
}

.card-index { color: rgba(255,255,255,.18); font-size: .8rem; font-weight: 800; }

.project-card h3,
.mod-card h3,
.about-card h3 {
  margin: 42px 0 10px;
  font-size: 1.4rem;
}

.project-card p,
.mod-card p,
.about-card p {
  color: var(--muted);
  line-height: 1.68;
}

.project-card .link { display: inline-block; margin-top: 18px; font-weight: 800; }
.coming-soon { display: inline-block; margin-top: 20px; color: #646e7a; font-weight: 800; }

.eternal-section { position: relative; }

.eternal-section::before {
  content: "";
  position: absolute;
  inset: 28px -24px;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 32px;
  background: rgba(255,255,255,.012);
}

.eternal-head {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  margin-bottom: 38px;
}

.eternal-head > div:first-child { max-width: 820px; }

.eternal-symbol {
  color: rgba(255,255,255,.11);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 250;
  line-height: .7;
}

.mod-card { min-height: 390px; }

.mod-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: #090b0f;
  font-size: .9rem;
  font-weight: 1000;
}

.mod-title-row { margin-top: 28px; }
.mod-title-row h3 { margin: 0; }
.mod-title-row > span { color: #778291; font-size: .8rem; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tags span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #939eac;
  font-size: .74rem;
}

.mod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.download-note {
  margin: 18px 2px 0;
  color: #788392;
  font-size: .86rem;
}

.spotlight-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: linear-gradient(100deg, rgba(141,169,255,.07), rgba(176,140,255,.025) 45%, rgba(255,255,255,.02)), #0d1117;
}

.spotlight-number {
  color: rgba(255,255,255,.14);
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 1;
  font-weight: 250;
}

.about-card { min-height: 190px; }
.about-card h3 { margin-top: 0; }

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  display: block;
  color: var(--text);
  letter-spacing: .07em;
  font-size: .9rem;
}

.footer p { margin: 6px 0 0; font-size: .85rem; }

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 6px;
  font-size: .84rem;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-art { min-height: 390px; }
  .project-grid, .mods-grid, .about-grid { grid-template-columns: 1fr; }
  .eternal-head { align-items: start; }
  .eternal-symbol { font-size: 6rem; }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0c1016;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; border-radius: 9px; }
  .hero-art { min-height: 320px; transform: scale(.82); }
  .eternal-head { display: block; }
  .eternal-symbol { display: none; }
  .spotlight-box { grid-template-columns: 1fr; }
  .spotlight-number { display: none; }
  .footer { flex-direction: column; }
  .footer-right { align-items: start; }
}


.account-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.account-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}

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

.news-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018)),
    var(--panel);
}

.featured-news {
  border-color: rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 90% 0%, rgba(141,169,255,.10), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    var(--panel);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.news-meta time {
  color: #697482;
  font-size: .78rem;
}

.news-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.news-card p {
  color: var(--muted);
  line-height: 1.68;
}

.news-link {
  display: inline-block;
  margin-top: 18px;
  color: #dfe6f2;
  font-weight: 800;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.account-modal.open {
  display: flex;
}

.account-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}

.account-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: #0d1219;
  box-shadow: 0 35px 90px rgba(0,0,0,.55);
}

.account-panel h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: -.035em;
}

.account-info {
  color: var(--muted);
  line-height: 1.6;
}

.account-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 24px 0 18px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

.account-tab {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.account-tab.active {
  background: rgba(255,255,255,.08);
  color: var(--text);
}

.account-form {
  display: none;
  gap: 14px;
}

.account-form.active {
  display: grid;
}

.account-form label {
  display: grid;
  gap: 7px;
  color: #d9e0ea;
  font-size: .9rem;
  font-weight: 700;
}

.account-form input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #090d12;
  color: var(--text);
}

.account-form input:disabled,
.account-submit:disabled {
  opacity: .58;
  cursor: not-allowed;
}

.account-submit {
  width: 100%;
  margin-top: 6px;
}

.account-coming {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: #8f9aa8;
  background: rgba(255,255,255,.025);
  font-size: .84rem;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .account-btn {
    width: 100%;
    margin-top: 4px;
  }
}


.page-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 95px 0 45px;
}

.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #778291;
  font-size: .82rem;
}

.breadcrumb a:hover { color: var(--text); }

.page-back {
  display: inline-flex;
  margin-top: 24px;
  color: #cfd7e2;
  font-weight: 800;
}

.nav a.active {
  color: var(--text);
}

.account-btn.active-page {
  border-color: rgba(255,255,255,.25);
}

.project-list {
  display: grid;
  gap: 18px;
}

.project-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.project-row .project-mark {
  height: 90px;
  border-radius: 15px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  background: #090b0f;
  font-weight: 1000;
}

.project-row h3 {
  margin: 0 0 8px;
}

.project-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.project-row .row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.news-item time {
  color: #778291;
  font-size: .82rem;
}

.news-item h3 {
  margin: 10px 0 8px;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 820px) {
  .project-row {
    grid-template-columns: 1fr;
  }

  .project-row .project-mark {
    width: 90px;
  }

  .project-row .row-actions {
    justify-content: flex-start;
  }
}


.download-stat {
  margin-top: 18px;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

.download-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 900;
}

.download-label {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.download-count {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
}
