:root {
  --primary-color: #7dad3d;
  --accent-color: #90c748;
  --text-color: #333333;
}

.short-reel {
  background-color: #f9f9f9;
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-weight: 700;
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
  color: var(--primary-color);
  text-align: center;
}

.shorts-scroll-container {
  position: relative;
  padding: 1rem 0;
  margin: 0 -15px;
}

.shorts-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1.5rem 1rem;
  gap: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
}

.shorts-row::-webkit-scrollbar {
  display: none;
}

.short-card {
  flex: 0 0 auto;
  width: 25vw;
  min-width: 180px;
  max-width: 250px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: white;
}

.short-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 9/16;
  background: linear-gradient(45deg, #ff9a9e, #fad0c4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.title {
  position: absolute;
  bottom: 60px;
  left: 15px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  z-index: 5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  max-width: 90%;
}

.view-count {
  position: absolute;
  bottom: 40px;
  left: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  z-index: 5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.mute-toggle-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 8px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  display: none;
  font-size: 16px;
  font-weight: 500;
  align-items: center;
  gap: 8px;
}

.click-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10;
  cursor: pointer;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  padding: 10px;
}

.scroll-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scroll-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .short-card {
      width: 30vw;
  }
  
  .section-title {
      font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .short-card {
      width: 45vw;
      min-width: 160px;
  }
  
  .title {
      font-size: 15px;
      bottom: 55px;
  }
  
  .view-count {
      font-size: 13px;
      bottom: 35px;
  }
}

@media (max-width: 576px) {
  .short-card {
      width: 80vw;
      max-width: 300px;
  }
  
  .section-title {
      font-size: 1.4rem;
  }
  
  .mute-toggle-btn {
      padding: 7px;
      width: 32px;
      height: 32px;
      font-size: 14px;
  }
  
  .title {
      font-size: 14px;
      bottom: 50px;
  }
  
  .view-count {
      font-size: 12px;
      bottom: 30px;
  }
}