/* Page styles of resources/views/frontend/proverbs/index.blade.php (moved out of the view) */

.proverb-card {
    transition: all 0.3s ease;
}

.proverb-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/*.proverb-content {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}*/

.proverb-content p {
    line-height: 1.8;
    text-align: center;
}

/* Integrated Stats Styling */
.stat-item {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.stat-item:hover {
    transform: scale(1.05);
}

/* Like Stat Hover Effects */
.like-stat:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.like-stat:hover i {
    color: #dc3545 !important;
}

.like-stat:hover .like-count {
    color: #dc3545 !important;
    font-weight: 600;
}

/* Bookmark Stat Hover Effects */
.bookmark-stat:hover {
    background-color: rgba(255, 193, 7, 0.1);
}

.bookmark-stat:hover i {
    color: #ffc107 !important;
}

.bookmark-stat:hover .bookmark-count {
    color: #ffc107 !important;
    font-weight: 600;
}

/* Comment Stat Hover Effects */
.comment-stat:hover {
    background-color: rgba(16, 102, 231, 0.1);
}

.comment-stat:hover i {
    color: #1066E7 !important;
}

.comment-stat:hover small {
    color: #1066E7 !important;
    font-weight: 600;
}

/* Integrated Button Styling */
.like-proverb-btn, .bookmark-proverb-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-proverb-btn:hover i, .bookmark-proverb-btn:hover i {
    transform: scale(1.2);
}

/* Animations */
@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes slideInDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1); }
    75% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.bounce-animation {
    animation: bounce 0.5s ease;
}

/* Active states */
.stat-item i.text-danger, .stat-item i.text-warning {
    animation: none;
}

.bg-gradient-daily {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-gradient-daily .card-body {
    background: rgba(255, 255, 255, 0.05);
}

.popular-category-card {
    transition: all 0.3s ease;
}

/* Hover in the brand blues (was Bootstrap's danger red) */
.popular-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(16, 102, 231, 0.15) !important;
    border-color: #4D91FF !important;
}

.popular-category-card .icon {
    transition: background-color 0.3s ease;
}

.popular-category-card:hover .icon {
    background-color: rgba(16, 102, 231, 0.12) !important;
}

.hover-lift {
    transition: transform 0.2s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Quick categories active state */
.btn-outline-primary.active {
    background-color: #1066E7;
    border-color: #1066E7;
    color: white;
}

.world-map-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .proverb-card {
        margin-bottom: 1.5rem;
    }

    .proverb-content {
        min-height: auto;
    }

    .daily-proverb-content .fs-3 {
        font-size: 1.5rem !important;
    }

    .popular-category-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .action-buttons .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    .quick-categories .btn {
        margin-bottom: 0.5rem;
        font-size: 0.875rem;
    }

    .stat-item {
        padding: 4px;
    }

    .like-proverb-btn i,
    .bookmark-proverb-btn i {
        font-size: 1rem !important;
    }
}

/* «التصنيفات الأكثر شعبية»: brand blues instead of Bootstrap's danger red.
   RTL: the bar fills from the right, so the gradient starts dark on the right. */
.popular-category-progress {
    background-color: rgba(16, 102, 231, .1);
    border-radius: 3px;
}

.popular-category-progress .progress-bar {
    background-image: linear-gradient(to left, #1066E7, #4D91FF);
    background-color: #1066E7;
    border-radius: 3px;
}
