 
  .shorts-section {
  background: #f9fafb;
  padding: 3rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 3px solid #6366f1; /* subtle purple underline */
  display: inline-block;
  padding-bottom: 0.25rem;
  color: #1f2937; /* dark slate */
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
}

.arrow {
  background: rgba(31, 41, 55, 0.7); /* dark slate transparent */
  border: none;
  color: white;
  font-size: 2.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.arrow:hover {
  background: rgba(31, 41, 55, 0.9);
}

.arrow.left {
  margin-right: 8px;
}

.arrow.right {
  margin-left: 8px;
}

.shorts-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 1rem;
  padding-bottom: 8px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  scroll-behavior: smooth;
  flex-grow: 1;
}

.shorts-wrapper::-webkit-scrollbar {
  display: none;
}

.short-card {
  scroll-snap-align: start;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
  flex-shrink: 0;
  width: 320px;
  height: 480px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.short-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.short-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.2);
}

/* Mobile styles */
@media (max-width: 640px) {
  .carousel {
    padding: 0 1rem;
    position: relative;
  }

  .shorts-wrapper {
    gap: 0;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scroll-behavior: smooth;
  }

  .short-card {
    width: 100% !important;
    height: 60vh;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
    flex-shrink: 0;
    transform: none !important;
    cursor: pointer;
  }

  .short-card:hover {
    transform: none !important;
    box-shadow: 0 6px 15px rgb(0 0 0 / 0.15) !important;
  }

  .arrow {
    display: flex; /* keep arrows visible */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    font-size: 2rem;
    background: rgba(31, 41, 55, 0.8);
    border-radius: 50%;
    z-index: 20;
  }

  .arrow.left {
    left: 8px;
  }

  .arrow.right {
    right: 8px;
  }
} 