:root {
  --bg-0: #071310;
  --bg-1: #0b1d18;
  --bg-2: #102a23;
  --panel-1: rgba(16, 42, 35, 0.82);
  --panel-2: rgba(9, 24, 20, 0.9);
  --card-top: rgba(19, 49, 40, 0.88);
  --card-bottom: rgba(10, 24, 20, 0.94);
  --line: rgba(183, 232, 211, 0.16);
  --line-strong: rgba(219, 255, 243, 0.24);
  --text-main: #eef8f4;
  --text-soft: rgba(226, 241, 235, 0.78);
  --text-muted: rgba(207, 228, 220, 0.62);
  --emerald: #46c59a;
  --emerald-2: #2e9e79;
  --emerald-3: #8de0bf;
  --gold: #d7c18a;
  --gold-bright: #f1e2a0;
  --shadow-1: 0 18px 40px rgba(0, 0, 0, 0.34);
  --shadow-2: 0 28px 70px rgba(0, 0, 0, 0.46);
  --inner-light: inset 0 1px 0 rgba(255,255,255,0.08);
  --inner-dark: inset 0 -18px 28px rgba(0,0,0,0.2);
}

* { box-sizing: border-box; }

html { background: var(--bg-0); scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at top center, rgba(70, 197, 154, 0.08), transparent 28%),
    radial-gradient(circle at 20% 0%, rgba(215, 193, 138, 0.06), transparent 22%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 42%, var(--bg-2) 100%);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

header { position: relative; text-align: center; color: white; }

header img.banner {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0 0 24px 24px;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.top-social-bar {
  background: linear-gradient(180deg, rgba(18, 58, 48, 0.96), rgba(9, 28, 23, 0.96));
  min-height: 1cm;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 28px rgba(0,0,0,0.2);
}

.top-social-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
}

.top-social-bar a {
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}
.top-social-bar a:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.12);
  opacity: 1;
}

.container {
  max-width: calc(100% - 576px);
  margin: 0 auto;
}

nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 14px;
  margin-top: 14px;
  background: linear-gradient(180deg, rgba(17, 52, 43, 0.74), rgba(9, 25, 21, 0.8));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  flex-wrap: wrap;
  box-shadow: 0 16px 36px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
}

nav a {
  position: relative;
  color: #f3fbf8;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 12px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
nav a:hover,
nav a:focus-visible,
nav a.is-active {
  color: white;
  background: linear-gradient(180deg, rgba(54, 157, 123, 0.28), rgba(32, 101, 79, 0.22));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 10px 20px rgba(0,0,0,0.18);
  transform: translateY(-1px);
  outline: none;
}
nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(141, 224, 191, 0.85), transparent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
nav a:hover::after,
nav a:focus-visible::after,
nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

#collecting-journey {
  background:
    radial-gradient(circle at top left, rgba(141, 224, 191, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(12, 31, 26, 0.9), rgba(8, 18, 15, 0.96));
  padding: 60px 20px;
  color: var(--text-main);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), inset 0 -20px 40px rgba(0,0,0,0.15);
}

#collecting-journey .journey-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

#collecting-journey .left,
#collecting-journey .right {
  flex: 1;
  padding: 28px 30px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(22, 56, 46, 0.7), rgba(8, 20, 17, 0.88));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -20px 24px rgba(0,0,0,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#collecting-journey h2 {
  margin-bottom: 16px;
  font-size: 2rem;
  color: #f6fcfa;
  text-align: left;
  letter-spacing: -0.02em;
}

#collecting-journey p {
  line-height: 1.8;
  font-size: 1.03rem;
  color: var(--text-soft);
  text-align: left;
}

main { flex: 1; padding: 48px 20px 56px; }

h2 {
  color: #f6fcfa;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
}

.page-header { margin-bottom: 8px; }
.page-subtitle {
  margin: 0 0 24px;
  color: var(--text-soft);
  line-height: 1.6;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  cursor: pointer;
  background: linear-gradient(180deg, var(--card-top), var(--card-bottom));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1), var(--inner-light), var(--inner-dark);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, filter 0.35s ease;
}

/* moving metallic light sweep */
.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -135%;
  width: 58%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.08) 20%,
    rgba(241, 226, 160, 0.18) 48%,
    rgba(255,255,255,0.10) 62%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 2;
  transition: left 0.72s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.18));
  pointer-events: none;
  z-index: 1;
}

.gallery-item:hover::before {
  left: 145%;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.012);
  border-color: var(--line-strong);
  box-shadow:
    var(--shadow-2),
    0 0 0 1px rgba(141, 224, 191, 0.08),
    0 0 25px rgba(241, 226, 160, 0.18),
    0 0 40px rgba(70, 197, 154, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -18px 28px rgba(0,0,0,0.24);
  filter: brightness(1.03);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: saturate(1.03) contrast(1.03) drop-shadow(0 14px 18px rgba(0,0,0,0.18));
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.05) drop-shadow(0 18px 26px rgba(0,0,0,0.22));
}

.caption {
  position: relative;
  z-index: 2;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(16, 48, 40, 0.9), rgba(8, 21, 18, 0.96));
  color: #fff;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.caption h3 {
  margin: 4px 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f7fcfb;
}
.caption p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 10, 8, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
  padding: 24px;
  box-sizing: border-box;
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: none;
}
.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 18px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 10px 14px;
  user-select: none;
  line-height: 1;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(31, 65, 54, 0.62), rgba(8, 18, 15, 0.8));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.lightbox .close:hover,
.lightbox .prev:hover,
.lightbox .next:hover {
  background: linear-gradient(180deg, rgba(42, 93, 77, 0.72), rgba(10, 25, 21, 0.88));
  border-color: rgba(255,255,255,0.16);
}
.lightbox .close {
  top: 24px;
  right: 24px;
  font-size: 2.3rem;
  transform: none;
}
.lightbox .prev { left: 30px; }
.lightbox .next { right: 30px; }

#lightbox-caption {
  color: #fff;
  margin-top: 18px;
  font-size: 1rem;
  text-align: center;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(28, 63, 53, 0.54), rgba(8, 18, 15, 0.74));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

footer {
  text-align: center;
  padding: 25px;
  font-size: 1rem;
  color: var(--text-muted);
  background: linear-gradient(180deg, rgba(16, 40, 33, 0.82), rgba(8, 18, 15, 0.94));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

/* CONTACT FORM */
.contact-card{
  max-width:820px;
  margin:0 auto;
  padding:30px;
  border-radius:24px;
  background:linear-gradient(180deg,var(--card-top),var(--card-bottom));
  border:1px solid var(--line);
  box-shadow:var(--shadow-1),var(--inner-light),var(--inner-dark);
}

.contact-card-header{
  margin-bottom:24px;
}

.contact-card-header h3{
  margin:0 0 6px 0;
  font-size:1.4rem;
}

.contact-card-header p{
  margin:0;
  color:var(--text-soft);
  line-height:1.6;
}

.modern-contact-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.modern-contact-form label{
  font-weight:600;
  font-size:.95rem;
}

.modern-contact-form input,
.modern-contact-form textarea{
  padding:14px 16px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--panel-2);
  color:var(--text-main);
  font:inherit;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus{
  border-color:var(--emerald);
  box-shadow:0 0 0 2px rgba(70,197,154,.25);
}

.contact-submit-btn{
  align-self:flex-start;
  padding:12px 22px;
  border:none;
  border-radius:12px;
  background:linear-gradient(180deg,var(--emerald),var(--emerald-2));
  color:white;
  font-weight:600;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .2s ease;
}

.contact-submit-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(0,0,0,.3);
}

/* section fade-in */
.collection-section {
  margin: 0 0 40px;
  scroll-margin-top: 92px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.collection-section:nth-of-type(2) { animation-delay: 0.05s; }
.collection-section:nth-of-type(3) { animation-delay: 0.1s; }
.collection-section:nth-of-type(4) { animation-delay: 0.15s; }
.collection-section:nth-of-type(5) { animation-delay: 0.2s; }
.collection-section:nth-of-type(6) { animation-delay: 0.25s; }
.collection-section:nth-of-type(7) { animation-delay: 0.3s; }
.collection-section:nth-of-type(8) { animation-delay: 0.35s; }

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

/* glow pulse when jumped to */
.collection-section:target {
  animation: fadeUp 0.6s ease forwards, glowPulse 1s ease;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 0 rgba(241,226,160,0); }
  50% { box-shadow: 0 0 20px rgba(241,226,160,0.20); }
  100% { box-shadow: 0 0 0 rgba(241,226,160,0); }
}

.collection-jump-nav {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 26px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(10, 24, 20, 0.84);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
}

.collection-jump-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text-soft);
  background: linear-gradient(180deg, rgba(20, 53, 44, 0.86), rgba(9, 25, 21, 0.92));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.2s ease, filter 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.collection-jump-nav a:hover,
.collection-jump-nav a:focus-visible,
.collection-jump-nav a.is-current {
  color: #ffffff;
  filter: brightness(1.06);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(70, 197, 154, 0.95), rgba(46, 158, 121, 0.95));
  outline: none;
}

.collection-section-title {
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.gallery-item img {
  content-visibility: auto;
  contain-intrinsic-size: 400px 400px;
}

@media(max-width:640px){
  .form-row{
    grid-template-columns:1fr;
  }
}
@media (max-width: 992px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .container { max-width: calc(100% - 80px); }
}
@media (max-width: 768px) {
  #collecting-journey .journey-content { flex-direction: column; gap: 20px; }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
  .container { max-width: 100%; padding: 0 15px; }
  .lightbox .prev { left: 10px; }
  .lightbox .next { right: 10px; }
}
@media (max-width: 480px) {
  .top-social-bar { height: auto; padding: 10px 0; }
  .top-social-content { flex-direction: column; align-items: center; gap: 8px; font-size: 12px; }
}

@media (max-width: 640px) {
  .collection-jump-nav {
    top: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 10px;
    scrollbar-width: thin;
  }

  .collection-jump-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}


/* ===== collection system upgrade ===== */
.collection-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}

.stat-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17, 43, 35, 0.76), rgba(8, 19, 16, 0.9));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 34px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
  text-align: center;
}

.stat-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.stat-value {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: #fff;
}

.collection-toolbar {
  display: flex;
  justify-content: center;
  margin: 0 0 18px;
}

.toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 39, 32, 0.74), rgba(8, 18, 15, 0.86));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.toolbar-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.sort-btn {
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(20, 53, 44, 0.86), rgba(9, 25, 21, 0.92));
  color: var(--text-soft);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.sort-btn:hover,
.sort-btn:focus-visible,
.sort-btn.is-active {
  color: #ffffff;
  filter: brightness(1.06);
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(70, 197, 154, 0.95), rgba(46, 158, 121, 0.95));
  outline: none;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 2px 0 10px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(255,255,255,0.06);
  color: var(--text-soft);
  border: 1px solid rgba(255,255,255,0.08);
}

.meta-pill-cac {
  background: rgba(70, 197, 154, 0.18);
  color: #dffaf0;
  border-color: rgba(70, 197, 154, 0.28);
}

/* category visuals */
.category-double-eagle {
  border-color: rgba(215, 193, 138, 0.22);
  box-shadow:
    var(--shadow-1),
    0 0 0 1px rgba(215, 193, 138, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -18px 28px rgba(0,0,0,0.2);
}

.category-double-eagle:hover {
  box-shadow:
    var(--shadow-2),
    0 0 26px rgba(215, 193, 138, 0.14),
    0 0 0 1px rgba(215, 193, 138, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -18px 28px rgba(0,0,0,0.24);
}

.category-cac .caption {
  border-top-color: rgba(70, 197, 154, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 0 0 1px rgba(70, 197, 154, 0.04);
}

.category-error {
  border-color: rgba(165, 136, 255, 0.22);
}

.category-error:hover {
  box-shadow:
    var(--shadow-2),
    0 0 22px rgba(165, 136, 255, 0.12),
    0 0 0 1px rgba(165, 136, 255, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -18px 28px rgba(0,0,0,0.24);
}

.category-special {
  border-style: solid;
  border-color: rgba(141, 224, 191, 0.22);
}

.category-special .caption h3::after {
  content: " • Special";
  color: var(--gold);
  font-size: 0.85em;
}

/* smoother mobile nav behavior */
.collection-jump-nav {
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.collection-jump-nav a {
  scroll-snap-align: start;
}

/* larger tap targets */
.lightbox .close,
.lightbox .prev,
.lightbox .next {
  min-width: 54px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .collection-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .toolbar-group {
    justify-content: center;
  }

  .collection-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .lightbox .close,
  .lightbox .prev,
  .lightbox .next {
    min-width: 58px;
    min-height: 58px;
    padding: 14px 16px;
  }

  .collection-jump-nav {
    position: sticky;
    top: 12px;
    bottom: auto;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 10px;
    border-radius: 16px;
    background: rgba(10, 24, 20, 0.92);
    z-index: 250;
  }

  .collection-jump-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

@media (max-width: 520px) {
  .collection-stats {
    grid-template-columns: 1fr;
  }
}


/* updated stats grid for expanded metrics */
.collection-stats {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
  .collection-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .collection-stats {
    grid-template-columns: 1fr;
  }
}


/* Full card descriptions visible on page */
.description-preview {
  white-space: normal;
  overflow: visible;
  display: block;
  max-height: none;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

/* Keep jump nav at the top on all devices */
@media (max-width: 640px) {
  .collection-jump-nav {
    position: sticky;
    top: 12px;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: 250;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 10px;
    border-radius: 16px;
    background: rgba(10, 24, 20, 0.92);
  }

  .collection-jump-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  main {
    padding-bottom: 56px;
  }
}


/* Coins 101 integrated site layout */
.coins101-page {
  padding: 18px 0 42px;
}
.coins101-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 22px;
  margin-bottom: 24px;
}
.coins101-hero-main,
.coins101-hero-side,
.coins101-section,
.coins101-card,
.coins101-ms-panel {
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(18, 44, 36, 0.86), rgba(8, 18, 15, 0.95));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 24px 54px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -20px 30px rgba(0,0,0,0.12);
}
.coins101-hero-main,
.coins101-hero-side {
  padding: 28px 26px;
}
.coins101-pill,
.coins101-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #11241d;
  background: linear-gradient(180deg, rgba(241, 226, 160, 0.98), rgba(201, 168, 74, 0.94));
  box-shadow: 0 10px 22px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.28);
}
.coins101-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
}
.coins101-hero p,
.coins101-card p,
.coins101-prose p,
.coins101-ms-panel p {
  color: rgba(226, 241, 235, 0.86);
  line-height: 1.8;
  margin: 0 0 14px;
}
.coins101-jump {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px;
  margin: 0 0 24px;
  border-radius: 18px;
  background: rgba(10, 24, 20, 0.84);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
  scrollbar-width: thin;
}
.coins101-jump a {
  white-space: nowrap;
  text-decoration: none;
  font-weight: 700;
  color: var(--text-soft);
  background: linear-gradient(180deg, rgba(20, 53, 44, 0.86), rgba(9, 25, 21, 0.92));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 10px 14px;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.coins101-jump a:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  background: linear-gradient(180deg, rgba(70, 197, 154, 0.95), rgba(46, 158, 121, 0.95));
}
.coins101-section {
  padding: 26px 24px 24px;
  margin-bottom: 24px;
}
.coins101-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.coins101-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.16;
}
.coins101-two-col,
.coins101-collect-grid,
.coins101-ms-grid,
.coins101-grade-grid {
  display: grid;
  gap: 18px;
}
.coins101-two-col {
  grid-template-columns: 1fr 1fr;
}
.coins101-collect-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.coins101-grade-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}
.coins101-card,
.coins101-ms-panel {
  padding: 20px 18px 16px;
}
.coins101-card h3,
.coins101-ms-panel h3,
.coins101-hero-side h2 {
  margin: 0 0 10px;
  color: #f7fcfb;
}
.coins101-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(226, 241, 235, 0.86);
}
.coins101-list li {
  margin-bottom: 8px;
  line-height: 1.65;
}
.coins101-list.compact li {
  margin-bottom: 6px;
}
.coins101-grade-card,
.coins101-ms-grid > div {
  padding: 16px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 43, 35, 0.76), rgba(8, 19, 16, 0.90));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 34px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
}
.coins101-grade-card strong,
.coins101-ms-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
}
.coins101-grade-card span,
.coins101-ms-grid span {
  color: rgba(226, 241, 235, 0.82);
  line-height: 1.62;
}
.coins101-ms-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}
.coins101-callout {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(70, 197, 154, 0.13);
  border-left: 3px solid #46c59a;
  color: rgba(231, 246, 239, 0.92);
  line-height: 1.7;
}
@media (max-width: 980px) {
  .coins101-hero,
  .coins101-two-col,
  .coins101-ms-grid,
  .coins101-grade-grid,
  .coins101-collect-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .coins101-hero-main,
  .coins101-hero-side,
  .coins101-section,
  .coins101-card,
  .coins101-ms-panel {
    padding: 22px 18px 18px;
  }
  .coins101-jump {
    top: 10px;
  }
}


/* Contact form hardening helpers */
.spam-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.contact-note {
  margin: 4px 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(70, 197, 154, 0.10);
  border: 1px solid rgba(70, 197, 154, 0.22);
  color: rgba(226, 241, 235, 0.88);
  line-height: 1.65;
  font-size: 0.94rem;
}
.contact-error {
  display: none;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(180, 50, 50, 0.16);
  border: 1px solid rgba(220, 80, 80, 0.25);
  color: #ffd7d7;
  line-height: 1.6;
  font-size: 0.94rem;
}
.contact-lock {
  display: none;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(215, 193, 138, 0.12);
  border: 1px solid rgba(215, 193, 138, 0.22);
  color: #f6ead0;
  line-height: 1.6;
  font-size: 0.94rem;
}
.contact-status-row {
  display: block;
}
.contact-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  line-height: 1.5;
}
.contact-checkbox input {
  margin-top: 4px;
}
