.tema-page {
  padding-bottom: 6rem;
}

.tema-bar {
  justify-content: space-between;
}

.tema-back {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
}

.tema-back:hover {
  text-decoration: underline;
}

.tema-main {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
}

.tema-loading {
  text-align: center;
  opacity: 0.7;
}

.tema-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.tema-hero__emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.tema-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin: 0 0 0.75rem;
  color: var(--yellow);
}

.tema-hero p {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.92;
}

.tema-gallery {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.tema-shot {
  margin: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(0, 245, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.tema-shot img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.tema-shot figcaption {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(15, 16, 53, 0.5);
}

.tema-shot--org img {
  min-height: 280px;
  object-fit: cover;
}

.tema-shot figcaption span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.35rem;
}

.tema-activities {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.75rem 1.5rem;
  border: 2px solid rgba(178, 75, 255, 0.45);
  margin-bottom: 1.5rem;
}

.tema-activities h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  color: var(--cyan);
}

.tema-activities ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tema-activities li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tema-activities li:last-child {
  border-bottom: none;
}

.tema-activities li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--pink);
}

.tema-buy {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: linear-gradient(180deg, transparent, rgba(15, 16, 53, 0.95) 25%);
  padding: 1.25rem 1.25rem 1.5rem;
  margin: 0 -1.25rem;
}

.tema-buy__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--yellow);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
}

.tema-buy__price {
  margin: 0;
}

.tema-buy__price strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--yellow);
  display: block;
}

.tema-buy__price small {
  font-size: 0.8rem;
  opacity: 0.8;
}

.btn-buy {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: var(--white);
  box-shadow: 0 8px 28px rgba(255, 46, 151, 0.45);
  transition: transform 0.2s;
}

.btn-buy:hover {
  transform: scale(1.04);
}

.tema-buy-msg {
  width: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--cyan);
  font-weight: 600;
  min-height: 1.25em;
}

.tema-not-found {
  text-align: center;
  padding: 3rem 1rem;
}

.tema-not-found a {
  color: var(--cyan);
  font-weight: 700;
}

@media (min-width: 720px) {
  .tema-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .tema-gallery .tema-shot:first-child {
    grid-column: 1 / -1;
  }

  .tema-gallery .tema-shot:first-child img {
    aspect-ratio: 21/9;
  }
}
