/* Uses the colors, typography, cards, and buttons established by Legends. */
.collections { width: min(1120px, 100%); margin: 0 auto; padding: 54px 28px 64px; }
.collections-hero { text-align: center; margin: 0 auto 38px; }
.collections-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: #61417d; }
.collections h1 { font-family: "Bebas Neue", sans-serif; font-size: clamp(40px, 5.5vw, 64px); line-height: 1; letter-spacing: 2px; margin: 12px 0; }
.collections-intro { font-size: 16px; font-weight: 800; line-height: 1.6; }
.collections-sub { max-width: 580px; margin: 8px auto 0; font-size: 14px; line-height: 1.7; font-weight: 600; color: #543969; }
.collections-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; list-style: none; }
.collection-card { grid-column: span 2; display: flex; flex-direction: column; min-width: 0; background: var(--bg-dark); border: 1px solid #6e488e; border-radius: 16px; padding: 24px; box-shadow: 0 8px 18px #2d1b4e12; color: var(--text-light); }
.collection-card--featured { grid-column: span 3; }
.collection-card--start { border-color: var(--accent); }
.collection-labels { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.collection-pill { padding: 4px 8px; border-radius: 999px; background: var(--bg-card); border: 1px solid #6e488e; color: #e0c9ee; font-size: 10px; line-height: 1.4; font-weight: 800; letter-spacing: .6px; }
.collection-pill--start { background: var(--accent); color: var(--text-dark); border-color: var(--accent); }
.collection-count { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; color: #cfbadd; font-size: 12px; font-weight: 800; letter-spacing: 1px; margin-bottom: 16px; }
.collection-count strong { font-family: "Bebas Neue", sans-serif; color: var(--accent); font-size: 56px; line-height: 1; font-weight: 400; letter-spacing: .5px; }
.collection-card h2 { font-family: "Bebas Neue", sans-serif; font-size: 32px; font-weight: 400; letter-spacing: .8px; line-height: 1.1; margin: 0; }
.collection-description { color: #cfbadd; font-size: 14px; line-height: 1.65; margin-bottom: 24px; }
.collection-button { display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--accent); color: #26123e; border-radius: 8px; padding: 12px; margin-top: auto; text-decoration: none; font-size: 12px; font-weight: 800; line-height: 1.5; transition: background .15s, transform .15s; }
.collection-button span { margin-left: auto; }
.collection-button:hover { background: #ffbd54; transform: translateY(-2px); }
.collections-more { display: flex; align-items: center; justify-content: center; gap: 24px; border-top: 1px solid #a88abc; margin-top: 38px; padding-top: 28px; }
.collections-more .collection-button { margin-top: 0; flex-shrink: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.collections-more a:focus-visible { outline-color: var(--bg-dark); }
/* Preserve the site's menu on shorter screens and keep every link reachable. */
.mobile-menu { overflow-y: auto; justify-content: flex-start; padding: 72px 20px 32px; }
@media (max-width: 1000px) {
  .collections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-card, .collection-card--featured { grid-column: auto; }
}
@media (max-width: 700px) {
  .collections { padding: 36px 20px; }
  .collections-hero { margin-bottom: 30px; }
  .collections-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  nav { padding: 0 .5rem; }
  .spuddies-pill { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .collection-button { transition: none; }
  .collection-button:hover { transform: none; }
}

.collections-other { margin-top: 38px; text-align: center; }
.collections-other h2 { font-family: "Bebas Neue", sans-serif; font-size: 25px; letter-spacing: 1px; font-weight: 400; margin-bottom: 16px; }
#collection-pills { width: 100%; justify-content: center; }
.collection-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.collection-pills li { max-width: 100%; }
.collection-pill-link { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--pill-bg); border: 1px solid #6e488e; color: var(--text-light); font-size: 12px; font-weight: 800; line-height: 1.5; text-decoration: none; transition: border-color .15s, background .15s; }
.collection-pill-link:hover { border-color: var(--accent); background: var(--bg-card); }
.collection-pill-count { color: var(--accent); white-space: nowrap; }

.membership-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: -14px auto 30px; }
.membership-pills li { text-align: center; }
.membership-pills .collection-pill-link { justify-content: center; }
.tier-access { margin: 10px auto 0; max-width: 260px; font-size: 13px; line-height: 1.5; font-weight: 700; color: #543969; }
@media (max-width: 700px) {
  .membership-pills { grid-template-columns: 1fr; max-width: 320px; }
}

.counts-updated { text-align: center; margin-top: 24px; font-size: 12px; line-height: 1.5; color: #543969; }
