/* Shopify-faithful homepage static sections. */

.bbb-romance-lists {
  background: #0b0b0b;
  padding: 35px 20px 70px;
  color: #f6f6f6;
}

.bbb-romance-lists__inner {
  max-width: 1100px;
  margin: auto;
}

.bbb-romance-lists__head {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(-2.4rem);
  animation: listsHeadDrop 0.75s ease forwards;
}

.bbb-romance-lists__kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}

.bbb-romance-lists__title {
  font-size: 32px;
  margin-top: 6px;
}

.bbb-romance-lists__sub {
  font-size: 14px;
  opacity: 0.65;
  margin-top: 8px;
}

.bbb-romance-lists__shelf {
  display: flex;
  flex-direction: column;
  position: relative;
}

.bbb-romance-lists__spine {
  margin-top: -6px;
  display: flex;
  align-items: center;
  padding: 16px 22px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  text-decoration: none;
  color: #f6f6f6;
  font-family: "Libre Baskerville", serif;
  transition: all 0.2s ease;
  opacity: 0;
  transform: translateY(-28px) scale(0.96);
  animation: spineDrop 0.6s ease forwards;
}

.bbb-romance-lists__spine:hover {
  transform: translateX(4px);
  border-color: #ff8ac7;
  box-shadow: 0 0 18px rgba(255, 138, 199, 0.25);
}

.bbb-romance-lists__number {
  font-size: 16px;
  opacity: 0.5;
  width: 26px;
}

.bbb-romance-lists__name {
  font-size: 18px;
  line-height: 1.4;
}

.bbb-romance-lists__cta {
  margin-top: 30px;
}

.bbb-romance-lists__cta a {
  color: #ff8ac7;
  text-decoration: none;
  font-size: 14px;
}

.bbb-romance-lists__spine:nth-child(1) { animation-delay: 0.1s; }
.bbb-romance-lists__spine:nth-child(2) { animation-delay: 0.2s; }
.bbb-romance-lists__spine:nth-child(3) { animation-delay: 0.3s; }
.bbb-romance-lists__spine:nth-child(4) { animation-delay: 0.4s; }
.bbb-romance-lists__spine:nth-child(5) { animation-delay: 0.5s; }

@keyframes spineDrop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes listsHeadDrop {
  to { opacity: 1; transform: translateY(0); }
}

.bbb-quiz-nudge {
  padding: 0 16px;
  margin: 24px auto 0;
  font-family: "Libre Baskerville", Georgia, serif;
}

.bbb-quiz-nudge__wrap {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.bbb-quiz-nudge__wrap::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(760px 360px at 30% 0%, rgba(255, 255, 255, 0.08), transparent 65%),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 26px);
  opacity: 0.55;
  pointer-events: none;
}

.bbb-quiz-nudge__wrap > * {
  position: relative;
  z-index: 1;
}

.bbb-quiz-nudge__kicker {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 246, 246, 0.6);
  margin: 0;
}

.bbb-quiz-nudge__title {
  margin: 10px 0 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.25em;
  flex-wrap: wrap;
}

.bbb-quiz-nudge__script {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 26px;
  opacity: 0.9;
}

.bbb-quiz-nudge__main {
  font-size: 20px;
  font-weight: 400;
  text-transform: lowercase;
}

.bbb-quiz-nudge__sub {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(246, 246, 246, 0.72);
  max-width: 64ch;
}

.bbb-quiz-nudge__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 180px;
}

.bbb-quiz-nudge__btn {
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  background: #ff8ac7;
  color: #0b0b0b;
  border: 1px solid #ff8ac7;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.16s ease, letter-spacing 0.16s ease;
  white-space: nowrap;
}

.bbb-quiz-nudge__btn:hover {
  transform: translateY(-2px);
  letter-spacing: 0.19em;
}

.bbb-quiz-nudge__tiny {
  font-size: 11px;
  color: rgba(246, 246, 246, 0.6);
  margin: 0;
  text-align: right;
}

#bbb-connect-home.bbb-connect-cards {
  --ink: #111111;
  background: #000;
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.8rem, 4vw, 3.2rem) 1rem clamp(3rem, 6vw, 4.8rem);
  font-family: "Cormorant", serif;
  margin-top: -1.4rem;
}

#bbb-connect-home .bbb-connect-cards__inner {
  max-width: 1150px;
  margin: 0 auto;
  opacity: 0;
  transform: translateX(-4.2rem);
  animation: bbbConnectSlideIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#bbb-connect-home .bbb-connect-cards__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 28px);
  margin-bottom: clamp(1.4rem, 2.4vw, 2.2rem);
}

#bbb-connect-home .bbb-connect-cards__title {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  white-space: nowrap;
}

#bbb-connect-home .bbb-lets {
  font-family: "Great Vibes", cursive;
  font-size: clamp(4.6rem, 8vw, 7.2rem);
  transform: translateY(0.12em);
  color: #fff;
}

#bbb-connect-home .bbb-word {
  font-size: clamp(3rem, 5.5vw, 4.2rem);
  text-transform: lowercase;
  font-weight: 600;
}

#bbb-connect-home .bbb-connect-cards__sub {
  margin: 0;
  max-width: 520px;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  opacity: 0.9;
  text-align: left;
}

#bbb-connect-home .bbb-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 26px);
}

#bbb-connect-home .libcard {
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease;
  opacity: 0;
  transform: translateY(26px);
  animation: bbbConnectCardIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--bbb-card-delay, 0s);
  will-change: transform, opacity;
  height: 100%;
}

#bbb-connect-home .libcard:hover { transform: translateY(-4px); }

#bbb-connect-home .libcard__paper {
  background: #fff;
  background-image: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 0, rgba(0, 0, 0, 0.08) 1px, transparent 1px, transparent 28px);
  border: 2px solid #111;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
  padding: 28px;
  min-height: 320px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

#bbb-connect-home .libcard__hole {
  width: 18px;
  height: 18px;
  border: 2px solid #111;
  border-radius: 50%;
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.85);
}

#bbb-connect-home .libcard__platform {
  font-size: 2.2rem;
  font-weight: 600;
  display: flex;
  gap: 12px;
  align-items: center;
}

#bbb-connect-home .libcard__ico { width: 34px; height: 34px; color: #111; }
#bbb-connect-home .libcard__handle { font-size: 1.8rem; opacity: 0.85; display: block; margin-top: 6px; }

#bbb-connect-home .libcard__body {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

#bbb-connect-home .libcard__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 1.7rem;
  gap: 12px;
}

#bbb-connect-home .libcard__row span:first-child { flex: 0 0 auto; }
#bbb-connect-home .libcard__row span:last-child { text-align: right; opacity: 0.9; }

#bbb-connect-home .libcard:hover .libcard__paper {
  background: #ff8ac7 !important;
  border-color: #ff8ac7 !important;
  background-image: none !important;
  color: #111 !important;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.38) !important;
}

#bbb-connect-home .libcard:hover .libcard__ico,
#bbb-connect-home .libcard:hover .libcard__platform,
#bbb-connect-home .libcard:hover .libcard__handle,
#bbb-connect-home .libcard:hover .libcard__row {
  color: #111 !important;
}

#bbb-connect-home .libcard:hover .libcard__hole {
  border-color: #111 !important;
  background: rgba(255, 255, 255, 0.65) !important;
}

#bbb-connect-home .bbb-swipe-hint { display: none; }

@keyframes bbbConnectSlideIn {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bbbConnectCardIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  #bbb-connect-home .bbb-connect-cards__header {
    flex-direction: column;
    align-items: flex-start;
  }

  #bbb-connect-home .bbb-connect-cards__sub { max-width: 820px; }
}

@media (max-width: 749px) {
  .bbb-quiz-nudge__wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .bbb-quiz-nudge__right {
    width: 100%;
    align-items: flex-start;
  }

  .bbb-quiz-nudge__btn {
    width: 100%;
    text-align: center;
  }

  .bbb-quiz-nudge__tiny { text-align: left; }

  #bbb-connect-home.bbb-connect-cards {
    margin-top: -1rem;
    padding-top: 1.4rem;
  }

  #bbb-connect-home .bbb-card-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 16px !important;
    padding: 0 10px !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  #bbb-connect-home .bbb-card-row::-webkit-scrollbar { display: none; }

  #bbb-connect-home .libcard {
    flex: 0 0 72% !important;
    scroll-snap-align: center;
  }

  #bbb-connect-home .libcard__paper {
    min-height: 220px;
    height: 220px;
    padding: 18px 16px;
    border-radius: 14px;
  }

  #bbb-connect-home .libcard__platform {
    font-size: 1.7rem;
    gap: 8px;
  }

  #bbb-connect-home .libcard__ico {
    width: 24px;
    height: 24px;
  }

  #bbb-connect-home .libcard__handle {
    font-size: 1.4rem;
    margin-top: 4px;
  }

  #bbb-connect-home .libcard__body { margin-top: 12px; }

  #bbb-connect-home .libcard__row {
    font-size: 1.35rem;
    line-height: 1.45;
  }

  #bbb-connect-home .bbb-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    opacity: 0.9;
  }

  #bbb-connect-home .bbb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
  }

  #bbb-connect-home .bbb-hint-text {
    font-size: 1.4rem;
    letter-spacing: 0.02em;
  }
}
