/* Additional Custom Styles for Qayadat Play - Black & White Theme */

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(128, 128, 128, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(128, 128, 128, 0.5);
    }
}

/* Apply animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #606060;
}

/* Enhanced hover effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(128, 128, 128, 0.3);
}

/* Monochrome pattern background */
.mono-pattern {
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(128, 128, 128, 0.03) 35px, rgba(128, 128, 128, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(128, 128, 128, 0.02) 35px, rgba(128, 128, 128, 0.02) 70px);
}

/* Text enhancements */
.arabic-text {
    font-family: 'Noto Sans Arabic', 'Traditional Arabic', serif;
    line-height: 2;
}

/* Button hover effects */
.btn-hover {
    transition: all 0.2s ease;
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Loading animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .card-hover:hover {
        transform: translateY(-4px) scale(1.01);
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Focus styles for accessibility */
.focus-ring:focus {
    outline: 2px solid #606060;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    .no-print {
        display: none !important;
    }
}