/* Cash Pond — extra media & motion */

.cp-gallery {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: #050505;
}

.cp-gallery__title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.cp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.cp-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  border: 2px solid rgba(165, 255, 120, 0.25);
}

.cp-gallery__item img,
.cp-gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cp-gallery__item:hover img,
.cp-gallery__item:hover video {
  transform: scale(1.08);
}

.cp-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.cp-video-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cp-video-band video,
.cp-video-band .cp-band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.cp-video-band__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.cp-video-band__content h2 {
  color: rgb(165, 255, 120);
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.cp-video-band__content p {
  color: #fff;
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 24px;
}

.cp-showcase {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a0a 0%, #101810 50%, #050505 100%);
}

.cp-showcase__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.cp-showcase__row--reverse {
  flex-direction: row-reverse;
}

.cp-showcase__media {
  flex: 1 1 320px;
  position: relative;
}

.cp-showcase__media img,
.cp-showcase__media video {
  width: 100%;
  border-radius: 22px;
  display: block;
  border: 2px solid rgba(165, 255, 120, 0.2);
}

.cp-showcase__media .cp-gif {
  position: absolute;
  width: 28%;
  bottom: -12px;
  right: -8px;
  border-radius: 50%;
  border: 3px solid rgb(165, 255, 120);
  animation: cp-bob 3s ease-in-out infinite;
}

.cp-showcase__text {
  flex: 1 1 280px;
}

.cp-showcase__text h3 {
  color: rgb(165, 255, 120);
  margin-bottom: 16px;
}

.cp-showcase__text p {
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.6;
}

.cp-marquee {
  overflow: hidden;
  padding: 24px 0;
  background: #000;
  border-top: 1px solid rgba(165, 255, 120, 0.2);
  border-bottom: 1px solid rgba(165, 255, 120, 0.2);
}

.cp-marquee__track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: cp-scroll 40s linear infinite;
}

.cp-marquee__track img {
  height: 140px;
  width: auto;
  border-radius: 14px;
  object-fit: cover;
}

.cp-float img {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
  border-radius: 16px;
}

.cp-poster-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 40px 0 20px;
  position: relative;
  z-index: 2;
}

.cp-poster-strip img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes cp-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes cp-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cp-kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

.cp-kenburns {
  animation: cp-kenburns 18s ease-in-out infinite alternate;
}

@media (max-width: 900px) {
  .cp-gallery__grid {
    grid-template-columns: 1fr 1fr;
  }
  .cp-gallery__item--wide {
    grid-column: span 2;
  }
  .cp-poster-strip {
    grid-template-columns: 1fr;
  }
  .cp-float {
    display: none;
  }
}

@media (max-width: 600px) {
  .cp-gallery__grid {
    grid-template-columns: 1fr;
  }
  .cp-gallery__item--wide {
    grid-column: span 1;
    aspect-ratio: 16 / 9;
  }
  .cp-marquee__track img {
    height: 90px;
  }
}
