/* NISS MOBILE /go — L-19 ink + gold */

:root {
  --ink-050: #08090b;
  --ink-100: #0e1013;
  --ink-200: #15181c;
  --ink-300: #1d2126;
  --ink-400: #272c33;
  --ink-500: #343a43;
  --white: #ffffff;
  --slate-200: #c9cfd8;
  --slate-400: #8e97a3;
  --gold-400: #f2c14e;
  --gold-500: #d9a428;
  --gold-600: #a87a15;
  --radius: 14px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --font-brand: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--ink-050);
  -webkit-font-smoothing: antialiased;
}

/* Atmosphere: radial wash + subtle grain grid */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(217, 164, 40, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(43, 127, 212, 0.08), transparent 50%),
    linear-gradient(180deg, var(--ink-100) 0%, var(--ink-050) 45%, #050607 100%);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 auto;
  padding: calc(var(--pad) + env(safe-area-inset-top)) var(--pad)
    calc(var(--pad) + env(safe-area-inset-bottom));
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
}

.brand-block {
  text-align: center;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(2.15rem, 9vw, 2.75rem);
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand span {
  display: block;
  color: var(--gold-400);
}

.tagline {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--slate-200);
  max-width: 28ch;
  margin-inline: auto;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.links li {
  animation: rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.links li:nth-child(1) {
  animation-delay: 0.12s;
}
.links li:nth-child(2) {
  animation-delay: 0.18s;
}
.links li:nth-child(3) {
  animation-delay: 0.24s;
}
.links li:nth-child(4) {
  animation-delay: 0.3s;
}
.links li:nth-child(5) {
  animation-delay: 0.36s;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--ink-500);
  background: linear-gradient(180deg, var(--ink-300), var(--ink-200));
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.link-btn:hover,
.link-btn:focus-visible {
  border-color: var(--slate-400);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  outline: none;
}

.link-btn:focus-visible {
  box-shadow:
    0 0 0 2px var(--ink-050),
    0 0 0 4px var(--gold-400);
}

.link-btn.is-primary {
  border-color: rgba(242, 193, 78, 0.45);
  background: linear-gradient(180deg, #2a2416, #1a160e);
}

.link-btn.is-primary:hover,
.link-btn.is-primary:focus-visible {
  border-color: var(--gold-400);
}

.link-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.icon {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  color: var(--gold-400);
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.label {
  flex: 1;
  text-align: left;
}

.chev {
  color: var(--slate-400);
  font-size: 1.1rem;
  line-height: 1;
}

.foot {
  text-align: center;
  font-size: 0.78rem;
  color: var(--slate-400);
  letter-spacing: 0.04em;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
