/* =====================================================================
   Tema dark geek/anime — capa (index) + página de links (links)
   ===================================================================== */
:root {
  --bg: #0d0b16;
  --bg-2: #0a0812;
  --card: #17131f;
  --ink: #f4f0ff;
  --muted: #a99fc4;
  --pink: #ff2e7e;
  --pink-2: #ff5c9d;
  --cyan: #38e6ff;
  --line: rgba(255, 255, 255, 0.10);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body.theme-dark {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  /* meio-tom (screentone) de mangá + brilho sutil */
  background-image:
    radial-gradient(circle at 50% -10%, rgba(255, 46, 126, 0.14), transparent 55%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
  background-size: 100% 100%, 22px 22px;
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

/* canvas de partículas (fundo) */
.scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
main { position: relative; z-index: 1; }

/* transição de página (wipe) */
.page-transition {
  position: fixed; inset: 0; z-index: 9999; background: var(--pink);
  transform: translateY(100%); pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.page-transition::after {
  content: "オタク"; color: #fff; font-family: "Chakra Petch", sans-serif;
  font-size: 30px; letter-spacing: 8px; opacity: 0.92;
}

.cover, .links {
  max-width: 460px; margin: 0 auto; padding: 30px 22px 40px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}

/* 1ª dobra cabe na tela: botão visível sem rolar (mobile e desktop) */
.cover { min-height: 100vh; min-height: 100svh; justify-content: center; }

/* display font helper */
.cover__name, .links__name, .band__name, .band__mono, .topbar__name {
  font-family: "Chakra Petch", "Inter", sans-serif; font-weight: 700; letter-spacing: 0.3px;
}

/* ---- topbar (wordmark) ---- */
.topbar { align-self: stretch; display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.topbar__name { font-size: 19px; }
.topbar__name::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px;
  background: var(--pink); transform: rotate(45deg); vertical-align: middle;
}
.topbar__jp {
  margin-left: auto; font-size: 11px; color: var(--pink); letter-spacing: 2px;
  border: 1px solid rgba(255, 46, 126, 0.4); border-radius: 999px; padding: 3px 9px;
  transform: rotate(-3deg);
}

/* ---- retrato (capa) ---- */
.portrait {
  position: relative; width: 100%; margin-bottom: 20px;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 14px 14px 0 rgba(255, 46, 126, 0.18), 0 24px 50px rgba(0, 0, 0, 0.5);
}
.portrait__img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  display: block;
  /* encolhe em telas baixas pra sobrar espaço pro texto + botão na 1ª dobra */
  max-height: max(220px, calc(100vh - 360px));
  max-height: max(220px, calc(100svh - 360px));
}
.portrait__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
body.gl-on .portrait__img { visibility: hidden; }

/* ---- textos capa ---- */
.cover__kicker {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
}
.cover__jp {
  color: var(--pink); font-weight: 700; letter-spacing: 2px;
  border: 1px solid rgba(255, 46, 126, 0.4); border-radius: 6px; padding: 2px 7px; font-size: 12px;
}
.cover__name { font-size: clamp(27px, 8vw, 36px); line-height: 1.05; margin: 12px 0 12px; }
.cover__tagline { color: var(--muted); font-size: 16px; max-width: 32ch; margin: 0 auto 28px; }

/* ---- botão poster ---- */
.btn-enter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; max-width: 390px;
  background: var(--pink); color: #fff;
  font-weight: 800; font-size: 16px; letter-spacing: 0.5px; text-transform: uppercase;
  text-decoration: none; padding: 18px 26px;
  border-radius: 14px; border: 2px solid #fff;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
  touch-action: manipulation;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
}
.btn-enter:hover { background: var(--pink-2); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(0,0,0,.55); }
.btn-enter:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(0,0,0,.55); }

/* ===================== 2ª DOBRA — FAIXA ===================== */
.band {
  margin-top: 8px; padding: 34px 22px 38px;
  background:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px) 0 0 / 18px 18px,
    linear-gradient(180deg, var(--bg-2), #0c0917);
  border-top: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  text-align: center;
}
.band__lockup { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 24px; }
.band__seal {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  border: 2px solid var(--pink); margin-bottom: 10px;
  box-shadow: 0 0 0 5px var(--bg-2), 0 6px 16px rgba(0,0,0,.5);
}
.band__name { font-size: 22px; letter-spacing: 1px; }
.band__sub { font-size: 11px; letter-spacing: 5px; text-transform: uppercase; color: var(--muted); }

.cats {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  max-width: 460px; margin: 0 auto;
}
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cat__icon {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px; color: var(--pink);
  background: rgba(255, 46, 126, 0.06);
}
.cat__icon svg { width: 24px; height: 24px; }
.cat__label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); }

/* ===================== PÁGINA DE LINKS ===================== */
.links__photo {
  width: 128px; height: 128px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--pink); box-shadow: 0 10px 30px rgba(0,0,0,.5); margin-bottom: 16px;
}
.links__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.links__name { font-size: 24px; letter-spacing: 0.3px; }
.links__niche { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 2px; }

.socials { display: flex; justify-content: center; gap: 16px; margin: 18px 0 24px; }
.social {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.social:hover { color: var(--pink); border-color: var(--pink); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

.links__list { display: grid; gap: 14px; width: 100%; }
.link-btn {
  position: relative; overflow: hidden;
  display: block; width: 100%; text-align: center; text-decoration: none;
  color: #fff; border: none;
  font-weight: 800; font-size: 15.5px; letter-spacing: 0.3px;
  padding: 18px 20px; border-radius: 16px; background: var(--card);
  box-shadow: 0 8px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.18);
  touch-action: manipulation;
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
/* brilho que varre no hover */
.link-btn::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.42), transparent);
  transform: skewX(-18deg); transition: left 0.6s ease; pointer-events: none;
}
.link-btn:hover { transform: translateY(-3px); filter: brightness(1.06); }
.link-btn:hover::after { left: 150%; }
.link-btn:active { transform: translateY(-1px); }

.link-btn--fatal    { background: linear-gradient(135deg, #ff5a5a, #e00d1c); box-shadow: 0 10px 26px rgba(224,13,28,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.link-btn--privacy  { background: linear-gradient(135deg, #ff9a2b, #ff5e00); box-shadow: 0 10px 26px rgba(255,94,0,.42), inset 0 1px 0 rgba(255,255,255,.25); }
.link-btn--tg       { background: linear-gradient(135deg, #ff5fa2, #ff1f6f); box-shadow: 0 10px 26px rgba(255,46,126,.42), inset 0 1px 0 rgba(255,255,255,.25); }
.link-btn--onlyfans { background: linear-gradient(135deg, #3ec9ff, #0093d6); box-shadow: 0 10px 26px rgba(0,175,240,.42), inset 0 1px 0 rgba(255,255,255,.25); }
.link-btn--fatal:hover    { box-shadow: 0 16px 34px rgba(224,13,28,.55), inset 0 1px 0 rgba(255,255,255,.25); }
.link-btn--privacy:hover  { box-shadow: 0 16px 34px rgba(255,94,0,.52), inset 0 1px 0 rgba(255,255,255,.25); }
.link-btn--tg:hover       { box-shadow: 0 16px 34px rgba(255,46,126,.52), inset 0 1px 0 rgba(255,255,255,.25); }
.link-btn--onlyfans:hover { box-shadow: 0 16px 34px rgba(0,175,240,.52), inset 0 1px 0 rgba(255,255,255,.25); }

/* ---- rodapé ---- */
.site-footer { text-align: center; color: var(--muted); font-size: 12px; padding: 28px 22px 34px; }

@media (prefers-reduced-motion: reduce) {
  .btn-enter, .link-btn, .link-btn::after, .social { transition: none; }
}
