/* The landing: one screen, the title picture behind, the name and one line in front. */
@font-face {
  font-family: "Lora";
  src: url("fonts/Lora-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("fonts/Rubik-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --night: #140c06;
  --cream: #f3e6c8;
  --cream-dim: rgba(243, 230, 200, 0.72);
  --gold: #e3bd5c;
  --gold-deep: #b08a3a;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--cream);
  font-family: "Rubik", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The picture: full bleed, slow drift, darkened toward the text. */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.08);
  animation: drift 28s ease-in-out infinite alternate;
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(20, 12, 6, 0.15), rgba(20, 12, 6, 0.75) 100%),
    linear-gradient(to bottom, rgba(20, 12, 6, 0.55) 0%, rgba(20, 12, 6, 0.1) 30%, rgba(20, 12, 6, 0.35) 62%, rgba(20, 12, 6, 0.92) 100%);
}
@keyframes drift {
  from { transform: scale(1.08) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.2%, -1.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .backdrop img { animation: none; }
}

/* Top: the language switch only. */
.top {
  display: flex;
  justify-content: flex-end;
  padding: max(16px, env(safe-area-inset-top)) 16px 0;
}
.lang {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 3px;
  list-style: none;
  border: 1px solid rgba(227, 189, 92, 0.35);
  border-radius: 999px;
  background: rgba(20, 12, 6, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lang a {
  display: block;
  min-width: 2.6rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--cream-dim);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.lang a:hover { color: var(--cream); }
.lang a[aria-current="true"] { background: var(--gold); color: var(--night); }

/* Centre: icon, name, line, the store note. */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 16px;
  text-align: center;
}
.icon {
  width: 104px;
  height: 104px;
  border-radius: 23px;
  box-shadow: 0 0 0 1px rgba(227, 189, 92, 0.6), 0 18px 50px rgba(0, 0, 0, 0.6);
  animation: rise 1s ease-out both;
}
h1 {
  margin: 1.4rem 0 0;
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: clamp(3rem, 13vw, 6.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
  animation: rise 1s 0.12s ease-out both;
}
.rule {
  width: 7rem;
  height: 1px;
  margin: 1.3rem auto;
  border: 0;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  animation: rise 1s 0.2s ease-out both;
}
.line {
  max-width: 26rem;
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 4.4vw, 1.4rem);
  line-height: 1.45;
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  animation: rise 1s 0.28s ease-out both;
}
.soon {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 2.2rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: 14px;
  background: rgba(20, 12, 6, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: rise 1s 0.4s ease-out both;
}
.soon small {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.soon strong {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .icon, h1, .rule, .line, .soon { animation: none; }
}

/* Bottom: the small print. */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  padding: 0 16px max(18px, env(safe-area-inset-bottom));
  font-size: 0.8rem;
  color: var(--cream-dim);
}
footer a { color: var(--cream-dim); text-decoration: none; }
footer a:hover { color: var(--gold); }
footer p { margin: 0; }
.placeholder { background: #ffe58a; color: #2b2016; padding: 0 0.25em; border-radius: 3px; }

a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
