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

:root {
  --bg: #000000;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --text: #f0f0f0;
  --text-muted: rgba(240, 240, 240, 0.55);
  --accent: #4da6ff;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.page > .footer {
  margin-top: auto;
}

/* Focus ring for keyboard navigation */
a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* Cover */



/* Profile */






/* Hero */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 28%,
    rgba(0, 0, 0, 0.5) 62%,
    rgba(0, 0, 0, 0.88) 84%,
    var(--bg) 99%
  );
}

.hero__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 1.5rem 1rem;
  text-align: center;
}

.hero__name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.hero__check {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.hero__handle {
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

/* Bio */
.bio {
  padding: 1.15rem 1.75rem 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.45;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 2rem 1.5rem 1rem;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.link-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.link-btn__icon {
  display: block;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
}

.link-btn__logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  display: block;
}

.link-btn__logo--round {
  border-radius: 50%;
}

.link-btn__text {
  flex: 1;
  text-align: left;
}

.link-btn__arrow {
  opacity: 0.4;
  font-size: 1.1rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.link-btn:hover .link-btn__arrow {
  opacity: 0.7;
  transform: translateX(3px);
}

/* Teaser card */
.teaser {
  display: block;
  position: relative;
  margin: 1.5rem 1rem 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.teaser:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.teaser:active {
  transform: translateY(0);
}

.teaser__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.teaser:hover .teaser__image {
  transform: scale(1.04);
}

.teaser__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    transparent 30%
  );
}








.teaser__icon {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  display: block;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
}


.teaser__tap {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  animation: teaser-tap 3.2s ease-in-out infinite;
}

.teaser__tap-arrow {
  transition: transform 0.2s ease;
}

.teaser:hover .teaser__tap-arrow {
  transform: translateX(3px);
}

@keyframes teaser-tap {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Secret page */
.shero {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 640;
  overflow: hidden;
}

.shero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.shero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    transparent 24%,
    rgba(0, 0, 0, 0.6) 66%,
    var(--bg) 99%
  );
}

.shero__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 1.5rem 1.1rem;
  text-align: center;
}

.shero__title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.shero__sub {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.back--float {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  margin: 0;
  background: rgba(0, 0, 0, 0.62);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}

.page--secret .links {
  padding-top: 1.5rem;
}

.page--secret .link-btn__arrow {
  color: var(--accent);
  opacity: 0.85;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin: 0 1.5rem;
  padding: 0.5rem 0.9rem 0.5rem 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.back:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.back__arrow {
  font-size: 1rem;
}






/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}


/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Interstitial de saída do navegador in-app */
.page--gate {
  justify-content: center;
}

.gate {
  text-align: center;
  padding: 2rem 1.5rem;
}

.gate__spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-bottom: 1.25rem;
  border: 2px solid var(--border);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: gate-spin 0.8s linear infinite;
}

@keyframes gate-spin {
  to { transform: rotate(360deg); }
}








