:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --accent: #f59e0b;
}

* {
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background-color: #f1f5f9;
    color: #334155;
}

.gradient-bg {
    background: linear-gradient(135deg, #1a365d, #2b6cb0);
}

.card-hover {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.topic-gaming {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.topic-hosting {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}


.tutorial-number-badge {
    background: rgba(26, 54, 93, 0.08); 
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}


.table-row:hover .tutorial-number-badge {
    background: rgba(26, 54, 93, 0.15);
    transform: none !important;
}


.table-row {
    transition: all 0.2s ease;
    border-bottom: 1px solid #e2e8f0;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}


@media (max-width: 768px) {
    .table-header, .table-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .table-header span:nth-child(2),
    .table-row span:nth-child(2) {
        justify-self: start;
    }
}

#tutorials-container > div {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

#tutorials .grid.md\:grid-cols-3 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

#tutorials-container > div:hover {
    background-color: rgba(0, 0, 0, 0.06);
    transition: background-color 0.2s ease;
}

