/* ==========================================================================
   Diogo Feitosa — Página de Links (link-in-bio)
   ========================================================================== */

.links-body { background: var(--bg); }

.links-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 48px 20px;
}

.links-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.links-carousel { padding-top: 4px; }

/* Every slide here is a real Behance project cover (808:632), so the
   default .carousel__slide ratio from style.css already matches exactly. */

/* Identidades Visuais: every source image has a different ratio, so instead
   of natural sizing (which gives every slide a different box) all slides
   share one fixed 16:9 box and the image fits inside without cropping. */
.identity-carousel .carousel__slide {
  aspect-ratio: 16 / 9;
  background: var(--surface);
}
.identity-carousel .carousel__slide img {
  height: 100%;
  object-fit: contain;
}

/* This one slide's source image doesn't fill a 16:9 box under "contain"
   (visible letterboxing), so scale it up to cover the whole rectangle. */
.identity-carousel .carousel__slide--fill img {
  width: 100%;
  object-fit: cover;
}

.carousel__slide--glow {
  border-color: rgba(143, 107, 255, 0.35);
  box-shadow: 0 0 24px -6px rgba(143, 107, 255, 0.45);
}
.carousel__slide--glow:hover {
  border-color: rgba(143, 107, 255, 0.6);
  box-shadow: 0 0 32px -6px rgba(143, 107, 255, 0.65);
}

.links-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 40px -10px rgba(255, 255, 255, 0.3);
}
.links-photo img { width: 100%; height: 100%; object-fit: cover; }

.links-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin: 0;
}

.links-tagline {
  color: var(--text-2);
  font-size: 14px;
  margin: -10px 0 0;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 17px 22px;
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.link-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}
.link-item__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-2);
  transition: transform 0.35s var(--ease);
}
.link-item:hover .link-item__arrow { transform: translateX(3px); }

.link-item--featured {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-color: transparent;
}
.link-item--featured .link-item__arrow { color: #fff; }
.link-item--featured:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 30px -8px rgba(143, 107, 255, 0.6);
}

.links-copy {
  color: var(--text-3);
  font-size: 12px;
  margin-top: 8px;
}

@media (max-width: 480px) {
  .links-page { padding: 32px 20px; }
}
