/* Wrapper */
.single-fruit.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.fruit-media {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 1rem;
}

.fruit-media-full {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.square-video-wrapper {
  width: 100%;
  max-width: 600px;
  height: 600px;
  margin: 0 auto 2rem;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #000; Optional: fallback background */
}

.square-video-wrapper video {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
  display: block;
}

.specimen-header {
  margin-bottom: 1.5rem;
}

.specimen-meta {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
  text-transform: uppercase;
}

.fruit-details li:last-child {
  margin-top: 1rem; /* gives space above the button */
}

/* Two column layout */
.fruit-layout {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Left side */
.fruit-content {
  flex: 1 1 60%;
  min-width: 320px;
}

.fruit-summary {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.fusion-label {
  margin-top: 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.6;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

/* Right side */
.fruit-nutrition {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-family: system-ui, monospace;
}

.fruit-nutrition h3 {
  margin-top: 2rem; /* Add space above "Nutrition Facts" */
  margin-bottom: 0.5rem;
}

.fruit-nutrition p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.fruit-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fruit-details li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.4;
}

.fruit-content > * + * {
  margin-top: 1.5rem;
}

.btn-opensea {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-opensea:hover {
  background: var(--color-primary);
  color: white;
}

.limited-badge {
  display: inline-block;
  margin: 0.5rem 0 1.25rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,215,120,0.15), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,215,120,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.fruit-traits {
  margin: 2rem 0;
}

.fruit-traits h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.traits-list {
  /* list-style: none;
  padding: 0;
  margin: 0; */

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  list-style: none;
}

.traits-list li {
  /* margin: 0.3rem 0;
  font-size: 1rem; */

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.traits-list li.is-primary {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}

.traits-list strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  opacity: 0.7;
  margin-bottom: 0.15rem;
}

.fusion-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.015)
  );
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e6e6e6;
  backdrop-filter: blur(6px);
}

.fusion-eyebrow {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* .fusion-note:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
} */

.fusion-note a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.fusion-note a:hover {
  text-decoration: none;
  color: #ffffff;
}

.trait-family {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  opacity: 0.65;
  margin-bottom: 0.15rem;
}

.trait-expression {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
}

.item-rarity-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 1.25rem;
}

.item-rarity-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.item-rarity-badge {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}

/* Accents only, not loud */
.rarity-common { border-color: rgba(255,255,255,0.25); }
.rarity-rare { border-color: #7aa2ff; }
.rarity-legendary { border-color: #d6b36a; }
.rarity-extreme { border-color: #ff6a6a; }
.rarity-apex {
  border-color: #ffffff;
  background: rgba(255,255,255,0.18);
}

@media (max-width: 768px) {
  .fruit-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .fruit-content {
    flex: 1 1 100%;
  }

  .square-video-wrapper {
    max-width: 100%;
    aspect-ratio: 1/1;
  }

  .fruit-summary {
    font-size: 1rem;
  }

  .fruit-details li {
    font-size: 0.95rem;
  }

  .fruit-nutrition p {
    font-size: 0.9rem;
  }
}

@media (max-width: 500px) {
  .square-video-wrapper {
    max-width: 100%;
    aspect-ratio: 1/1;
    border-radius: 0.75rem;
  }
}