.shooting-star {
  position: fixed;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  filter: blur(1px);
  animation: shoot 2s linear;
}
@keyframes shoot {
  to { transform: translate(100px, 100px); opacity: 0; }
}

.boxMain {
  display: flex;
  flex-direction: row;
}

.boxMain__child--1 {
  padding-top: 20px;
  color: white;
  flex: 4;
}

.boxMain__divider {
  width: 40px;
  height: auto;                     
  background-color: #1f1f1f;       
  height: auto;
  margin-top: 30px;               
}

.boxMain__child--2 {
  flex: 1; 
}

.boxMain__child--1 h2 {
  height:auto;
  width: 220px;
}

.title_historical {
  background-color: #1f1f1f;
  margin-top: 30px;
  color:aliceblue;
  text-align: center;
}

.child__title {
    background-color: #1f1f1f;
    margin-left: 10px;
    margin-top: 10px;
    padding-left: 20px;
    border-left: 6px solid aqua;
    border-top-left-radius: 6px;
    transition: all 1 ease-in-out;
    position: relative;
    animation: slideDown 1s ease-out;
}

.animate-rotate {
    animation: rotate_ 3s ease-in-out forwards;
}
.animate-rotate2 {
  animation: rotate_2 3s ease-in-out forwards;
}

@keyframes rotate_ {
    0% {transform: translateX(0px) rotate(0deg);}
    35% {transform: translateX(850px) ;}
    70% {transform: translateX(850px) scale(1.6) rotate(720deg);}
    100%{transform: translateX(0px) scale(1) rotate(720deg);}
}

@keyframes rotate_2 {
    0% {transform: translateX(0px);}
    25% {transform: translateX(850px);}
    50% {transform: translateX(850px) scale(2);}
    75% {transform: translateX(850px) scale(1);}
    100%{transform: translateX(0px) scale(1) ;}
}


@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


.child__stories--Hot h2 {
    color: #ff4757;
}
.child__stories--newlyUpdate h2 {
    color:aliceblue;
}

.pulses {
  animation: pulse 1.5s infinite;
  font-weight: bold;
  color: #00ffcc;
}

@keyframes pulse {
  0% { transform: scale(1); color:#00ffcc; }
  50% { transform: scale(1.3); color: #ff3333; }
  100% { transform: scale(1); color:#00ffcc; }
}

.featured-stories {
  margin-top: 20px;
  padding: 30px 0;
  background: linear-gradient(135deg, #2c3e50, #2c3e41);
  border-top: 3px solid aqua;
  border-bottom: 3px solid aqua;
  box-shadow: 0 10px 20px rgb(17, 90, 90);
  overflow: hidden;
}

.infinite-scroll {
  display: flex;
  flex-wrap: nowrap;
  width: max-content; 
  animation: scroll_carol 30s linear infinite;
}

.story-carousel {
  display: flex;
  gap: 25px;
  flex-shrink: 0; 
}

.story-carousel::-webkit-scrollbar {
  display: none; 
}

@keyframes scroll_carol {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.story-item {
  scroll-snap-align: start;
  flex: 0 0 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  position: relative;
  width: 160px;
}

.story-item:hover {
  transform: scale(1.04);
  box-shadow: 0 0 15px #0e2c25, 0 0 25px #32b196, 0 0 35px #08e8b7;
}

.story-image {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-bottom: 3px solid #ff6b6b;
  transition: all 0.5s;
}

.story-image:hover {
  transform: rotate(5deg) scale(1.05);
  filter: drop-shadow(0 10px 20px rgba(0,255,213,0.5));
}

.story-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 20px;
  color: white;
}

.story-title {
  font-size: 1.3rem;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-chapter {
  background: #ff6b6b;
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: bold;
}