/* HUNGRY link-in-bio landing */

:root {
  --brand-50: #f0f9ff;
  --brand-100: #e0f2fe;
  --brand-200: #bae6fd;
  --brand-300: #7dd3fc;
  --brand-500: #0ea5e9;
  --brand-600: #0284c7;
  --brand-700: #0369a1;
  --ink-200: #e2e8f0;
  --ink-400: #94a3b8;
  --ink-500: #64748b;
  --ink-600: #475569;
  --ink-800: #1e293b;
  --ink-900: #0f172a;
  --canvas: #f5fafe;
  --white: #ffffff;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(14, 165, 233, 0.25);
  --shadow-lift: 0 12px 40px -16px rgba(14, 165, 233, 0.45), 0 2px 8px rgba(15, 23, 42, 0.06);
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --font-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --shell: 26rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink-800);
  font-family: var(--font-sans);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'ss01';
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

::selection {
  background: var(--brand-200);
  color: var(--ink-900);
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--brand-500);
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  color: var(--ink-900);
}

p {
  margin: 0;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 2.5rem 1.15rem 3rem;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.mesh {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(at 20% 10%, #e0f2fe 0px, transparent 50%),
    radial-gradient(at 85% 5%, #bae6fd 0px, transparent 45%),
    radial-gradient(at 50% 90%, #f0f9ff 0px, transparent 50%);
}

.grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(14, 165, 233, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 165, 233, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  animation: fade-up 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ——— Brand ——— */

.brand {
  text-align: center;
  margin-bottom: 2rem;
}

.logo {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-dot {
  color: var(--brand-500);
}

.tagline {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}

/* ——— Blocks ——— */

.block {
  margin-bottom: 1.75rem;
}

.block-label {
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 0.75rem;
  padding-left: 0.15rem;
}

/* ——— Link list (social + email) ——— */

.link-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--brand-100);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.link-card:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-lift);
  transform: translateY(-1px);
}

.link-card:active {
  transform: translateY(0);
}

.link-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--brand-50);
  color: var(--brand-600);
}

.link-card:hover .link-icon {
  background: var(--brand-100);
  color: var(--brand-700);
}

.link-meta {
  min-width: 0;
  flex: 1;
}

.link-meta strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-900);
}

.link-meta span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.78rem;
  color: var(--ink-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-arrow {
  color: var(--ink-400);
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.link-card:hover .link-arrow {
  color: var(--brand-500);
  transform: translate(1px, -1px);
}

/* ——— Promo ——— */

.promo-card {
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: var(--radius-2xl);
  background: var(--ink-900);
  box-shadow: var(--shadow-card);
  margin-bottom: 0.85rem;
}

.promo-lead {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--brand-100);
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  height: 2.7rem;
  padding: 0 1.1rem;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--white);
  color: var(--ink-900);
}

.btn-primary:hover {
  background: var(--brand-50);
}

/* ——— Conditions ——— */

.conditions {
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--brand-100);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
}

.conditions-title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-800);
  margin-bottom: 0.7rem;
}

.conditions ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.conditions li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-600);
}

.conditions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--brand-400, #38bdf8);
  background: var(--brand-500);
  opacity: 0.75;
}

/* ——— Footer ——— */

.footer {
  text-align: center;
  padding-top: 0.5rem;
}

.footer p {
  font-size: 0.72rem;
  color: var(--ink-400);
}

/* ——— Motion ——— */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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