/* ❤️ HEARTS BORDER THEME */
.border-theme {
  background-image: url("../../images/hearts-border.png");
  background-size: 50px;
  background-repeat: repeat;
  padding: 40px;
  box-sizing: border-box;
}

/* ✅ Responsive layout – side-by-side */
.side-by-side {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

/* 🖼️ CAROUSEL */
.carousel-box {
  width: 320px;
  height: 320px;
  background-color: #760810;
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(255, 80, 80, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

#carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* 🎵 IPOD BOX */
.ipod-wrapper {
  width: 320px;
  background-color: #3c0b0f;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  padding: 12px;
  text-align: center;
}

.ipod-screen {
  width: 100%;
  height: 180px;
  background-color: #000;
  border: 4px solid #491419;
  border-radius: 12px;
  overflow: hidden;
}

.ipod-controls {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.ipod-controls button {
  font-size: 1.3rem;
  padding: 8px 14px;
  background-color: #900f19;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.ipod-controls button:hover {
  background-color: #d42e3b;
}

.ipod-controls input[type="range"] {
  width: 80px;
}

/* 🐈 ANIMATED CATS */
.cat {
  position: absolute;
  width: 64px;
  height: auto;
  bottom: 40px;
  z-index: 20;
  pointer-events: none;
}

.cat-left {
  animation: runLeft 10s linear infinite;
  left: -70px;
}

.cat-right {
  animation: runRight 10s linear infinite;
  right: -70px;
}

@keyframes runLeft {
  0% { left: -70px; }
  100% { left: 100vw; }
}

@keyframes runRight {
  0% { right: -70px; }
  100% { right: 100vw; }
}

/* 💻 MOBILE SUPPORT */
@media screen and (max-width: 700px) {
  .side-by-side {
    flex-direction: column;
    align-items: center;
  }

  .carousel-box,
  .ipod-wrapper {
    width: 100%;
    max-width: 320px;
  }
}