/* Global Styles */
@font-face {
    font-family: 'Amiri';
    src: url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&display=swap');
}

body {
    transition: background-color 0.3s, color 0.3s;
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
}

.gradient-gold {
    background: linear-gradient(135deg, #B8941E 0%, #D4AF37 50%, #F4D03F 100%);
}

.gradient-teal {
    background: linear-gradient(135deg, #0F766E 0%, #0D9488 50%, #14B8A6 100%);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Islamic Pattern */
.pattern-islamic {
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px);
}

.pattern-stars {
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Card Styles */
.card-premium {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .card-premium {
    background-color: #1e293b;
    border-color: #334155;
}

.card-premium:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-8px) scale(1.02);
}

.card-interactive {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-interactive::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(13, 148, 136, 0.1) 100%);
    transition: opacity 0.3s ease;
}

.card-interactive:hover::before {
    opacity: 1;
}

/* Button Styles */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    background: linear-gradient(to right, #facc15, #eab308, #ca8a04);
    box-shadow: 0 10px 15px -3px rgba(234, 179, 8, 0.5);
    transition: all 0.3s;
}

.btn-gold:hover {
    box-shadow: 0 20px 25px -5px rgba(234, 179, 8, 0.6);
    transform: scale(1.05);
}

.btn-teal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(to right, #0d9488, #0f766e, #115e59);
    box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.5);
    transition: all 0.3s;
}

.btn-teal:hover {
    box-shadow: 0 20px 25px -5px rgba(20, 184, 166, 0.6);
    transform: scale(1.05);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: 2px solid #eab308;
    color: #eab308;
    transition: all 0.3s;
}

.btn-outline-gold:hover {
    background-color: #eab308;
    color: #0f172a;
}

/* Text Gradients */
.text-gradient-gold {
    background: linear-gradient(to right, #facc15, #eab308, #ca8a04);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-teal {
    background: linear-gradient(to right, #2dd4bf, #14b8a6, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    }

    to {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 30px rgba(212, 175, 55, 0.5);
    }
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dark .custom-scrollbar::-webkit-scrollbar-track {
    background: #1e293b;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #eab308;
    border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #ca8a04;
}