:root {
  --ivory: #fbf5e7;
  --ivory-soft: rgba(251, 245, 231, 0.8);
  --ivory-muted: rgba(251, 245, 231, 0.58);
  --gold: #f1c66c;
  --gold-soft: #f8dd9c;
  --gold-line: rgba(241, 198, 108, 0.18);
  --line: rgba(255, 255, 255, 0.08);
  --content-width: min(1120px, calc(100% - 32px));
  --radius-pill: 999px;
  --radius-card: 26px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 12%, rgba(120, 82, 255, 0.22), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(245, 191, 82, 0.16), transparent 17%),
    radial-gradient(circle at 20% 74%, rgba(88, 60, 189, 0.22), transparent 28%),
    linear-gradient(180deg, #120a22 0%, #08050f 48%, #040208 100%);
  line-height: 1.5;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(246, 199, 103, 0.07), transparent 0 16%),
    radial-gradient(circle at 80% 20%, rgba(123, 86, 255, 0.08), transparent 0 18%);
  filter: blur(22px);
  opacity: 0.9;
}

body::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: soft-light;
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.page-shell::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8rem;
  width: min(72rem, 88vw);
  height: 44rem;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 28%, rgba(247, 218, 147, 0.08), transparent 0 28%),
    radial-gradient(circle at 52% 40%, rgba(122, 91, 255, 0.14), transparent 0 44%);
  filter: blur(36px);
  pointer-events: none;
}

main {
  flex: 1;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 7rem);
  display: grid;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.4rem) 0 1.6rem;
}

.hero__inner,
.site-footer__inner {
  width: var(--content-width);
  margin: 0 auto;
}

.hero__inner {
  text-align: center;
}

.hero__scene {
  position: relative;
  width: min(100%, 46rem);
  aspect-ratio: 1.2 / 1;
  margin: 0 auto 0.55rem;
  display: grid;
  place-items: center;
}

.hero__halo,
.hero__ring,
.hero__trails,
.hero__dust,
.hero__mark {
  position: absolute;
}

.hero__halo {
  inset: 12% 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(251, 222, 154, 0.18) 0%, rgba(240, 190, 94, 0.06) 32%, rgba(123, 82, 255, 0.08) 60%, transparent 76%);
  filter: blur(8px);
  animation: haloPulse 7s ease-in-out infinite;
}

.hero__ring {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.hero__ring--outer {
  inset: 6% 8%;
  opacity: 0.9;
}

.hero__ring--inner {
  inset: 16% 18%;
  border-color: rgba(241, 198, 108, 0.16);
  box-shadow: 0 0 40px rgba(241, 198, 108, 0.08);
}

.hero__trails {
  inset: -2% -8%;
  width: calc(100% + 16%);
  height: calc(100% + 4%);
  opacity: 0.85;
  filter: drop-shadow(0 0 18px rgba(241, 198, 108, 0.1));
}

.hero__dust {
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 22% 34%, rgba(248, 221, 156, 0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 32% 74%, rgba(255, 255, 255, 0.45) 0 1px, transparent 2px),
    radial-gradient(circle at 50% 20%, rgba(248, 221, 156, 0.76) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, 0.4) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 66%, rgba(248, 221, 156, 0.76) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 44%, rgba(255, 255, 255, 0.45) 0 1px, transparent 2px);
  opacity: 0.55;
  animation: dustDrift 18s linear infinite;
}

.hero__mark {
  position: relative;
  z-index: 1;
  width: clamp(15.5rem, 38vw, 26rem);
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 28px 45px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 34px rgba(241, 198, 108, 0.14));
  animation: logoFloat 8s ease-in-out infinite;
}

.hero h1 {
  margin: 0 auto;
  max-width: none;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-wrap: nowrap;
}

.hero__support {
  position: relative;
  width: min(100%, 35rem);
  margin: 1.65rem auto 0;
  padding-top: 1.25rem;
}

.hero__support::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(8rem, 36%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(241, 198, 108, 0), rgba(241, 198, 108, 0.65), rgba(241, 198, 108, 0));
}

.hero__brand-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--gold-soft);
  text-shadow: 0 0 28px rgba(241, 198, 108, 0.06);
  text-transform: uppercase;
}

.hero__copy {
  margin: 0.9rem auto 0;
  max-width: 52rem;
  color: var(--ivory-soft);
  font-size: clamp(1rem, 1.45vw, 1.06rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  white-space: normal;
  text-wrap: pretty;
}

.hero__platforms {
  margin: 1.4rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 32rem);
}

.platform-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-height: 5rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(18, 13, 35, 0.86), rgba(11, 8, 22, 0.66));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(241, 198, 108, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(111, 75, 241, 0.14), transparent 36%);
  pointer-events: none;
}

.platform-card__icon,
.platform-card__text {
  position: relative;
  z-index: 1;
}

.platform-card__icon {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-line);
  border-radius: 18px;
  background: rgba(12, 9, 24, 0.58);
  color: var(--gold-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.platform-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.platform-card__text {
  display: grid;
  justify-items: start;
  gap: 0.12rem;
}

.platform-card__name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

.platform-card__status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 0 0 1.6rem;
}

.site-footer__inner {
  width: var(--content-width);
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
}

.site-footer__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.site-footer__copyright {
  margin: 0;
  color: var(--ivory-muted);
  font-size: 0.86rem;
}

.site-footer__instagram {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  min-width: 2.5rem;
  justify-content: center;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(12, 9, 23, 0.42);
  color: var(--ivory-soft);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.site-footer__instagram:hover,
.site-footer__instagram:focus-visible {
  border-color: var(--gold-line);
  background: rgba(16, 12, 31, 0.64);
  transform: translateY(-1px);
}

.site-footer__instagram svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold-soft);
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes haloPulse {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.82;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes dustDrift {
  0% {
    transform: translate3d(-0.6%, 0.4%, 0);
  }

  50% {
    transform: translate3d(0.6%, -0.5%, 0);
  }

  100% {
    transform: translate3d(-0.6%, 0.4%, 0);
  }
}

@media (max-width: 640px) {
  :root {
    --content-width: min(100% - 24px, 1120px);
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 1.25rem;
  }

  .hero__scene {
    width: min(100%, 24rem);
    margin-bottom: 0.6rem;
  }

  .hero__ring--outer {
    inset: 9% 6%;
  }

  .hero__ring--inner {
    inset: 18% 13%;
  }

  .hero__copy {
    max-width: 30rem;
    white-space: normal;
  }

  .hero__brand-title {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
  }

  .hero h1 {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__support {
    width: min(100%, 30rem);
    margin-top: 1.35rem;
    padding-top: 1rem;
  }

  .hero__platforms {
    grid-template-columns: 1fr;
    width: min(100%, 24rem);
  }

  .site-footer__meta {
    gap: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
