@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #111218;
  --bg2: #1d1536;
  --card: rgba(20, 24, 33, 0.72);
  --stroke: rgba(240, 233, 245, 0.12);
  --white: #f0e9f5;
  --muted: rgba(240, 233, 245, 0.7);
  --purple: #6d46e2;
  --purple2: rgba(109, 70, 226, 0.35);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --r: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: var(--white);
}

body {
  background: linear-gradient(to top, var(--bg2), var(--bg) 40%);
  min-height: 100vh;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   TOP HEADER (sem hero)
========================= */
.top-header {
  padding-top: 22px;
  padding-bottom: 10px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  width: 180px;
}

.profile-pic {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--purple);
  background-image: url("https://i.ibb.co/8gJLwqv3/logo-lefoco-profile.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(240, 233, 245, 0.18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.top-headline {
  margin-top: 14px;
  padding-bottom: 6px;
}

/* =========================
   SECTION
========================= */
.section {
  margin-top: 26px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* =========================
   CHIPS (Explorar)
========================= */
.chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  height: 0;
}

.chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(20, 24, 33, 0.55);
  backdrop-filter: blur(6px);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
}

.chip small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}

.chip span {
  font-size: 14px;
  font-weight: 600;
}

.chip:hover {
  transform: translateY(1px);
  border-color: rgba(109, 70, 226, 0.35);
}

.chip.active {
  border-color: rgba(109, 70, 226, 0.55);
  background: rgba(109, 70, 226, 0.18);
}

/* =========================
   LINKS GRID (POSTER VERTICAL)
   - mobile: 2 por linha
   - desktop: 3 por linha
========================= */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 900px) {
  .links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.link-card {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(240, 233, 245, 0.12);
  background: rgba(20, 24, 33, 0.55);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
  transform: translateZ(0);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.link-card:hover {
  transform: scale(1.04);
  border-color: rgba(109, 70, 226, 0.45);
}

.link-bg {
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  /* transform: scale(1.08);
  filter: saturate(1.15) contrast(1.05); */
}

/* Mantém o visual limpo mesmo com imagens provisórias */
.link-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      600px 300px at 50% 0%,
      rgba(109, 70, 226, 0.18),
      transparent 60%
    ),
    linear-gradient(
      to top,
      rgba(17, 18, 24, 0.98) 24%,
      rgba(17, 18, 24, 0.7) 52%,
      rgba(17, 18, 24, 0.22) 80%
    );
}

/* topo do poster */
.link-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}

.brand-mini {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
}

.brand-mini i {
  font-size: 17px;
  opacity: 0.95;
}

.badge {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* conteúdo inferior */
.link-content {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  z-index: 3;
}

.link-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (min-width: 900px) {
  .link-title {
    font-size: 18px;
  }
}

.link-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

.link-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 6px;
}

.play-lg {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--purple);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 14px 40px rgba(109, 70, 226, 0.65);
  position: relative;
  transition: transform 0.2s ease;
}

.link-card:hover .play-lg {
  transform: scale(1.1);
}

/* Ripple animado */
.play-lg::before,
.play-lg::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 2px solid rgba(109, 70, 226, 0.35);
  opacity: 0;
  transform: scale(0.72);
  pointer-events: none;
}

.link-card:hover .play-lg::before {
  animation: ripple 1.15s ease-out infinite;
}

.link-card:hover .play-lg::after {
  animation: ripple 1.15s ease-out infinite;
  animation-delay: 0.38s;
}

@keyframes ripple {
  0% {
    opacity: 0.35;
    transform: scale(0.72);
  }
  70% {
    opacity: 0.12;
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

/* Pulse no ícone */
.link-card:hover .play-lg i {
  animation: pulse 0.9s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* acessibilidade */
@media (prefers-reduced-motion: reduce) {
  .link-card,
  .play-lg,
  .play-lg::before,
  .play-lg::after,
  .play-lg i {
    animation: none !important;
    transition: none !important;
  }
}

.footer-space {
  height: 28px;
}

@media screen and (max-width: 500px) {
  .link-sub,
  .play-lg,
  .play-lg i {
    display: none;
  }

}