﻿/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* RTL support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #E50914;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #c40811;
    }

/* PWA install prompt */
.pwa-install {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #E50914;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    animation: fadeIn 0.5s ease-out;
}

    .pwa-install button {
        background: white;
        color: #E50914;
        border: none;
        padding: 4px 8px;
        border-radius: 4px;
        font-weight: bold;
        cursor: pointer;
    }
