




.story-content video,
.story-content img {
  max-height: 80vh;
  max-width: 90%;
  border-radius: 10px;
}

.stories-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
}

.story-circle {
  text-align: center;
  cursor: pointer;
}

.story-circle img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #ff0066;
  object-fit: cover;
}

.story-modal {
  position: fixed;
  top: 55px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.story-modal.hidden {
  display: none;
}



.story-user {
  position: absolute;
  top: 15px;
  left: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.story-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.2);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #ff0066;
  transition: width 0.1s linear;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}



.fade-in {
  animation: fadeIn 0.4s forwards;
}

.fade-out {
  animation: fadeOut 0.4s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.8); }
}








.sound-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 10;
}
.sound-btn.hidden {
  opacity: 0;
  pointer-events: none;
}
.fade-in {
  opacity: 1 !important;
}
.fade-out {
  opacity: 0 !important;
}


.sound-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.sound-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.sound-icon {
  display: flex;
  align-items: end;
  gap: 3px;
}

.sound-icon span {
  display: block;
  width: 3px;
  height: 6px;
  background: white;
  border-radius: 2px;
  transition: height 0.2s;
}

.sound-icon.active span:nth-child(1) {
  animation: wave 0.5s infinite ease-in-out;
}
.sound-icon.active span:nth-child(2) {
  animation: wave 0.5s infinite 0.1s ease-in-out;
}
.sound-icon.active span:nth-child(3) {
  animation: wave 0.5s infinite 0.2s ease-in-out;
}

@keyframes wave {
  0%, 100% { height: 6px; }
  50% { height: 14px; }
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 40px;
  width: 45px;
  height: 45px;
  line-height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  transition: 0.3s;
}
.nav-btn.left { left: 10px; }
.nav-btn.right { right: 10px; }
.nav-btn:hover { background: rgba(0,0,0,0.7); }

.sound-btn {
  position: absolute;
  top: 90px;
  right: 25px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
}
.sound-btn.hidden {
  display: none;
}



















