@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --page-bg: #050509;
  --text: #f7f7fb;
  --muted: rgba(247, 247, 251, 0.62);
  --line: rgba(255, 255, 255, 0.2);
  --glass: rgba(9, 9, 17, 0.48);
  --glass-strong: rgba(8, 8, 15, 0.72);
  --accent: #b8a5ff;
  --accent-soft: rgba(155, 130, 255, 0.26);
  --radius-lg: 34px;
  --radius-md: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.background-video,
.background-fallback,
.background-overlay,
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.background-video {
  z-index: -5;
  object-fit: cover;
}

.background-fallback {
  z-index: -6;
  background:
    radial-gradient(circle at 50% 28%, rgba(110, 88, 208, 0.45), transparent 24%),
    radial-gradient(circle at 50% 62%, rgba(62, 48, 134, 0.22), transparent 34%),
    linear-gradient(180deg, #05050a 0%, #0c0b18 48%, #040407 100%);
}

.background-overlay {
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0.76) 100%),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.52) 92%);
}

.grain {
  z-index: -3;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
}

.site-shell {
  width: min(1480px, calc(100% - 36px));
  min-height: calc(100vh - 36px);
  margin: 18px auto;
  padding: 22px 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.34));
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.018);
  backdrop-filter: blur(3px);
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  gap: 24px;
}

.brand-mini,
.desktop-nav a,
.socials a,
footer a {
  text-decoration: none;
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  font-size: 13px;
  letter-spacing: 0.32em;
}

.spark {
  font-size: 19px;
  text-shadow: 0 0 16px rgba(190, 174, 255, 0.86);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: white;
}

.socials {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 600;
  transition: 180ms ease;
}

.socials a:hover {
  border-color: rgba(255, 255, 255, 0.44);
  color: white;
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  padding: 40px 24px 52px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 4%;
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(141, 119, 255, 0.26), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.infinity-mark {
  margin-bottom: -20px;
  color: rgba(226, 220, 255, 0.92);
  font-family: "Cormorant Garamond", serif;
  font-size: 52px;
  text-shadow: 0 0 18px rgba(155, 130, 255, 0.66);
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(92px, 13vw, 205px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: 0.045em;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #c9c7d3 22%,
      #ffffff 45%,
      #8f8c99 68%,
      #ffffff 100%
    );
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(191, 178, 255, 0.2));
}

.release-line {
  margin: 30px 0 30px;
  font-size: clamp(13px, 1.8vw, 22px);
  letter-spacing: 0.48em;
  text-indent: 0.48em;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 18px 40px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  color: white;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.35em;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.14),
    0 0 30px rgba(137, 111, 255, 0.12);
  backdrop-filter: blur(14px);
  transition: 200ms ease;
}

.primary-button:hover {
  transform: translateY(-3px);
  border-color: white;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.22),
    0 0 34px rgba(156, 130, 255, 0.32);
}

.button-star {
  font-size: 18px;
  text-shadow: 0 0 12px white;
}

.section-index {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.section-index .active {
  color: white;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 4px 52px 20px;
}

.link-card {
  position: relative;
  min-height: 244px;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(13, 13, 22, 0.66), rgba(4, 4, 9, 0.78));
  color: white;
  text-decoration: none;
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.25);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.link-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 55%;
  background: radial-gradient(circle, var(--accent-soft), transparent 66%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.link-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(131, 106, 255, 0.12);
}

.link-card:hover::after {
  opacity: 1;
}

.card-number {
  display: block;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.link-card h2 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.28em;
}

.link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.card-visual {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  opacity: 0.9;
  pointer-events: none;
}

.waveform {
  width: 125px;
  height: 44px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.66) 0 1px,
      transparent 1px 5px
    );
  clip-path: polygon(
    0 44%, 7% 32%, 14% 55%, 20% 22%, 27% 64%, 34% 30%, 43% 72%,
    50% 15%, 58% 62%, 65% 35%, 72% 76%, 80% 28%, 87% 58%, 94% 38%, 100% 51%,
    100% 100%, 0 100%
  );
  filter: drop-shadow(0 0 8px rgba(187, 172, 255, 0.6));
}

.orb {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 36%, white 0 1%, rgba(172, 150, 255, 0.38) 8%, transparent 28%),
    radial-gradient(circle, rgba(124, 94, 255, 0.28), transparent 64%);
  box-shadow:
    inset 0 0 26px rgba(255, 255, 255, 0.12),
    0 0 32px rgba(128, 100, 255, 0.25);
}

.butterfly,
.infinity,
.bag {
  color: rgba(255, 255, 255, 0.86);
  font-family: "Cormorant Garamond", serif;
  font-size: 76px;
  text-shadow: 0 0 18px rgba(166, 142, 255, 0.72);
}

.infinity {
  font-size: 90px;
}

.arrow {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 18px;
}


.platform-logo {
  color: rgba(255,255,255,.92);
  filter:
    drop-shadow(0 0 10px rgba(255,255,255,.22))
    drop-shadow(0 0 24px rgba(145,118,255,.35));
}

.platform-logo svg {
  width: 74px;
  height: 74px;
}

.socials svg {
  width: 16px;
  height: 16px;
}

.about-panel {
  margin: 40px 52px;
  padding: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background: linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  backdrop-filter: blur(22px);
}

.about-header {
  margin-bottom: 28px;
}

.about-header .eyebrow {
  color: rgba(255,255,255,.55);
  letter-spacing: .3em;
  font-size: 12px;
}

.about-header h2 {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond",serif;
  font-size: clamp(36px,5vw,64px);
  font-weight: 500;
}

.about-content {
  max-width: 900px;
}

.about-content p {
  color: rgba(255,255,255,.82);
  line-height: 1.9;
  font-size: 17px;
}

.about-content blockquote {
  margin: 36px 0;
  padding-left: 22px;
  border-left: 2px solid rgba(255,255,255,.35);
  font-family: "Cormorant Garamond",serif;
  font-size: 30px;
  color: #fff;
}

.about-content .closing {
  margin-top: 24px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

footer {
  margin: 28px 52px 4px;
  display: flex;
  justify-content: center;
  color: rgba(255,255,255,.42);
  font-size: 10px;
  letter-spacing: .2em;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 22px;
  }

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

  .link-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 18px,1480px);
    margin: 9px auto;
    padding: 14px;
    border-radius: 22px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .brand-mini {
    font-size: 11px;
  }

  .socials {
    gap: 5px;
  }

  .socials a {
    width: 30px;
    height: 30px;
  }

  .socials svg {
    width: 14px;
    height: 14px;
  }

  .hero {
    min-height: 430px;
    padding: 50px 10px 36px;
  }

  .hero h1 {
    font-size: clamp(65px,22vw,112px);
    letter-spacing: .01em;
  }

  .release-line {
    margin-top: 24px;
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: .25em;
    text-indent: .25em;
  }

  .primary-button {
    padding: 15px 28px;
    font-size: 11px;
  }

  .section-index {
    display: none;
  }

  .link-grid {
    margin: 0;
    grid-template-columns: 1fr;
  }

  .link-card,
  .link-card:last-child {
    min-height: 175px;
    grid-column: auto;
  }

  .card-number {
    margin-bottom: 28px;
  }

  .card-visual {
    width: 90px;
    height: 90px;
  }

  .platform-logo svg {
    width: 58px;
    height: 58px;
  }

  .about-panel {
    margin: 22px 0;
    padding: 28px 22px;
  }

  .about-content p {
    font-size: 15px;
  }

  .about-content blockquote {
    margin: 28px 0;
    font-size: 24px;
  }

  footer {
    margin: 22px 4px 4px;
  }
}


/* Mobile layout tuned for the supplied ETERNITY teaser video */
@media (max-width: 760px) {
  body {
    background: #030306;
  }

  .background-video {
    width: 100vw;
    height: 100svh;
    object-fit: cover;
    object-position: center center;
  }

  .background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.38) 0%,
        rgba(0, 0, 0, 0.28) 34%,
        rgba(0, 0, 0, 0.58) 70%,
        rgba(0, 0, 0, 0.82) 100%
      );
  }

  .site-shell {
    width: 100%;
    min-height: 100svh;
    margin: 0;
    padding: 14px 16px 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
  }

  .topbar {
    min-height: 48px;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand-mini {
    font-size: 10px;
    letter-spacing: 0.24em;
  }

  .socials {
    gap: 4px;
  }

  .socials a {
    width: 28px;
    height: 28px;
  }

  .socials svg {
    width: 13px;
    height: 13px;
  }

  .hero {
    min-height: 390px;
    padding: 66px 0 34px;
    overflow: hidden;
  }

  .infinity-mark {
    margin-bottom: -4px;
    font-size: 38px;
  }

  .hero-title {
    width: 100%;
    margin: 0 auto;
    font-size: clamp(58px, 18vw, 86px);
    line-height: 0.92;
    letter-spacing: -0.035em;
    white-space: nowrap;
    text-align: center;
    transform: scaleX(0.88);
    transform-origin: center;
  }

  .release-line {
    margin: 22px auto 24px;
    padding: 0 8px;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }

  .primary-button {
    min-width: 210px;
    justify-content: center;
    padding: 14px 26px;
    font-size: 10px;
    letter-spacing: 0.28em;
  }

  .link-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
  }

  .link-card,
  .link-card:last-child {
    min-height: 108px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr 64px;
    align-items: center;
    border-radius: 22px;
    grid-column: auto;
  }

  .card-number {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .link-card h2 {
    margin-bottom: 5px;
    font-size: 16px;
    letter-spacing: 0.24em;
  }

  .link-card p {
    font-size: 10px;
  }

  .card-visual {
    position: static;
    width: 58px;
    height: 58px;
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
  }

  .platform-logo svg {
    width: 44px;
    height: 44px;
  }

  .arrow {
    display: none;
  }

  .about-panel {
    margin: 18px 0 0;
    padding: 26px 20px;
    border-radius: 24px;
  }

  .about-header {
    margin-bottom: 20px;
  }

  .about-header h2 {
    font-size: 38px;
    line-height: 1;
  }

  .about-content p {
    font-size: 14px;
    line-height: 1.75;
  }

  .about-content blockquote {
    margin: 24px 0;
    padding-left: 16px;
    font-size: 23px;
    line-height: 1.2;
  }

  .about-content .closing {
    font-size: 18px;
    line-height: 1.45;
  }

  footer {
    margin: 20px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
}
