/* ============================================================
   NOTICE — FRAME × SanuFlix
   One screen. Headline + links. FRAME tokens, nothing else.
   ============================================================ */

:root {
  --background: oklch(0.10 0.002 285);
  --foreground: oklch(0.96 0.005 90);
  --muted-foreground: oklch(0.62 0.01 85);
  --border: oklch(1 0 0 / 8%);

  --brand: oklch(0.82 0.14 75);
  --brand-foreground: oklch(0.16 0.02 60);
  --brand-dim: oklch(0.82 0.14 75 / 35%);

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --font-display: "Bebas Neue", Impact, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 7vh, 4rem) clamp(1.25rem, 5vw, 2rem);
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
h1 { margin: 0; font-weight: 400; }
p { margin: 0; }

::selection { background: var(--brand); color: var(--brand-foreground); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* single soft amber wash behind the content */
.glow {
  position: fixed;
  top: -30vh;
  left: 50%;
  width: min(900px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, oklch(0.82 0.14 75 / 0.13) 0%, transparent 62%);
  filter: blur(40px);
  pointer-events: none;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 620px;
  animation: rise .8s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- copy ---------- */
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.title {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0.015em;
}
.title em { font-style: normal; color: var(--brand); }
.title .period { color: var(--brand); }

.sub {
  margin-top: 1.1rem;
  max-width: 44ch;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ---------- links ---------- */
.links {
  display: grid;
  gap: 0.7rem;
  margin-top: clamp(2rem, 5vh, 2.75rem);
}

.link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: oklch(1 0 0 / 3%);
  transition:
    border-color .35s var(--ease),
    background .35s var(--ease),
    transform .35s var(--ease);
}
.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--brand-dim);
  background: oklch(1 0 0 / 5%);
}

.link-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  min-width: 0;
}

.link-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: 0.025em;
}

.link-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--muted-foreground);
  word-break: break-all;
}

.link-go {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease);
}
.link-go svg { width: 16px; height: 16px; }
.link:hover .link-go {
  transform: translateX(3px);
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-foreground);
}

/* telegram row — the one filled accent on the page */
.link-tg {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-foreground);
}
.link-tg:hover,
.link-tg:focus-visible {
  background: var(--brand);
  border-color: var(--brand);
  filter: brightness(1.05);
}
.link-tg .link-url { color: oklch(0.16 0.02 60 / 0.72); }
.link-tg .link-go { border-color: oklch(0.16 0.02 60 / 0.28); color: var(--brand-foreground); }
.link-tg:hover .link-go {
  background: var(--brand-foreground);
  border-color: var(--brand-foreground);
  color: var(--brand);
}
.tg-icon { width: 19px; height: 19px; flex: none; }

/* ---------- foot ---------- */
.foot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: clamp(1.75rem, 4vh, 2.5rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}
.dot {
  flex: none;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--brand);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* ---------- responsive ---------- */
@media (max-width: 460px) {
  .link { padding: 0.95rem 1.05rem; }
  .link-name { font-size: 1.45rem; }
  .link-main { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .link-tg .link-main { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .link-tg .link-url { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .stage { opacity: 1; transform: none; }
}
