
:root {
  --bg: #0e0f13;
  --bg-2: #14161d;
  --ink: #07080b;
  --card: #171922;
  --card-2: #1e212c;
  --line: #2a2e3a;
  --line-2: #383d4d;
  --text: #f3f4f7;
  --muted: #9aa0ad;
  --muted-2: #6b7180;
  --gold: #f0b429;
  --gold-soft: #f7c95a;
  --gold-deep: #e08a12;
  --rose: #ff5470;
  --violet: #7b5cff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --shadow-gold: 0 10px 34px rgba(240, 180, 41, .22);
  --head-h: 62px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 130vh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 34% at 78% 2%, rgba(240, 180, 41, .20), transparent 62%),
    radial-gradient(42% 32% at 6% 8%, rgba(255, 84, 112, .15), transparent 62%),
    radial-gradient(48% 34% at 46% 44%, rgba(123, 92, 255, .13), transparent 64%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}
/* granulado de filme */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { .glow { animation: none; } }

/* ---------- Cabeçalho + menu ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 15, 19, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.topbar.is-stuck { border-bottom-color: var(--line); background: rgba(10, 11, 15, .88); }
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--head-h);
  padding: 0 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; margin-right: auto; }
.brand:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 10px; }
.brand-mark {
  width: 30px; height: 30px; flex: none;
  filter: drop-shadow(0 4px 12px rgba(240, 180, 41, .38));
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.brand-mark svg { display: block; }
.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 21px;
  letter-spacing: -.035em; line-height: 1;
}
.accent { color: var(--gold); }
.brand-name .accent { margin-left: .1em; }
.brand--footer { margin-right: 0; cursor: default; }
.brand--footer:hover .brand-mark { transform: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  background: none; border: 1px solid transparent; border-radius: 999px;
  color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  padding: 8px 14px; cursor: pointer; white-space: nowrap;
  transition: color .15s, background .15s, border-color .15s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.nav-link.is-on { color: var(--gold); background: rgba(240, 180, 41, .11); border-color: rgba(240, 180, 41, .28); }
.nav-link--fav { display: inline-flex; align-items: center; gap: 6px; }
.nav-badge {
  display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--gold); color: #14140a; border-radius: 999px; font-size: 11.5px; font-weight: 700;
}

.burger {
  display: none;
  width: 40px; height: 40px; flex: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 11px;
  cursor: pointer; padding: 0;
}
.burger span {
  display: block; width: 17px; height: 2px; margin: 3.5px auto;
  background: var(--text); border-radius: 2px; transition: transform .22s, opacity .18s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.burger:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

@media (max-width: 780px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: calc(var(--head-h) - 4px); right: 14px; left: 14px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    padding: 8px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s, transform .18s, visibility .18s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { text-align: left; padding: 12px 14px; font-size: 15.5px; border-radius: 11px; }
  .nav-link--fav { justify-content: flex-start; }
}

.chip-btn {
  position: relative;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s, transform .1s;
}
.chip-btn:hover { border-color: var(--gold); }
.chip-btn:active { transform: scale(.97); }
.badge {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px;
  padding: 0 5px; margin-right: 4px;
  background: var(--gold); color: #14140a;
  border-radius: 999px; font-size: 12px; font-weight: 700;
}

/* ---------- Layout ---------- */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 20px 72px;
}
.view { display: none; animation: fade .35s ease; }
.view.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero { padding: 22px 0 4px; }
@media (min-width: 720px) { .hero { padding: 34px 0 6px; } }
.kicker {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(240, 180, 41, .1); border: 1px solid rgba(240, 180, 41, .26);
  color: var(--gold-soft); border-radius: 999px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 8.4vw, 56px);
  line-height: 1.03;
  letter-spacing: -.035em;
  margin: 16px 0 12px;
  text-wrap: balance;
}
.headline .accent {
  background: linear-gradient(96deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { color: var(--muted); font-size: 16.5px; max-width: 40ch; margin: 0 0 26px; }
@media (min-width: 720px) { .sub { max-width: 54ch; font-size: 17.5px; } }
.sub b { color: var(--text); font-weight: 600; }

/* ---------- Portas ---------- */
.portas { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .portas { grid-template-columns: 1fr 1fr; } }

.porta {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px 20px;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.porta:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.porta:active { transform: translateY(0); }
.porta-emoji { font-size: 30px; }
.porta-title { font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.porta-desc { color: var(--muted); font-size: 14px; }

/* ---------- Access toggles ---------- */
.access-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 26px 0 0;
}
.access-label { color: var(--muted-2); font-size: 13px; margin-right: 4px; }
.toggle {
  background: var(--card); color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-family: var(--font-body); font-weight: 600; font-size: 13px;
  cursor: pointer; transition: all .15s;
}
.toggle.on { background: var(--gold); color: #14140a; border-color: var(--gold); }

.channels-summary { color: var(--muted-2); font-size: 13px; margin-top: 18px; }
.channels-summary b { color: var(--muted); font-weight: 600; }

/* ---------- Blocos de pergunta (inline) ---------- */
.q-block { margin: 0 0 24px; }
.q-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15.5px; margin-bottom: 11px; }
.q-hint { font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--muted-2); }
.chips-channels { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-ch {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 7px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px;
  color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: 13px;
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.chip-ch img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.chip-ch.on { border-color: var(--gold); background: var(--card-2); color: var(--text); }
.access-inline { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Back / titles ---------- */
.back {
  background: none; border: none; color: var(--muted);
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  cursor: pointer; padding: 6px 0; margin: 6px 0 4px;
}
.back:hover { color: var(--text); }
.view-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(22px, 5vw, 30px); letter-spacing: -.02em; margin: 6px 0 18px;
}

/* ---------- Segmented ---------- */
.segmented { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.seg {
  background: none; border: none; color: var(--muted);
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; transition: all .15s;
}
.seg.on { background: var(--gold); color: #14140a; }

/* ---------- Mood grid ---------- */
.mood-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .mood-grid { grid-template-columns: repeat(3, 1fr); } }
.mood {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 18px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  color: var(--text); cursor: pointer; transition: transform .15s, border-color .15s, background .15s;
}
.mood:hover { transform: translateY(-2px); border-color: var(--gold); background: var(--card-2); }
.mood-emoji { font-size: 26px; }
.mood-label { font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.2; }

/* ---------- Search / suggestions ---------- */
.search-box { position: relative; }
#similar-input {
  width: 100%; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; color: var(--text);
  font-family: var(--font-body); font-size: 17px; outline: none; transition: border-color .15s;
}
#similar-input:focus { border-color: var(--gold); }
#similar-input::placeholder { color: var(--muted-2); }

.suggestions { display: grid; gap: 10px; margin-top: 16px; }
.suggestion {
  display: flex; align-items: center; gap: 14px;
  padding: 10px; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; text-align: left;
}
.suggestion:hover { border-color: var(--gold); background: var(--card-2); }
.suggestion img, .suggestion .noimg {
  width: 46px; height: 68px; border-radius: 7px; object-fit: cover; background: var(--card-2); flex: none;
}
.suggestion .noimg { display: grid; place-items: center; color: var(--muted-2); font-size: 20px; }
.suggestion-meta { min-width: 0; }
.suggestion-title { font-weight: 600; font-size: 15px; }
.suggestion-sub { color: var(--muted); font-size: 13px; }

/* ---------- Results ---------- */
.results-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .results-grid { grid-template-columns: 1fr 1fr; } }

.card {
  display: flex; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow); animation: fade .3s ease;
}
.card-poster, .card .noimg {
  width: 104px; height: 156px; border-radius: 10px; object-fit: cover; flex: none; background: var(--card-2);
}
.card .noimg { display: grid; place-items: center; color: var(--muted-2); font-size: 30px; }
.card-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.card-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.2; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0; font-size: 13px; color: var(--muted); }
.rating { color: var(--gold); font-weight: 700; }
.dot { color: var(--muted-2); }
.card-genres { color: var(--muted-2); font-size: 12.5px; }
.card-overview { color: var(--muted); font-size: 13.5px; margin: 8px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.offers { margin-top: auto; }
.offers-label { color: var(--muted-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.offer-logos { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.offer-logos img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; border: 1px solid var(--line); }
.offer-tag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.offer-tag.rent { color: var(--gold-soft); border-color: rgba(240,180,41,.4); }

.card-actions { display: flex; gap: 8px; margin-top: 10px; }
.mini-btn {
  flex: 1; text-align: center; text-decoration: none;
  background: var(--card-2); color: var(--text); border: 1px solid var(--line);
  border-radius: 9px; padding: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .15s;
}
.mini-btn:hover { border-color: var(--gold); }

.results-actions { margin-top: 26px; text-align: center; }
.btn-primary {
  background: var(--gold); color: #14140a; border: none; border-radius: 999px;
  padding: 14px 26px; font-family: var(--font-body); font-weight: 700; font-size: 15px;
  cursor: pointer; transition: transform .1s, box-shadow .15s; box-shadow: 0 6px 20px rgba(240,180,41,.28);
}
.btn-primary:hover { box-shadow: 0 8px 26px rgba(240,180,41,.4); }
.btn-primary:active { transform: scale(.97); }
.btn-primary.block { width: 100%; margin-top: 10px; }

.empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.empty .emoji { font-size: 40px; display: block; margin-bottom: 10px; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(6, 7, 10, .72); backdrop-filter: blur(4px);
  display: grid; place-items: end center; padding: 0;
}
@media (min-width: 620px) { .modal-backdrop { place-items: center; padding: 20px; } }
.modal {
  width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 20px 20px 0 0; padding: 22px 20px 26px;
  animation: slideup .3s ease;
}
@media (min-width: 620px) { .modal { border-radius: 20px; } }
@keyframes slideup { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin: 0; }
.modal-sub { color: var(--muted); font-size: 14px; margin: 6px 0 18px; }
.icon-btn { background: var(--card); border: 1px solid var(--line); color: var(--text); width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 15px; }

.channels-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; }
@media (min-width: 480px) { .channels-grid { grid-template-columns: repeat(4, 1fr); } }
.channel {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 12px 6px; background: var(--card); border: 2px solid var(--line);
  border-radius: 13px; cursor: pointer; transition: border-color .15s, background .15s;
}
.channel.on { border-color: var(--gold); background: var(--card-2); }
.channel img { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; }
.channel span { font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.15; }
.channel.on span { color: var(--text); }

/* ---------- Loading / toast ---------- */
.loading { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: rgba(6,7,10,.5); backdrop-filter: blur(2px); }
.spinner { width: 44px; height: 44px; border: 4px solid rgba(240,180,41,.25); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed; z-index: 40; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: var(--card-2); color: var(--text); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 18px; font-size: 14px; max-width: 90vw;
  box-shadow: var(--shadow); animation: fade .25s ease;
}

/* ---------- Época chips ---------- */
.chips-epoca { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Extras (aclamados / ator / observações) ---------- */
.extra-stack { display: flex; flex-direction: column; gap: 12px; }
.toggle.wide { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 16px; border-radius: 14px; text-align: left; }
.toggle.wide .q-hint { font-weight: 400; }
.toggle.wide.on .q-hint { color: rgba(20, 20, 10, .72); }

.ator-field { position: relative; }
#ator-input, #obs-input {
  width: 100%; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 15px; color: var(--text);
  font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color .15s;
}
#obs-input { resize: vertical; line-height: 1.45; }
#ator-input:focus, #obs-input:focus { border-color: var(--gold); }
#ator-input::placeholder, #obs-input::placeholder { color: var(--muted-2); }
.ator-chip { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; padding: 6px 12px 6px 6px; background: var(--card-2); border: 1.5px solid var(--gold); border-radius: 999px; font-size: 14px; font-weight: 600; }
.ator-chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.ator-chip button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 16px; padding: 0 2px; line-height: 1; }
.ator-chip button:hover { color: var(--rose); }
.suggestion .person-photo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; background: var(--card-2); }
.suggestion .noimg.round { border-radius: 50%; width: 46px; height: 46px; }

/* ---------- Results head ---------- */
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.results-head .back { margin: 0; }

/* ---------- Swipe deck ---------- */
.swipe-deck { max-width: 400px; margin: 4px auto 0; display: flex; flex-direction: column; gap: 16px; --like: #35c26b; --nope: #ff5470; }
.swipe-stack { position: relative; height: min(66vh, 560px); margin-bottom: 34px; } /* espaço p/ os cards de trás (translateY até 24px + sombra) não cobrirem os botões */
.swipe-card {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: var(--card); color: var(--text); border-radius: 18px; overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .5); border: 1px solid var(--line);
  transform-origin: center bottom; transition: transform .35s cubic-bezier(.22, .61, .36, 1);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.swipe-card.is-dragging { transition: none; cursor: grabbing; }
.swipe-card:not(.is-top) { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .swipe-card { transition: none; } }
.swipe-card__poster { position: relative; flex: 0 0 auto; height: 58%; background: #000; }
.swipe-card__poster img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.swipe-card__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--card) 3%, rgba(23, 25, 34, .35) 32%, transparent 56%); }
.swipe-badge { position: absolute; top: 18px; padding: 6px 14px; font-family: var(--font-head); font-weight: 800; letter-spacing: .05em; font-size: 18px; border: 3px solid; border-radius: 10px; opacity: 0; pointer-events: none; text-transform: uppercase; }
.swipe-badge--like { left: 18px; color: var(--like); border-color: var(--like); transform: rotate(-14deg); }
.swipe-badge--nope { right: 18px; color: var(--nope); border-color: var(--nope); transform: rotate(14deg); }
.swipe-card__body { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 7px; padding: 12px 16px 16px; margin-top: -40px; }
.swipe-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.swipe-card__title { font-family: var(--font-head); font-size: 19px; line-height: 1.15; margin: 0; font-weight: 700; }
.swipe-card__year { opacity: .7; font-weight: 400; font-size: 15px; }
.swipe-card__rating { flex: none; font-weight: 700; color: var(--gold); font-size: 15px; }
.swipe-card__genres { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.swipe-card__genres li { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: var(--muted); }
.swipe-card__providers { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-height: 30px; }
.swipe-card__providers .lbl { font-size: 11.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .05em; }
.swipe-card__providers img { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--line); }
.swipe-card__providers .offer-tag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.swipe-card__synopsis { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-right: 4px; }
.swipe-card__synopsis:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.swipe-card__reason { font-size: 12.5px; color: var(--gold-soft); margin: 0; }

.swipe-actions { display: flex; justify-content: center; gap: 16px; position: relative; z-index: 5; }
.swipe-btn { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--line); background: var(--card-2); color: var(--text); font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: transform .12s, border-color .12s; }
.swipe-btn:hover { transform: translateY(-2px); }
.swipe-btn:active { transform: scale(.94); }
.swipe-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.swipe-btn--pass { color: var(--nope); }
.swipe-btn--pass:hover { border-color: var(--nope); }
.swipe-btn--like { color: var(--like); width: 66px; height: 66px; font-size: 26px; }
.swipe-btn--like:hover { border-color: var(--like); }
.swipe-btn--random { color: var(--gold); }
.swipe-btn--random:hover { border-color: var(--gold); }
.swipe-btn--nav { color: var(--text); font-size: 30px; line-height: 1; }
.swipe-btn--nav:hover { border-color: var(--gold); }
.swipe-btn:disabled { opacity: .35; cursor: default; }
.swipe-btn:disabled:hover { border-color: var(--line); transform: none; }
.sb-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sb-lbl { font-size: 11.5px; color: var(--muted-2); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .swipe-btn { transition: none; } }
.swipe-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.swipe-hint { font-size: 12px; color: var(--muted-2); text-align: center; margin: 0; }
.btn-random { align-self: center; background: var(--card-2); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-family: var(--font-body); font-weight: 600; font-size: 14px; cursor: pointer; transition: border-color .15s, transform .1s; }
.btn-random:hover { border-color: var(--gold); }
.btn-random:active { transform: scale(.96); }

/* ---------- Favoritos ---------- */
.favs-list { display: grid; gap: 10px; }
.fav-item { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.fav-item img { width: 44px; height: 66px; border-radius: 7px; object-fit: cover; flex: none; background: var(--card-2); }
.fav-item .fi-body { min-width: 0; flex: 1; }
.fav-item .fi-title { font-weight: 600; font-size: 14px; }
.fav-item .fi-sub { color: var(--muted); font-size: 12.5px; }
.fav-item .fi-rm { background: none; border: none; color: var(--muted-2); cursor: pointer; font-size: 16px; }
.fav-item .fi-rm:hover { color: var(--rose); }
.favs-empty { color: var(--muted); text-align: center; padding: 24px 10px; }

/* ---------- Portas: acabamento ---------- */
.porta {
  transition: transform .18s cubic-bezier(.34, 1.2, .64, 1), border-color .18s, box-shadow .18s, background .18s;
  overflow: hidden;
}
.porta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(240, 180, 41, .16), transparent 58%);
  transition: opacity .22s;
}
.porta:hover::before { opacity: 1; }
.porta:hover { transform: translateY(-4px); border-color: rgba(240, 180, 41, .55); box-shadow: var(--shadow-gold); }
.porta-go {
  position: absolute; right: 18px; bottom: 16px;
  color: var(--gold); font-size: 19px; opacity: 0; transform: translateX(-8px);
  transition: opacity .2s, transform .2s;
}
.porta:hover .porta-go, .porta:focus-visible .porta-go { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .porta, .porta-go, .brand-mark { transition: none; } }

.canais-line {
  margin: 20px 0 0;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: .01em;
  text-align: center;
}

/* ---------- Como funciona ---------- */
.section-title {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2);
  display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
}
.section-title::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--line), transparent);
}
.steps { margin-top: 52px; }
.steps-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px 18px;
}
.step-n {
  display: grid; place-items: center;
  width: 32px; height: 32px; margin-bottom: 12px;
  border: 1.5px solid rgba(240, 180, 41, .45); border-radius: 10px;
  color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 15px;
  background: rgba(240, 180, 41, .08);
}
.step h3 { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; margin: 0 0 6px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }

/* ---------- Rodapé ---------- */
.footer { position: relative; z-index: 1; margin-top: 64px; background: var(--ink); }
.filmstrip {
  position: relative; height: 18px; overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--bg-2), var(--ink));
}
.filmstrip::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 9px 9px, rgba(240, 180, 41, .30) 0 2.6px, transparent 3.2px);
  background-size: 24px 18px;
}
.footer__inner {
  max-width: 1040px; margin: 0 auto;
  padding: 36px 20px 26px;
  display: grid; gap: 28px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px 34px; } }
@media (min-width: 940px) { .footer__inner { grid-template-columns: 1.35fr 1fr 1fr 1fr; } }
.f-tag { color: var(--muted); font-size: 14.5px; margin: 12px 0 8px; max-width: 30ch; line-height: 1.5; }
.f-made { color: var(--muted-2); font-size: 13px; margin: 0; }
.f-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.f-col h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: 0 0 2px;
}
.f-col p { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.6; }
.f-col a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid rgba(247, 201, 90, .3); }
.f-col a:hover { border-bottom-color: var(--gold); }
.f-link {
  background: none; border: none; padding: 0;
  color: var(--muted); font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; text-align: left; transition: color .15s;
}
.f-link:hover { color: var(--gold); }
.f-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .06);
  max-width: 1040px; margin: 0 auto;
  padding: 16px 20px 30px;
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between;
}
.footer__bar p { margin: 0; color: var(--muted-2); font-size: 12.5px; }
.footer__bar a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.footer__bar a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.f-legal { max-width: 62ch; }

/* ---------- Rodapé do card: link + compartilhar ---------- */
.swipe-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 8px;
}
.swipe-card__link { flex: none; }
.card-share {
  flex: none;
  background: rgba(240, 180, 41, .11);
  border: 1px solid rgba(240, 180, 41, .32);
  color: var(--gold-soft);
  border-radius: 999px; padding: 7px 14px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .1s;
}
.card-share:hover { background: rgba(240, 180, 41, .2); border-color: var(--gold); }
.card-share:active { transform: scale(.96); }
.card-share:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Página de texto (privacidade) ---------- */
.pagina { max-width: 740px; margin: 0 auto; padding: 30px 20px 20px; }
.pagina h1 {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(28px, 6vw, 40px); margin: 8px 0 6px;
}
.pagina .data { color: var(--muted-2); font-size: 13.5px; margin: 0 0 26px; }
.pagina h2 {
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  margin: 30px 0 8px; color: var(--text);
}
.pagina p, .pagina li { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.pagina ul { padding-left: 20px; }
.pagina li { margin-bottom: 7px; }
.pagina a { color: var(--gold-soft); }
.pagina strong { color: var(--text); font-weight: 600; }
.destaque {
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid rgba(240, 180, 41, .28); border-radius: var(--radius);
  padding: 16px 18px; margin: 22px 0;
}
.destaque p { margin: 0; color: var(--text); }

/* ---------- Avisos e estados descobertos na revisão ---------- */
.aviso-canais {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: rgba(255, 84, 112, .09);
  border: 1px solid rgba(255, 84, 112, .3);
  border-radius: 12px;
  color: #ffb3c0;
  font-size: 13.5px;
}
.btn-primary:disabled {
  opacity: .45; cursor: not-allowed; box-shadow: none; transform: none;
}
.btn-primary:disabled:hover { box-shadow: none; }

.results-note {
  margin: -6px 0 18px;
  padding: 10px 14px;
  background: rgba(240, 180, 41, .09);
  border: 1px solid rgba(240, 180, 41, .28);
  border-radius: 12px;
  color: var(--gold-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.sug-status { color: var(--muted-2); font-size: 14px; padding: 14px 4px; margin: 0; }

/* espera dentro da pilha de cards */
.swipe-carregando {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  color: var(--muted); text-align: center; padding: 20px;
}
.swipe-carregando p { margin: 0; font-size: 14px; }

/* estado vazio com saída */
.empty-emoji { font-size: 40px; display: block; margin-bottom: 10px; }
#results-empty p { margin: 0 auto; max-width: 34ch; }
.empty-acoes {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-top: 22px;
}

/* carregando com mensagem */
.loading-box {
  display: grid; justify-items: center; gap: 16px;
  background: rgba(14, 15, 19, .82);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 30px; max-width: 82vw;
}
.loading-box p { margin: 0; color: var(--muted); font-size: 14.5px; text-align: center; }

/* ---------- Passe de 30 dias ---------- */
.nav-link--passe { color: var(--gold-soft); border-color: rgba(240, 180, 41, .35); }
.nav-link--passe.is-ativo { color: var(--gold); background: rgba(240, 180, 41, .1); }

.cota {
  margin: 0 0 14px; padding: 9px 14px;
  background: rgba(240, 180, 41, .07); border: 1px solid rgba(240, 180, 41, .22);
  border-radius: 12px; color: var(--muted); font-size: 13.5px;
}
.cota b { color: var(--text); }
.link-btn {
  background: none; border: none; padding: 0; margin: 0;
  color: var(--gold-soft); font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(247, 201, 90, .4); text-underline-offset: 3px;
}
.link-btn:hover { color: var(--gold); text-decoration-color: var(--gold); }
.link-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.modal--passe { max-width: 440px; }
.passe-ativo {
  margin: 14px 0 6px; padding: 14px 16px;
  background: rgba(53, 194, 107, .09); border: 1px solid rgba(53, 194, 107, .35); border-radius: 14px;
}
.passe-ativo p { margin: 0 0 6px; color: var(--text); font-size: 15px; }
.passe-ativo .q-hint { margin: 4px 0 0; }
.passe-codigo code {
  display: inline-block; margin-left: 6px; padding: 5px 12px;
  background: var(--bg); border: 1px dashed rgba(240, 180, 41, .6); border-radius: 9px;
  color: var(--gold); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; letter-spacing: .12em;
  user-select: all;
}
.passe-oferta { margin-top: 14px; }
.passe-preco { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 12px; }
.passe-valor { font-family: var(--font-head); font-weight: 800; font-size: 40px; letter-spacing: -.03em; color: var(--gold); line-height: 1; }
.passe-por { color: var(--muted); font-size: 15px; }
.passe-lista { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.passe-lista li { position: relative; padding-left: 24px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.passe-lista li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.passe-erro {
  margin: 12px 0 0; padding: 10px 14px;
  background: rgba(255, 84, 112, .09); border: 1px solid rgba(255, 84, 112, .3); border-radius: 12px;
  color: #ffb3c0; font-size: 13.5px;
}
.passe-legal { margin: 14px 0 0; color: var(--muted-2); font-size: 12px; line-height: 1.55; }
.passe-legal a { color: var(--muted); }
.passe-codigo-area { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.codigo-box { display: flex; gap: 8px; margin-top: 10px; }
.codigo-box input {
  flex: 1; min-width: 0; padding: 10px 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 11px; color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; letter-spacing: .12em; text-transform: uppercase;
}
.codigo-box input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

.footer__empresa {
  max-width: 1040px; margin: 0 auto; padding: 0 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 18px;
}
.footer__empresa p { margin: 0 0 4px; color: var(--muted-2); font-size: 12.5px; line-height: 1.55; }
.footer__empresa b { color: var(--muted); font-weight: 600; }
.footer__empresa a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.footer__empresa a:hover { color: var(--gold); border-bottom-color: var(--gold); }

[hidden] { display: none !important; }
