
* {
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background: #F8FAFC;
    transition: background-color 0.3s ease;
}

/* Dark Mode Styles */
.dark body {
    background: #1a202c;
    color: #e2e8f0;
}

.dark .bg-white {
    background: #2d3748 !important;
}

.dark .text-gray-800, 
.dark .text-gray-900 {
    color: #e2e8f0 !important;
}

.dark .text-gray-600,
.dark .text-gray-700 {
    color: #cbd5e0 !important;
}

.dark .text-gray-500 {
    color: #a0aec0 !important;
}

.dark .bg-gray-50 {
    background: #374151 !important;
}

.dark .border-gray-200,
.dark .border-gray-300 {
    border-color: #4a5568 !important;
}

.dark .shadow-lg,
.dark .shadow-xl {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 
0 4px 6px -2px rgba(0, 0, 0, 0.3) !important;
}

/* Mobile-First Design */
.mobile-app {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
    overflow-x: hidden;
}

/* Desktop Optimization */
@media (min-width: 768px) {
    body {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .mobile-app {
max-width: 98%;
margin: 20px auto;
border-radius: 30px;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
overflow: hidden;
    }
}

@media (min-width: 1024px) {
    .mobile-app {
max-width: 450px;
    }
}

/* Wider screens - show as tablet mode */
@media (min-width: 1280px) {
    .mobile-app {
max-width: 1300px;
    }
    
    /* Adjust grid layouts for tablet view */
    .desktop-grid-2 {
grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .desktop-grid-3 {
grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .desktop-grid-4 {
grid-template-columns: repeat(4, 1fr) !important;
    }
}

.gradient-bg {
    background: linear-gradient(135deg, #FF6B35 0%, #F97316 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
}

/* Smooth animations */
.mobile-app * {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Custom scrollbar */
.mobile-app::-webkit-scrollbar {
    width: 6px;
}

.mobile-app::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-app::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.mobile-app::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.3);
}

.card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 480px;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.bottom-nav a{
   min-width:48px;
}
.search-bar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.rating-stars {
    color: #FBBF24;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.status-bar {
    height: 44px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    font-size: 0.875rem;
}

.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #F97316 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* Hide Scrollbar */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

/* Stories (Instagram-like) */
.story-ring {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Smooth Scroll */
* {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
iframe{
   border:none;
   width:100%;
   height:100%;
}