.main-color {  color: #be2edd}
.second-color {  color: #fd79a8}
.black-color{color: #212529}
.main-bgc-color {background-color: #be2edd}
.dark-bgc-color { background-color: #1a051f}
.w-color {  color: #fafafa}
.w-bg-color{background-color: #f8f8f8}








.btn-sma {
    position: absolute;
    left: 10%;
    bottom: 10%;
    
    /* التصميم الأساسي */
    padding: 12px 28px;
    font-size: 20px; /* الـ 25 كانت ضخمة شوية، الـ 20 أرقى */
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #663399, #8a2be2); /* تدرج لوني للموف */
    border-radius: 50px; /* حواف دائرية بالكامل (Pill Shape) مودرن أكتر */
    
    /* التوسيط والظل */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 51, 153, 0.4); /* ظل ناعم بنفس لون الزرار */
    transition: all 0.3s ease; /* عشان الحركة تبقى ناعمة */
    border: none;
    cursor: pointer;
}

/* حركة الماوس (Hover) */
.btn-sma:hover {
    transform: translateY(-3px); /* الزرار يبيترفع لفوق سنة */
    box-shadow: 0 8px 25px rgba(102, 51, 153, 0.6); /* الظل يتقل فيبان إنه طار */
    letter-spacing: 1px; /* المسافات بين الحروف توسع شوية */
    filter: brightness(1.1); /* اللون ينور أكتر */
}

/* تأثير الضغطة (Active) */
.btn-sma:active {
    transform: translateY(-1px);
}




.section-title .animated-text {
    position: relative;
    padding-bottom: 10px;
}

.section-title .animated-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px; /* بيبدأ صغير */
    height: 2px;
    background: #fd79a8; /* لونك البينك */
    border-radius: 2px;
    animation: lineMove 2s ease-in-out infinite alternate;
}

@keyframes lineMove {
    from {
        width: 30px;
        right: 0%;
    }
    to {
        width: 100%; /* بيفرد بعرض الكلمة */
        background: #be2edd; /* بيتحول للموف وهو بيفرد */
    }
}








#latest-chapters {
    background: linear-gradient(120deg, #f8f9fa, #e9ecef);
  }
  
  .chapter-card {
    background: #fff;
    transition: transform 0.5s, box-shadow 0.5s;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-top: 2px solid #ffd1e1;
    border-left: 2px solid #ffd1e1;
  }
  
  .chapter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  }
  
  .chapter-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
  }
  
  .chapter-card:hover .chapter-img {
    transform: scale(1.1);
    opacity: .8;
  }
  
  .chapter-info {
    position: relative;
    z-index: 2;
  }
  
  .chapter-number {
    font-weight: bold;
    color: #6c757d;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 14px
  }
  

  
  .chapter-desc {
    font-size: 1rem;
    color: #495057;
  }

  
  



















.stories p{line-height: 1.8}
.novel-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 400px;
}

.novel-title {
    position: absolute;
    inset: auto 0 0 0;
    padding: .7rem;
    margin: 0;
    background: rgba(250, 250, 250, .9);
    border: 2px solid gray;
    border-right: 6px solid #e891fc;
    border-radius: 0 8px 8px 0;
}


.novel-card img {
    width: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.novel-content {
    position: absolute;
    inset: 0;
    background: rgba(250, 250, 250, .95);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}




.second-bgc-color {
    background-color: #f6558f;
}

.novel-card:hover img {
    transform: scale(1.05);
}

.novel-card:hover .novel-content {
    opacity: 1;
}

.btn:hover {    
    color: #fafafa;
    background-color: #fd79a8;
    border-color: #fd79a8
}

/* إخفاء الوصف في الموبايل */
@media (max-width: 767px) {
    .novel-desc {
        display: none;
    }
}
@media(min-width: 768px){
    .stories{  padding: 5rem 0 }
    .decor-line{
        position: relative;
        width: 220px;      /* طول الخط */
        margin: 3rem auto 0;
    }
    
    .line-img{
        width: 100%;
        display: block;
        opacity: .9;
    }
    
    /* الفراشة */
    .butterfly{
        position: absolute;
        top: 50%;
        width: 34px;
        transform: translateY(-50%);
        animation: butterflyMove 3s ease-in-out infinite;
    }
    .butterfly1{right: -18px}
    .butterfly2{left: -33px}
    
    /* حركة ناعمة حوالين الطرف */
    @keyframes butterflyMove{
        0%{
            transform: translate(0, -50%);
            opacity: .7;
        }
        50%{
            transform: translate(6px, -60%);
            opacity: 1;
        }
        100%{
            transform: translate(0, -50%);
            opacity: .7;
        }
    }
    
        
    }

.categories h1, .story h1 {
    width: fit-content;
    border-radius: 5px;
    padding: 10px 5px;
    border-right: 8px solid #e891fc;
    transition: all 1s ease-in-out;
}

@media (min-width: 576px) {
    .story .description, .story .dropdown {margin-bottom: 25px}
}
@media (min-width: 992px) {
    .fs33{font-size: 33px}
    .story .fehres {  margin-top: 67px}
}
@media (min-width: 1200px) {
    .description {
        border-right: 1px solid #fd79a8;
        padding: 0 10px;
        margin-top: 25px;
        line-height: 1.8;
        font-size: 18px;
    }
}
.read-also {padding: 7px 0 3px;  margin-bottom: 25px}





/* The Footer */
footer .footer-link.active {padding-bottom: 5px;    border-bottom: 2px solid #f8f8f8}
footer .footer-link:hover {color: #f8f8f8}
footer .content-one img{max-height: 120px;    transition: opacity .6s ease}
footer:hover .content-one img{opacity: .8}
.more-links-btn {border: 2px solid #f8f8f8;  font-weight: 600;  transition: all 0.3s ease-in-out}
.more-links-btn:hover {
    background-color: transparent; 
    color: #f8f8f8 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.social-icons a {
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}
.social-icons a:hover {font-size: 1.25rem; transform: translateY(-3px)}
.content-two{opacity: .75}

/* تنسيق روابط القائمة داخل المودال */
.list-group-item-action:hover {
    background-color: #a01a49 !important;
    color: #fafafa !important;
    padding-right: 25px; /* حركة بسيطة عند التمرير */
    transition: all 0.3s ease;
}

