/* FuckTok — mobile-first, unique palette */

:root {
  --bg: #0a0a0c;
  --card: #141418;
  --card-2: #1c1c22;
  --hot: #ff3366;
  --hot-dim: #cc2952;
  --violet: #b84dff;
  --text: #f5f5f7;
  --muted: #9a9aa8;
  --line: rgba(255, 51, 102, 0.2);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pad: 1rem;
  --section-y: 1.5rem;
  --touch: 2.75rem;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.nav-open { overflow: hidden; touch-action: none; }

a { color: var(--hot); }

.page { min-height: 100vh; display: flex; flex-direction: column; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.95);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
  backdrop-filter: blur(10px);
}

.bar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.5rem 0;
}

.logo {
  flex: 1;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo b { color: var(--hot); font-weight: 700; }

.menu-btn {
  min-height: var(--touch);
  min-width: var(--touch);
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font: 600 0.8rem var(--font);
  cursor: pointer;
}

.nav {
  flex-basis: 100%;
  width: 100%;
  display: none;
  flex-direction: column;
  padding-bottom: 0.75rem;
  border-top: 1px solid var(--line);
  margin-top: 0.35rem;
}

.nav.is-open { display: flex; }

.nav a {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--hot); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.35rem;
  font: 700 1rem var(--font);
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--hot), #ff6b9d);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(255, 51, 102, 0.3);
  -webkit-tap-highlight-color: transparent;
}

.btn-cta--full { width: 100%; }

.btn-cta--outline {
  background: transparent;
  color: var(--hot);
  border: 1px solid var(--hot-dim);
  box-shadow: none;
}

.hero { padding: var(--section-y) 0; }

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__head { order: 1; }

.hero__actions {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero__visual {
  order: 3;
  margin: 0.25rem auto 0;
  width: min(10.5rem, 44vw);
  max-width: 100%;
}

.hero__visual img {
  width: 100%;
  height: auto;
  max-height: 10.5rem;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero__kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--hot);
  border-radius: 4px;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  order: 4;
  justify-content: flex-start;
}

.tags li {
  padding: 0.35rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.block { padding: var(--section-y) 0; }

.block h2 {
  font-size: clamp(1.15rem, 4vw, 1.6rem);
  margin: 0 0 1rem;
  text-align: left;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.step {
  padding: 1rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.step strong { color: var(--hot); display: block; margin-bottom: 0.25rem; }

.step p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.cta-band {
  padding: var(--section-y) var(--pad);
  text-align: center;
  background: var(--card-2);
  border-block: 1px solid var(--line);
}

.cta-band p { margin: 0 0 1rem; font-weight: 600; }

.legal { padding: var(--section-y) 0 2.5rem; }

.legal h1 {
  font-size: clamp(1.35rem, 4vw, 2rem);
  margin: 0 0 1rem;
}

.prose {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose h2 {
  font-size: 1.05rem;
  color: var(--text);
  margin: 1.15rem 0 0.5rem;
}

.prose h2:first-child { margin-top: 0; }

.prose ul { padding-left: 1.2rem; margin: 0.5rem 0 0.75rem; }

.prose li { margin-bottom: 0.35rem; }

.trust-list { list-style: none; padding: 0; margin: 0; }

.trust-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.trust-list li:last-child { border-bottom: none; }

.trust-ok { color: #5ce0a0; }
.trust-warn { color: #ffb347; }

.foot {
  margin-top: auto;
  padding: 1.35rem var(--pad);
  padding-bottom: max(1.35rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.foot ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin: 0 0 0.65rem;
  padding: 0;
  list-style: none;
}

.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--hot); }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.nav-backdrop.is-visible { display: block; }

@media (min-width: 375px) {
  :root { --pad: 1.125rem; --section-y: 1.65rem; }

  .hero__visual {
    width: min(11rem, 40vw);
  }

  .hero__visual img {
    max-height: 11rem;
  }
}

@media (min-width: 768px) {
  :root { --pad: 1.35rem; --section-y: 2.25rem; }

  body.nav-open { overflow: auto; touch-action: auto; }

  .menu-btn { display: none; }

  .nav {
    display: flex !important;
    flex-direction: row;
    flex: 1;
    flex-basis: auto;
    width: auto;
    justify-content: center;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    border: none;
  }

  .nav a { min-height: 0; border: none; padding: 0.25rem 0; }

  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(13.5rem, 30%);
    grid-template-areas:
      "head visual"
      "actions visual"
      "tags visual";
    gap: 0.75rem 2rem;
    align-items: start;
  }

  .hero__head { grid-area: head; }
  .hero__actions {
    grid-area: actions;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero__visual {
    grid-area: visual;
    order: unset;
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 13.5rem;
    margin: 0;
  }

  .hero__visual img {
    max-height: 13.5rem;
  }

  .tags { grid-area: tags; order: unset; }

  .btn-cta--full { width: auto; min-width: 11rem; }

  .steps { grid-template-columns: repeat(3, 1fr); }

  .block h2 { text-align: center; }
}
