:root {
  color-scheme: dark;
  font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  background: #09282d;
  color: #fffaf0;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #173e43 url("./assets/chachi/chachi-coffee-background.png") center / cover no-repeat;
  transform: scale(1.01);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgb(5 24 30 / 22%), rgb(4 18 22 / 58%) 74%),
    linear-gradient(to bottom, rgb(4 20 26 / 12%), rgb(4 20 26 / 54%));
}

main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.portal {
  width: min(42rem, 100%);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 2rem;
  background: rgb(4 28 32 / 58%);
  box-shadow: 0 1.5rem 5rem rgb(0 12 16 / 42%);
  backdrop-filter: blur(14px) saturate(115%);
}

.eyebrow {
  margin: 0 0 .3rem;
  color: #ffd68a;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .95;
  text-wrap: balance;
  text-shadow: 0 .2rem 1.3rem rgb(0 17 22 / 60%);
}

.intro {
  max-width: 31rem;
  margin: 1.2rem auto 2rem;
  color: rgb(255 250 240 / 84%);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.55;
  text-wrap: balance;
}

.portal-link {
  display: inline-flex;
  gap: .8rem;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.25rem;
  color: #113137;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid rgb(255 255 255 / 62%);
  border-radius: 999px;
  background: rgb(255 249 235 / 91%);
  box-shadow: 0 .45rem 1.2rem rgb(0 18 24 / 24%);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.portal-link:hover {
  transform: translateY(-2px);
  background: #fffaf0;
  box-shadow: 0 .7rem 1.5rem rgb(0 18 24 / 34%);
}

.portal-link:focus-visible { outline: 3px solid #ffd16f; outline-offset: 4px; }

@media (max-width: 38rem) {
  .backdrop { background-position: 68% center; }
  .portal { border-radius: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .portal-link { transition: none; }
}
