/**
 * تصميم الكلمات الرائجة الاحترافي - بدون تأثيرات حركة
 * @package Kora_Plus_Pro
 * @version 22.1
 */

/* خط فاصل بين الهيدر الأساسي والهيدر 2 */
.header-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        #e0e0e0, 
        #d0d0d0, 
        #e0e0e0, 
        transparent
    );
    margin: 0;
    border: none;
}

/* تصميم الكلمات الرائجة الاحترافي */
.trending-words-section {
    margin: 0;
    padding: 0;
    background: transparent;
}

.trending-words-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* تأثير الشيمر العلوي البسيط */
.trending-words-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.8), 
        transparent
    );
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* العنوان الرئيسي */
.trending-title {
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.trending-title h2 {
    font-size: 1.8em;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.trending-icon {
    font-size: 1.2em;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.trending-subtitle {
    font-size: 0.9em;
    opacity: 0.9;
    margin: 0;
    font-weight: 300;
}

/* حاوية الكلمات */
.trending-words-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 0;
}

/* الكلمات الفردية */
.trending-word {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

/* تأثير الهوفر البسيط */
.trending-word:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* تأثير النقر */
.trending-word:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.3);
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .trending-words-container {
        padding: 20px 25px;
        border-radius: 15px;
    }
    
    .trending-title h2 {
        font-size: 1.5em;
        gap: 8px;
    }
    
    .trending-subtitle {
        font-size: 0.8em;
    }
    
    .trending-words-grid {
        gap: 10px;
    }
    
    .trending-word {
        padding: 8px 15px;
        font-size: 13px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .trending-words-container {
        padding: 15px 20px;
        border-radius: 12px;
    }
    
    .trending-title h2 {
        font-size: 1.3em;
        gap: 6px;
    }
    
    .trending-subtitle {
        font-size: 0.75em;
    }
    
    .trending-words-grid {
        gap: 8px;
    }
    
    .trending-word {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 18px;
    }
}

/* تحسينات الأداء */
.trending-word {
    will-change: transform, background-color;
    contain: layout style paint;
}

.trending-words-container {
    contain: layout style paint;
}

/* تأثيرات الحركة */
.trending-words-grid.animation-fade .trending-word {
    transition: opacity var(--animation-duration, 500ms) ease-in-out;
}

.trending-words-grid.animation-slide .trending-word {
    transition: transform var(--animation-duration, 500ms) ease-in-out;
}

.trending-words-grid.animation-bounce .trending-word {
    transition: all var(--animation-duration, 500ms) ease-in-out;
}

.trending-words-grid.animation-glow .trending-word {
    transition: all var(--animation-duration, 500ms) ease-in-out;
}

/* تأثيرات خاصة للحركات */
.trending-word.glow-out {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.trending-word.glow-in {
    box-shadow: 0 0 30px rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.trending-word.hover-effect {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* تحسينات الأداء */
.trending-word {
    will-change: transform, opacity, box-shadow;
    contain: layout style paint;
}

/* تأثيرات خاصة للوضع الليلي */
@media (prefers-color-scheme: dark) {
    .trending-word.glow-out {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }
    
    .trending-word.glow-in {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

/* تحسينات إضافية للوضوح */
.trending-word {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* تأثيرات خاصة للكلمات الساخنة */
.trending-word.hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.trending-word.hot:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #ff6b6b 100%);
}

/* تأثيرات خاصة للكلمات الجديدة */
.trending-word.new {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.trending-word.new:hover {
    background: linear-gradient(135deg, #44a08d 0%, #4ecdc4 100%);
}

/* تأثيرات خاصة للكلمات الترندية */
.trending-word.trending {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.trending-word.trending:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}
