:root {
  --astro360-header-height: 4rem;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f1ff;
  background: #07040f;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  padding-bottom: calc(4.35rem + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 15% 8%, rgba(108, 61, 214, .3), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(30, 119, 190, .22), transparent 30rem),
    radial-gradient(circle at 50% 95%, rgba(119, 43, 153, .2), transparent 34rem),
    linear-gradient(160deg, #100821 0%, #07040f 52%, #090716 100%);
  color: #f5f1ff;
}

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

body::before {
  opacity: .55;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .9) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(188, 169, 255, .75) 0 1px, transparent 1.5px);
  background-position: 0 0, 3.2rem 4.7rem;
  background-size: 7.5rem 7.5rem, 10rem 10rem;
}

body::after {
  background: linear-gradient(180deg, transparent 60%, rgba(7, 4, 15, .72));
}

/* Hide Drupal's administration toolbar on the public site only. */
body:not(.path-admin) .toolbar-bar,
body:not(.path-admin) .toolbar-tray,
body:not(.path-admin) .toolbar-toggle-orientation {
  display: none !important;
}

body:not(.path-admin).toolbar-fixed,
body:not(.path-admin).toolbar-horizontal,
body:not(.path-admin).toolbar-tray-open {
  padding-top: 0 !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

a {
  color: inherit;
}

.astro360-site-header,
.astro360-site-footer {
  padding: 1rem max(1rem, calc((100% - 72rem) / 2));
}

.astro360-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(221, 209, 255, .12);
  background: rgba(7, 4, 15, .88);
  backdrop-filter: blur(18px);
  box-shadow: 0 .45rem 1.5rem rgba(3, 1, 10, .22);
}

.astro360-site-nav {
  position: fixed;
  z-index: 200;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(221, 209, 255, .18);
  background: rgba(7, 4, 15, .96);
  box-shadow: 0 -.6rem 1.8rem rgba(3, 1, 10, .32);
  backdrop-filter: blur(20px);
}

.astro360-site-nav a {
  display: flex;
  min-height: 4.35rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .35rem;
  padding: .55rem .4rem;
  border-radius: 0;
  color: #d8ccef;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.astro360-site-nav a + a {
  border-left: 1px solid rgba(221, 209, 255, .12);
}

.astro360-site-nav a:hover,
.astro360-site-nav a:focus-visible {
  background: rgba(185, 146, 255, .14);
  color: #fff;
}

.astro360-site-nav a.is-active,
body.path-horoscope .astro360-site-nav__link--horoscope,
body.path-ascendant .astro360-site-nav__link--ascendant,
body.path-compatibilite .astro360-site-nav__link--compatibility {
  background: linear-gradient(180deg, rgba(155, 102, 239, .28), rgba(99, 53, 189, .18));
  color: #c9a7ff;
  box-shadow: inset 0 3px 0 #9f6aef;
}

.astro360-site-nav a.is-active .astro360-site-nav__icon,
body.path-horoscope .astro360-site-nav__link--horoscope .astro360-site-nav__icon,
body.path-ascendant .astro360-site-nav__link--ascendant .astro360-site-nav__icon,
body.path-compatibilite .astro360-site-nav__link--compatibility .astro360-site-nav__icon {
  color: #d5bbff;
  filter: drop-shadow(0 0 .5rem rgba(185, 146, 255, .65));
}

.astro360-site-nav__icon {
  color: #b992ff;
  font-size: 1rem;
  line-height: 1;
}

.astro360-site-nav__icon {
  font-size: 1.35rem;
}

.astro360-install {
  position: fixed;
  z-index: 190;
  right: .85rem;
  bottom: calc(5.15rem + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1rem;
  border: 1px solid rgba(211, 191, 255, .35);
  border-radius: 999px;
  background: linear-gradient(120deg, #8c4dde, #7137c5);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 .7rem 1.8rem rgba(3, 1, 10, .45);
}

@media (max-width: 64rem) and (hover: none) and (pointer: coarse) {
  .astro360-install.is-phone:not([hidden]) {
    display: inline-flex;
  }
}

.astro360-install[hidden],
.astro360-install-dialog[hidden] {
  display: none;
}

.astro360-install-dialog {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 1rem;
}

.astro360-install-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 1, 10, .72);
  backdrop-filter: blur(6px);
}

.astro360-install-dialog__panel {
  position: relative;
  width: min(100%, 28rem);
  padding: 1.5rem;
  border: 1px solid rgba(211, 191, 255, .28);
  border-radius: 1.3rem;
  background: #160d2d;
  text-align: center;
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, .55);
}

.astro360-install-dialog__close {
  position: absolute;
  top: .55rem;
  right: .7rem;
  border: 0;
  background: transparent;
  color: #d8ccef;
  cursor: pointer;
  font-size: 1.8rem;
}

.astro360-install-dialog__icon {
  color: #c597ff;
  font-size: 2.2rem;
}

.astro360-install-dialog h2 {
  margin: .4rem 0 .7rem;
}

.astro360-install-dialog p {
  color: #ded3ec;
  line-height: 1.55;
}

.astro360-install-dialog__confirm {
  width: 100%;
  min-height: 2.8rem;
  border: 0;
  border-radius: 999px;
  background: #8c4dde;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

@media (max-width: 32rem) {
  .astro360-site-header {
    gap: .35rem;
    padding-inline: .65rem;
  }

}

.astro360-brand {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  margin-inline: auto;
  text-decoration: none;
  text-shadow: 0 0 1.5rem rgba(177, 132, 255, .42);
}

.astro360-brand__monogram {
  display: block;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.astro360-brand__wordmark {
  font-family: Fredoka, "Arial Rounded MT Bold", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}

.astro360-brand__astro {
  color: #f8f5ff;
}

.astro360-brand__number {
  color: #b992ff;
}

.astro360-brand__domain {
  color: #cdb6ff;
  font-size: .8em;
}

.astro360-site-main {
  padding-inline: 1rem;
}

.astro360-site-footer {
  border-top: 1px solid rgba(221, 209, 255, .1);
  color: #aaa0bd;
  font-size: .85rem;
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  word-wrap: normal;
}
